ctests for Additioonal.lyx lyx2lyx round trip failing on master

Scott Kostyshak skostysh at lyx.org
Mon Jan 25 20:09:54 UTC 2021


On Mon, Jan 25, 2021 at 11:35:50AM -0500, Scott Kostyshak wrote:
> On Mon, Jan 25, 2021 at 12:05:32PM +0100, Jürgen Spitzmüller wrote:
> > Am Sonntag, dem 24.01.2021 um 14:23 -0500 schrieb Scott Kostyshak:
> > > To reproduce, export Additional.lyx to 2.3.x format. Then open that
> > > exported file in master and compile.
> > > 
> > > There are two issues (perhaps in the end the same?):
> > > 
> > > 1. Terminal output gives the following:
> > > 
> > >   Paragraph ended in line 26020
> > >   Missing \end_layout.
> > > 
> > > 2. There is a LaTeX error:
> > > 
> > > ! Missing } inserted.
> > > <inserted text> 
> > >                 }
> > > l.5938 ...e up/down/\\left/right\end{cellvarwidth}
> > >                                                   }
> > > 
> > > I believe we don't require compilation to succeed, so if fixing (2)
> > > is
> > > too complicated, let me know and I'll adapt the tests.
> > 
> > Should be fixed.
> 
> Thanks for the quick fix.

The "doc/Additional" ctests all pass now, but the following ctests for
the Spanish Additional manual fail:

  2179 - export/doc/es/Additional_lyx16 (Failed)
  2180 - export/doc/es/Additional_lyx20 (Failed)
  2181 - export/doc/es/Additional_lyx21 (Failed)
  2182 - export/doc/es/Additional_lyx22 (Failed)
  2183 - export/doc/es/Additional_lyx23 (Failed)

It seems they fail the convergence criteria of the test. That is, with
successive round trips the .lyx files keep changing. This is expected in
some cases (and we can adapt the tests), but I don't know enough to know
whether it's expected here. Also, it was surprising that the English
version converges but not the Spanish version. Here [1] is a screenshot
of the Spanish Additional manual after a few iterations. Interestingly,
the first column has only one pair of ERTs, but the second and third
columns show the failed convergence. Here [2] is a screenshot of the
English Additional manual in case it is helpful for comparison.

Let me know if I should adapt the tests (i.e., if the failed convergence
is unavoidable or if it is avoidable but just not worth the time or
complexity to fix).

Scott


[1] https://www.dropbox.com/s/evovbrghbrzoij6/es.png?dl=0
[2] https://www.dropbox.com/s/2zrviwbqzsiqwlx/en.png?dl=0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20210125/77ea6955/attachment.asc>


More information about the lyx-devel mailing list