[pdftex] pdfbookmark problems with auto-greek or iso-8859-7

Werner LEMBERG wl at gnu.org
Fri Jun 27 14:33:20 CEST 2008


> I copied the lgrenc.def stuff from the article to the place where my 
> lgrenc.def has been which is /usr/share/texmf-tetex/tex/generic/babel 
> (I'm using Debian).

Hmm.  I would rather leave it in the document's directory (such files
are always read first) to not pollute the TeX distribution.

> Then I copied the lgrenc.dfu

The same.

> Both tries I made an "texconfig rehash"

For local files you don't need that, of course.

> Here I made a very small example how I tried to use it:
> ====================
> \documentclass[pdftex]{book}
> \usepackage[unicode=true,pdftex]{hyperref}
> \usepackage{ucs}
> \usepackage[utf8x]{inputenc}
> \usepackage[LGR]{fontenc}
> \usepackage[greek, english]{babel}
> \PreloadUnicodePage{3}
> 
> \begin{document}
> 
> \pdfbookmark[1]{????????? ????????}{BM_4555}
> ???????? ??????????,??????? ?????? ????????? ?? UV Block(IEC~357)

I only see question marks, no Greek.  It seems that you have encoding
problems, either with your mailing program, or within the file itself.

> Unfortunately, it hasn't worked as I hoped.
> The Latin stuff (UV Block ...) gets written in Greek letters :-( .

Yes.  You have to explicitly switch languages, probably using
\foreignlanguage{}{}.  Remember that in fonts which use the LGR
encoding, Greek letters are positioned where you normally find Roman
ones.


    Werner


More information about the pdftex mailing list