Fonts & Character Sets ⇒ To use more than a language
To use more than a language
Hi guys,
I'm Writting my text in English but I have some considerations in French and in Portuguese. I'm using the package:"\usepackage[english]{babel}".
How can I put the three languages at the same time without problems?
Thanks a lot in advance,
Tiago
I'm Writting my text in English but I have some considerations in French and in Portuguese. I'm using the package:"\usepackage[english]{babel}".
How can I put the three languages at the same time without problems?
Thanks a lot in advance,
Tiago
Re: To use more than a language
Sorry I'll explain better my problem because I think that I wasn't clear in the last post.
I'm using package \usepackage[english]{babel}. However I've some references in my text in French and in Portuguese but pontuation don't appears. For example "mobilité" appeaes as "mobilit". I've experimented use the \usepackage[latin1]{inputenc} but no success. It appears lots of errors. I don't know the cause of this.
Someone can explain me?
Thanks,
Tiago
I'm using package \usepackage[english]{babel}. However I've some references in my text in French and in Portuguese but pontuation don't appears. For example "mobilité" appeaes as "mobilit". I've experimented use the \usepackage[latin1]{inputenc} but no success. It appears lots of errors. I don't know the cause of this.
Someone can explain me?
Thanks,
Tiago
Re: To use more than a language
Hi there,
Firstly, "latin1" is not an option to use in babel. You can choose between different languages, and babel will find within the package whether to use latin1 or another.
Secondly, your problem might not be from the compiler's point of view. It might happen that the editor you are using does not code properly the different accents. Therefore, you would to say which editor you are using??? I know that with emacs, you have to define which language is used, so that emacs can code the éàè properly.
Cheers
Firstly, "latin1" is not an option to use in babel. You can choose between different languages, and babel will find within the package whether to use latin1 or another.
Secondly, your problem might not be from the compiler's point of view. It might happen that the editor you are using does not code properly the different accents. Therefore, you would to say which editor you are using??? I know that with emacs, you have to define which language is used, so that emacs can code the éàè properly.
Cheers
Re: To use more than a language
I'm using TeXnicCenter as editor.
Cheers
Cheers
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
To use more than a language
You can specify all three languages in the babel options, where the last one is the default language for the document.tdcpina wrote:[...] I'm Writting my text in English but I have some considerations in French and in Portuguese. I'm using the package:"\usepackage[english]{babel}".
How can I put the three languages at the same time without problems? [...]
Code: Select all
\usepackage[portuges,french,english]{babel}
Code: Select all
\selectlanguage{portuges}
Code: Select all
\foreignlanguage{portuges}{Short text in Portuguese}
It would be better to specify these errors. Just saying that there are some doesn't really help. Getting the right output is an interaction of font encoding and input encoding. The latter one depends a little bit on the used editor. Since you are using TeXnicCenter (TXC), you should keep the inputenc package with the latin1 option. TXC doesn't support Unicode at the moment. Add the right font encoding to your document source.tdcpina wrote:I'm using package \usepackage[english]{babel}. However I've some references in my text in French and in Portuguese but pontuation don't appears. For example "mobilité" appeaes as "mobilit". I've experimented use the \usepackage[latin1]{inputenc} but no success. It appears lots of errors. I don't know the cause of this.
Code: Select all
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[portuges,french,english]{babel}
Best regards
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Re: To use more than a language
It works like with the following packages actives:
\usepackage[T1]{fontenc}
%\usepackage[latin1]{inputenc}
\usepackage[portuges,french,english]{babel}
But the text loose quality. The capitular letters are black but others appear something similar to grey. Why the text loose quality? Can you explain me?
With the inputenc active the errors don't permit me visualize the output.
I've tried to introduce the other code just for localised situations in my bibliography. For instance this case:
@book{Benoit95,
author = "Jean-Marc Benoit",
title = "La France qui bouge",
year = "1995",
publisher = "\foreignlanguage{french}{Éditions Romillat}",
adress = "Paris"
}
The letters with pontuation don't appear.
Best regards,
Tiago
\usepackage[T1]{fontenc}
%\usepackage[latin1]{inputenc}
\usepackage[portuges,french,english]{babel}
But the text loose quality. The capitular letters are black but others appear something similar to grey. Why the text loose quality? Can you explain me?
With the inputenc active the errors don't permit me visualize the output.
I've tried to introduce the other code just for localised situations in my bibliography. For instance this case:
@book{Benoit95,
author = "Jean-Marc Benoit",
title = "La France qui bouge",
year = "1995",
publisher = "\foreignlanguage{french}{Éditions Romillat}",
adress = "Paris"
}
The letters with pontuation don't appear.
Best regards,
Tiago
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
To use more than a language
Shouldn't occur. Check the printed output.tdcpina wrote:[...] But the text loose quality. The capitular letters are black but others appear something similar to grey. Why the text loose quality? Can you explain me? [...]
Something seems to keep you from providing a MWE with all necessary information as requested earlier.tdcpina wrote:[...] With the inputenc active the errors don't permit me visualize the output.
I've tried to introduce the other code just for localised situations in my bibliography. For instance this case: [...] The letters with pontuation don't appear.
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Re: To use more than a language
Hi,
I've no possibility to print before Wednesday. But I'm producing the output in PDF. It normal the print output appears similar to the output on computer screen. Am I wrong?
Concerning the last sentence, sorry but I can understand what you mean. "Something seems to keep you from providing a MWE with all necessary information as requested earlier."
May you explain what means MWE?
Thank you,
Tiago
I've no possibility to print before Wednesday. But I'm producing the output in PDF. It normal the print output appears similar to the output on computer screen. Am I wrong?
Concerning the last sentence, sorry but I can understand what you mean. "Something seems to keep you from providing a MWE with all necessary information as requested earlier."
May you explain what means MWE?
Thank you,
Tiago
- localghost
- Site Moderator
- Posts: 9201
- Joined: Fri Feb 02, 2007 12:06 pm
To use more than a language
Please read the last sentences of my first reply with the link to a guide how to build a MWE. Follow the advice on that page carefully.tdcpina wrote:[...] Concerning the last sentence, sorry but I can understand what you mean. "Something seems to keep you from providing a MWE with all necessary information as requested earlier."
May you explain what means MWE? [...]
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
Board Rules
Avoidable Mistakes[/size]
¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
To use more than a language
Hi localghost,
Really really sorry. I haven't payed attention to your previous post.
I provide you the MWE, I hope it helps.
Experiment to withdraw the first % sign and regard the effect.
I'm using TeXnicCenter.
Best regards,
Tiago
Really really sorry. I haven't payed attention to your previous post.
I provide you the MWE, I hope it helps.
Code: Select all
\documentclass[a4paper,11pt]{report}
%\usepackage[T1]{fontenc}
%\usepackage[latin1]{inputenc}
\usepackage[portuges,french,english]{babel}
\begin{document}
I'll introduce some words in French and in Portuguese just to show the effect.\\
"`Élargisssement des aires de mobilité. Não sei como resolver este problema."'\\
Letters with accents doesn't appears in the output.\\
\end {document}
I'm using TeXnicCenter.
Best regards,
Tiago