+\begin_layout Standard
+
+\lang english
+See also the
+\begin_inset CommandInset href
+LatexCommand href
+name "Wikipedia entry on dashes"
+target "https://ja.wikipedia.org/wiki/%E3%83%80%E3%83%83%E3%82%B7%E3%83%A5_(%E8%A8%98%E5%8F%B7)"
+literal "false"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Dashes and line breaks
+\begin_inset CommandInset label
+LatexCommand label
+name "subsec:Dashes-and-line-breaks"
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Whether line breaks around dashes are allowed depends on the use case and
+ locale:
+\end_layout
+
+\begin_layout Itemize
+
+\lang english
+No line breaks are allowed in ranges of values like A–Z or 1975–1982.
+\end_layout
+
+\begin_layout Itemize
+
+\lang english
+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 brackets: line breaks are not allowed on the inner side.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+When using spaced en dashes
+\begin_inset space ~
+\end_inset
+
+- common in British English
+\begin_inset space ~
+\end_inset
+
+- line breaks before the dash can be prevented with protected spaces.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+When using em dashes without spaces—\SpecialChar allowbreak
+common in American English—\SpecialChar allowbreak
+one can insert
+ optional line breaks with the menu
+\family sans
+Insert\SpecialChar menuseparator
+Formatting\SpecialChar menuseparator
+Optional line break
+\family default
+.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+For documents containing many em dashes, you may consider to select the
+ option
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Fonts\SpecialChar menuseparator
+Output en- and em-dashes as ligatures.
+
+\family default
+This forces the output of dashes as
+\begin_inset Quotes eld
+\end_inset
+
+--
+\begin_inset Quotes erd
+\end_inset
+
+ and
+\begin_inset Quotes eld
+\end_inset
+
+---
+\begin_inset Quotes erd
+\end_inset
+
+ when exporting to \SpecialChar LaTeX
+.
+ The \SpecialChar TeX
+ font ligature mechanism converts them to dash characters followed
+ by an optional line break.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Caution:
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+This results in optional line breaks after
+\series bold
+all
+\series default
+ en and em dashes.
+ Incorrect line breaks must be prevented by wrapping in a makebox
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+See section
+\emph on
+Prevent Hyphenation
+\emph default
+ of the
+\emph on
+Embedded
+\begin_inset space ~
+\end_inset
+
+Objects
+\emph default
+ manual.
+\end_layout
+
+\end_inset
+
+ or preceding with
+\series bold
+
+\backslash
+nobreakdash
+\series default
+ in \SpecialChar TeX
+ code.
+ Examples:
+\end_layout
+
+\begin_deeper
+\begin_layout Itemize
+
+\lang english
+Pages
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+
+\lang english
+369–378
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+
+\lang french
+Les incises
+\begin_inset Box Frameless
+position "t"
+hor_pos "c"
+has_inner_box 1
+inner_pos "t"
+use_parbox 0
+use_makebox 1
+width ""
+special "none"
+height "1in"
+height_special "totalheight"
+thickness "0.4pt"
+separation "3pt"
+shadowsize "4pt"
+framecolor "black"
+backgroundcolor "none"
+status open
+
+\begin_layout Plain Layout
+
+\lang french
+–
+\begin_inset space ~
+\end_inset
+
+même
+\end_layout
+
+\end_inset
+
+ si tout le monde ne les aime pas
+\begin_inset space ~
+\end_inset
+
+– sont très utiles.
+\end_layout
+
+\begin_layout Itemize
+
+\lang spanish
+En una frase
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+nobreakdash
+\end_layout
+
+\end_inset
+
+—un inciso con rayas— se escribe así.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+An incorrect line break is easily overlooked because
+\begin_inset space ~
+\end_inset
+
+– in contrast to an overfull line
+\begin_inset space ~
+\end_inset
+
+– it does not trigger a warning in the \SpecialChar LaTeX
+ log.
+\end_layout
+
+\end_deeper
+\begin_layout Enumerate
+
+\lang english
+The setting is ignored for documents using non-\SpecialChar TeX
+ fonts.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Xe\SpecialChar TeX
+ provides the
+\series bold
+
+\backslash
+XeTeXdashbreakstate
+\series default
+ setting.
+ 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=0
+\family default
+\series default
+ into the \SpecialChar LaTeX
+ preamble.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Em dashes in
+\family typewriter
+typewriter
+\family default
+ fonts become
+\family typewriter
+–-
+\family default
+ or
+\family typewriter
+---
+\family default
+ in the output.
+\end_layout
+
+\begin_layout Enumerate
+
+\lang english
+Hyphenation is suppressed in words adjacent to hyphens and ligature dashes.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Since \SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+2.2, -- and --- are exported to LaTeX as -{}- and -{}-{}- to prevent ligation
+ to dashes.
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Up to \SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+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 led to different line breaks in some documents.
+ \SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+2.3 provides the option
+\family sans
+Output en- and em-dashes as ligatures
+\family default
+ in the menu
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Fonts.
+
+\family default
+ It is on by default but unselected when opening documents edited with \SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+2.2.
+\begin_inset Newline newline
+\end_inset
+
+Note the following side-effects of the changes in \SpecialChar LyX
+'s dash handling:
+\end_layout
+
+\begin_layout Itemize
+
+\lang english
+If you used literal em- and en dashes in pre-\SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+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
+
+\lang english
+Zero-width space (ZWSP) characters in older \SpecialChar LyX
+ documents that follow literal
+ em- and en-dashes are removed during the conversion to the format of \SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+2.3.
+ If you used them as optional line breaks after dashes, convert them to
+ space insets before opening your document with \SpecialChar LyX
+
+\begin_inset space ~
+\end_inset
+
+2.3 or the optional line breaks will be lost.
+\end_layout
+