lyx2lyx bug in 2.x -> 1.6.x
Scott Kostyshak
skostysh at lyx.org
Fri Jan 6 04:45:27 UTC 2023
There is a minor issue in an old lyx2lyx routine in lyx_2_0.py that I describe below.
If we do multiple roundtrips with KOMA-Script_Book.lyx back to the format used for LyX 1.6.x, there is no convergence.
If I do the following command:
lyx -e lyx16x KOMA-Script_Book.lyx && lyx -e lyx16x KOMA-Script_Book.16.lyx && lyx -e lyx16x KOMA-Script_Book.16.16.lyx && lyx -e lyx16x KOMA-Script_Book.16.16.lyx
Each further roundtrip adds the following chunk:
$ diff KOMA-Script_Book.16.16.lyx KOMA-Script_Book.16.16.16.lyx
2156a2157,2163
> \begin_inset Newpage cleardoublepage
> \end_inset
>
>
> \end_layout
>
> \begin_layout Standard
$
If convert_bibtex_clearpage(document) in lyx_2_0.py is commented out,
then the issue goes away (just to give an idea of where the bug is).
Scott
-------------- 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/20230105/da31857c/attachment.asc>
More information about the lyx-devel
mailing list