On 2016-11-26, Scott Kostyshak wrote:

> [-- Type: text/plain, Encoding:  --]

> When opening the file

>   autotests/mathmacros/testcases_speed.lyx

> I get the following terminal output:

> Text.cpp (1851): Handling unknown body token: `\begin_manifest'
> Text.cpp (1851): Handling unknown body token: `\use_refstyle'
> Text.cpp (1851): Handling unknown body token: `0'
> Text.cpp (1851): Handling unknown body token: `\use_non_tex_fonts'
> Text.cpp (1851): Handling unknown body token: `0'
> Text.cpp (1851): Handling unknown body token: `\font_math'
> Text.cpp (1851): Handling unknown body token: `"auto" "auto"'
> Text.cpp (1851): Handling unknown body token: `\end_manifest'

> Does this correspond with a known bug?

Not to my knowledge.

However, when opening the file testcases_speed.lyx in a text editor, I see:

* It is very old:

    #LyX 1.5.2 created this file. For more info see http://www.lyx.org/
    \lyxformat 295

  we do not even test export to 1.5 series.

* The "unknown" settings between \begin_manifest and \end_manifest
  are all newer.
  
  In the original document, there is nothing inbetween begin_manifest and 
  end_manifest.
  
* \begin_manifest \end_manifest is rare or unknown in LyX documents: 

   I did not find any occurence in the documents in lib/.
  
   The tokens are removed when converting to 2.2 or 2.3 format.

It seems the lyx2lyx converter has a problem with this setting:

a) it is invalid and we can change/delete testcases_speed.lyx

b) it is rare but valid, then lyx2lyx needs a fix.

c) it is valid but testcases_speed.lyx is corrupted.

When viewing PDF, the error is

  ! Argument of \xargs@grab@opt has an extra }.
  <inserted text> 
                 \par 
  l.33 \end{align*}

which may or may not be caused by the other error.

Günter

Reply via email to