]> git.lyx.org Git - lyx.git/blobdiff - UPGRADING
Add D. Gloger to the credits
[lyx.git] / UPGRADING
index 0130ae7d96fe8691550abedbc1d8f3066e85bd78..8414883219c8ea6d6c80c92d480fa7fc0b94e6be 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -1,6 +1,49 @@
-How do I upgrade my existing LyX system to version 2.2.x?
+How do I upgrade my existing LyX system to version 2.3.x?
 ---------------------------------------------------------
 
+* Upgrading from LyX 2.2.x:
+
+The external_templates file has been split into one file per template,
+which are now located in lib/xtemplates/*.xtemplate. This makes it easier
+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:<br>
+0x200b "\\hspace{0pt}" "" "" "" "" # ZERO WIDTH SPACE<br>
+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.
+
+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:
+1) explicitly disables the "Forbid use of needauth converters"
+option in the LyX preferences;
+2) provides explicit consent to the use of the converter on the first
+compilation of the R-enhanced document.
+
+LyX now gives a warning if a document mixes title and non-title layouts.
+In some cases, this warning is harmless, but in other cases the document has
+a serious problem even though the LaTeX command does not exit with error. For
+example, create a document with a title layout, then a standard layout, and
+then an author layout, and you will see in the PDF that the author is not
+typeset as an author.
+
 * Upgrading from LyX 2.1.x:
 
 The format of preference and session files has changed. LyX 2.2.x is able to