UserGuide.lyx: accept and distribute today's changes

This commit is contained in:
Uwe Stöhr 2017-10-03 01:30:59 +02:00
parent 0f6af3da50
commit dc29f73a2f
5 changed files with 414 additions and 1055 deletions

View File

@ -140,12 +140,11 @@ enumitem
\papercolumns 1
\papersides 2
\paperpagestyle default
\tracking_changes true
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict true
\author -1402925745 "Günter Milde"
\end_header
\begin_body
@ -8337,14 +8336,12 @@ Verbatim
\end_layout
\begin_layout Verbatim
This is Verbatim.
\end_layout
\begin_layout Verbatim
\noindent
\align block
The following 2 lines are empty:
\end_layout
@ -8357,7 +8354,6 @@ The following 2 lines are empty:
\end_layout
\begin_layout Verbatim
Almost everything is allowed in Verbatim:"%&$§#~'`
\backslash
}][{|
@ -8381,7 +8377,6 @@ Verbatim
\end_layout
\begin_layout Verbatim*
This is Verbatim*.
\end_layout
@ -12697,13 +12692,7 @@ status open
Note:
\series default
In practice, some fonts might fail due to a legacy (non Unicode) font encoding,
bad metrics,
\change_deleted -1402925745 1506439424
and
\change_inserted -1402925745 1506439424
or
\change_unchanged
other font deficiencies; so you might have to experiment.
bad metrics, or other font deficiencies; so you might have to experiment.
\end_layout
\end_inset
@ -16064,11 +16053,7 @@ Typography
\end_layout
\begin_layout Subsection
Hyphens, Dashes
\change_inserted -1402925745 1506496113
,
\change_unchanged
and Minus Signs
Hyphens, Dashes and Minus Signs
\begin_inset Index idx
status collapsed
@ -16105,13 +16090,7 @@ In \SpecialChar LyX
\begin_inset Quotes erd
\end_inset
\change_deleted -1402925745 1506541644
character
\change_inserted -1402925745 1506541880
symbol
\change_unchanged
comes in four variants: the
symbol comes in four variants: the
\emph on
hyphen
\emph default
@ -16174,13 +16153,7 @@ name
\begin_inset Text
\begin_layout Plain Layout
\change_deleted -1402925745 1506545222
output
\change_inserted -1402925745 1506614773
glyph
\change_unchanged
\end_layout
\end_inset
@ -16258,8 +16231,6 @@ en dash
\begin_inset Text
\begin_layout Plain Layout
\change_deleted -1402925745 1506592215
system key combination
\begin_inset Foot
status collapsed
@ -16267,9 +16238,7 @@ status collapsed
\begin_layout Plain Layout
On Mac and Linux, the en dash is entered with
\family sans
Opt
\change_inserted -1402925745 1506589385
+
Opt+
\begin_inset Quotes eld
\end_inset
@ -16278,16 +16247,10 @@ Opt
\end_inset
\change_deleted -1402925745 1506589369
ion-hyphen
\change_unchanged
\family default
and the em dash with
\family sans
Shift-Opt
\change_inserted -1402925745 1506589416
+
Shift-Opt+
\begin_inset Quotes erd
\end_inset
@ -16296,18 +16259,10 @@ Shift-Opt
\end_inset
\change_deleted -1402925745 1506589408
ion-hyphen
\change_unchanged
\family default
(
\family sans
Opt
\change_deleted -1402925745 1506589513
ion
\change_unchanged
\family default
is the Mac label for the right
\family sans
@ -16337,28 +16292,12 @@ unicode-insert
\end_inset
\SpecialChar LyX
function with the Unicode code
\change_inserted -1402925745 1506441959
point
\change_unchanged
as argument (2013 for the em dash and 2014 for the en dash).
function with the Unicode code point as argument (2013 for the em dash
and 2014 for the en dash).
\end_layout
\end_inset
\change_inserted -1402925745 1506612124
\begin_inset CommandInset href
LatexCommand href
name "system key combination"
target "https://en.wikipedia.org/wiki/Dash#Encoding.2C_substitution.2C_and_keyboard_shortcuts"
literal "false"
\end_inset
\change_unchanged
or
\begin_inset Quotes eld
\end_inset
@ -16396,22 +16335,7 @@ em dash
\begin_inset Text
\begin_layout Plain Layout
\change_deleted -1402925745 1506612094
system key combination
\change_inserted -1402925745 1506592246
\begin_inset CommandInset href
LatexCommand href
name "system key combination"
target "https://en.wikipedia.org/wiki/Dash#Encoding_and_keyboard_shortcuts"
literal "false"
\end_inset
\change_unchanged
or
system key combination or
\begin_inset Quotes eld
\end_inset
@ -16485,8 +16409,6 @@ minus sign
\end_layout
\begin_layout Standard
\change_inserted -1402925745 1506592362
Dashes can also be inserted with
\family sans
Insert\SpecialChar menuseparator
@ -16528,19 +16450,11 @@ hyphen
\end_layout
\begin_layout Enumerate
\change_deleted -1402925745 1506519699
From
\change_unchanged
AZ; pages
From AZ; pages
\begin_inset space ~
\end_inset
369378
\change_inserted -1402925745 1506594369
; Oh there's a dash.
\change_unchanged
\begin_inset space \hfill{}
\end_inset
@ -16552,27 +16466,7 @@ en dash
\end_layout
\begin_layout Enumerate
\change_deleted -1402925745 1506594263
Dashes indicate interruptions, performing a function related to but subtly
different from parentheses.
\begin_inset space \hfill{}
\end_inset
(
\emph on
en dash
\emph default
)
\end_layout
\begin_deeper
\begin_layout Standard
\change_deleted -1402925745 1506594328
The em dash is used without spaces:
\change_unchanged
Oh—there's a dash.
The em dash is used without spaces: Oh—there's a dash.
\begin_inset space \hfill{}
\end_inset
@ -16583,7 +16477,6 @@ em dash
)
\end_layout
\end_deeper
\begin_layout Enumerate
\begin_inset Formula $x^{2}-y^{2}=z^{2}$
\end_inset
@ -16624,13 +16517,8 @@ name "subsec:Dashes-and-line-breaks"
\end_layout
\begin_layout Standard
Whether line breaks
\change_deleted -1402925745 1506541984
before or after
\change_inserted -1402925745 1506541984
around
\change_unchanged
dashes are allowed depends on the use case and locale:
Whether line breaks around dashes are allowed depends on the use case and
locale:
\end_layout
\begin_layout Itemize
@ -16638,32 +16526,13 @@ No line breaks are allowed in ranges of values like AZ or 19751982.
\end_layout
\begin_layout Itemize
In English,
\change_deleted -1402925745 1506542010
lines may break after
\change_unchanged
dashes used to set off parenthetical statements
\change_inserted -1402925745 1506547201
should not start a new line
\change_unchanged
.
In English, dashes used to set off parenthetical statements should not start
a new line.
\end_layout
\begin_layout Itemize
In French and Spanish, dashes around parenthetical statements are treated
similar to
\change_deleted -1402925745 1506542045
quote signs and
\change_inserted -1402925745 1506614820
brackets:
\change_unchanged
line breaks are not allowed on the
\change_deleted -1402925745 1506542045
left
\change_inserted -1402925745 1506436627
inner
\change_unchanged
side.
similar to brackets: line breaks are not allowed on the inner side.
\end_layout
\begin_layout Standard
@ -16675,15 +16544,7 @@ When using spaced en dashes
\begin_inset space ~
\end_inset
- line breaks before the dash
\change_inserted -1402925745 1506432533
can be prevented
\change_unchanged
with protected spaces
\change_deleted -1402925745 1506432538
are not allowed
\change_unchanged
.
- line breaks before the dash can be prevented with protected spaces.
\end_layout
\begin_layout Standard
@ -16733,13 +16594,7 @@ This forces the output of dashes as
\end_layout
\begin_layout Standard
\change_deleted -1402925745 1506436929
Subtleties
\change_inserted -1402925745 1506436930
Caution
\change_unchanged
:
Caution:
\end_layout
\begin_layout Enumerate
@ -16777,12 +16632,8 @@ Objects
nobreakdash
\series default
in \SpecialChar TeX
code
\change_inserted -1402925745 1506595187
.
Examples
\change_unchanged
:
code.
Examples:
\end_layout
\begin_deeper
@ -16896,16 +16747,10 @@ An incorrect line break is easily overlooked because
\begin_layout Enumerate
The setting is ignored for documents using non-\SpecialChar TeX
fonts.
\change_inserted -1402925745 1506594733
\lang ngerman
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
\change_inserted -1402925745 1506594830
Xe\SpecialChar TeX
provides the
\series bold
@ -16930,38 +16775,8 @@ XeTeXdashbreakstate=0
\end_inset
\change_unchanged
\end_layout
\begin_deeper
\begin_layout Standard
\change_deleted -1402925745 1506594722
Xe\SpecialChar TeX
provides the
\series bold
\backslash
XeTeXdashbreakstate
\series default
setting.
The default,
\begin_inset Newline newline
\end_inset
\series bold
\backslash
XeTeXdashbreakstate=1
\series default
causes literal dashes to behave like ligature dashes.
\change_unchanged
\end_layout
\end_deeper
\begin_layout Enumerate
Em dashes in
\family typewriter
@ -16983,33 +16798,13 @@ Hyphenation is suppressed in words adjacent to hyphens and ligature dashes.
\end_layout
\begin_layout Standard
\change_deleted -1402925745 1506433667
In
\change_inserted -1402925745 1506433670
Since
\change_unchanged
\SpecialChar LyX
Since \SpecialChar LyX
\begin_inset space ~
\end_inset
2.2
\change_inserted -1402925745 1506433674
,
\change_unchanged
-- and ---
\change_deleted -1402925745 1506433728
were in \SpecialChar LyX
\begin_inset space ~
\end_inset
2.3 output
\change_inserted -1402925745 1506433733
are exported to LaTeX
\change_unchanged
as -{}- and -{}-{}- to prevent ligation to dashes.
2.2, -- and --- are exported to LaTeX as -{}- and -{}-{}- to prevent ligation
to dashes.
\begin_inset Foot
status collapsed
@ -17019,65 +16814,21 @@ Up to \SpecialChar LyX
\begin_inset space ~
\end_inset
2.1
\change_inserted -1402925745 1506437858
,
\change_unchanged
-- and ---
\change_deleted -1402925745 1506437892
in \SpecialChar LyX
\change_unchanged
was output unchanged which led to different look in
\change_deleted -1402925745 1506429846
the within
\change_unchanged
\SpecialChar LyX
, text export,
\change_inserted -1402925745 1506429869
and
\change_unchanged
HTML export
\change_inserted -1402925745 1506429873
vs.
\change_deleted -1402925745 1506429876
and the
\change_unchanged
PDF export.
2.1, -- and --- was output unchanged which led to different look in \SpecialChar LyX
, text
export, HTML export and the PDF export.
\end_layout
\end_inset
Occurrences in older documents are converted to literal Unicode dashes.
This le
\change_deleted -1402925745 1506436302
a
\change_unchanged
d to
\change_deleted -1402925745 1506436261
problems like
\change_unchanged
different line breaks
\change_inserted -1402925745 1506436268
in some documents
\change_unchanged
.
\change_deleted -1402925745 1506595735
Since
\change_unchanged
\SpecialChar LyX
This led to different line breaks in some documents.
\SpecialChar LyX
\begin_inset space ~
\end_inset
2.3
\change_deleted -1402925745 1506595740
there is
\change_inserted -1402925745 1506595742
provides
\change_unchanged
the option
2.3 provides the option
\family sans
Output en- and em-dashes as ligatures
\family default
@ -17097,12 +16848,8 @@ Fonts.
\begin_inset Newline newline
\end_inset
Note the following side-effects of the
\change_inserted -1402925745 1506438339
changes in
\change_unchanged
\SpecialChar LyX
dash handling:
Note the following side-effects of the changes in \SpecialChar LyX
's dash handling:
\end_layout
\begin_layout Itemize
@ -17112,24 +16859,14 @@ If you used literal em- and en dashes in pre-\SpecialChar LyX
\end_inset
2.2 documents, you must manually unselect
\change_deleted -1402925745 1506547512
the option
\change_inserted -1402925745 1506547512
\family sans
Output en- and em-dashes as ligatures
\change_unchanged
\family default
to ensure unchanged behavior.
\change_inserted -1402925745 1506596162
\end_layout
\begin_layout Itemize
\change_inserted -1402925745 1506614938
If you used both, literal and ligature dashes in pre-\SpecialChar LyX
\begin_inset space ~
@ -17154,13 +16891,7 @@ Zero-width space (ZWSP) characters in older \SpecialChar LyX
\begin_inset space ~
\end_inset
2.3 or the optional line breaks will be lost
\change_deleted -1402925745 1506596503
!
\change_inserted -1402925745 1506596503
.
\change_unchanged
2.3 or the optional line breaks will be lost.
\end_layout
\begin_layout Subsection

File diff suppressed because it is too large Load Diff

View File

@ -16435,7 +16435,11 @@ Rayas
\begin_layout Standard
En \SpecialChar LyX
, el carácter
, el
\lang english
symbol
\lang spanish
\begin_inset Quotes cld
\end_inset
@ -16599,15 +16603,31 @@ status collapsed
\lang english
On Mac and Linux, the en dash is entered with
\family sans
Option-hyphen
Opt+
\begin_inset Quotes eld
\end_inset
-
\begin_inset Quotes erd
\end_inset
\family default
and the em dash with
\family sans
Shift-Option-hyphen
Shift-Opt+
\begin_inset Quotes erd
\end_inset
-
\begin_inset Quotes erd
\end_inset
\family default
(
\family sans
Option
Opt
\family default
is the Mac label for the right
\family sans
@ -16635,8 +16655,8 @@ unicode-insert
\end_inset
\SpecialChar LyX
function with the Unicode code as argument (2013 for the em dash and 2014
for the en dash).
function with the Unicode code point as argument (2013 for the em dash
and 2014 for the en dash).
\end_layout
\end_inset
@ -16734,6 +16754,31 @@ menos
\end_layout
\begin_layout Standard
\lang english
Dashes can also be inserted with
\family sans
Insert\SpecialChar menuseparator
Special
\begin_inset space ~
\end_inset
Character\SpecialChar menuseparator
Symbols
\family default
or the
\begin_inset Quotes eld
\end_inset
unicode-insert
\begin_inset Quotes erd
\end_inset
\SpecialChar LyX
function.
\end_layout
\begin_layout Standard
Los tipos de guión son distintos del signo menos, que se usa en modo matemático
y tiene su propia longitud.
@ -16839,8 +16884,8 @@ name "subsec:Dashes-and-line-breaks"
\begin_layout Standard
\lang english
Whether line breaks before or after dashes are allowed depends on the use
case and locale:
Whether line breaks around dashes are allowed depends on the use case and
locale:
\end_layout
\begin_layout Itemize
@ -16852,15 +16897,15 @@ No line breaks are allowed in ranges of values like AZ or 19751982.
\begin_layout Itemize
\lang english
In English, lines may break after dashes used to set off parenthetical statement
s.
In English, dashes used to set off parenthetical statements should not start
a new line.
\end_layout
\begin_layout Itemize
\lang english
In French and Spanish, dashes around parenthetical statements are treated
similar to quote signs and line breaks are not allowed on the left side.
similar to brackets: line breaks are not allowed on the inner side.
\end_layout
\begin_layout Standard
@ -16874,7 +16919,7 @@ When using spaced en dashes
\begin_inset space ~
\end_inset
- line breaks before the dash with protected spaces are not allowed.
- line breaks before the dash can be prevented with protected spaces.
\end_layout
\begin_layout Standard
@ -16934,7 +16979,7 @@ This forces the output of dashes as
\begin_layout Standard
\lang english
Subtleties:
Caution:
\end_layout
\begin_layout Enumerate
@ -16974,7 +17019,8 @@ or preceding with
nobreakdash
\series default
in \SpecialChar TeX
code:
code.
Examples:
\end_layout
\begin_deeper
@ -17094,10 +17140,10 @@ An incorrect line break is easily overlooked because
\lang english
The setting is ignored for documents using non-\SpecialChar TeX
fonts.
\end_layout
\begin_inset Foot
status collapsed
\begin_deeper
\begin_layout Standard
\begin_layout Plain Layout
\lang english
Xe\SpecialChar TeX
@ -17108,20 +17154,24 @@ Xe\SpecialChar TeX
XeTeXdashbreakstate
\series default
setting.
The default,
\begin_inset Newline newline
\end_inset
The default causes dashes to behave like ligature dashes.
The usual behaviour of literal dashes can be achieved by inserting
\family typewriter
\series bold
\backslash
XeTeXdashbreakstate=1
XeTeXdashbreakstate=0
\family default
\series default
causes literal dashes to behave like ligature dashes.
into the \SpecialChar LaTeX
preamble.
\end_layout
\end_inset
\end_layout
\end_deeper
\begin_layout Enumerate
\lang english
@ -17149,17 +17199,13 @@ Hyphenation is suppressed in words adjacent to hyphens and ligature dashes.
\begin_layout Standard
\lang english
In \SpecialChar LyX
Since \SpecialChar LyX
\begin_inset space ~
\end_inset
2.2 -- and --- were in \SpecialChar LyX
\begin_inset space ~
\end_inset
2.3 output as -{}- and -{}-{}- to prevent ligation to dashes.
2.2, -- and --- are exported to LaTeX as -{}- and -{}-{}- to prevent ligation
to dashes.
\begin_inset Foot
status collapsed
@ -17171,22 +17217,21 @@ Up to \SpecialChar LyX
\begin_inset space ~
\end_inset
2.1 -- and --- in \SpecialChar LyX
was output unchanged which led to different look in the
within \SpecialChar LyX
, text export, HTML export and the PDF export.
2.1, -- and --- was output unchanged which led to different look in \SpecialChar LyX
, text
export, HTML export and the PDF export.
\end_layout
\end_inset
Occurrences in older documents are converted to literal Unicode dashes.
This lead to problems like different line breaks.
Since \SpecialChar LyX
This led to different line breaks in some documents.
\SpecialChar LyX
\begin_inset space ~
\end_inset
2.3 there is the option
2.3 provides the option
\family sans
Output en- and em-dashes as ligatures
\family default
@ -17206,8 +17251,8 @@ Fonts.
\begin_inset Newline newline
\end_inset
Note the following side-effects of the \SpecialChar LyX
dash handling:
Note the following side-effects of the changes in \SpecialChar LyX
's dash handling:
\end_layout
\begin_layout Itemize
@ -17218,8 +17263,24 @@ If you used literal em- and en dashes in pre-\SpecialChar LyX
\begin_inset space ~
\end_inset
2.2 documents, you must manually unselect the option to ensure unchanged
behavior.
2.2 documents, you must manually unselect
\family sans
Output en- and em-dashes as ligatures
\family default
to ensure unchanged behavior.
\end_layout
\begin_layout Itemize
\lang english
If you used both, literal and ligature dashes in pre-\SpecialChar LyX
\begin_inset space ~
\end_inset
2.2 documents, you may need to enable or prevent individual line breaks as
shown above to restore the correct line breaking behaviour.
\end_layout
\begin_layout Itemize
@ -17239,7 +17300,7 @@ Zero-width space (ZWSP) characters in older \SpecialChar LyX
\begin_inset space ~
\end_inset
2.3 or the optional line breaks will be lost!
2.3 or the optional line breaks will be lost.
\end_layout
\begin_layout Subsection

View File

@ -17323,7 +17323,11 @@ Tirets
\begin_layout Standard
Dans \SpecialChar LyX
, le caractère
, le
\lang english
symbol
\lang french
\begin_inset Quotes cld
\end_inset
@ -17521,15 +17525,31 @@ status collapsed
\lang english
On Mac and Linux, the en dash is entered with
\family sans
Option-hyphen
Opt+
\begin_inset Quotes eld
\end_inset
-
\begin_inset Quotes erd
\end_inset
\family default
and the em dash with
\family sans
Shift-Option-hyphen
Shift-Opt+
\begin_inset Quotes erd
\end_inset
-
\begin_inset Quotes erd
\end_inset
\family default
(
\family sans
Option
Opt
\family default
is the Mac label for the right
\family sans
@ -17561,8 +17581,8 @@ unicode-insert
\end_inset
\SpecialChar LyX
function with the Unicode code as argument (2013 for the em dash and 2014
for the en dash).
function with the Unicode code point as argument (2013 for the em dash
and 2014 for the en dash).
\end_layout
\end_inset
@ -17683,6 +17703,31 @@ signe moins
\end_layout
\begin_layout Standard
\lang english
Dashes can also be inserted with
\family sans
Insert\SpecialChar menuseparator
Special
\begin_inset space ~
\end_inset
Character\SpecialChar menuseparator
Symbols
\family default
or the
\begin_inset Quotes eld
\end_inset
unicode-insert
\begin_inset Quotes erd
\end_inset
\SpecialChar LyX
function.
\end_layout
\begin_layout Standard
Les types de tiret sont distincts du signe moins, qui apparaît en mode math
et a une longueur différente.
@ -17775,8 +17820,8 @@ name "subsec:Dashes-and-line-breaks"
\begin_layout Standard
\lang english
Whether line breaks before or after dashes are allowed depends on the use
case and locale:
Whether line breaks around dashes are allowed depends on the use case and
locale:
\end_layout
\begin_layout Itemize
@ -17788,15 +17833,15 @@ No line breaks are allowed in ranges of values like AZ or 19751982.
\begin_layout Itemize
\lang english
In English, lines may break after dashes used to set off parenthetical statement
s.
In English, dashes used to set off parenthetical statements should not start
a new line.
\end_layout
\begin_layout Itemize
\lang english
In French and Spanish, dashes around parenthetical statements are treated
similar to quote signs and line breaks are not allowed on the left side.
similar to brackets: line breaks are not allowed on the inner side.
\end_layout
\begin_layout Standard
@ -17810,7 +17855,7 @@ When using spaced en dashes
\begin_inset space ~
\end_inset
- line breaks before the dash with protected spaces are not allowed.
- line breaks before the dash can be prevented with protected spaces.
\end_layout
\begin_layout Standard
@ -17870,7 +17915,7 @@ This forces the output of dashes as
\begin_layout Standard
\lang english
Subtleties:
Caution:
\end_layout
\begin_layout Enumerate
@ -17910,7 +17955,8 @@ or preceding with
nobreakdash
\series default
in \SpecialChar TeX
code:
code.
Examples:
\end_layout
\begin_deeper
@ -18028,10 +18074,10 @@ An incorrect line break is easily overlooked because
\lang english
The setting is ignored for documents using non-\SpecialChar TeX
fonts.
\end_layout
\begin_inset Foot
status collapsed
\begin_deeper
\begin_layout Standard
\begin_layout Plain Layout
\lang english
Xe\SpecialChar TeX
@ -18042,20 +18088,24 @@ Xe\SpecialChar TeX
XeTeXdashbreakstate
\series default
setting.
The default,
\begin_inset Newline newline
\end_inset
The default causes dashes to behave like ligature dashes.
The usual behaviour of literal dashes can be achieved by inserting
\family typewriter
\series bold
\backslash
XeTeXdashbreakstate=1
XeTeXdashbreakstate=0
\family default
\series default
causes literal dashes to behave like ligature dashes.
into the \SpecialChar LaTeX
preamble.
\end_layout
\end_inset
\end_layout
\end_deeper
\begin_layout Enumerate
\lang english
@ -18083,17 +18133,13 @@ Hyphenation is suppressed in words adjacent to hyphens and ligature dashes.
\begin_layout Standard
\lang english
In \SpecialChar LyX
Since \SpecialChar LyX
\begin_inset space ~
\end_inset
2.2 -- and --- were in \SpecialChar LyX
\begin_inset space ~
\end_inset
2.3 output as -{}- and -{}-{}- to prevent ligation to dashes.
2.2, -- and --- are exported to LaTeX as -{}- and -{}-{}- to prevent ligation
to dashes.
\begin_inset Foot
status collapsed
@ -18105,22 +18151,21 @@ Up to \SpecialChar LyX
\begin_inset space ~
\end_inset
2.1 -- and --- in \SpecialChar LyX
was output unchanged which led to different look in the
within \SpecialChar LyX
, text export, HTML export and the PDF export.
2.1, -- and --- was output unchanged which led to different look in \SpecialChar LyX
, text
export, HTML export and the PDF export.
\end_layout
\end_inset
Occurrences in older documents are converted to literal Unicode dashes.
This lead to problems like different line breaks.
Since \SpecialChar LyX
This led to different line breaks in some documents.
\SpecialChar LyX
\begin_inset space ~
\end_inset
2.3 there is the option
2.3 provides the option
\family sans
Output en- and em-dashes as ligatures
\family default
@ -18140,8 +18185,8 @@ Fonts.
\begin_inset Newline newline
\end_inset
Note the following side-effects of the \SpecialChar LyX
dash handling:
Note the following side-effects of the changes in \SpecialChar LyX
's dash handling:
\end_layout
\begin_layout Itemize
@ -18152,8 +18197,24 @@ If you used literal em- and en dashes in pre-\SpecialChar LyX
\begin_inset space ~
\end_inset
2.2 documents, you must manually unselect the option to ensure unchanged
behavior.
2.2 documents, you must manually unselect
\family sans
Output en- and em-dashes as ligatures
\family default
to ensure unchanged behavior.
\end_layout
\begin_layout Itemize
\lang english
If you used both, literal and ligature dashes in pre-\SpecialChar LyX
\begin_inset space ~
\end_inset
2.2 documents, you may need to enable or prevent individual line breaks as
shown above to restore the correct line breaking behaviour.
\end_layout
\begin_layout Itemize
@ -18173,7 +18234,7 @@ Zero-width space (ZWSP) characters in older \SpecialChar LyX
\begin_inset space ~
\end_inset
2.3 or the optional line breaks will be lost!
2.3 or the optional line breaks will be lost.
\end_layout
\begin_layout Subsection

View File

@ -13852,15 +13852,31 @@ status collapsed
\lang english
On Mac and Linux, the en dash is entered with
\family sans
Option-hyphen
Opt+
\begin_inset Quotes eld
\end_inset
-
\begin_inset Quotes erd
\end_inset
\family default
and the em dash with
\family sans
Shift-Option-hyphen
Shift-Opt+
\begin_inset Quotes erd
\end_inset
-
\begin_inset Quotes erd
\end_inset
\family default
(
\family sans
Option
Opt
\family default
is the Mac label for the right
\family sans
@ -13889,8 +13905,8 @@ unicode-insert
\end_inset
\SpecialChar LyX
function with the Unicode code as argument (2013 for the em dash and 2014
for the en dash).
function with the Unicode code point as argument (2013 for the em dash
and 2014 for the en dash).
\end_layout
\end_inset
@ -14000,6 +14016,31 @@ system key combination or
\end_layout
\begin_layout Standard
\lang english
Dashes can also be inserted with
\family sans
Insert\SpecialChar menuseparator
Special
\begin_inset space ~
\end_inset
Character\SpecialChar menuseparator
Symbols
\family default
or the
\begin_inset Quotes eld
\end_inset
unicode-insert
\begin_inset Quotes erd
\end_inset
\SpecialChar LyX
function.
\end_layout
\begin_layout Standard
これらつのダッシュは,それ独自の長さを持つ,数式モードのマイナス記号とは異なります.「
\family typewriter
@ -14082,8 +14123,8 @@ name "subsec:Dashes-and-line-breaks"
\begin_layout Standard
\lang english
Whether line breaks before or after dashes are allowed depends on the use
case and locale:
Whether line breaks around dashes are allowed depends on the use case and
locale:
\end_layout
\begin_layout Itemize
@ -14095,15 +14136,15 @@ No line breaks are allowed in ranges of values like AZ or 19751982.
\begin_layout Itemize
\lang english
In English, lines may break after dashes used to set off parenthetical statement
s.
In English, dashes used to set off parenthetical statements should not start
a new line.
\end_layout
\begin_layout Itemize
\lang english
In French and Spanish, dashes around parenthetical statements are treated
similar to quote signs and line breaks are not allowed on the left side.
similar to brackets: line breaks are not allowed on the inner side.
\end_layout
\begin_layout Standard
@ -14117,7 +14158,7 @@ When using spaced en dashes
\begin_inset space ~
\end_inset
- line breaks before the dash with protected spaces are not allowed.
- line breaks before the dash can be prevented with protected spaces.
\end_layout
\begin_layout Standard
@ -14173,7 +14214,7 @@ This forces the output of dashes as
\begin_layout Standard
\lang english
Subtleties:
Caution:
\end_layout
\begin_layout Enumerate
@ -14215,7 +14256,8 @@ Objects
nobreakdash
\series default
in \SpecialChar TeX
code:
code.
Examples:
\end_layout
\begin_deeper
@ -14337,10 +14379,10 @@ An incorrect line break is easily overlooked because
\lang english
The setting is ignored for documents using non-\SpecialChar TeX
fonts.
\end_layout
\begin_inset Foot
status collapsed
\begin_deeper
\begin_layout Standard
\begin_layout Plain Layout
\lang english
Xe\SpecialChar TeX
@ -14351,20 +14393,24 @@ Xe\SpecialChar TeX
XeTeXdashbreakstate
\series default
setting.
The default,
\begin_inset Newline newline
\end_inset
The default causes dashes to behave like ligature dashes.
The usual behaviour of literal dashes can be achieved by inserting
\family typewriter
\series bold
\backslash
XeTeXdashbreakstate=1
XeTeXdashbreakstate=0
\family default
\series default
causes literal dashes to behave like ligature dashes.
into the \SpecialChar LaTeX
preamble.
\end_layout
\end_inset
\end_layout
\end_deeper
\begin_layout Enumerate
\lang english
@ -14392,17 +14438,13 @@ Hyphenation is suppressed in words adjacent to hyphens and ligature dashes.
\begin_layout Standard
\lang english
In \SpecialChar LyX
Since \SpecialChar LyX
\begin_inset space ~
\end_inset
2.2 -- and --- were in \SpecialChar LyX
\begin_inset space ~
\end_inset
2.3 output as -{}- and -{}-{}- to prevent ligation to dashes.
2.2, -- and --- are exported to LaTeX as -{}- and -{}-{}- to prevent ligation
to dashes.
\begin_inset Foot
status collapsed
@ -14414,22 +14456,21 @@ Up to \SpecialChar LyX
\begin_inset space ~
\end_inset
2.1 -- and --- in \SpecialChar LyX
was output unchanged which led to different look in the
within \SpecialChar LyX
, text export, HTML export and the PDF export.
2.1, -- and --- was output unchanged which led to different look in \SpecialChar LyX
, text
export, HTML export and the PDF export.
\end_layout
\end_inset
Occurrences in older documents are converted to literal Unicode dashes.
This lead to problems like different line breaks.
Since \SpecialChar LyX
This led to different line breaks in some documents.
\SpecialChar LyX
\begin_inset space ~
\end_inset
2.3 there is the option
2.3 provides the option
\family sans
Output en- and em-dashes as ligatures
\family default
@ -14449,8 +14490,8 @@ Fonts.
\begin_inset Newline newline
\end_inset
Note the following side-effects of the \SpecialChar LyX
dash handling:
Note the following side-effects of the changes in \SpecialChar LyX
's dash handling:
\end_layout
\begin_layout Itemize
@ -14461,8 +14502,24 @@ If you used literal em- and en dashes in pre-\SpecialChar LyX
\begin_inset space ~
\end_inset
2.2 documents, you must manually unselect the option to ensure unchanged
behavior.
2.2 documents, you must manually unselect
\family sans
Output en- and em-dashes as ligatures
\family default
to ensure unchanged behavior.
\end_layout
\begin_layout Itemize
\lang english
If you used both, literal and ligature dashes in pre-\SpecialChar LyX
\begin_inset space ~
\end_inset
2.2 documents, you may need to enable or prevent individual line breaks as
shown above to restore the correct line breaking behaviour.
\end_layout
\begin_layout Itemize
@ -14482,7 +14539,7 @@ Zero-width space (ZWSP) characters in older \SpecialChar LyX
\begin_inset space ~
\end_inset
2.3 or the optional line breaks will be lost!
2.3 or the optional line breaks will be lost.
\end_layout
\begin_layout Subsection