]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/UserGuide.lyx
backport cs.po
[lyx.git] / lib / doc / UserGuide.lyx
index 639ca6f5ba2628be7aa6f5c1c551bf0832e0957d..188a16dc6ff6cb8cf71488cce15c7dba207c05f4 100644 (file)
@@ -8336,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
 
@@ -8356,7 +8354,6 @@ The following 2 lines are empty:
 \end_layout
 
 \begin_layout Verbatim
-
 Almost everything is allowed in Verbatim:"%&$§#~'`
 \backslash
 }][{|
@@ -8380,7 +8377,6 @@ Verbatim
 \end_layout
 
 \begin_layout Verbatim*
-
 This is Verbatim*.
 \end_layout
 
@@ -12696,7 +12692,7 @@ status open
 Note:
 \series default
  In practice, some fonts might fail due to a legacy (non Unicode) font encoding,
- bad metrics, and 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
@@ -16094,7 +16090,7 @@ In \SpecialChar LyX
 \begin_inset Quotes erd
 \end_inset
 
character comes in four variants: the 
symbol comes in four variants: the 
 \emph on
 hyphen
 \emph default
@@ -16242,15 +16238,31 @@ status collapsed
 \begin_layout Plain Layout
 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
@@ -16280,8 +16292,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
@@ -16396,6 +16408,29 @@ minus sign
 
 \end_layout
 
+\begin_layout Standard
+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
 Hyphen and dashes are distinct from the minus sign, which appears in math
  mode and has a length of its own.
@@ -16431,20 +16466,6 @@ en dash
 \end_layout
 
 \begin_layout Enumerate
-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
 The em dash is used without spaces: Oh—there's a dash.
 \begin_inset space \hfill{}
 \end_inset
@@ -16456,7 +16477,6 @@ em dash
 )
 \end_layout
 
-\end_deeper
 \begin_layout Enumerate
 \begin_inset Formula $x^{2}-y^{2}=z^{2}$
 \end_inset
@@ -16497,8 +16517,8 @@ name "subsec:Dashes-and-line-breaks"
 \end_layout
 
 \begin_layout Standard
-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
@@ -16506,13 +16526,13 @@ No line breaks are allowed in ranges of values like A–Z or 1975–1982.
 \end_layout
 
 \begin_layout Itemize
-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
 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
@@ -16524,7 +16544,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
@@ -16574,7 +16594,7 @@ This forces the output of dashes as
 \end_layout
 
 \begin_layout Standard
-Subtleties:
+Caution:
 \end_layout
 
 \begin_layout Enumerate
@@ -16612,7 +16632,8 @@ Objects
 nobreakdash
 \series default
  in \SpecialChar TeX
- code:
+ code.
+ Examples:
 \end_layout
 
 \begin_deeper
@@ -16726,10 +16747,10 @@ An incorrect line break is easily overlooked because
 \begin_layout Enumerate
 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
 Xe\SpecialChar TeX
  provides the 
 \series bold
@@ -16738,20 +16759,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
 Em dashes in 
 \family typewriter
@@ -16773,17 +16798,13 @@ Hyphenation is suppressed in words adjacent to hyphens and ligature dashes.
 \end_layout
 
 \begin_layout Standard
-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
 
@@ -16793,22 +16814,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
@@ -16828,8 +16848,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
@@ -16838,8 +16858,22 @@ 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
+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
@@ -16857,7 +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!
+2.3 or the optional line breaks will be lost.
 \end_layout
 
 \begin_layout Subsection