On 2015-12-04, Kornel Benko wrote:
> Am Freitag, 4. Dezember 2015 um 09:46:48, schrieb Guenter Milde 
> <mi...@users.sf.net>
>> On 2015-12-04, Kornel Benko wrote:
>> > Am Freitag, 4. Dezember 2015 um 01:48:21, schrieb Uwe Stöhr 
>> > <uwesto...@lyx.org>
>> >> commit 0311bda2b7c3a86a0ae7eb759b371d1e8fa2ad56
>> >> Author: Uwe Stöhr <uwesto...@lyx.org>
>> >> Date:   Fri Dec 4 01:48:14 2015 +0100

>> >>     Spanish Tutorial.lyx: preamble code proposed by Günther
>> ...
>> > After this change:
>> ...
>> >  nothing compiles, not only systemF
>> >  LaTeX Error: Missing \begin{document}.
>> ...

>> There are conflict markers in the preamble. However, I don't see them
>> in the commit. Did you change the preambel locally?

> Ah, right. I have not seen it. With 'git status' I got
>       both modified:      lib/doc/es/Tutorial.lyx

> After resolving the differences, only
> MANUALS_export/doc/es/Tutorial_pdf5_systemF fails.

Please revert to the upstgream status.

>> Here, with the state after commit 0311bda2b7c3a8
>> es/Tutorial compiles fine to all export formats when doing it "by hand".

> Maybe because of the existing .aux file probably. 

No. Exixting aux file was a guess by me that is probably wrong.
Here, the reason is:

>       ! Undefined control sequence.
>       <recently read> \sen 

a command defined by babel but not by polyglossia.

> If I remove the math '\sen x' from the footer in section 4.4.4, then it
> compiles here too. Inserting '\sin x' OTOH works.

Yes, but we want to document the Spanish math commands provided by Babel.
(Remember, main purpose is good user documentation.)

> According to
> "http://comments.gmane.org/gmane.editors.lyx.general/75604"; you have a
> solution, but it is not in this document (I could not find it in
> exported .tex)

It is a workaround in upstream: 
* always use babel
* use non-accented math commands with fonspec.


>> The test says:

>> lyxbuild > ctest -L export -R doc/es/Tutorial

>> The following tests FAILED:
>>      906 - INVERTED.MANUALS_export/doc/es/Tutorial_dvi3_systemF (Failed)

>> I don't know why XeTeX export fails in the test but works "by hand".

> Not here. Exporting by hand fails. Same reason as for lualatex.

Try with the upstream version, please.

Günter

Reply via email to