X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=UPGRADING;h=f28461caf17584c0fbb2fafd1faf55fdd58e53d6;hb=70d88f02e757724ae4c1524b7b95b7a462416ca2;hp=8414883219c8ea6d6c80c92d480fa7fc0b94e6be;hpb=291152efe89ee0edd185fdbcc87d4619da9fdff8;p=lyx.git diff --git a/UPGRADING b/UPGRADING index 8414883219..f28461caf1 100644 --- a/UPGRADING +++ b/UPGRADING @@ -9,26 +9,14 @@ to add new templates or modify existing ones. If you have modified the external_templates file, you will have to move the modifications to the respective *.xtemplate file manually. -By default, LyX 2.3 forces output of all en and em dashes as -- and --- -when exporting to LaTeX. This can lead to incorrect line breaks, wrong -characters in typewriter fonts, and problems with some LaTeX packages. -Unselect "Document->Settings->Fonts->Output em- and en-dash as ligatures" -to keep the LyX 2.2 behaviour and avoid these problems. See chapter 3.9.1.1 -"Dashes and line breaks" of the User Guide for details. - -ZWSP characters (u200b) following literal em- and en-dashes are deleted by -lyx2lyx when converting to 2.3 format. If you used them as optional line -breaks after dashes, convert them to space insets before opening your -document with LyX 2.3 or the optional line breaks will be lost! - -If using TeX fonts and en- and em-dashes are output as font ligatures, -when exporting documents containing en- and em-dashes to the format of -LyX 2.0 or earlier, the following line has to be manually added to the -unicodesymbols file of that LyX version:
-0x200b "\\hspace{0pt}" "" "" "" "" # ZERO WIDTH SPACE
-This avoids "uncodable character" issues if the document is actually -loaded by that LyX version. LyX 2.1 and later versions already have the -necessary definition in their unicodesymbols file. +By default, LyX 2.3 outputs en- and em-dashes as -- and --- respectively, +so that a line break can occur in the output immediately after the dash. +Sometimes, this results in undesired line breaks or overfull lines due to +suppression of hyphenation in the word preceding the dash. +Select "Document->Settings->Fonts->Disallow line breaks after dashes" +to keep the LyX 2.2 behaviour. +See chapter 3.9.1.1, "Dashes and Line Breaks", of the User Guide +for details. If trying to compile documents using R scripts and sweave/knitr, LyX 2.3.x would not allow for re-running the R scripts, unless the user: