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? Scott