]> git.lyx.org Git - features.git/commit
Fix data loss in user guide conversion to 2.0.x
authorGeorg Baum <baum@lyx.org>
Sun, 27 Apr 2014 16:06:34 +0000 (18:06 +0200)
committerGeorg Baum <baum@lyx.org>
Sun, 27 Apr 2014 16:06:34 +0000 (18:06 +0200)
commit28bde98d7624d0450f7f38169d73464d8bd59d66
treee13003f54ea21bac196c967b83b63a67a959bdbf
parente754d00faa71a8950de8582fb0f38f6fb270ac38
Fix data loss in user guide conversion to 2.0.x

When doing the lyx2lyx round trip of the 2.0.8 user guide from format
413 -> 474 -> 413 you do not get a zero diff. The most important problem is
caused by the conversion of the argument insets to the old syntax: This
conversion adds an additional empty line (harmless), and it destroys the
document structure if the first inset in e.g. a subsection is not an argument
inset, but e.g. an index or label inset.
The fix is quite easy: Ensure that the paragraph begin is set to the first
argument inset.
lib/lyx2lyx/lyx_2_1.py
status.21x