[OS X TeX] Encodings

Bruno Voisin bvoisin at mac.com
Wed Jul 27 16:04:54 CEST 2005


Le 27 juil. 05 à 15:51, delanoy at math.univ-lyon1.fr a écrit :

>  when writing Greek characters in LaTeX I would like the luxury to  
> be able
> to write
> Greek characters directly in the source file, (that is, I want to  
> write
> "here is some greek text : ??? ???" instead of
>  "here is some greek text \textgreek{\bla\lambda\alpha \bla\lambda 
> \alpha}" in
> the .tex file). The "not so Short Introduction to LaTeX" probably
> contains the answer to this, but I must confess that I did not  
> understand
> all of it.
> The following source file :
> ###########################################
> \documentclass{article}
> \usepackage{ucs}
> \usepackage[applemac] {inputenc}
> \usepackage[T1]{fontenc}
> \usepackage[french,greek]{babel}
> \begin{document}
>
>  here is some Greek text :  ??? ??? ???
>
> \end{document}
> ###########################################
>
> makes LaTeX interpret the english characters as Greek characters
> and the Greek characters as semi-colons : all wrong ! If I change  
> "applemac"
> to "utf-8" the output remains the same. What small change must I make
> to have this bilingual source file correctly interpreted by LaTeX ?

Does it work with [utf8] instead of [utf-8]? An alternative solution  
is to switch to XeTeX <http://scripts.sil.org/xetex>.

Hope this helps,

Bruno Voisin--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list