[OS X TeX] XeTeX and unicode characters

Peter Pagin peter.pagin at philosophy.su.se
Mon Jan 31 19:59:49 CET 2005


Switching to standard fonts solved the problem. Brilliant! Thanks for 
the help.

Best,
Peter

Jonathan Kew wrote:

>
> On 31 Jan 2005, at 7:00 am, Peter Pagin wrote:
>
>> Thanks for the hint, Herb and Jonathan.
>> When I comment out "\usepackage[utf8]{inputenc}" the unicode error 
>> messages disappear from the console. However, the unicode characters 
>> nevertheless do not appear on the pdf output.
>>
>
> What font(s) are you using, then? I'm guessing that perhaps your 
> document is still using the CM fonts; that won't work for real Unicode 
> text in XeTeX, because those fonts do not support extended-Latin 
> Unicode characters.
>
> (LaTeX with "\usepackage[utf8]{inputenc}" deals with them by mapping 
> the UTF-8 byte sequences to LaTeX control sequences that construct 
> accented characters, etc., from the individual glyphs in the CM fonts. 
> Which works fine, but is specific to those particular fonts, which use 
> their own unique encoding schemes, not Unicode.)
>
> To use Unicode text with XeTeX, you should also select a 
> Unicode-compliant font that supports the ranges of Unicode characters 
> that you're interested in using. For the accented letters used in 
> common European languages, any of the standard OS X fonts should be fine.
>
> Jonathan
>
> --------------------- 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>
>
>

-- 
Peter Pagin
Professor
Department of Philosophy, Stockholm University
106 91 Stockholm, Sweden
tel: +46-8-162813, fax: +46-8-152226
email: peter.pagin at philosophy.su.se

--------------------- 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