On Mon, Apr 17, 2017 at 04:19:13AM +0200, Uwe Stöhr wrote:
> El 16.04.2017 a las 23:50, Uwe Stöhr escribió:
> 
> > My today's change in  PDF-form.lyx where I use 2 nested colored boxes
> > bring the new warning you see. I'll fix this lyx2lyx issue.
> 
> I fixed it now:
> www.lyx.org/trac/changeset/5b4cc6b6/lyxgit
> 
> In fact I had to rewrite the whole colorbox routine and extend the box
> features routine.
> 
> Attached is my test file and the output I get.

I tested just "PDF-form" tests and the ones that were failing pass now.
Thanks for the fixes.

> Testing lyX2lyx further than LyX 2.1.x makes no sense because the PDF form
> module is not available for LyX < 2.1.

From our Development.lyx manual, we state the following:

    If possible, try to produce a proper reversion, using ERT if
    needed, but for some features this might be too complicated.
    In this case, the minimum requirement of the reversion routine
    is that it produces a valid document which can be read by an
    older LyX. If absolutely needed, even data loss is allowed for
    the reversion. (In that case, you might want to add a LyX
    comment that indicates what you have had to do, so the user is
    at least warned).

In the above, what does "a valid document which can be read by an
older LyX" mean? Does it just mean that an older LyX can open it
without any GUI errors? i.e. some terminal errors are OK or does
that indicate an invalid .lyx file?

Below, PDF-form.16.lyx is the result of exporting from current
master (fd777a60) to LyX 1.6.x format.

$ lyx PDF-form.16.lyx 
Warning: Lyx2lyx knows nothing about module 'pdfform'. Please check if short 
title insets have been converted correctly.
Lexer.cpp (933): Missing 'width'-tag in InsetBoxParams::read. Got use_makebox 
instead. Line: 2038
Lexer.cpp (933): Missing 'special'-tag in InsetBoxParams::read. Got 0 instead. 
Line: 2039
Lexer.cpp (933): Missing 'height'-tag in InsetBoxParams::read. Got width 
instead. Line: 2039
Lexer.cpp (933): Missing 'height_special'-tag in InsetBoxParams::read. Got 
4.5cm instead. Line: 2039
Lexer.cpp (933): Missing 'thickness'-tag in InsetBoxParams::read. Got special 
instead. Line: 2040
Lexer.cpp (933): Missing 'separation'-tag in InsetBoxParams::read. Got none 
instead. Line: 2040
Lexer.cpp (933): Missing 'shadowsize'-tag in InsetBoxParams::read. Got height 
instead. Line: 2041
Lexer.cpp (933): Missing 'framecolor'-tag in InsetBoxParams::read. Got 4in 
instead. Line: 2041
Lexer.cpp (933): Missing 'backgroundcolor'-tag in InsetBoxParams::read. Got 
height_special instead. Line: 2042
Lexer.cpp (933): Missing 'status'-tag in InsetCollapsable::read. Got 
totalheight instead. Line: 2042
Text.cpp (1868): Handling unknown body token: `thickness "0.4pt"'
Text.cpp (1868): Handling unknown body token: `separation "3pt"'
Text.cpp (1868): Handling unknown body token: `shadowsize "4pt"'
Text.cpp (1868): Handling unknown body token: `framecolor "black"'
Text.cpp (1868): Handling unknown body token: `backgroundcolor "none"'
Text.cpp (1868): Handling unknown body token: `status open'

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to