[tex-live] OT2 vs. T2A; compilation by apache user issues

Zdenek Wagner zdenek.wagner at gmail.com
Mon Feb 24 23:03:35 CET 2014


2014-02-24 22:52 GMT+01:00 mario chiari <ml at mariochiari.net>:
> On Mon, 2014-02-24 at 22:08 +0100, Zdenek Wagner wrote:
>> Hi,
>>
>> I thought about the problem once again and now I believe that I
>> understand the source of the problem. The reason is that pdftex is
>> unable to use non-latin scripts in outlines. You have to define your
>> section this way:
>>
>> \section{\texorpdfstring{\textcyrillic{Коминтерн}}{Komintern}}
>>
>> See the attached file. XeLaTeX is able to use any script in outlines.
>
> Yes, it works!
> Again, thanks so much.
>
> (where do I learn about \texorpdfstring?)

Somewhere in the documentation of hyperref.

> (should I upgrade to XeLateX? Maybe.)
>
It was my suggestion in my very first mail. It will make your life
much easier. You do not need tweaking with active characters by the
inputenc package because these characters often break something.
XeLaTeX works natively in Unicode, therefore you can have unicode
outlines (I have outlines in Hindi). Polyglossia allows you to switch
automatically font per language but TeX Live 2013 contains beautiful
font EB Garamond containing both Latin and Cyrillic (I used this font
together with Devanagari in a document where I needed Czech + Russian
examples within a Hindi text). You can also use ucharclasses to change
the font per unicode block. Of course, XeLaTeX is included in TeX Live
2013.

> mario
>
>
>



-- 
Zdeněk Wagner
http://hroch486.icpf.cas.cz/wagner/
http://icebearsoft.euweb.cz




More information about the tex-live mailing list