Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-13 Thread Justin Wood
(Apologies for the slow reply.) I've tried adding the \AtBeginDocument{} as you suggest but while the error goes away, the cross ref formatting is not honoured. I think I might try to get my head around *refstyle* as this is the way LyX is moving for cross ref formatting, correct? On 10 December

Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-10 Thread Jürgen Spitzmüller
Justin Wood wrote: > The template files do actually have this embrace, but it doesn't prevent > the parsing error. No. \addto\extrasenglish is not embraced by \AtBeginDocument{} > Or do you mean the next release will do something else > that will fix the problem? Thanks Jürgen. No. Look below.

Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-10 Thread Guenter Milde
On 2010-12-09, Jürgen Spitzmüller wrote: > Guenter Milde wrote: >> I am glad you found the core of the problem. >> (BTW: the current version of fontspec does no longer load xunicode, but >> we should care for users with older versions.) > I have fontspec v2.1e (2010/11/17), which is the most rece

Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Vincent van Ravesteijn
> However, I also found that even if I do not check any of the AMS math > options, LyX 2 behaves as if the "Load AMS math automatically" option > were set: > > a) the "AMS symbols" toolbox is enabled. > b) inserting a symbol from it inserts \usepackage{amssymb} in the preamble. > c) even writing \R

Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Justin Wood
On 10 December 2010 12:37, wrote: > > > > The reason for this is that XeTeX now uses polyglossia, which does not > > know these \addto commands (which are from babel). Are these templates > > shipped with LyX? If so, we need to embrace these calls in > > > > \...@ifpackageloaded{babel}{% > > ...

Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Justin Wood
On 10 December 2010 12:37, wrote: > > 2. conflict in thesis template > > Beyond that, changing to the automatic AMS math package in the thesis > > document introduces new errors. In a brand new, entirely unmodified > > chapter template file, XeTeX compilation now complains about the use of ' > >

Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-09 Thread Jürgen Spitzmüller
Guenter Milde wrote: > I am glad you found the core of the problem. > (BTW: the current version of fontspec does no longer load xunicode, but > we should care for users with older versions.) I have fontspec v2.1e (2010/11/17), which is the most recent version on CTAN. The documentation states:

Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Guenter Milde
On 2010-12-08, Jürgen Spitzmüller wrote: > Jürgen Spitzmüller wrote: >> Justin Wood wrote: >>> 1. conflict with AMS package >>> I've found that simply activating XeTeX under *Document Settings – >>> Fonts*will cause parsing errors on viewing if the document also has >>> *Math Options – Use AMS mat

Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > Justin Wood wrote: >> 1. conflict with AMS package >> I've found that simply activating XeTeX under *Document Settings – >> Fonts*will cause parsing errors on viewing if the document also has >> *Math Options – Use AMS math package* checked; eg, LaTeX Error: Command >>

Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: >> 2. conflict in thesis template >> Beyond that, changing to the automatic AMS math package in the thesis >> document introduces new errors. In a brand new, entirely unmodified >> chapter template file, XeTeX compilation now complains about the use of ' >> \addto \extras

Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Richard Heck
On 12/08/2010 05:58 AM, Jürgen Spitzmüller wrote: Justin Wood wrote: 1. conflict with AMS package I've found that simply activating XeTeX under *Document Settings – Fonts*will cause parsing errors on viewing if the document also has *Math Options – Use AMS math package* checked; eg, LaTeX Er

Re: LyX 2.0: problems using XeTeX and thesis template

2010-12-08 Thread Jürgen Spitzmüller
Justin Wood wrote: > 1. conflict with AMS package > I've found that simply activating XeTeX under *Document Settings – > Fonts*will cause parsing errors on viewing if the document also has > *Math Options – Use AMS math package* checked; eg, LaTeX Error: Command > `\Finv' already defined, etc. I th