Am Dienstag, 29. November 2016 um 18:56:13, schrieb Scott Kostyshak 
<skost...@lyx.org>
> On Tue, Nov 29, 2016 at 12:09:39PM +0100, Enrico Forestieri wrote:
> > On Sat, Nov 26, 2016 at 01:20:42AM -0500, Scott Kostyshak wrote:
> > 
> > > 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?
> > 
> > This file was most probably created by a development version at the
> > time when the "embedded files" feature was worked on. Those tags were
> > later removed but lyx2lyx was not updated accordingly. See this thread:
> > http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg131411.html

I moved it here from development/mathmacros (created by Stefan Schimanski) to 
use them
in our test environment.

> > Simply remove the tags and everything between them using a text editor.
> 
> Thanks for this information. I removed the tags, but I still get:
> 
> ! Argument of \xargs@grab@opt has an extra }.
> 
> I don't know if it is worth the time to investigate fixing the file or
> if we should just remove it. My guess is that it was originally used to
> test the speed of navigating macros within LyX so probably compilation
> was never the point.

In contrary, the test is also about nesting. Please don't remove it.

> There seem to be many nested \xyz commands. The following causes the
> error:
> 
> \begin{align*}
> \xyz[1][\xyz[\xyz[\xyz[1][2]][2]][\xyz[1][2]]] & 
> \xyz[1][\xyz[\xyz[\xyz[1][2]][2]][\xyz[1][2]]]\\
> \xyz[1][\xyz[\xyz[\xyz[1][2]][2]][\xyz[1][2]]] & 
> \xyz[1][\xyz[\xyz[\xyz[1][2]][2]][\xyz[1][2]]]
> \end{align*}
> 
> Scott

The nesting is intended to test the math-macro.

        Kornel

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

Reply via email to