]> git.lyx.org Git - features.git/commit
Fix warning in lyx2lyx 2.0<->2.1 round trip
authorGeorg Baum <baum@lyx.org>
Sun, 27 Apr 2014 16:04:40 +0000 (18:04 +0200)
committerGeorg Baum <baum@lyx.org>
Sun, 27 Apr 2014 16:05:22 +0000 (18:05 +0200)
commite754d00faa71a8950de8582fb0f38f6fb270ac38
tree674520dd6c70748b3844e21083a0050697f4155c
parente19dd094da07931b244ec7695833939b6c5e4444
Fix warning in lyx2lyx 2.0<->2.1 round trip

revert_justification() issues a warning if the \justification parameter does
not exist, and LyX itself always writes it unconditionally as well, so add it
also in lyx2lyx when converting old documents.
Currently this does not have any user visible effect, but it decouples the
default value of BufferParams::justification from the conversion of old
documents: Now it is possible to set the default to false in LyX, and old
documents will still be converted correctly.
lib/lyx2lyx/lyx_2_1.py
status.21x