mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
72a488d7e6
This commit fixes the regression introduced in 2.2 about the output of en- and em-dashes. In 2.2 en- and em-dashes are output as the \textendash and \textemdash macros when using TeX fonts, causing changed output in old documents and also bugs (for example, #10490). Now documents produced with older versions work again as intended, while documents produced with 2.2 can be made to produce the exact same output by simply checking "Don't use ligatures for en-and em-dashes" in Document->Settings->Fonts. When exporting documents using TeX fonts to earlier versions, in order to avoid changed output, a zero-width space character is inserted after each en/em-dash if dash ligatures are allowed. These characters are removed when reloading documents with 2.3, so that they don't accumulate. |
||
---|---|---|
.. | ||
.gitignore | ||
CMakeLists.txt | ||
generate_encoding_info.py | ||
lyx2lyx | ||
lyx2lyx_lang.py | ||
lyx2lyx_tools.py | ||
lyx2lyx_version.py.in | ||
lyx_0_06.py | ||
lyx_0_08.py | ||
lyx_0_10.py | ||
lyx_0_12.py | ||
lyx_1_0.py | ||
lyx_1_1_5.py | ||
lyx_1_1_6_0.py | ||
lyx_1_1_6_3.py | ||
lyx_1_1.py | ||
lyx_1_2.py | ||
lyx_1_3.py | ||
lyx_1_4.py | ||
lyx_1_5.py | ||
lyx_1_6.py | ||
lyx_2_0.py | ||
lyx_2_1.py | ||
lyx_2_2.py | ||
lyx_2_3.py | ||
LyX.py | ||
Makefile.am | ||
parser_tools.py | ||
profiling.py | ||
test_parser_tools.py | ||
unicode_symbols.py |