Thanks to Günter, the ligature-problem is gone.

I expanded the lyx2lyx test so, the an error is emitted at 10th
repeated run to export lyx16x.

If two consecutive created lyx-files are identical, the test stops without 
error.
if a created lyx-file is not loadable, test stops with error.

Now, for example, export/doc/nb/Tutorial_lyx16 adds at each run following
data to the created lyx-file.

> % Added by lyx2lyx
> %  for proper underlining
> \PassOptionsToPackage{normalem}{ulem}
> \usepackage{ulem}
> \let\cite@rig\cite
> \newcommand{\b@xcite}[2][\%]{\def\def@pt{\%}\def\pas@pt{#1}
>   \mbox{\ifx\def@pt\pas@pt\cite@rig{#2}\else\cite@rig[#1]{#2}\fi}}
> \renewcommand{\underbar}[1]{{\let\cite\b@xcite\uline{#1}}}

Though this creates loadable file, it is no longer compilable.
Pdf-exporting such a file.


        ! LaTeX Error: Command \b@xcite already defined.
                       Or name \end... illegal, see p.192 of the manual.
        
        See the LaTeX manual or LaTeX Companion for explanation.
        Type  H <return>  for immediate help.
      ...                                     
                                                         
        l.68 ...s@pt\cite@rig{#2}\else\cite@rig[#1]{#2}\fi}}
                                                  
        Your command was ignored.
        Type  I <command> <return>  to replace it with another command,
        or  <return>  to continue without it.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to