Hi Liviu,
Thanks a lot for your help. Adding the LyX PPA you mentioned solved the
issue. I was able to install the latest version and was able to
successfully compile the file I posted before.
The issue with the 2.0.2 version was quite strange because compiling
would fail ONLY if the "Use non-TeX fonts (via XeTeX/LuaTeX)" checkbox
was active, and only if I did it under Ubuntu 12.04 (it worked fine on
another machine with Ubuntu 11.04 and worked fine on the 12.04 machine
BEFORE I upgraded Ubuntu). If you de-activated that checkbox the file
would compile just fine. Anyway, it seems that whatever the problem was,
it was solved by installing the latest version.
Thanks again for your help. Oh, and I would like to take this
opportunity to remark on how a great piece of software LyX is. It has
made my work much more productive and I hope to use it for many years to
come!
Thanks,
Alfredo
On 30/04/12 13:59, Liviu Andronic wrote:
On Mon, Apr 30, 2012 at 2:16 PM, Alfredo Maldonado Guerra
<[email protected]> wrote:
If you open that file in LyX 2.0.2 in Ubuntu 12.04, you get the "Undefined
control sequence" error I mentioned before. In previous versions of Ubuntu,
this doesn't happen.
The file you sent compiles just fine here, under 2.0.3 and Ubuntu
10.04. You may want to try the LyX PPA [1]. Otherwise, the error above
would suggest that the \thm macro is undefined, or in more human terms
it means that you are missing the package that defines it. Perhaps you
are missing the 'amsthm' package? Check if you have installed all teh
necessary texlive packages.
Liviu
[1] https://launchpad.net/~lyx-devel/+archive/release