]> git.lyx.org Git - lyx.git/commit
Prevent rows of hyphens becoming dashes when back-porting to 2.1.
authorGünter Milde <milde@lyx.org>
Wed, 17 Jan 2018 20:39:03 +0000 (21:39 +0100)
committerGünter Milde <milde@lyx.org>
Wed, 17 Jan 2018 20:39:03 +0000 (21:39 +0100)
commit9ce5d8578b0c74ebb874d290385a5c04e42607aa
tree0ee8b5978ab570f19e187a213f145dedf2a6e849
parent1d81e098a30bbbc1331e7feee459cf63f5d7dacc
Prevent rows of hyphens becoming dashes when back-porting to 2.1.

Insert ligature breaks between hyphens where
they are separate in 2.2 but ligated by TeX in 2.1.

This fixes output with LyX 2.1 and prevents -- and --- becoming
en and em dash in the LyX source after a round-trip to 2.1
and back.

Solves lyx2lyx ctest failures with a warning about
possible line-break changes.
lib/lyx2lyx/lyx_2_2.py