On Sun, Oct 20, 2013 at 3:31 PM, Scott Kostyshak <skost...@lyx.org> wrote: > To reproduce: > > 1. Open doc/he/Intro.lyx > 2. In Document > Settings > Fonts, check the box "Use non-TeX fonts" > and change the three fonts to FreeSans (or any other font that > supports Hebrew). > 3. Click OK. > 4. Try to export with XeTeX. It fails for me with the following > > ! Undefined control sequence. > > \tableofcontents ->\pdfbookmark > > [1]{\contentsname }{} \myTOC \cleardoublepag... > > l.85 \tableofcontents > > {} > > If I move that chunk inside the pdflatex conditional, export works > fine. Is this what we should do? Note that the Hebrew Tutorial also > has this problem. > > Any ideas?
Attached is a patch that I will commit unless someone objects. Scott
0001-Hebrew-docs-move-bookmarks-inside-of-pdflatex-if.patch
Description: Binary data