Am Mittwoch, den 12.09.2018, 10:27 +0200 schrieb Kornel Benko: > Try > # lyx2lyx -V 1.6 autotests/export/lyx2lyx/lyx_2_1_test.lyx | > lyx2lyx > Warning: Lyx2lyx knows nothing about module 'graphicboxes'. > Please check if short title insets have been converted correctly. > Warning: Lyx2lyx knows nothing about module 'bicaption'. Please > check if short title insets have been converted correctly.
AFAICS neither the graphicboxes nor the bicaption layouts can be supported with the old argument syntax, since the have optional arguments after mandatory ones (\foo{bar}[foo}{bar}), and the old syntax only allowed for opt-first, mandatory last. For bicaption, we need a reversion mechanism that reverts to ERT if Caption:Bicaption has argument 2 or argument 3. Graphicboxes is newer than 2.1. The problem here is that no file format change and lyx2lyx routine has been implemented with the module at all. In both cases, we are bitten here by a lax handling of our file format policy. > Warning: An error ocurred in 458, <function > convert_captionlayouts at 0x7f4a0d4e5b70> > Traceback (most recent call last): > File "/usr2/src/lyx/lyx-git/lib/lyx2lyx/lyx2lyx", line 96, in > <module> > main() > File "/usr2/src/lyx/lyx-git/lib/lyx2lyx/lyx2lyx", line 90, in > main > doc.convert() > File "/usr2/src/lyx/lyx-git/lib/lyx2lyx/LyX.py", line 692, in > convert > conv(self) > File "/usr2/src/lyx/lyx-git/lib/lyx2lyx/lyx_2_1.py", line > 3675, in convert_captionlayouts > "\\begin_inset Caption %s" % caption_dict[val], "", > NameError: name 'val' is not defined Should be fixed in master now. Jürgen > > Should we care about conversion to 1.6 versions? > > Kornel
signature.asc
Description: This is a digitally signed message part