On Mon, Oct 28, 2013 at 7:22 PM, Scott Kostyshak <skost...@lyx.org> wrote: > 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.
Committed at 6f488a9e. Scott