enter image description here

Hi. I've compiled a Persian language beamer file by both luapersian and persian babel package using LuaLaTex, and in both I've the same problem in pdf bookmark as shown in the figure (some strange characters are shown instead of correct characters).

  • 1
    Please add some code, which results in this image. As minimal as possible. We can't help you with such little information. – LaRiFaRi Apr 15 '14 at 8:43
  • Maybe \usepackage[pdfencoding=auto]{hyperref} does the trick. – LaRiFaRi Apr 15 '14 at 8:49
  • @Closers: It is not unclear, see my answer. – Heiko Oberdiek Apr 16 '14 at 12:18

Very likely you need option unicode for hyperref. It can be given the following way:


Alternatively (for other classes that load hyperref and do not have special options for specifying package options of loaded packages):

  • 1
    Thnx friend, works perfect. – user49875 Apr 15 '14 at 8:59
  • @Heiko Oberdiek: check this I posted yesterday, please: even if it looks like I can do without, I keep getting errors by assigning option unicode to package hyperref with several different syntaxes... – MattAllegro Apr 15 '14 at 10:01
  • 1
    @MattAllegro: It's unrelated to option unicode. $ is a ASCII character with a special catcode that is not supported in bookmarks. With \texorpdfstring a different bookmark text can be supplied for stuff that is not supported there. – Heiko Oberdiek Apr 15 '14 at 12:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.