lyx_mirror/development
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
..
attic Repeat after me: into account, into account, into account 2015-09-27 21:38:20 +02:00
autotests Add label 'defaultoutput' to export tests using document default output format 2017-03-10 14:35:11 +01:00
checksigs Keep track of signatures stored on ftp server. 2017-02-16 12:54:43 -08:00
checkurls Cmake url tests: Add special handling for some ftp-urls 2016-01-05 17:27:49 +01:00
cmake Cmake build: Adapt handling of mytheslib to automek behaviour 2017-03-07 14:27:08 +01:00
coding Example Emacs configuration 2015-10-01 22:06:01 +01:00
cygwin Update the formats of lyxrc.dist.in to 19 2015-11-07 22:45:40 -05:00
HTML Update HTML notes again. 2011-04-03 13:38:05 +00:00
keystest Next keystest patch from John McCabe-Dansted. 2010-01-06 22:11:59 +00:00
lyxserver Remove obsolete source file. 2010-02-18 09:58:20 +00:00
MacOSX Add shell wrapper for Maxima on MacOSX 2016-10-20 06:35:25 +02:00
mathmacros Remove spurious body tags in macro test file. 2016-12-01 10:15:12 +01:00
tools Dirty Perl script for alphabetizing LyXAction.cpp, in case it 2017-01-07 16:04:12 -05:00
Win32 Win installer: fix 2 bugs and update libraries 2017-01-26 02:19:27 +01:00
.gitignore Setup .gitignore for generated files 2012-03-22 02:16:12 +01:00
expectedTestFailures Cmake build tests: update comments 2013-08-25 18:18:19 +02:00
FORMAT Fix output of en- and em-dashes with TeX fonts 2017-03-19 20:50:34 +01:00
LyX-Mac-binary-release.sh prepare using Qt 5.7, change compiler and flags when using --enable-cxx11 2017-01-14 16:05:50 +01:00
lyx.package.README Creat source package with 'make package_source' from inside the build directory 2011-05-23 08:44:32 +00:00
lyx.rpm.README Typos 2012-06-05 12:22:13 +02:00
lyx.spec.in Update the spec file template 2014-12-08 13:15:06 +01:00
Makefile.am build4-2010.bat: remove outdated script 2016-07-11 02:12:36 +02:00
PAINTING_ANALYSIS Add RtL information to Row 2017-02-02 14:53:01 +01:00
TestsToDo Add Georg's idea for lyx2lyx tests to TestsToDo 2015-11-01 20:06:04 -05:00