Hello,
I'm using Lyx version 2.0.2 and I have just recently upgraded to Ubuntu
12.04 (from 11.10). I'm now unable to create PDFs from Lyx documents
that use XeTeX fonts and the Theorems (AMS) module. I get an "Undefined
control sequence" error. This did not happen under Ubuntu 11.10, so I
wonder if the upgrade broke something in LyX. I tried re-installing LyX,
LaTex and XeTeX (via the Synaptic package manager).
These are the steps to reproduce this problem under Ubuntu 12.04:
1. Open LyX and create new document.
2. Go to Document -> Settings -> Modules. Add "Theorems (AMS)"
3. Change current 'style' from "Standard" to "Theorem" (dropdown list
at top-left corner)
4. Type whatever you want.
5. If you click on the 'eyes' button, your document will compile. No
problem there.
6. Now, go to Document -> Settings -> Fonts. Check "Use non-TeX fonts
(via XeTeX/LuaTeX)"
7. Go to Document -> Settings -> Output. Under Default Output Format
select "PDF (XeTeX)"
8. Click the 'eyes' button and you'll get the "Undefined control
sequence" error.
Another thing I noticed is that if you don't perform step 7, your
document gets compiled, but LyX generates a HTML version of the document
and not a PDF.
Thank you very much in advance for any help / tips you can give me.
Please let me know if you need more information.
Thanks,
Alfredo