]> git.lyx.org Git - features.git/blobdiff - lib/doc/ja/UserGuide.lyx
UserGuide.lyx: distribute recent changes
[features.git] / lib / doc / ja / UserGuide.lyx
index 635515aa0ce087b7ce637471c15a02080ce01d0c..595afb8b06ba6176bd8da9f6a5df63711131286d 100644 (file)
@@ -7172,12 +7172,14 @@ Space
 \end_layout
 
 \begin_layout Verbatim
+
 これは原文儘(verbatim)環境です.
 \end_layout
 
 \begin_layout Verbatim
 \noindent
 \align block
+
 この下の2行は空白行です.
 \end_layout
 
@@ -7190,6 +7192,7 @@ Space
 \end_layout
 
 \begin_layout Verbatim
+
 右記の各文字を始め,ほぼすべての文字が使えます.例:"%&$§#~'`
 \backslash
 }][{|
@@ -7212,6 +7215,7 @@ Space
 \end_layout
 
 \begin_layout Verbatim*
+
 This is Verbatim*.
 \end_layout
 
@@ -9222,16 +9226,20 @@ name "subsec:入れ子の分離"
 \begin_layout Standard
 既存の箇条書きを2つの箇条書きに分けるには,カーソルを箇条書き項目の終わりに置いて,
 \family sans
-編集\SpecialChar menuseparator
-新たな環境を開始
+\lang english
+Insert\SpecialChar menuseparator
+Separated <Name> Above
 \family default
-メニューを選択します.すると,分離記号が挿入され(\SpecialChar LyX
-中では赤線),その後から新規の箇条書きが始まります.また,
+ or
 \family sans
-編集\SpecialChar menuseparator
-新たな親環境を開始
+ Insert\SpecialChar menuseparator
+Separated <Name> Below
 \family default
-メニューは,項目が入れ子になっているときにのみ表示されます.これは,箇条書きを分離するだけでなく,入れ子から出たところに新しい箇条書きを作ります.
+\lang japanese
+.すると,分離記号が挿入され(\SpecialChar LyX
+中では赤線),その後から新規の箇条書きが始まります.
+\lang english
+Inside nested environments, it is also possible to split the outer environment.
 \end_layout
 
 \begin_layout Standard
@@ -11661,14 +11669,44 @@ latexはつけじ@\SpecialChar LaTeX
 \end_inset
 
 .
+\end_layout
+
+\begin_layout Standard
+
 \lang english
-The option
+The option  
 \family sans
-\lang japanese
-ダッシュとemダッシュは合字で出力
+Disallow line breaks after dashes
 \family default
+ outputs en- and em-dashes as literal characters
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+
 \lang english
-outputs en- and em-dashes as ligatures (--, ---) instead of a sigle character.
+Or \SpecialChar LaTeX
+ macro, if the literal character is not supported by the \SpecialChar LaTeX
+ input encoding.
+\end_layout
+
+\end_inset
+
+ instead of ligatures (--, ---) (see section
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:Dashes-and-line-breaks"
+plural "false"
+caps "false"
+noprefix "false"
+
+\end_inset
+
+).
 \end_layout
 
 \begin_layout Standard
@@ -13940,29 +13978,10 @@ Alt
 \family default
  
 \family sans
-/ AltGr 
 \family default
 key).
- Alternatively, dashes can be inserted with
-\family sans
-\lang japanese
-挿入\SpecialChar menuseparator
-特殊文字\SpecialChar menuseparator
-記号
-\family default
-で挿入
-\lang english
-or with the 
-\begin_inset Quotes eld
-\end_inset
-
-unicode-insert
-\begin_inset Quotes erd
-\end_inset
-
- \SpecialChar LyX
- function with the Unicode code point as argument (2013 for the em dash
- and 2014 for the en dash).
 \end_layout
 
 \end_inset
@@ -14085,16 +14104,13 @@ Special
 Character\SpecialChar menuseparator
 Symbols
 \family default
- or the 
-\begin_inset Quotes eld
-\end_inset
-
+ or using the 
+\family typewriter
 unicode-insert
-\begin_inset Quotes erd
-\end_inset
-
+\family default
  \SpecialChar LyX
- function.
+ function with the Unicode code point as argument (2013 for the em dash
+ and 2014 for the en dash).
 \end_layout
 
 \begin_layout Standard
@@ -14114,7 +14130,7 @@ line- and page-breaks
 \end_layout
 
 \begin_layout Enumerate
-From A–Z;
+A–Z;
 \lang english
 pages
 \begin_inset space ~
@@ -14179,16 +14195,19 @@ name "subsec:Dashes-and-line-breaks"
 \begin_layout Standard
 
 \lang english
-Whether line breaks around dashes are allowed depends on the use case and
- locale:
+Whether line breaks before or after dashes are allowed depends on the use
+ case and locale, e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.:
 \end_layout
 
 \begin_layout Itemize
 
 \lang english
-In English, line breaks are generally allowed after the dash in ranges of
- values such as 1975–1982, but no line break should occur if only a single
- character follows the dash (as in A–Z).
+In English, line breaks are generally allowed after the dash, but no line
+ break should occur if only a single character follows the dash (as in A–Z).
 \end_layout
 
 \begin_layout Itemize
@@ -14208,66 +14227,43 @@ In French and Spanish, dashes around parenthetical statements are treated
 \begin_layout Standard
 
 \lang english
-In \SpecialChar LyX
-, line breaks after en-dashes and em-dashes are only allowed (without
- manual intervention), if the option 
-\family sans
-Document\SpecialChar menuseparator
-Settings\SpecialChar menuseparator
-Fonts\SpecialChar menuseparator
-Output en- and em-dashes as ligatures
-\family default
- is selected (this is the default in \SpecialChar LyX
- 2.3).
-\begin_inset Foot
-status collapsed
-
-\begin_layout Plain Layout
-
-\lang english
-In this case, the dashes are output as 
+By default, dashes are output by \SpecialChar LyX
+ to \SpecialChar LaTeX
+ as 
 \begin_inset Quotes eld
 \end_inset
 
---
-\begin_inset Quotes erd
-\end_inset
-
- and 
-\begin_inset Quotes eld
-\end_inset
-
----
+ligature dashes
 \begin_inset Quotes erd
 \end_inset
 
-, respectively, when exporting to \SpecialChar LaTeX
-.
- The \SpecialChar TeX
- font ligature mechanism converts them to dash characters followed
- by an optional line break.
+ (-- and ---).
+ \SpecialChar LaTeX
+ allows line breaks after hyphens, en-dashes and em-dashes.
 \end_layout
 
-\end_inset
+\begin_layout Enumerate
 
+\lang english
+Line breaks  before spaced en dashes
+\begin_inset space ~
+\end_inset
 
-\end_layout
+– common in British English and generally recommended by 
+\emph on
+The Elements of Typographic Style
+\emph default
 
-\begin_layout Standard
+\begin_inset space ~
+\end_inset
 
-\lang english
-Please note:
+– can be prevented using protected spaces.
 \end_layout
 
 \begin_layout Enumerate
 
 \lang english
-This results in optional line breaks after 
-\emph on
-all
-\emph default
- en- and em-dashes.
- Unwanted line breaks must be prevented by wrapping in a makebox
+Unwanted line breaks after dashes can be prevented by wrapping in a makebox
 \begin_inset Foot
 status collapsed
 
@@ -14291,7 +14287,7 @@ Objects
 
 \end_inset
 
-, using protected spaces or preceding with 
+ or preceding with 
 \series bold
 
 \backslash
@@ -14332,7 +14328,7 @@ status open
 \begin_layout Plain Layout
 
 \lang english
-368–9
+36–39
 \end_layout
 
 \end_inset
@@ -14342,35 +14338,39 @@ status open
 
 \begin_layout Itemize
 
-\lang english
-With spaced en dashes
-\begin_inset space ~
-\end_inset
-
-– common e.
-\begin_inset space \thinspace{}
-\end_inset
+\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
 
-g.
- in British English and generally recommended by 
-\emph on
-The Elements of Typographic Style
-\emph default
+\begin_layout Plain Layout
 
+\lang french
+–
 \begin_inset space ~
 \end_inset
 
-– line breaks should not occur before the dash.
+même
 \end_layout
 
-\begin_layout Itemize
-
-\lang french
-Les incises –
-\begin_inset space ~
 \end_inset
 
-même si tout le monde ne les aime pas
+  si tout le monde ne les aime pas
 \begin_inset space ~
 \end_inset
 
@@ -14396,6 +14396,7 @@ nobreakdash
 —un inciso con rayas— se escribe así.
 \end_layout
 
+\end_deeper
 \begin_layout Standard
 
 \lang english
@@ -14411,80 +14412,54 @@ An incorrect line break is easily overlooked because
  log.
 \end_layout
 
-\end_deeper
-\begin_layout Enumerate
+\begin_layout Standard
 
 \lang english
-The setting is ignored for documents using non-\SpecialChar TeX
- fonts.
-\begin_inset Foot
-status collapsed
+If you want to globally disable line breaks after dashes, you can select
+ the option 
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Fonts\SpecialChar menuseparator
+Disallow line breaks after dashes
+\family default
+:
+\end_layout
 
-\begin_layout Plain Layout
+\begin_layout Enumerate
 
 \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.
+Line breaks are still allowed after spaced dashes.
+ They can be prevented using protected spaces (without need for a Makebox
+ inset or \SpecialChar TeX
+ code).
+ Example:
 \end_layout
 
-\end_inset
-
+\begin_deeper
+\begin_layout Itemize
 
-\end_layout
+\lang french
+Les incises –
+\begin_inset space ~
+\end_inset
 
-\begin_layout Enumerate
+même  si tout le monde ne les aime pas
+\begin_inset space ~
+\end_inset
 
-\lang english
-Em dashes in 
-\family typewriter
-typewriter
-\family default
- fonts become 
-\family typewriter
-–-
-\family default
- or 
-\family typewriter
----
-\family default
- in the output.
+– sont très utiles.
 \end_layout
 
+\end_deeper
 \begin_layout Enumerate
 
 \lang english
-Hyphenation is suppressed in words adjacent to hyphens and ligature dashes.
-\end_layout
+Line breaks after unspaced dashes can be allowed via the menu
+\begin_inset Newline newline
+\end_inset
 
-\begin_layout Standard
 
-\lang english
-If the option 
-\family sans
-Document\SpecialChar menuseparator
-Settings\SpecialChar menuseparator
-Fonts\SpecialChar menuseparator
-Output en- and em-dashes as ligatures
-\family default
- has not been selected, you can  insert optional line breaks via the menu
 \family sans
 Insert\SpecialChar menuseparator
 Formatting\SpecialChar menuseparator
@@ -14493,120 +14468,207 @@ Optional line break
 :
 \end_layout
 
+\begin_deeper
 \begin_layout Itemize
 
 \lang english
 Em-dashes without spaces—\SpecialChar allowbreak
-as common in American English—\SpecialChar allowbreak
-should be broken
- after the dash.
+common in American English—\SpecialChar allowbreak
+should be followed by
+ a line break opportunity.
 \end_layout
 
 \begin_layout Standard
 
 \lang english
-As of \SpecialChar LyX
-
+This also allows hyphenation of the word following the dash (see section
 \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 japanese
 
-\lang english
-Up to \SpecialChar LyX
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:ハイフネーション"
 
-\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.
+
+\lang english
+).
 \end_layout
 
+\end_deeper
+\begin_layout Enumerate
+
+\lang english
+With this setting, \SpecialChar LaTeX
+ hyphenates words also if immediately followed by em
+ or en dashes (see section
+\begin_inset space ~
 \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 ~
+\lang japanese
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:ハイフネーション"
+
 \end_inset
 
-2.3 provides the aforementioned 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
+\lang english
+).
+\end_layout
+
+\begin_layout Subsubsection
+
+\lang english
+Changes and backwards compatibility
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Up to \SpecialChar LyX
 
 \begin_inset space ~
 \end_inset
 
-2.2.
-\begin_inset Newline newline
+2.1,  consecutive hyphen characters (-- and ---) in the LyX source were merged
+ to en or em dashes by LaTeX.
+ These 
+\begin_inset Quotes eld
 \end_inset
 
-Note the following side-effects of the changes in \SpecialChar LyX
-'s dash handling:
+ligature dashes
+\begin_inset Quotes erd
+\end_inset
+
+ retain the line-break properties of hyphens while literal dash characters
+ are regarded by \SpecialChar LaTeX
+ as 
+\emph on
+non-breakable
+\emph default
+.
+\end_layout
+
+\begin_layout Standard
+
 \end_layout
 
-\begin_layout Itemize
+\begin_layout Standard
 
 \lang english
-If you used literal em- and en dashes in pre-\SpecialChar LyX
+ Since \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.
+2.2,  consecutive hyphens in the LyX source are exported to \SpecialChar LaTeX
+ in a way that
+ prevents ligation to dashes.
  
-\end_layout
+\begin_inset Quotes eld
+\end_inset
 
-\begin_layout Itemize
+Ligature dashes
+\begin_inset Quotes erd
+\end_inset
+
+ in documents from earlier versions are converted to literal dash characters
+ (except in 
+\family typewriter
+typewriter
+\family default
+ font); typed in consecutive hyphens are merged to dash characters immediately
+ after the input (unless the current text font is 
+\family typewriter
+type
+\family default
+writer).
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
 
 \lang english
-If you used both, literal and ligature dashes in pre-\SpecialChar LyX
+The behavior was changed since 
+\begin_inset Quotes eld
+\end_inset
 
-\begin_inset space ~
+lyx --help
+\begin_inset Quotes erd
 \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.
+ became 
+\begin_inset Quotes eld
+\end_inset
+
+lyx –help
+\begin_inset Quotes erd
+\end_inset
+
+ in PDF, Postscript, and DVI output.
+ An unintended consequence of these changes was that all dashes were output
+ as non-breakable dashes.
+ This also resulted in changed line breaks in some older documents.
 \end_layout
 
-\begin_layout Itemize
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
 
 \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
+\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
+2.3 outputs 
+\emph on
+breakable
+\emph default
+ dashes by default.
+ When opening documents edited with \SpecialChar LyX
 
 \begin_inset space ~
 \end_inset
 
-2.3 or the optional line breaks will be lost.
+2.2 or earlier and containing literal dash characters not followed by whitespace,
+ the setting 
+\family sans
+Document\SpecialChar menuseparator
+Settings\SpecialChar menuseparator
+Fonts\SpecialChar menuseparator
+Disallow line breaks after dashes
+\family default
+ is active to prevent changes to the line breaks.
+\series bold
+Warning:
+\series default
+ If you used both literal and 
+\begin_inset Quotes eld
+\end_inset
+
+ligature
+\begin_inset Quotes erd
+\end_inset
+
+ 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 behavior.
 \end_layout
 
 \begin_layout Subsection
@@ -14645,6 +14707,13 @@ latexはつけじ@\SpecialChar LaTeX
 \end_inset
 
 が,文書言語のルールに基づいて行います.
+\lang english
+ \SpecialChar LaTeX
+ does not hyphenate text in the 
+\family sans
+typewriter
+\family default
+ font and words immediately preceded or followed by hyphens or dashes.
 \end_layout
 
 \begin_layout Standard
@@ -32425,21 +32494,6 @@ reference "subsec:番号の付け方-深度"
 節に説明されているように,環境の入れ子の階層を上げたり下げたりします.
 \end_layout
 
-\begin_layout Subsection
-新たな環境を開始/新たな親環境を開始
-\end_layout
-
-\begin_layout Standard
-これらのメニューは,同じ型の環境を2つ続けることが可能なときにのみ,表示されます.詳細については,第
-\begin_inset CommandInset ref
-LatexCommand ref
-reference "subsec:入れ子の分離"
-
-\end_inset
-
-節をご覧ください.
-\end_layout
-
 \begin_layout Section
 表示メニュー
 \begin_inset Index idx
@@ -33557,6 +33611,24 @@ reference "sec:傍注"
 節に説明されているように,傍註を挿入します.
 \end_layout
 
+\begin_layout Subsection
+
+\family sans
+\lang english
+Separate <Name> (Above/Below)
+\end_layout
+
+\begin_layout Standard
+これらのメニューは,同じ型の環境を2つ続けることが可能なときにのみ,表示されます.詳細については,第
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "subsec:入れ子の分離"
+
+\end_inset
+
+節をご覧ください.
+\end_layout
+
 \begin_layout Subsection
 見出し短縮形
 \end_layout
@@ -41377,7 +41449,7 @@ literal "true"
 \begin_inset CommandInset href
 LatexCommand href
 name "Credits"
-target "http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/CREDITS"
+target "https://www.lyx.org/trac/browser/lyx-devel/trunk/lib/CREDITS"
 literal "false"
 
 \end_inset