On 2017-10-14, Scott Kostyshak wrote: > On Mon, Oct 09, 2017 at 11:56:12AM +0000, Guenter Milde wrote:
>> The current default behaviour for dash export is a regression on >> changeset 798ad9755a1ff43a06d2b from 16.06.2007 ... > Note that from what I understand, this is a different topic than the one > that was voted on [1], which focused on possible conversion options, not > on the default of the setting. > As for the potential patch to RELEASE-NOTES, do I understand correctly > that the reason that the text we currently have is incorrect is because > in some cases (e.g. the document uses non-TeX fonts) the change is not > "needed"? The intention is to warn users about the consequences of the changed dash export. The change also affects new documents: the new default allows undesired line-breaks (e.g. in range indications like "1975–78" or after the "opening" dash around French and Spanish incisions) that are prevented in 2.2 documents. I agree that mentioning the different handling of TeX- vs. no-TeX fonts in the caveats section distracts from the intention and propose a revised patch (see below). Thanks, Günter diff --git a/lib/RELEASE-NOTES b/lib/RELEASE-NOTES index c605cb4850..abc1002ca2 100644 --- a/lib/RELEASE-NOTES +++ b/lib/RELEASE-NOTES @@ -212,10 +212,12 @@ the external_templates file, you will have to move the modifications to the respective *.xtemplate file manually. -* If you used literal em- and en-dashes in pre-2.2 documents, - you must manually unselect - "Document->Settings->Fonts->Output em- and en-dash as ligatures" - to ensure unchanged behaviour. +* 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 ensure unchanged behaviour. 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
