lyx_mirror/lib/lyx2lyx
Enrico Forestieri 72a488d7e6 Fix output of en- and em-dashes with TeX fonts
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.
2017-03-19 20:50:34 +01:00
..
.gitignore
CMakeLists.txt Cmake tests: Added parser_tools test to the lyx2lyx group tests 2014-06-12 09:07:57 +02:00
generate_encoding_info.py First step to make lyx2lyx code support both python 2 and python 3 (3.3+) 2015-03-11 12:09:18 +00:00
lyx2lyx Use unicode cmdline args consistently 2016-06-16 22:05:56 +02:00
lyx2lyx_lang.py
lyx2lyx_tools.py New LFUN tabular-feature: convert "inset-modify tabular" in LyX files 2016-01-27 18:33:09 +01:00
lyx2lyx_version.py.in Fix inconsistent version in .lyx files (#7951) 2013-07-13 16:02:26 +02:00
lyx_0_06.py
lyx_0_08.py
lyx_0_10.py
lyx_0_12.py In lib/lyx2lyx/: s/while 1/while True/ 2016-06-25 17:38:06 -04:00
lyx_1_0.py In lib/lyx2lyx/: s/while 1/while True/ 2016-06-25 17:38:06 -04:00
lyx_1_1_5.py In lib/lyx2lyx/: s/while 1/while True/ 2016-06-25 17:38:06 -04:00
lyx_1_1_6_0.py In lib/lyx2lyx/: s/while 1/while True/ 2016-06-25 17:38:06 -04:00
lyx_1_1_6_3.py In lib/lyx2lyx/: s/while 1/while True/ 2016-06-25 17:38:06 -04:00
lyx_1_1.py
lyx_1_2.py In lib/lyx2lyx/: s/while 1/while True/ 2016-06-25 17:38:06 -04:00
lyx_1_3.py In lib/lyx2lyx/: s/while 1/while True/ 2016-06-25 17:38:06 -04:00
lyx_1_4.py In lib/lyx2lyx/: s/while 1/while True/ 2016-06-25 17:38:06 -04:00
lyx_1_5.py In lib/lyx2lyx/: s/while 1/while True/ 2016-06-25 17:38:06 -04:00
lyx_1_6.py In lib/lyx2lyx/: s/while 1/while True/ 2016-06-25 17:38:06 -04:00
lyx_2_0.py Remove very old debug code. 2017-01-15 11:35:50 -05:00
lyx_2_1.py Remove debugging code. 2016-08-05 21:39:58 -04:00
lyx_2_2.py Do not replace "--" with "\twohyphens" in formula macros. 2017-01-18 21:48:35 -05:00
lyx_2_3.py Fix output of en- and em-dashes with TeX fonts 2017-03-19 20:50:34 +01:00
LyX.py lyx2lyx: Remove UTF-8 BOM if present in the lyx file 2017-03-15 10:06:30 +00:00
Makefile.am Introduce basic support for microtype.sty. 2016-06-02 22:48:58 -07:00
parser_tools.py Add ability to use refstyle's plural and capitalization features. 2017-01-02 22:32:36 -05:00
profiling.py
test_parser_tools.py Some python 3 fixes for lyx2lyx 2016-06-11 11:06:11 +02:00
unicode_symbols.py Fix lyx2lyx unicodesymbols escaping 2015-06-14 12:44:44 +02:00