1 #LyX 2.2 created this file. For more info see http://www.lyx.org/
5 \origin /systemlyxdir/doc/ja/
8 % DO NOT ALTER THIS PREAMBLE!!!
10 % This preamble is designed to ensure that the manual prints
11 % out as advertised. If you mess with this preamble,
12 % parts of the manual may not print out as expected. If you
13 % have problems LaTeXing this file, please contact
14 % the documentation team
15 % email: lyx-docs@lists.lyx.org
17 \IfFileExists{pxjahyper.sty}
18 {\usepackage{pxjahyper}}
24 % set fonts for nicer pdf view
25 \IfFileExists{lmodern.sty}
26 {\usepackage{lmodern}}{}
28 \fi % end if pdflatex is used
30 % the pages of the TOC are numbered roman
31 % and a PDF-bookmark for the TOC is added
33 \let\myTOC\tableofcontents
34 \renewcommand{\tableofcontents}{%
35 \pdfbookmark[1]{\contentsname}{}
38 \pagenumbering{arabic}}
40 % extra space for tables
41 \newcommand{\extratablespace}[1]{\noalign{\vskip#1}}
45 \options fleqn,bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading
46 \use_default_options false
54 \maintain_unincluded_children false
56 InsetLayout Flex:MenuItem
65 \newcommand*{\menuitem}[1]{{\sffamily #1}}
74 Decoration Conglomerate
78 Decoration Conglomerate
88 \IfFileExists{okumacro.sty}
89 {\usepackage{okumacro}}
90 {\newcommand{\ruby}[2]{#2}}
95 \language_package default
98 \font_roman "default" "default"
99 \font_sans "default" "default"
100 \font_typewriter "default" "default"
101 \font_math "auto" "auto"
102 \font_default_family default
103 \use_non_tex_fonts false
106 \font_sf_scale 100 100
107 \font_tt_scale 100 100
109 \default_output_format pdf
111 \bibtex_command default
112 \index_command default
116 \pdf_title "LyX's Additional Features manual"
117 \pdf_author "LyX Team"
118 \pdf_subject "LyX's additional features documentation"
119 \pdf_keywords "LyX, Documentation, Additional"
121 \pdf_bookmarksnumbered true
122 \pdf_bookmarksopen false
123 \pdf_bookmarksopenlevel 1
124 \pdf_breaklinks false
128 \pdf_pdfusetitle false
129 \pdf_quoted_options "pdfencoding=pdfdoc, linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
132 \use_package amsmath 1
133 \use_package amssymb 1
134 \use_package cancel 0
136 \use_package mathdots 1
137 \use_package mathtools 0
138 \use_package mhchem 1
139 \use_package stackrel 0
140 \use_package stmaryrd 0
141 \use_package undertilde 0
143 \cite_engine_type default
147 \paperorientation portrait
151 \notefontcolor #0000ff
158 \paragraph_separation indent
159 \paragraph_indentation default
160 \quotes_language english
163 \paperpagestyle headings
164 \tracking_changes false
165 \output_changes false
174 \SpecialCharNoPassThru LyX
176 \begin_inset Newline newline
185 \SpecialCharNoPassThru LyX
190 \begin_layout Plain Layout
191 このファイルは主にRichard Heckによって管理されています。コメントをされたい場合や誤りを発見された場合には、\SpecialCharNoPassThru LyX
193 \begin_inset Flex Code
196 \begin_layout Plain Layout
200 <lyx-docs@lists.lyx.org>
205 に英文にてお知らせ下さい。この文書の翻訳は、当初人見光太郎氏が行った貢献に基づいています。
213 \begin_layout Standard
214 \begin_inset CommandInset toc
215 LatexCommand tableofcontents
222 \begin_layout Chapter
226 \begin_layout Standard
229 \SpecialCharNoPassThru LyX
236 』の第二部です。これらの文書を別部とした理由は、単純に『
244 』が、ほとんどの文書を作成する上で必要な基本機能をすべて説明してしまっているためです。一方で、\SpecialCharNoPassThru LyX
245 プロジェクトチームは、\SpecialCharNoPassThru LyX
247 によって拡張可能な状態にしておくことを長期的な目標にしています。つまり、ある\SpecialCharNoPassThru LaTeX
248 パッケージをサポートしたい場合に、\SpecialCharNoPassThru LyX
250 ッケージ用のレイアウトファイル(ないしモジュール)を作成すればいいようにしているのです。すでにこのような形で、いくつもの新機能がユーザーによって追加されています
251 。この取扱説明書は、そのような形での貢献を文書化する冊子として位置付けられています。
254 \begin_layout Standard
255 この取扱説明書では、ファックスのサポート・バージョン管理・SGMLサポートのような、正しく機能するためには追加的なソフトウェアを必要とする特殊機能についても説明
256 しています。さらに、\SpecialCharNoPassThru LaTeX
257 の強力な機能を直接使って文書を美しく仕上げるための、\SpecialCharNoPassThru LaTeX
258 ツールやテクニックを述べた章も収録しています。つきつめれば、\SpecialCharNoPassThru LyX
260 はあくまでWYSIWYMたることを企図しているため、\SpecialCharNoPassThru LaTeX
261 の全機能の一部へのインタフェースは用意するものの、すべてを用意することはないでしょう。
264 \begin_layout Standard
269 』をお読みでなかったら、この取扱説明書から読みはじめるのは誤りです。『
273 』には、全取扱説明書に共通の表記法と書式が説明されていますので、まずそれからお読みください。さらに、この取扱説明書を読もうとする前に、『
277 』をよくお読みになって、\SpecialCharNoPassThru LyX
281 \begin_layout Standard
282 この取扱説明書の取り上げられている話題は、\SpecialCharNoPassThru LyX
283 が\SpecialCharNoPassThru LaTeX
284 にどう関わっているかに強く関係していますので、まず次章では、\SpecialCharNoPassThru LyX
286 Xに希望する\SpecialCharNoPassThru LaTeX
287 コードを正確に生成させるにはどうしたらいいかを収録しています。本章は、あきらかに熟練\SpecialCharNoPassThru LyX
291 \begin_layout Chapter
292 \SpecialCharNoPassThru LyX
293 と\SpecialCharNoPassThru LaTeX
296 \begin_layout Section
297 \SpecialCharNoPassThru LyX
298 は\SpecialCharNoPassThru LaTeX
302 \begin_layout Standard
312 は、\SpecialCharNoPassThru TeX
313 熟練者と\SpecialCharNoPassThru LaTeX
314 に興味のある方向けの章です。ここでは、\SpecialCharNoPassThru LyX
315 と\SpecialCharNoPassThru LaTeX
316 が、印刷可能な出力を生成するのに、どのように協働しているのかを説明します。全
317 取扱説明書中で本章だけは、\SpecialCharNoPassThru LaTeX
318 のことを多少なりともご存知であることを前提とします。
321 \begin_layout Standard
331 かつて\SpecialCharNoPassThru LyX
332 は、「\SpecialCharNoPassThru LaTeX
351 なフロントエンド」と呼ばれていましたが、いまではこれは正しくありません。\SpecialCharNoPassThru LaTeX
352 のフロントエンドは、いくつも出回っています
356 \begin_layout Plain Layout
366 有名なものとしては、Linux上の\SpecialCharNoPassThru TeX
367 makerとkile、OSX上の\SpecialCharNoPassThru TeX
368 shopなどがあります。もちろんviとemacsの\SpecialCharNoPassThru LaTeX
374 。これらは、基本的に\SpecialCharNoPassThru LaTeX
375 を走らせる機能を有し、編集中のファイルのエラーを表示する機能を持ったテキストエディタです。\SpecialCharNoPassThru LyX
376 も、エディタであり、\SpecialCharNoPassThru LaTeX
378 らせる機能を有し、ファイル中のエラーを指摘しますが、それ以上にもっともっと多くのことをしてくれます。
396 \SpecialCharNoPassThru LyX
397 を効果的に使うのに、\SpecialCharNoPassThru LaTeX
398 の知識が必要とされないことが挙げられます。また\SpecialCharNoPassThru LyX
399 は、それ自身、いくつかの拡張を\SpecialCharNoPassThru LaTeX
401 でも、いちど以下の手順を試してみてください。まず
411 \begin_inset Flex MenuItem
414 \begin_layout Plain Layout
441 \begin_inset Flex MenuItem
444 \begin_layout Plain Layout
447 エクスポート\SpecialChar menuseparator
448 \SpecialCharNoPassThru LaTeX
472 \begin_inset Flex MenuItem
475 \begin_layout Plain Layout
478 表示\SpecialChar menuseparator
494 \begin_inset Flex Code
497 \begin_layout Plain Layout
505 ファイルのプリアンブルをご覧ください。\SpecialCharNoPassThru LyX
506 によって特別に定義された新しいマクロが複数定義されていることに気づかれるはずです
515 。これらのマクロは、文書中で使用する機能に応じて、自動的に定義されます。
518 \begin_layout Standard
528 自動的に\SpecialCharNoPassThru LaTeX
529 を実行するコマンドが、以下のようにいくつかあります。
532 \begin_layout Itemize
533 \begin_inset Flex MenuItem
536 \begin_layout Plain Layout
537 表示\SpecialChar menuseparator
548 \begin_layout Itemize
551 \begin_inset Flex MenuItem
554 \begin_layout Plain Layout
557 表示\SpecialChar menuseparator
558 更新\SpecialChar menuseparator
569 \begin_layout Itemize
572 \begin_inset Flex MenuItem
575 \begin_layout Plain Layout
576 ファイル\SpecialChar menuseparator
585 \begin_layout Itemize
588 \begin_inset Flex MenuItem
591 \begin_layout Plain Layout
592 ファイル\SpecialChar menuseparator
601 \begin_layout Standard
611 これらは、最後に\SpecialCharNoPassThru LaTeX
612 を実行してからファイルに変更が加えられた場合のみ、\SpecialCharNoPassThru LaTeX
616 \begin_layout Standard
626 \SpecialCharNoPassThru LyX
627 が編集中のファイルを\SpecialCharNoPassThru LaTeX
628 にかけるとき、\SpecialCharNoPassThru LyX
632 \begin_layout Enumerate
642 文書を\SpecialCharNoPassThru LaTeX
644 \begin_inset Flex Code
647 \begin_layout Plain Layout
663 \begin_inset Flex Code
666 \begin_layout Plain Layout
684 \begin_layout Enumerate
695 \begin_inset Flex Code
698 \begin_layout Plain Layout
713 ファイルに対して(必要に応じて複数回)\SpecialCharNoPassThru LaTeX
714 を実行し、\SpecialCharNoPassThru LaTeX
715 ファイルをコンパイルするのに必要な他のコマンド(
716 \begin_inset Flex Code
719 \begin_layout Plain Layout
735 \begin_inset Flex Code
738 \begin_layout Plain Layout
756 \begin_layout Enumerate
769 \begin_layout Standard
779 \SpecialCharNoPassThru LaTeX
790 \begin_inset Flex MenuItem
793 \begin_layout Plain Layout
796 表示\SpecialChar menuseparator
811 を使用して実行した場合には、\SpecialCharNoPassThru LyX
812 はこの後、DVIビューアを実行してDVIファイルを表示します。
813 \begin_inset Flex MenuItem
816 \begin_layout Plain Layout
826 表示\SpecialChar menuseparator
832 を使用した場合には、\SpecialCharNoPassThru LyX
836 \begin_layout Itemize
846 \begin_inset Flex Code
849 \begin_layout Plain Layout
887 \begin_layout Itemize
897 \begin_inset Flex Code
900 \begin_layout Plain Layout
908 などのPostScript®ビューアを実行して、PostScript®
920 \begin_layout Standard
921 \SpecialCharNoPassThru LyX
922 は、他の書式を表示したりエクスポートしたりする際にも、同様のことを行います。
925 \begin_layout Section
926 \SpecialCharNoPassThru LaTeX
927 ファイルを\SpecialCharNoPassThru LyX
931 \begin_layout Standard
932 \SpecialCharNoPassThru LyX
936 \begin_inset Flex MenuItem
939 \begin_layout Plain Layout
942 ファイル\SpecialChar menuseparator
943 インポート\SpecialChar menuseparator
944 \SpecialCharNoPassThru LaTeX
958 コマンドを使用すると、\SpecialCharNoPassThru LaTeX
975 \SpecialCharNoPassThru LyX
976 にインポートすることができます。このコマンドは、
986 \begin_inset Flex Code
989 \begin_layout Plain Layout
1016 \begin_inset Flex Code
1019 \begin_layout Plain Layout
1030 \begin_inset Flex Code
1033 \begin_layout Plain Layout
1041 を生成します。\SpecialCharNoPassThru LyX
1046 \begin_layout Plain Layout
1047 \begin_inset Flex Code
1050 \begin_layout Plain Layout
1056 は、もちろんコマンドラインから実行することもできます。
1064 \begin_layout Standard
1067 \begin_inset Flex Code
1070 \begin_layout Plain Layout
1087 は、文法的に正しい\SpecialCharNoPassThru LaTeX
1088 ファイルのほとんどを変換することができますが、すべてを変換できるわけではありません。
1098 \begin_inset Flex Code
1101 \begin_layout Plain Layout
1118 は、理解不能な部分は\SpecialCharNoPassThru TeX
1119 コードボックスの形で残しますので、ファイルを
1129 \begin_inset Flex Code
1132 \begin_layout Plain Layout
1149 で変換したのち、\SpecialCharNoPassThru TeX
1150 コードボックスを探して、手動で正しく編集してください。
1153 \begin_layout Standard
1163 \SpecialCharNoPassThru TeX
1164 コードボックスがなにかご存じなければ、次節をお読みください。
1167 \begin_layout Section
1168 \SpecialCharNoPassThru LaTeX
1170 \begin_inset CommandInset label
1172 name "sec:LaTeXコードを挿入する"
1179 \begin_layout Standard
1189 どの\SpecialCharNoPassThru LyX
1190 文書にもつねに\SpecialCharNoPassThru TeX
1191 コードを挿入することが可能であるというきわめて単純な理由によって、\SpecialCharNoPassThru LaTeX
1192 にできることは、つねに\SpecialCharNoPassThru LyX
1194 方、\SpecialCharNoPassThru LyX
1195 は、すべての\SpecialCharNoPassThru LaTeX
1196 構成物を\SpecialCharNoPassThru LyX
1197 内に表示できるわけではなく、将来的にもそうならないでしょう。かりに\SpecialCharNoPassThru LaTeX
1198 コマンドを\SpecialCharNoPassThru LyX
1201 \begin_inset Flex Code
1204 \begin_layout Plain Layout
1214 \SpecialCharNoPassThru TeX
1230 \begin_inset Flex MenuItem
1233 \begin_layout Plain Layout
1236 挿入\SpecialChar menuseparator
1237 \SpecialCharNoPassThru TeX
1262 \begin_inset Flex Ruby
1265 \begin_layout Plain Layout
1285 \begin_inset Argument post:1
1288 \begin_layout Plain Layout
1300 \begin_inset Flex Ruby
1303 \begin_layout Plain Layout
1314 \begin_inset Argument post:1
1317 \begin_layout Plain Layout
1346 \begin_layout Standard
1347 以下は、\SpecialCharNoPassThru LaTeX
1348 コマンドを\SpecialCharNoPassThru LyX
1349 文書中に挿入する例です。コードは以下のようになっているとしましょう。
1352 \begin_layout LyX-Code
1356 \begin_inset Newline newline
1361 begin{minipage}{5cm}
1362 \begin_inset Newline newline
1366 \begin_inset Newline newline
1370 \begin_inset Newline newline
1374 \begin_inset Newline newline
1378 \begin_inset Newline newline
1382 \begin_inset Newline newline
1388 \begin_inset Newline newline
1392 \begin_inset Newline newline
1397 begin{minipage}{5cm}
1398 \begin_inset Newline newline
1404 \begin_inset Newline newline
1409 begin{minipage}{5cm}
1410 \begin_inset Newline newline
1415 \begin_inset Newline newline
1421 \begin_inset Newline newline
1427 \begin_inset Newline newline
1433 \begin_inset Newline newline
1441 \begin_layout LyX-Code
1445 \begin_layout Standard
1447 \begin_inset Flex Code
1450 \begin_layout Plain Layout
1451 \SpecialCharNoPassThru TeX
1457 ボックスが、この段落の直後にあります。この取扱説明書を\SpecialCharNoPassThru LyX
1458 上でご覧になっていれば、\SpecialCharNoPassThru TeX
1459 コード差込枠のみが見えるはずです。印刷した取扱説明書をご覧であれば、実
1463 \begin_layout Standard
1464 \begin_inset VSpace bigskip
1471 \begin_layout Plain Layout
1478 \begin_layout Plain Layout
1482 begin{minipage}{5cm}
1485 \begin_layout Plain Layout
1487 これは、ミニページ環境の例です。これには、(フロートでない)図表を含め、ほとんど何でも入れることができます。
1492 \begin_layout Plain Layout
1497 \begin_layout Plain Layout
1501 begin{minipage}{5cm}
1504 \begin_layout Plain Layout
1511 \begin_layout Plain Layout
1515 begin{minipage}{5cm}
1518 \begin_layout Plain Layout
1526 \begin_layout Plain Layout
1533 \begin_layout Plain Layout
1540 \begin_layout Plain Layout
1550 \begin_inset VSpace bigskip
1556 \begin_layout Standard
1566 \SpecialCharNoPassThru TeX
1567 コードを使用する方法に加えて、複雑な\SpecialCharNoPassThru LaTeX
1568 コードを含む部分を別ファイルとして作成しておき、そのファイルをインクルードするのに
1569 \begin_inset Flex MenuItem
1572 \begin_layout Plain Layout
1582 挿入\SpecialChar menuseparator
1583 ファイル\SpecialChar menuseparator
1589 を使用する方法もあります(取り込みの型として
1590 \begin_inset Flex Code
1593 \begin_layout Plain Layout
1608 を選択しなくてはなりません)。この方法をとる場合には、.texファイルが正しく動作することが
1626 場合のみに限った方がよいでしょう。さもないと、\SpecialCharNoPassThru LaTeX
1627 エラーを追跡するたいへんな作業を行わなくてはならなくなります。
1630 \begin_layout Standard
1640 最後に、いくつか強調しておくべきことがあります。
1643 \begin_layout Itemize
1653 \SpecialCharNoPassThru LyX
1654 は、あなたの\SpecialCharNoPassThru LaTeX
1676 \begin_layout Itemize
1686 車輪の再発明をしないようにご注意ください。
1689 \begin_layout Standard
1699 二番目の点に関して、\SpecialCharNoPassThru LyX
1700 はひじょうにたくさんの機能を装備しており、その数は増えつづけています。ご自身で\SpecialCharNoPassThru LaTeX
1701 コードを書かなくてはならないと思い込む前に、L
1702 yXがこれこれの機能をもっていないことを、取扱説明書で確実に確かめてください。さらに世の中には、封筒のラベルから美しい複数ページにわたる表を作るものまで、ありと
1703 あらゆることを行う膨大な数の\SpecialCharNoPassThru LaTeX
1714 \begin_inset CommandInset href
1717 target "http://www.ctan.org/"
1731 \begin_inset CommandInset ref
1733 reference "chap:Special-features"
1740 \begin_layout Standard
1750 もし、文書中で例外的に手の込んだことをなさりたければ、かならず良い\SpecialCharNoPassThru LaTeX
1751 関連書籍を参考とするようにしてください。『
1769 』の書誌情報に多くの\SpecialCharNoPassThru LaTeX
1773 \begin_layout Section
1774 \SpecialCharNoPassThru LyX
1775 と\SpecialCharNoPassThru LaTeX
1779 \begin_layout Subsection
1780 \SpecialCharNoPassThru LaTeX
1784 \begin_layout Standard
1794 すでに\SpecialCharNoPassThru LaTeX
1795 についてご存知であれば、ここでプリアンブル(前置文)が何に向いているか説明する必要はないでしょう。もしご存じなければ、以下の説明で大まかな理解は
1796 得られるはずです。詳しくは\SpecialCharNoPassThru LaTeX
1797 関連書籍をご参照ください。いずれにしても、以下で\SpecialCharNoPassThru LyX
1798 文書の\SpecialCharNoPassThru LaTeX
1799 プリアンブルで何ができるか、または何をする必要がないか
1800 説明をしますので、以下の各要点はお読みになった方が良いでしょう。
1803 \begin_layout Standard
1813 \SpecialCharNoPassThru LaTeX
1814 プリアンブルは、\SpecialCharNoPassThru LaTeX
1833 の部分に来ます。ここでは以下のことを行います。
1836 \begin_layout Itemize
1846 文書クラス(ドキュメントクラス)の宣言。
1847 \begin_inset Newline newline
1850 これは\SpecialCharNoPassThru LyX
1851 がすでに行ってくれています。もしあなたが熟達した\SpecialCharNoPassThru LaTeX
1852 使いであり、自作の文書クラスを使いたい場合には、取扱説明書『
1870 』をご覧になれば、\SpecialCharNoPassThru LyX
1871 に自作文書クラスへの仲介を行わせるにはどうすればよいかの情報があります。
1874 \begin_layout Itemize
1885 \begin_inset Newline newline
1888 \SpecialCharNoPassThru LaTeX
1889 パッケージは、パッケージがプリアンブルで宣言された場合のみ、文書中で利用可能となる、追加コマンド群を提供します。パッケージをインクルードすると、特別な
1890 コマンドが提供されることに加え、文書に変更を加えることができます。例えば
1909 \begin_inset Flex Code
1912 \begin_layout Plain Layout
1920 パッケージは、すべての段落の最初の行を字下げします。他にも、ラベルや宛名書き、余白設定等の様々なパッケージがあります。
1923 \begin_layout Itemize
1934 \begin_inset Newline newline
1937 \SpecialCharNoPassThru LaTeX
1938 のカウンタと変数の中には、プリアンブルでグローバルに
1958 、望んだ効果を持たないものがあります。(文書中で設定したり再設定したりすることのできる変数もあります。)余白は、プリアンブルで設定しなくてはならない変数の代表例
1959 です。他には、箇条書きに付けるラベル書式が挙げられます。じつは、この設定は文書中どこでもできるのですが、プリアンブルでいちどだけ設定するのが望ましい方法です。
1962 \begin_layout Itemize
1973 \begin_inset Flex Code
1976 \begin_layout Plain Layout
1994 \begin_inset Flex Code
1997 \begin_layout Plain Layout
2015 \begin_inset Newline newline
2018 ユーザー定義コマンドは、文書中で頻出する\SpecialCharNoPassThru LaTeX
2019 コマンドの短縮形です。このようなコマンドを宣言するには、プリアンブルが適した場所ですが、どこで宣言することも
2037 です(もちろんコマンドが初めて使用される場所よりも前です)。あまりないことではありますが、お使いの文書中に生の\SpecialCharNoPassThru LaTeX
2038 コードがあふれている場合には便利でしょう
2042 \begin_layout Standard
2052 \SpecialCharNoPassThru LyX
2054 \begin_inset Flex Code
2057 \begin_layout Plain Layout
2072 ファイルのプリアンブルに、それ自身の定義を追加します。これによって、\SpecialCharNoPassThru LyX
2073 の生成する\SpecialCharNoPassThru LaTeX
2077 \begin_layout Subsection
2081 \begin_layout Standard
2091 \SpecialCharNoPassThru LyX
2092 が\SpecialCharNoPassThru LaTeX
2093 ファイルのプリアンブルに追加するコマンドは、つねに同じです。これは、\SpecialCharNoPassThru LyX
2094 自体にパッチを当てないかぎり変更できないようになっています。しかしな
2096 \begin_inset Flex MenuItem
2099 \begin_layout Plain Layout
2109 文書\SpecialChar menuseparator
2116 \begin_inset Flex MenuItem
2119 \begin_layout Plain Layout
2129 \SpecialCharNoPassThru LaTeX
2135 の項から、プリアンブルに追加をすることはできます。\SpecialCharNoPassThru LyX
2146 \begin_inset Flex MenuItem
2149 \begin_layout Plain Layout
2166 ダイアログ内のすべてのものを、\SpecialCharNoPassThru LyX
2167 埋込みのプリアンブルに付け加えます。ご自身の宣言をプリアンブルに追加する前に、あなたがしようとしていることを\SpecialCharNoPassThru LyX
2169 ポートしていないかどうか確認してください(車輪の再発明をしないように、とはすでに申しあげたことです)。
2180 プリアンブルコードが正しいことを確認してください。
2182 \SpecialCharNoPassThru LyX
2193 \begin_inset Flex Code
2196 \begin_layout Plain Layout
2213 」といったエラーが出ることでしょう。このようなエラーが出たときは、プリアンブルを再確認してください。
2216 \begin_layout Subsection
2220 \begin_layout Standard
2230 以下は、プリアンブルに追加できるものとその効果を示す例です。
2233 \begin_layout Subsubsection
2237 \begin_layout Standard
2247 \SpecialCharNoPassThru LaTeX
2267 \begin_inset Flex Code
2270 \begin_layout Plain Layout
2290 \begin_inset Flex Code
2293 \begin_layout Plain Layout
2312 というページ位置を制御する2つの変数があります。その機能は名前から明らかなとおりです。これらの変数は、ラベルを印刷するときなどに便利です。往々にして、印刷用紙の
2313 寸法とそのうち実際に印字可能な範囲は同じではありません。ここに
2314 \begin_inset Flex Code
2317 \begin_layout Plain Layout
2337 \begin_inset Flex Code
2340 \begin_layout Plain Layout
2355 \begin_layout Standard
2365 \begin_inset Flex Code
2368 \begin_layout Plain Layout
2388 \begin_inset Flex Code
2391 \begin_layout Plain Layout
2410 の既定値はともに0ポイント、つまりページをシフトしません。残念ながら、DVIドライバによってはつねにページをシフトすることがあるようです。我々には、どうしてその
2411 ようなことをするのか、そしてシスアドがどうしてそれを修正しないのか理解できませんが、もし個人的に管理できないシステムで\SpecialCharNoPassThru LyX
2414 \begin_inset Flex Code
2417 \begin_layout Plain Layout
2437 \begin_inset Flex Code
2440 \begin_layout Plain Layout
2459 が役に立ちます。かりに、上余白と左余白がつねに0.5インチずつ大きすぎるものとしましょう。その場合は、以下をプリアンブルに追加するとよいでしょう。
2462 \begin_layout LyX-Code
2470 \begin_layout LyX-Code
2478 \begin_layout Standard
2491 \begin_layout Subsubsection
2495 \begin_layout Standard
2505 いま、たくさんの宛名ラベルを印刷をしたいものとしましょう。ラベルシートを印刷するために便利な
2506 \begin_inset Flex Code
2509 \begin_layout Plain Layout
2517 という\SpecialCharNoPassThru LaTeX
2518 パッケージが、お近くのCTANアーカイブで入手可能です。お使いのシステムには、既定ではこのパッケージは導入されていないかもしれません。ご自身でお
2519 確かめください。また、このパッケージの取扱説明書を読まれたいかもしれませんが、それもご自身にお任せします。これは使用例ですので、このパッケージをどう使うかの例だ
2523 \begin_layout Standard
2534 \begin_inset Flex Code
2537 \begin_layout Plain Layout
2545 文書クラスを使用していることをご確認ください。次に、以下のような設定をプリアンブルに追加しなければなりません。
2548 \begin_layout LyX-Code
2554 \begin_layout LyX-Code
2560 \begin_layout LyX-Code
2566 \begin_layout LyX-Code
2572 \begin_layout LyX-Code
2578 \begin_layout LyX-Code
2584 \begin_layout LyX-Code
2590 \begin_layout Standard
2609 Avery®ラベルシートのストック5360
2618 番を使用する場合の設定です。これで、各宛名を
2619 \begin_inset Flex Code
2622 \begin_layout Plain Layout
2642 \begin_inset Flex Code
2645 \begin_layout Plain Layout
2664 で囲めば、宛名ラベルの印刷をすることができます。本機能およびその他の機能に関しては、
2665 \begin_inset Flex Code
2668 \begin_layout Plain Layout
2679 \begin_layout Standard
2689 そのうち誰かが、このパッケージを直接サポートする\SpecialCharNoPassThru LyX
2690 レイアウトファイルを作ってくれるかもしれません。その誰かはあなたかもしれません。
2693 \begin_layout Subsubsection
2697 \begin_layout Standard
2727 段落の最初の行を字下げするように教育されています。そのために彼らの他の変な習慣と同じく、いつものようにすべての段落の最初の行を下げるまで、アメリカ人はごちゃごち
2744 \begin_layout Standard
2754 もちろん、これは標準的な組版ルールではありません。書籍では、典型的には、他の段落のあとにくる段落
2772 字下げを行ないます。一行めを字下げをするそもそもの目的は、隣接する段落から区別するためです。したがって、図のあとや節の最初の段落など、先行する段落がない場合には
2776 \begin_layout Standard
2786 けれどもあなたが典型的なアメリカ人なら(ユーーモアですって!)、そのような小難しいことはかまわずに、いつもどおりの字下げをせずにはいられないでしょう!プリアンブ
2790 \begin_layout LyX-Code
2793 usepackage{indentfirst}
2796 \begin_layout Standard
2806 もしお使いの\SpecialCharNoPassThru TeX
2807 頒布版が脳死状態でなければ、このパッケージが入っているはずなので、建国の父たちが意図したように、すべての段落が字下げされます。
2810 \begin_layout Subsubsection
2814 \begin_layout Standard
2824 この文書のプリアンブルを見てみると、どのような高度な設定ができるか、おおまかな理解が得られるでしょう。また第
2834 \begin_inset CommandInset ref
2836 reference "chap:Special-features"
2849 章には、他の例や、\SpecialCharNoPassThru LaTeX
2853 \begin_layout Section
2854 \SpecialCharNoPassThru LyX
2855 および\SpecialCharNoPassThru LaTeX
2859 \begin_layout Standard
2869 \SpecialCharNoPassThru LyX
2870 が\SpecialCharNoPassThru LaTeX
2871 を呼び出す際、\SpecialCharNoPassThru LyX
2872 は\SpecialCharNoPassThru LaTeX
2873 に、かりにエラーがあったとしても楽観的に無視して先に進むように指示します。その後\SpecialCharNoPassThru LyX
2874 は、\SpecialCharNoPassThru LaTeX
2876 ファイルを事後処理用に使います。ログファイルを分析したのち、\SpecialCharNoPassThru LyX
2877 はエラーを一覧表示するダイアログを表示します。エラーのうちどれかをクリックすると、\SpecialCharNoPassThru LyX
2879 ル中、そのエラーの発生した場所に表示を移動します
2883 \begin_layout Plain Layout
2893 正確にいうと、通常は、です。ログファイルの分析は難しい仕事ですので、\SpecialCharNoPassThru LyX
2894 はつねに正しい行に連れて行ってくれるとは限りません。ときには、\SpecialCharNoPassThru LaTeX
2896 ーがあると報告したとしても、実際のエラーはそれよりも前であることもあります。これは、プログラムで閉じ括弧を忘れたときに似ていなくもありません。エラーは表示されま
2897 すが、実際にエラーのある場所よりも後ろでエラーが報告されるのです。
2914 \begin_layout Standard
2924 人によっては、ログファイルを直接ご覧になりたいかもしれません。これは、
2925 \begin_inset Flex MenuItem
2928 \begin_layout Plain Layout
2938 文書\SpecialChar menuseparator
2939 \SpecialCharNoPassThru LaTeX
2945 で見ることができます。エラーメッセージや警告には、よく見かけるものがいくつかありますので、それらをここに収録しておきます。ここにないエラーや警告に関しては、La
2946 \SpecialCharNoPassThru TeX
2950 \begin_layout Itemize
2953 \begin_inset Flex Code
2956 \begin_layout Plain Layout
2963 \begin_layout Plain Layout
2985 \begin_inset Newline newline
2988 これで始まるメッセージは、\SpecialCharNoPassThru LaTeX
2989 コード自体を「デバッグ」するための警告メッセージです。相互参照や書誌情報を追加したり変更した場合に、もう一度\SpecialCharNoPassThru LaTeX
2991 する必要があることを知らせるために、このようなメッセージが表示されます。このメッセージは、だいたいにおいて無視しても大丈夫です。
2994 \begin_layout Itemize
2997 \begin_inset Flex Code
3000 \begin_layout Plain Layout
3007 \begin_layout Plain Layout
3029 \begin_inset Newline newline
3032 \SpecialCharNoPassThru LaTeX
3033 がフォントを見つけられなかったと言う警告メッセージです。多くの場合、このメッセージの後に、\SpecialCharNoPassThru LaTeX
3034 が使用した代替フォントに関する情報が続きます。これ
3038 \begin_layout Itemize
3048 \begin_inset Flex Code
3051 \begin_layout Plain Layout
3062 \begin_inset Newline newline
3065 \SpecialCharNoPassThru LaTeX
3084 この警告を吐き出します。これは、一行が長すぎて右余白にはみ出してしまったという警告ですが、ほとんどの場合、最終出力を見ても判別できないくらい(せいぜい1ポイント
3085 か2ポイント)です。あるいは1文字か2文字右余白に出ているくらいです。\SpecialCharNoPassThru LaTeX
3086 は、どんな文書を書いても、少なくとも一つはこのメッセージを出すようです。
3087 \begin_inset Newline newline
3090 このメッセージは無視しても大丈夫です。何か行が長すぎるような問題があれば、目で見ればわかります。出力を目で確認してください
3094 \begin_layout Plain Layout
3096 \begin_inset Flex MenuItem
3099 \begin_layout Plain Layout
3100 文書\SpecialChar menuseparator
3106 で「draft」オプションを指定する方法もあります。こうすると、\SpecialCharNoPassThru LaTeX
3107 は、overfullの発生した行の余白に黒い四角を描画します。
3115 \begin_layout Itemize
3118 \begin_inset Flex Code
3121 \begin_layout Plain Layout
3132 \begin_inset Newline newline
3144 これは上の警告と違ってあまり出てきません。なぜだかは分かりませんが、\SpecialCharNoPassThru LaTeX
3145 は1行を短めにする印字するよりは、長めにする方が好きなようです。
3148 \begin_layout Itemize
3149 \begin_inset Flex Code
3152 \begin_layout Plain Layout
3165 \begin_inset Flex Code
3168 \begin_layout Plain Layout
3181 \begin_inset Newline newline
3193 ページ区切りに問題があったという警告です。この場合も、出力を目で確認してください。何か問題があれば、見てすぐわかります。
3196 \begin_layout Itemize
3199 \begin_inset Flex Code
3202 \begin_layout Plain Layout
3209 \begin_layout Plain Layout
3217 \begin_inset Quotes els
3221 \begin_inset Quotes ers
3239 \begin_inset Newline newline
3242 ファイル「Xxxx」が、システムに導入されていません。これは通常、文書が必要としている\SpecialCharNoPassThru LaTeX
3243 パッケージに、導入済でないものがある場合に現れます。プリアンブル
3245 \begin_inset Flex Code
3248 \begin_layout Plain Layout
3258 コマンドも使用していないとすれば、\SpecialCharNoPassThru LyX
3259 が読み込もうしているパッケージに存在しないものがあるということです。
3269 \begin_inset Flex MenuItem
3272 \begin_layout Plain Layout
3273 ヘルプ\SpecialChar menuseparator
3274 \SpecialCharNoPassThru LaTeX
3289 を使用して、\SpecialCharNoPassThru LyX
3290 が認識しているパッケージの一覧を得てください。このファイルは、(
3291 \begin_inset Flex MenuItem
3294 \begin_layout Plain Layout
3304 ツール\SpecialChar menuseparator
3310 を使用して)\SpecialCharNoPassThru LyX
3311 の再設定を行うたびに更新され、どのパッケージが検出されたか、それらのパッケージが何をするものかを表示します。
3312 \begin_inset Newline newline
3325 \begin_inset Flex Code
3328 \begin_layout Plain Layout
3347 コマンドを使っていて、肝心のパッケージが導入されていない場合には、ご自身で導入する必要があります。
3350 \begin_layout Itemize
3353 \begin_inset Flex Code
3356 \begin_layout Plain Layout
3363 \begin_layout Plain Layout
3370 X Error: Unknown option
3385 \begin_inset Newline newline
3388 このように始まるエラーメッセージは、パッケージに誤ったあるいは未定義のオプションが指定されていることを伝えようとするものです。パッケージの取扱説明書をご確認くだ
3392 \begin_layout Itemize
3395 \begin_inset Flex Code
3398 \begin_layout Plain Layout
3401 Undefined control sequence
3416 \begin_inset Newline newline
3419 お使いの文書に\SpecialCharNoPassThru LaTeX
3420 コードを挿入した際、打ち間違いをしてしまうと、このようなメッセージが表示されます。あるいは、パッケージを読み込ませるのを忘れたのかもしれ
3421 ません。いずれにしても、このメッセージは、あなたが未定義のコマンドを使用したことを示しています。
3424 \begin_layout Standard
3434 これ以外にも、エラーメッセージや警告メッセージがあります。一般に、読んで意味がすぐにわかるものは、\SpecialCharNoPassThru LaTeX
3435 のメッセージです。何を言っているのかさっぱりわからな
3436 いものもありますが、通常これらは、\SpecialCharNoPassThru TeX
3437 のメッセージであり、それが何を意味しているのか、どのように解読すればいいのか、
3455 手がかりがありません。誰もわからないのです。
3458 \begin_layout Standard
3468 エラーメッセージが表示された場合は、つねに以下のチェックリストにしたがった方がよいでしょう。
3471 \begin_layout Enumerate
3481 ご自分で挿入した\SpecialCharNoPassThru LaTeX
3482 コードに打ち間違いがないかどうか確かめる。
3485 \begin_layout Enumerate
3495 打ち間違いがなければ、コマンドを正しく使ったかどうか確かめる。
3498 \begin_layout Enumerate
3508 文書のもっともはじめの部分にエラーボックスが多数積み上がった場合には\threehyphens
3510 \begin_inset Flex Code
3513 \begin_layout Plain Layout
3530 が表示されているならば\threehyphens
3531 、プリアンブルにエラーがあることを意味します。プリアンブルのデバックを行ってください。
3534 \begin_layout Enumerate
3544 プリアンブルに何も追加せず、文書に\SpecialCharNoPassThru LaTeX
3545 コードをまったく挿入しなかった場合には、\SpecialCharNoPassThru LaTeX
3546 頒布版自体をまず疑ってください。導入されていないパッケージを探しだ
3550 \begin_layout Enumerate
3560 導入されていないパッケージはなかったものとしましょう。\SpecialCharNoPassThru LyX
3561 を微調整するオプションを使用していますか。特に、手動で
3562 \begin_inset Flex Code
3565 \begin_layout Plain Layout
3569 \begin_inset space ~
3578 \begin_inset Flex Code
3581 \begin_layout Plain Layout
3599 \begin_inset Flex Code
3602 \begin_layout Plain Layout
3619 などをたくさん挿入するなど、微調整オプションを
3637 していませんか。適切な段落環境を使用する代わりに、これらを使用してその場をしのごうとしていませんか。
3640 \begin_layout Enumerate
3650 微調整オプションはまったく使用しておらず、規則に乗っ取って作業していたものとしましょう。何か曲芸のようなことをしようとはしていませんか。数式や表中で、たとえば表
3651 のセルに図を入れるなど、おかしなことをしようとしていませんか。
3654 \begin_layout Enumerate
3655 \SpecialCharNoPassThru LaTeX
3656 が改行位置を見つけられないほど長い一節がありませんか。既定では、改行するために単語間に空白をたくさん追加することを、\SpecialCharNoPassThru LaTeX
3658 あれば、問題が生じないように段落を修正するのが望ましいでしょう。それが難しければ、\SpecialCharNoPassThru LaTeX
3659 が改行しやすく(sloppy)なるように、その部分を
3662 \begin_inset Flex Code
3665 \begin_layout Plain Layout
3680 \begin_layout Enumerate
3690 入れ子の階層を深くしすぎていませんか。\SpecialCharNoPassThru LyX
3691 は、(今のところ)環境の入れ子の階層が制限内にあるかチェックしません。かりに、環境を17段の入れ子にしたりしていたら
3692 、それが原因です(\SpecialCharNoPassThru LaTeX
3696 \begin_layout Enumerate
3706 エラーメッセージは発生しないけれども、出力がひどいものとしましょう。図表が幅が広すぎたり長すぎてページに収まらない場合には、
3713 \begin_inset Separator parbreak
3719 \begin_layout Enumerate
3732 \begin_layout Enumerate
3745 \begin_layout Standard
3759 \begin_layout Enumerate
3760 他に出力におかしいところがあり、曲芸をやろうとしたり微調整オプションでしのごうとしたりはしていないとすれば、何がおかしいのか確定的なことは言えません。
3763 \begin_layout Standard
3791 \SpecialCharNoPassThru LyX
3795 \begin_layout Chapter
3799 \begin_layout Section
3800 Bib\SpecialCharNoPassThru TeX
3804 \begin_layout Standard
3805 Bib\SpecialCharNoPassThru TeX
3812 文献データベース(Bib\SpecialCharNoPassThru TeX
3815 」の節に説明があります。以下の各小節では、\SpecialCharNoPassThru LyX
3816 でサポートされている書誌情報の特別な機能について説明することとします。
3819 \begin_layout Subsection
3823 \begin_layout Standard
3824 標準のBib\SpecialCharNoPassThru TeX
3825 は、引用された著作を参照するのに、([12]のように)数字を使用します。しかし、多くの科学分野で、これとは異なる引用様式が用いられています。も
3826 っともよく見られるのは、著者-出版年様式(例:Knuth 1984a)です。\SpecialCharNoPassThru LyX
3828 \begin_inset Flex Code
3831 \begin_layout Plain Layout
3838 \begin_inset Flex Code
3841 \begin_layout Plain Layout
3847 をサポートしています。これらのパッケージには、それぞれ長所短所がありますが、ここでは詳細に立ち入る紙幅がありません。単純な著者-出版年様式(あるいは著者-番号)
3849 \begin_inset Flex Code
3852 \begin_layout Plain Layout
3858 用スタイルファイルのうちどれかを使用したい場合には、定評のある
3859 \begin_inset Flex Code
3862 \begin_layout Plain Layout
3868 パッケージがおそらくよい選択でしょう。短縮タイトルによる参照や
3873 \begin_inset Flex Code
3876 \begin_layout Plain Layout
3882 パッケージの利用を考えるとよいかもしれません。
3885 \begin_layout Standard
3886 \SpecialCharNoPassThru LyX
3887 での両パッケージの取扱い方は、ほぼ同じです。
3888 \begin_inset Flex MenuItem
3891 \begin_layout Plain Layout
3892 文書\SpecialChar menuseparator
3899 \begin_inset Flex MenuItem
3902 \begin_layout Plain Layout
3909 \begin_inset Flex MenuItem
3912 \begin_layout Plain Layout
3919 \begin_inset Flex MenuItem
3922 \begin_layout Plain Layout
3928 オプションを選択してください。これらのパッケージによって、引用ダイアログに機能が追加され、参照の様式が選択できるようになります(「Knuth 1984」、「Kn
3929 uth (1984)」、「Knuth, 1984」、「1984」など)。両パッケージは、専用にデザインされたスタイルファイルを必要とすることに注意してください。
3930 両者ともそれ自身のスタイルファイルを同梱していますが、他にもたくさんの追加スタイルファイルがありますし、
3931 \begin_inset Flex Code
3934 \begin_layout Plain Layout
3940 に至っては、対話的なスタイルファイルビルダーさえ存在します
3944 \begin_layout Plain Layout
3945 \begin_inset Flex URL
3948 \begin_layout Plain Layout
3950 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/custom-bib/
3963 \begin_layout Subsection
3967 \begin_layout Standard
3968 場合によっては、書誌情報をいくつかの節に分ける必要があることがあります。たとえば、あなたが歴史家であるとすれば、出典と学術文献を分ける機能は、おそらく「必需品」
3969 でさえあります。残念ながら、Bib\SpecialCharNoPassThru TeX
3970 自身ではこのようなことができません。しかし、適切な\SpecialCharNoPassThru LaTeX
3971 パッケージの助けを借りると、Bib\SpecialCharNoPassThru TeX
3976 \begin_layout Standard
3977 \SpecialCharNoPassThru LyX
3979 \begin_inset Flex Code
3982 \begin_layout Plain Layout
3992 \begin_layout Plain Layout
3993 \begin_inset Flex URL
3996 \begin_layout Plain Layout
3998 ftp://ctan.tug.org/tex-archive/macros/latex/contrib/bibtopic/
4008 をそのままでサポートします。このパッケージの長所は、(
4009 \begin_inset Flex Code
4012 \begin_layout Plain Layout
4018 のような他のパッケージと比較すると)新規の引用コマンドを定義する必要がないことです。そのかわりに、書誌情報の違う節には、その節向けの項目を収録した別の文献データ
4019 ベースを用意する必要があります。たとえば、書誌情報を「出典」の節と「学術文献」の節に分けたい場合には、それぞれの文献データベース、たとえば
4020 \begin_inset Flex Code
4023 \begin_layout Plain Layout
4030 \begin_inset Flex Code
4033 \begin_layout Plain Layout
4042 \begin_layout Standard
4043 \begin_inset Flex MenuItem
4046 \begin_layout Plain Layout
4047 文書\SpecialChar menuseparator
4054 \begin_inset Flex MenuItem
4057 \begin_layout Plain Layout
4064 \begin_inset Flex MenuItem
4067 \begin_layout Plain Layout
4073 をチェックしてください。すると、書誌情報の各節に一つずつ、複数の書誌情報を挿入することができます。上記の例では、Bib\SpecialCharNoPassThru TeX
4075 \begin_inset Flex Code
4078 \begin_layout Plain Layout
4085 \begin_inset Flex Code
4088 \begin_layout Plain Layout
4094 を挿入します。各節に同じスタイルを用いるか異なるスタイルを用いるかは自由です。くわえて、書誌情報の節に、指定したデータベースの「引用されたすべての参照」を載せる
4095 (これが既定です)か、「引用されなかったすべての参照」を載せるか、あるいは「すべての参照」を載せるかを選択することができます。これは、もし書誌情報を「本文に引用
4096 された出典」・「本文に引用されていない出典」・「学術文献」の三つの節に分割したい場合に、便利でありましょう。各節の見出しは、通常の節や小節として入れることができ
4098 \begin_inset Flex Code
4101 \begin_layout Plain Layout
4107 は、書誌情報用の見出しを取り除いてしまいますので、手動でこれを追加しなくてはなりません(たとえば章*や節*などをお使いください)。
4110 \begin_layout Subsection
4114 \begin_layout Standard
4115 文書の節ごとあるいは章ごとの書誌情報など、複数の書誌情報はBib\SpecialCharNoPassThru TeX
4116 自身ではサポートされていません。しかしながら、もし若干の
4117 \begin_inset Flex Code
4120 \begin_layout Plain Layout
4121 \SpecialCharNoPassThru TeX
4128 \begin_inset CommandInset ref
4130 reference "sec:LaTeXコードを挿入する"
4134 節を参照)を利用することを厭わなければ、\SpecialCharNoPassThru LyX
4135 で節分けされた書誌情報を作るのに使用されている(前節を参照)
4136 \begin_inset Flex Code
4139 \begin_layout Plain Layout
4145 パッケージが、この課題を解決する簡単な方法を提供します
4149 \begin_layout Plain Layout
4151 \begin_inset Flex Code
4154 \begin_layout Plain Layout
4161 \begin_inset Flex Code
4164 \begin_layout Plain Layout
4178 \begin_layout Standard
4180 \begin_inset Flex MenuItem
4183 \begin_layout Plain Layout
4184 文書\SpecialChar menuseparator
4191 \begin_inset Flex MenuItem
4194 \begin_layout Plain Layout
4201 \begin_inset Flex MenuItem
4204 \begin_layout Plain Layout
4210 を有効にしてください。つぎに文書中において、書誌情報(Bib\SpecialCharNoPassThru TeX
4212 \begin_inset Flex Code
4215 \begin_layout Plain Layout
4224 \begin_inset Flex Code
4227 \begin_layout Plain Layout
4235 のあいだにはさまなくてはなりません(これらのコマンドは\SpecialCharNoPassThru TeX
4236 コードとして挿入する必要があります)。書誌情報には、現在位置の
4237 \begin_inset Flex Code
4240 \begin_layout Plain Layout
4246 において引用されたすべての参照が含まれることになります。
4250 この方法を用いる場合には、すべての参照はいずれかの
4251 \begin_inset Flex Code
4254 \begin_layout Plain Layout
4261 \begin_inset Flex Code
4264 \begin_layout Plain Layout
4273 \begin_layout Section
4277 \begin_layout Subsection
4281 \begin_layout Standard
4282 たくさんの節を含んだ大きなファイルで作業をする場合、文書をいくつかのファイルに分割した方が往々にして便利ですし、場合によっては、表部分にはしょっちゅう変更が加え
4283 られるけれども、その前の文章はつねに同じであるようなケースもあるでしょう。このような場合には、複合文書を利用することを、まずご検討ください。たとえば、科学論文は
4284 通常、導入部・所見・結果・議論・結論の五つの節から成ります。これら各節を別々の\SpecialCharNoPassThru LyX
4285 ファイルにして、タイトル・著者・概要・書誌情報等と、これら五つのインクルード
4289 \begin_layout Plain Layout
4294 「取り込む」の意です。原語「include」に対する訳語として、プログラミング用語の「インクルードする」以外に適語がないので、ここではプログラミング用語をそのま
4300 ファイルを持つ、もう一つ別の「マスター」ファイルを作成するようにすることができます。これらの各ファイルは、単にマスターファイルにインクルードされるだけでなく、単
4301 独でも出力したり印刷したりすることのできる完全な\SpecialCharNoPassThru LyX
4302 ファイルであるように注意することが重要です。しかも、これらの各ファイルは、同じ文書クラスでなくてはなりませ
4303 ん。articleクラスとbookクラスを混在させるようなことはなさらないでください。\SpecialCharNoPassThru LaTeX
4304 ファイルをインクルードすることもできますが、このファイルにはプリ
4306 \begin_inset Flex Code
4309 \begin_layout Plain Layout
4318 \begin_inset Flex Code
4321 \begin_layout Plain Layout
4329 は削除しておかなければなりません)。さもないと、DVIファイルを作成する際にエラーが発生するでしょう。
4332 \begin_layout Standard
4333 \SpecialCharNoPassThru LyX
4336 挿入\SpecialChar menuseparator
4337 ファイル\SpecialChar menuseparator
4340 で簡単にファイルをインクルードすることができます。このメニューを選んでクリックすると、カーソルの現在位置に小さな枠が挿入されます。この枠をクリックすると、ダイア
4341 ログが現れるので、そこでインクルードするファイルとインクルード方法を選択することができます。
4344 \begin_layout Standard
4345 ファイル選択ボックスは、いまや自明でしょう。インクルード方法には、「include」・「input」・「verbatim」の三つがあります。「include」と
4346 「input」の違いは、正確には\SpecialCharNoPassThru LaTeX
4347 の達人にしか意味のないものですが、ほとんどの人にとって意味のある違いといえば、「include」されたファイルは新規頁
4348 から組版されるのに対し、「input」されたファイルは現在のページから組版される点です。
4351 \begin_layout Standard
4352 一般に、マスターファイルは、組版前に完全な\SpecialCharNoPassThru LaTeX
4353 ファイルに変換されますが、インクルードされるファイルは、プリアンブル情報をまったく持たない\SpecialCharNoPassThru LaTeX
4358 \begin_layout Standard
4359 「verbatim」インクルードファイルでは、ファイルの内容がそのまま(つまり「
4360 \begin_inset Flex Code
4363 \begin_layout Plain Layout
4369 」モードで)固定幅タイプライタフォントで組版されます。通常、このファイルの空白は、通常の\SpecialCharNoPassThru LyX
4370 での空白の取扱いとは違って、連続した複数の空白がそのまま出力される
4371 ものの、単なる見えない空白です。ただし、
4374 \begin_inset Flex MenuItem
4377 \begin_layout Plain Layout
4387 チェックボックスを有効にすると、空白が存在することを明確にするために空白の印が出力されます。
4390 \begin_layout Subsection
4394 \begin_layout Standard
4395 \begin_inset Box Shadowbox
4405 height_special "totalheight"
4410 backgroundcolor "none"
4413 \begin_layout Plain Layout
4414 この節の内容は、すでに古くなっています。既定のマスター文書についてと、マスターが開いているときに子文書をどう開くかについて記述する必要があります。[[要修正]]
4422 \begin_layout Standard
4423 異なるファイル間に相互参照を設定することも可能です。まず、すべての関係するファイルを開いてください。例として、2つのファイルを扱う場合を考え、各ファイルをA・B
4424 と呼びます。BがAにインクルードされるファイルだとします。Aにラベルを入れて、Bで参照したいとしましょう。文書Bで相互参照ダイアログを開いて、使用する「バッファ
4428 \begin_layout Subsection
4432 \begin_layout Standard
4433 \begin_inset Box Shadowbox
4443 height_special "totalheight"
4448 backgroundcolor "none"
4451 \begin_layout Plain Layout
4452 この節も更新が必要です。この点に関する内容がwikiにあるので、それをここにコピーすることも可か。
4460 \begin_layout Standard
4461 すべての子文書の全文献項目を含んだ書誌情報一覧をコピーし、それをコメントに変更してください。このようにすることで、\SpecialCharNoPassThru LyX
4462 は.bibファイルを見つけることができ、書
4463 誌情報一覧を見えるようにせずとも簡単に参照を挿入することができるようになります。
4466 \begin_layout Standard
4467 書誌情報一覧がコメントにあるために、\SpecialCharNoPassThru LaTeX
4468 はそれを使用しないので、参照は[1]のようには表示されないで[?]のように表示されます。ひとつの解決法として、コメ
4469 ントをインクルードする\SpecialCharNoPassThru LaTeX
4471 \begin_inset Flex Code
4474 \begin_layout Plain Layout
4480 を使用して、ファイルを別々に処理する方法があります。そのためには、すべての子文書のプリアンブルに以下を書き加えてください。
4483 \begin_layout LyX-Code
4489 \begin_layout LyX-Code
4492 includecomment{comment}
4495 \begin_layout Standard
4496 \begin_inset Flex URL
4499 \begin_layout Plain Layout
4501 http://wiki.lyx.org/FAQ/Unsorted#toc31
4509 \begin_layout Section
4510 \SpecialCharNoPassThru LyX
4514 \begin_layout Standard
4515 しばしばユーザーは、出版社に送ったり、共著者とやりとりするために、\SpecialCharNoPassThru LyX
4516 ファイルを、その依存する全画像(及び他のファイル)と「同梱」する必要に迫られることがあり
4517 ます。\SpecialCharNoPassThru LyX
4518 2.0には、この過程を自動化するPythonスクリプト(
4519 \begin_inset Flex Code
4522 \begin_layout Plain Layout
4529 \begin_inset Flex Code
4532 \begin_layout Plain Layout
4539 \begin_inset Flex Code
4542 \begin_layout Plain Layout
4548 pythonモジュールが、システムに導入済みであることが必要です。既定設定では、Unix系システムでは、
4549 \begin_inset Flex Code
4552 \begin_layout Plain Layout
4559 \begin_inset Flex Code
4562 \begin_layout Plain Layout
4568 ファイル形式が優先され、Windowsでは
4569 \begin_inset Flex Code
4572 \begin_layout Plain Layout
4581 \begin_layout Standard
4582 \SpecialCharNoPassThru LyX
4583 の環境構成時には、「\SpecialCharNoPassThru LyX
4584 書庫」を書き出すことができるようにスクリプトが準備され、
4585 \begin_inset Flex MenuItem
4588 \begin_layout Plain Layout
4589 ファイル\SpecialChar menuseparator
4598 \begin_layout Standard
4599 \begin_inset Flex MenuItem
4602 \begin_layout Plain Layout
4603 ツール\SpecialChar menuseparator
4604 設定\SpecialChar menuseparator
4605 ファイル処理\SpecialChar menuseparator
4612 \begin_inset Flex MenuItem
4615 \begin_layout Plain Layout
4616 \SpecialCharNoPassThru LyX
4617 \SpecialChar menuseparator
4618 \SpecialCharNoPassThru LyX
4625 \begin_inset Flex Code
4628 \begin_layout Plain Layout
4635 \begin_inset Flex Code
4638 \begin_layout Plain Layout
4644 スイッチを加えることで、プラットホームとは独立に、
4645 \begin_inset Flex Code
4648 \begin_layout Plain Layout
4655 \begin_inset Flex Code
4658 \begin_layout Plain Layout
4664 形式を強制することができます(スイッチは、スクリプト名の前ではなく、後ろに加えてください)。
4667 \begin_layout Section
4671 \begin_layout Standard
4672 既定のページレイアウトは、どちらかといえば素っ気ないものです。
4673 \begin_inset Flex Code
4676 \begin_layout Plain Layout
4682 文書クラスの場合には、ページの下の真ん中にページ番号がつくだけです。この取扱説明書はKOMA-scriptのbookクラスなので、すこしは凝ってますが、ほんとう
4687 』に述べられているように、文書ページスタイルを「装飾的(fancy)」に設定する必要があります。この節では、望んだとおりの効果を得るために、\SpecialCharNoPassThru LaTeX
4689 ルに挿入する必要のある\SpecialCharNoPassThru LaTeX
4693 \begin_layout Standard
4694 ページへッダは、「left(左)」・「center(中央)」・「right(右)」と命名された3つのフィールドに分けられています。フッタも同様に3つのフィールド
4695 に分類されています。これらのフィールドをもっとも簡単に設定する\SpecialCharNoPassThru LaTeX
4699 \begin_inset Flex Code
4702 \begin_layout Plain Layout
4717 \begin_inset Flex Code
4720 \begin_layout Plain Layout
4735 \begin_inset Flex Code
4738 \begin_layout Plain Layout
4751 \begin_inset Flex Code
4754 \begin_layout Plain Layout
4762 などがあります。かりに、各ページの左上端に自分の名前を入れたいものとしましょう。次のようなコマンドをプリアンブルに入れるだけです。
4765 \begin_layout Standard
4773 \begin_layout Standard
4774 これで自分の名前が左上に現れます。フィールドに取り除きたい既定の内容がある場合(往々にして中央のフッタにはページ番号が入ります)には、空の引数を持つコマンドを入
4778 \begin_layout Standard
4784 \begin_inset Newline newline
4792 \begin_layout Standard
4793 もっと美しくしてみましょう。節番号を「第‥節」という言葉といっしょに(第3節のように)左上に入れ、ページ番号を(4ページのように)右上に、自分の名前を左下に、日
4794 付を右下に入れます。以下のコマンドをプリアンブルに入れます。
4797 \begin_layout Standard
4807 \begin_layout Standard
4815 \begin_layout Standard
4825 \begin_layout Standard
4833 \begin_layout Standard
4841 \begin_layout Standard
4851 \begin_layout Standard
4855 \begin_inset Flex Code
4858 \begin_layout Plain Layout
4875 \begin_inset Flex Code
4878 \begin_layout Plain Layout
4890 は、それぞれ\SpecialCharNoPassThru LaTeX
4891 の節カウンタおよびページカウンタを取得するもので、これによって現在の節番号とページ番号を印字します。
4892 \begin_inset Flex Code
4895 \begin_layout Plain Layout
4910 \begin_layout Standard
4911 へッダ下またはフッタ上に描かれる罫線の太さも変更することができます。もし罫線が必要なければ、太さを0にしてください。ヘッダ罫線は、既定では0.4ptの太さであり、
4912 フッタ罫線は0ptです。太さを変更するには、
4915 \begin_inset Flex Code
4918 \begin_layout Plain Layout
4925 headrulewidth}{0.4pt}
4935 \begin_inset Flex Code
4938 \begin_layout Plain Layout
4945 footrulewidth}{0.4pt}
4955 \begin_layout Standard
4956 \begin_inset Flex Code
4959 \begin_layout Plain Layout
4964 thispagestyle{empty}
4970 \begin_inset Flex Code
4973 \begin_layout Plain Layout
4978 thispagestyle{plain}
4984 \begin_inset Flex Code
4987 \begin_layout Plain Layout
4992 thispagestyle{fancy}
4997 のようなコマンドを使えば、各ページごとにへッダ・フッタ設定を有効にしたり無効にしたりすることができます。設定を変更したいページに、これらのコマンドを\SpecialCharNoPassThru TeX
4999 として挿入してください。実は、タイトルページは、その後のページは大域的に装飾的(fancy)に設定されていれば装飾的(fancy)になるにもかかわらず、既定でプ
5000 レーン(plain)になるように設定されているのです。
5003 \begin_layout Standard
5004 奇数ページの左上だけに何かを挿入するなど、もっと複雑なコマンドもあるのですが、詳しい解説は
5005 \begin_inset Flex Code
5008 \begin_layout Plain Layout
5016 パッケージの取扱説明書をご参照ください(
5017 \begin_inset Flex Code
5020 \begin_layout Plain Layout
5029 \begin_layout Standard
5030 最後の例として、へッダやフッタに画像を挿入できることを取り上げましょう。会社のロゴをページ左上に入れたいものとします。たとえば、
5033 \begin_layout Standard
5042 includegraphics{logo.eps}}}
5045 \begin_layout Standard
5047 とすれば、これを実現できます(文書中に他に画像を挿入していない場合には、
5048 \begin_inset Newline newline
5052 \begin_inset Flex Code
5055 \begin_layout Plain Layout
5061 usepackage{graphics}
5066 をプリアンブルに宣言する必要があります)。
5069 \begin_layout Section
5071 \begin_inset CommandInset label
5080 \begin_layout Standard
5086 \begin_layout Subsection
5090 \begin_layout Standard
5091 \SpecialCharNoPassThru LyX
5092 には、ブリットの形が216個準備されていて、簡単なダイアログから呼び出すことができます。このダイアログを使えば、箇条書き(記号)の各階層で使うブリットの形
5093 を変更することができます。この設定は文書全体に共通なので、段落ごとに別のブリットを指定することはできません
5097 \begin_layout Plain Layout
5098 正確には可能ですが、手動で行う必要があります。
5106 \begin_layout Subsection
5110 \begin_layout Standard
5112 \begin_inset Flex MenuItem
5115 \begin_layout Plain Layout
5116 文書\SpecialChar menuseparator
5123 \begin_inset Flex MenuItem
5126 \begin_layout Plain Layout
5135 \begin_layout Standard
5136 このダイアログは、ブリット形の一覧表を提示します。
5137 \begin_inset Flex MenuItem
5140 \begin_layout Plain Layout
5146 と書いてあるドロップダウンメニューで、6つの各ブリット形パネルを切り替えることができます。また、一覧表左の
5147 \begin_inset Flex MenuItem
5150 \begin_layout Plain Layout
5156 パネルは、変更したい階層を選択するものです。
5157 \begin_inset Flex MenuItem
5160 \begin_layout Plain Layout
5166 では、指定したい\SpecialCharNoPassThru LaTeX
5167 表現を入力することができます。任意のブリットを指定した場合には、そのコマンドが必要とするパッケージを\SpecialCharNoPassThru LaTeX
5172 \begin_layout Standard
5173 6つのパネルは、それぞれが必要とするパッケージによって分類されています。下記は、フォント名と\SpecialCharNoPassThru LaTeX
5175 \begin_inset Separator parbreak
5180 \begin_layout Standard
5182 \begin_inset Tabular
5183 <lyxtabular version="3" rows="7" columns="2">
5184 <features rotate="0" tabularvalignment="middle">
5185 <column alignment="center" valignment="top" width="0pt">
5186 <column alignment="center" valignment="top" width="0pt">
5188 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5191 \begin_layout Plain Layout
5197 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5200 \begin_layout Plain Layout
5217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5220 \begin_layout Plain Layout
5228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5231 \begin_layout Plain Layout
5240 \SpecialCharNoPassThru LaTeX
5249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5252 \begin_layout Plain Layout
5267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5270 \begin_layout Plain Layout
5287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5290 \begin_layout Plain Layout
5305 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5308 \begin_layout Plain Layout
5325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5328 \begin_layout Plain Layout
5343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5346 \begin_layout Plain Layout
5363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5366 \begin_layout Plain Layout
5381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5384 \begin_layout Plain Layout
5401 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5404 \begin_layout Plain Layout
5419 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5422 \begin_layout Plain Layout
5445 \begin_layout Standard
5446 \SpecialCharNoPassThru LyX
5447 は、ユーザーが導入されていないパッケージのブリットを使用したとしても、警告を発しません。ファイルを閲覧したり印刷したりしようとしたときに\SpecialCharNoPassThru LaTeX
5449 出るようならば、パッケージが導入されていない可能性が大です
5453 \begin_layout Plain Layout
5454 \SpecialCharNoPassThru LyX
5455 が、パッケージがなくてもブリットを使用することを許すのは、編集をここで行ったとしても、別のところへエクスポートする可能性があるからです。
5463 \begin_layout Subsection
5467 \begin_layout Standard
5468 変更したいブリット階層を選んで、ブリット形と寸法を選択してください。何らかの変更を加えたとしても、\SpecialCharNoPassThru LyX
5469 上には反映されませんが、文書の表示を行えば確認されます。
5472 \begin_layout Standard
5473 ブリット形は、適切な階層のブリットボタンをマウスで右クリックすれば、簡単に既定値に初期化することができます
5477 \begin_layout Plain Layout
5482 段落ごとに異なるブリットの形を使いたいならば、\SpecialCharNoPassThru TeX
5483 コードを使って少し手を汚す必要があります。この場合も、ブリット選択ダイアログを使えば、さまざまな形のLaTe
5484 Xコードを確認することができるので手助けとなるでしょう。任意に設定した段落をつくるには、以下のような選択肢があります。
5487 \begin_layout Plain Layout
5491 \begin_layout Plain Layout
5507 \begin_layout Plain Layout
5511 \begin_layout Plain Layout
5533 \begin_layout Itemize
5534 特定の階層の新しいブリット形を指定するには、\SpecialCharNoPassThru LaTeX
5536 \begin_inset Flex Code
5539 \begin_layout Plain Layout
5549 を使用します。あとで現在のブリット形に戻すことができるように、現在のブリット形を保存しておく必要もあります。ここで使っている箇条書きでは、第1階層のブリットを変
5550 更するために、以下の\SpecialCharNoPassThru LaTeX
5553 \begin_inset Separator parbreak
5559 \begin_layout LyX-Code
5571 \begin_layout LyX-Code
5590 \begin_layout Itemize
5592 \begin_inset Flex Code
5595 \begin_layout Plain Layout
5603 コマンドの一部にローマ数字で指定されていることに注意してください。
5606 \begin_layout Itemize
5610 \begin_layout Plain Layout
5623 各項目のブリットを指定するには、角括弧で囲んだブリット形を、行頭に
5624 \begin_inset Flex Code
5627 \begin_layout Plain Layout
5628 \SpecialCharNoPassThru TeX
5634 として挿入してください。たとえば、この項目の行頭には
5637 \begin_inset Flex Code
5640 \begin_layout Plain Layout
5659 \begin_layout Plain Layout
5663 \begin_layout Plain Layout
5679 \begin_layout Plain Layout
5680 文書全体で使用するブリット形が有効であるようにするために、labelitemを元の設定に戻す必要があります。そのためには、以下のようにします。
5683 \begin_layout LyX-Code
5700 \begin_layout Chapter
5701 \SpecialCharNoPassThru LyX
5705 \begin_layout Standard
5706 \SpecialCharNoPassThru LyX
5707 は、これまでも長い間、HTMLを始めとするウェブフレンドリーな文書諸形式への書き出しをサポートしてきました。しかしながら、第2.0版以前では、HTMLへの書
5708 き出しは、常に外部変換子を用いることで実現されていました
5712 \begin_layout Plain Layout
5713 \SpecialCharNoPassThru LyX
5714 で外部変換子を使うことについての詳細は、取扱説明書『
5727 。これらは2つのグループに大別できます。1つは、
5728 \begin_inset Flex Code
5731 \begin_layout Plain Layout
5738 \begin_inset Flex Code
5741 \begin_layout Plain Layout
5748 \begin_inset Flex Code
5751 \begin_layout Plain Layout
5757 のように、\SpecialCharNoPassThru LaTeX
5758 を中間形式として用い、その\SpecialCharNoPassThru LaTeX
5759 を生成するのに\SpecialCharNoPassThru LyX
5761 \begin_inset Flex Code
5764 \begin_layout Plain Layout
5765 e\SpecialCharNoPassThru LyX
5771 のように、直接\SpecialCharNoPassThru LyX
5772 ファイルに働きかける変換子です。これらは、それぞれに長所・短所を有しています。
5775 \begin_layout Standard
5776 \SpecialCharNoPassThru LaTeX
5777 ベースの変換子は、原則として、\SpecialCharNoPassThru LaTeX
5778 が書きだす文書についてのすべてを知っているという長所があります。この種の変換子は、例えば、特定のコードのくだり
5779 が、\SpecialCharNoPassThru LyX
5780 によって生成されたのか、\SpecialCharNoPassThru TeX
5781 コードで書かれたのかについては気にしません。これらの変換子は、
5782 \begin_inset Flex Code
5785 \begin_layout Plain Layout
5791 ファイルやカウンタや参照を取り扱うことができ、Bib\SpecialCharNoPassThru TeX
5793 \begin_inset Flex Code
5796 \begin_layout Plain Layout
5802 ファイルも利用することがよくあります。一方で、\SpecialCharNoPassThru LaTeX
5803 は解析の非常に難しい言語であり\threehyphens
5804 \SpecialCharNoPassThru TeX
5805 自身だけが\SpecialCharNoPassThru TeX
5806 を理解することができると言われたりすることがあ
5808 、\SpecialCharNoPassThru LaTeX
5809 ベースの変換子は、非常に簡単な文法に見えるものでさえ飲み込めず、複雑なものになると全く歯が立たないこともあります。例えば、この現行を書い
5814 』は、他の変換子では書き出しができるのに、
5815 \begin_inset Flex Code
5818 \begin_layout Plain Layout
5824 では行うことができません。他には、数式をどう取り扱うかという問題があります。これらの変換子の典型的なものは、数式を小さな画像に変換して、HTML文書からこれらの
5825 画像へのリンクを張ります。これらの画像は、実は\SpecialCharNoPassThru LaTeX
5826 によって生成されているので、正確です。しかしながら、これらはうまく伸縮できないので、実際の文書の中で表現
5828 フォント寸が凡そ正しくなるように\threehyphens
5829 見せようとすると、大変な苦労を伴います。
5832 \begin_layout Standard
5834 \begin_inset Flex Code
5837 \begin_layout Plain Layout
5838 e\SpecialCharNoPassThru LyX
5845 \begin_inset CommandInset href
5847 name "http://elyxer.nongnu.org/"
5848 target "http://elyxer.nongnu.org/"
5852 )は、これらの問題の一部を解決します。特に、これは数式を画像に変換するのではなく、HTMLとCSSを組み合わせて数式を生成するので、生成される数式は完璧な大きさ
5853 に伸縮されて表示されます。しかしながら、ちょっとだけ複雑な数式でさえ、
5854 \begin_inset Flex Code
5857 \begin_layout Plain Layout
5863 よりも質が落ちます。これはHTMLの限界を示しています
5867 \begin_layout Plain Layout
5869 \begin_inset Flex Code
5872 \begin_layout Plain Layout
5873 e\SpecialCharNoPassThru LyX
5879 では、数式用にjsMathとMathJaxを使用することもできます。ただし、この設定はグローバルにしか設定することができず、バックエンドで実行させるサーバへのア
5885 。さらに重要なことは(少なくとも第1.1.1版においては)、
5886 \begin_inset Flex Code
5889 \begin_layout Plain Layout
5890 e\SpecialCharNoPassThru LyX
5896 は数式マクロを一部しかサポートしておらず、ユーザ定義の段落様式や文字様式をサポートしていません。これらの制約によって、\SpecialCharNoPassThru LyX
5899 \begin_inset Flex Code
5902 \begin_layout Plain Layout
5903 e\SpecialCharNoPassThru LyX
5909 は不向きなものになっています。もちろん、原理的に、これらの問題を解決することもできたのですが、\SpecialCharNoPassThru LyX
5910 開発陣は別の方法を採ることとし、\SpecialCharNoPassThru LyX
5911 が\SpecialCharNoPassThru LaTeX
5913 ook、平文を書き出すことができるのと同様に、\SpecialCharNoPassThru LyX
5914 自身にXHTMLを書きだす能力を身につけさせることとしたのです。
5917 \begin_layout Standard
5918 この原稿執筆時点では、XHTML出力は開発途上であり、おそらく「実験的」機能として解されるべきでしょう
5922 \begin_layout Plain Layout
5923 \SpecialCharNoPassThru LyX
5925 \begin_inset CommandInset href
5928 target "http://www.lyx.org/trac/browser/lyx-devel/trunk/development/HTML/HTML.notes"
5933 \begin_inset Flex Code
5936 \begin_layout Plain Layout
5937 development/HTML.notes
5942 ファイルには、通常、XHTML出力の現状についての最新の情報が収録されています。
5943 \begin_inset CommandInset href
5946 target "http://www.lyx.org/trac/query?status=reopened&status=assigned&status=new&max=0&component=xhtml+export&order=id&col=id&col=summary&col=reporter&col=keywords&keywords=%21%7Efixedintrunk&desc=1"
5950 にあるXHTML関連バグ一覧も参照のこと。
5955 。それでもこのアプローチは、他の2つの方法よりも、潜在的な利点がいくつもあるので、開発陣はこの方法を選択したのです。
5958 \begin_layout Standard
5959 これらの利点は、主に、XHTML出力ルーチンが\SpecialCharNoPassThru LyX
5960 の一部となっているため、\SpecialCharNoPassThru LyX
5961 が出力する文書について\SpecialCharNoPassThru LyX
5962 が関知しているところのものは、すべて知り得るという
5967 \begin_layout Plain Layout
5968 他には、これらのルーチンが\SpecialCharNoPassThru LyX
5969 内部にあるため、\SpecialCharNoPassThru LyX
5970 ファイル形式や既存の差込枠の文法に変更があっても、影響を受けずに済むという利点もあります。
5975 。つまり、XHTML出力ルーチンは、(文書構造に表示されるような形での)目次や、それぞれの段落様式に関連付けられたカウンタや、ユーザ定義の様式についても知ってい
5976 るのです。XHTML出力ルーチンは、国際化について\SpecialCharNoPassThru LyX
5977 が関知しているものも知っているので、ちょうどその時に有効になっている言語に依存して、「Chapter
5978 1」と出力されたり、「Kapitel 1」と出力されたりするのです。
5981 \begin_layout Standard
5982 汎く一般的に、出力ルーチンは、\SpecialCharNoPassThru LyX
5983 が文書レイアウトについて関知しているものは知っており、したがって、文書が画面上にどのように描画されるかも知っています。文書を
5984 XHTMLに出力するときには、この情報を利用します。特に、\SpecialCharNoPassThru LyX
5985 は、文書を画面上に描画するときに使用するレイアウト情報に対応したCSSスタイル情報を
5989 生成します。もし節見出しが、\SpecialCharNoPassThru LyX
5990 中でサンセリフ体かつボールド体であるとすると、(既定では)ウェブブラウザに表示した時にも、サンセリフでボールドになります。これ
5991 は、節のような定義済み様式だけでなく、ユーザ定義のものも含めて、すべての様式でそうです。実際、XHTML出力ルーチンは、ユーザ定義の段落・文字様式と、\SpecialCharNoPassThru LyX
5993 の定義済み様式とを区別しません。どちらの場合も、\SpecialCharNoPassThru LyX
5994 が様式について関知しているところのものは、全てレイアウトファイルに含まれています。これは、脚注のような定義
5995 済み差込枠や、各種ユーザ設定差込枠でもそうです。
5998 \begin_layout Standard
5999 結果として、XHTML出力は、レイアウトファイルやモジュールを通して、\SpecialCharNoPassThru LaTeX
6000 出力と全く同じように、ユーザが設定したり拡張したりすることができるのです。詳細に
6008 \begin_layout Standard
6009 本章の残りでは、XHTML出力についての、さらに詳細な情報について取り扱い、その制約や、制約の回避の仕方を取り扱います。
6012 \begin_layout Section
6016 \begin_layout Standard
6017 \SpecialCharNoPassThru LyX
6018 では、数式描画に4つの方法を選択できます。以下に示すように、それぞれに利点と欠点があります。
6021 \begin_layout Itemize
6023 \begin_inset Newline newline
6026 MathMLは、ウェブ上で数学を用いるために、特にデザインされたXMLの一方言であり、これをサポートするブラウザ上では、通常、特に美しい表現が得られます。欠点は
6027 、すべてのブラウザがMathMLをサポートしているわけではないという事と、FirefoxのようなGeckoベースのブラウザでも、サポートが完璧ではないという事で
6029 \begin_inset Newline newline
6033 \begin_inset Flex Code
6036 \begin_layout Plain Layout
6042 パッケージを使用していたり、\SpecialCharNoPassThru TeX
6043 コードを使用しているなどで、もし\SpecialCharNoPassThru LyX
6044 が数式をMathMLとして描画できないとすると、\SpecialCharNoPassThru LyX
6049 \begin_layout Itemize
6051 \begin_inset Newline newline
6055 \begin_inset Flex Code
6058 \begin_layout Plain Layout
6064 は、数式をCSSで装飾したHTMLとして出力します
6068 \begin_layout Plain Layout
6069 \SpecialCharNoPassThru LyX
6071 \begin_inset Flex Code
6074 \begin_layout Plain Layout
6080 からのHTML出力のために、CSSの一部を拝借しています。
6085 。簡単な数式では、これは非常にうまく行きますが、少し複雑な数式になると、
6086 \begin_inset Flex Code
6089 \begin_layout Plain Layout
6095 は歯が立たなくなります。それでも、この方法は非常に広くサポートされているという利点があり、かなり簡単な数式を少しだけ含んでいるような文書に適しているでしょう。
6096 \begin_inset Newline newline
6100 \begin_inset Flex Code
6103 \begin_layout Plain Layout
6109 パッケージを使用していたり、\SpecialCharNoPassThru TeX
6110 コードを使用しているなどで、もし\SpecialCharNoPassThru LyX
6111 が数式をHTMLとして描画できないとすると、\SpecialCharNoPassThru LyX
6116 \begin_layout Itemize
6118 \begin_inset Newline newline
6122 \begin_inset Flex Code
6125 \begin_layout Plain Layout
6131 のように、\SpecialCharNoPassThru LyX
6132 は数式を画像としても出力できます。この画像は、実は、自動プレビューで使用されているものと全く同じです
6136 \begin_layout Plain Layout
6137 ただし、画像を出力に使うために、自動プレビューを入にしておく必要は
6146 。この方法の利点は、画像が他ならぬ\SpecialCharNoPassThru LaTeX
6147 によって生成されているので、非常に正確であることです。欠点は、前述したとおり、画像がビットマップなので、伸縮が全くう
6148 まく行かなかったり、コピーが出来なかったりといったことがあります(執筆時点においては、数式の付番にも問題があります。
6149 \begin_inset CommandInset href
6152 target "http://www.lyx.org/trac/ticket/6894"
6157 \begin_inset Newline newline
6161 \begin_inset Flex MenuItem
6164 \begin_layout Plain Layout
6165 文書\SpecialChar menuseparator
6166 設定\SpecialChar menuseparator
6172 の「数式画像の伸縮」パラメータを変更することで制御できます
6176 \begin_layout Plain Layout
6177 必要な方のために述べておくと、これは、画像の解像度をdpi (1インチあたりドット数)で制御するためのもので、75dpiを基準としています。
6183 \begin_inset Newline newline
6186 もし\SpecialCharNoPassThru LyX
6187 が、何らかの理由によって数式の画像を生成できない(例えば、必要な\SpecialCharNoPassThru LaTeX
6188 パッケージが導入済みでないなど)ときは、回避策として、生の\SpecialCharNoPassThru LaTeX
6193 \begin_layout Itemize
6194 \SpecialCharNoPassThru LaTeX
6195 \begin_inset Newline newline
6198 最後に、\SpecialCharNoPassThru LyX
6199 は、数式を\SpecialCharNoPassThru LaTeX
6200 としても出力することができます。この方法は、最終手段としての出力方法である一方で、HTML文書に埋め込まれた\SpecialCharNoPassThru LaTeX
6203 \begin_inset CommandInset href
6206 target "http://www.math.union.edu/~dpvc/jsMath/"
6210 のようなツールとともに使用することもできます。\SpecialCharNoPassThru LyX
6211 は、jsMathで必要とされているのと同じように、\SpecialCharNoPassThru LaTeX
6213 \begin_inset Flex Code
6216 \begin_layout Plain Layout
6223 \begin_inset Flex Code
6226 \begin_layout Plain Layout
6233 \begin_inset Flex Code
6236 \begin_layout Plain Layout
6245 \begin_layout Standard
6247 \begin_inset Flex MenuItem
6250 \begin_layout Plain Layout
6251 文書\SpecialChar menuseparator
6252 設定\SpecialChar menuseparator
6258 で選択しなくてはなりません。既定では、\SpecialCharNoPassThru LyX
6259 はMathMLで出力を行います。これは、文書全体に適用される設定となります。
6262 \begin_layout Standard
6263 最後に、\SpecialCharNoPassThru LyX
6264 では、例えば、MathMLではあまりうまく出力されないような差込枠に対して、別の出力方法を選択できる選択肢が用意されています
6268 \begin_layout Plain Layout
6269 その他にも、\SpecialCharNoPassThru LyX
6270 は、差込枠に\SpecialCharNoPassThru TeX
6271 コードが含まれていると画像出力に回帰するので、数式中に
6272 \begin_inset Formula $a=b\relax$
6275 のような無害な\SpecialCharNoPassThru TeX
6276 コードを挿入することによって、画像出力を強制することができます。
6284 \begin_layout Section
6288 \begin_layout Standard
6289 XHTML出力は、書誌情報と引用を完全にサポートしています。
6292 \begin_layout Standard
6293 引用ラベルは、\SpecialCharNoPassThru LyX
6294 画面上のラベルを生成するのと同じ機構で生成されているので、出力中のラベルは、\SpecialCharNoPassThru LyX
6295 中の外見と同質またはそれよりも上質な仕上がりとなっています
6296 。連番引用を使用している場合には、\SpecialCharNoPassThru LyX
6297 は、画面上で表示されるような各カッコに囲まれた引用鍵を単純に表示するのではなく、[1]や[17]などの連番ラベルを出力し
6298 ます。著者-出版年形式の引用を使用している場合で、同じ著者-出版年の組み合わせが複数ある場合、\SpecialCharNoPassThru LyX
6299 は、Bib\SpecialCharNoPassThru TeX
6300 が行うように出版年に小文字を付します。ラベル
6301 は、書誌情報項目とともに印字されます。現在のところ、角括弧を丸括弧に変更するなど、ラベルの外見を変更する手段はありませんのでご注意ください。
6304 \begin_layout Standard
6305 書誌情報出力は、引用ダイアログで文献情報表示を取り扱うのと同じ機構で取り扱われているので、XHTML出力は、引用ダイアログで特定の文献項目を表示させた時のものに
6306 非常によく似ています。整形の仕方は、レイアウトファイルや望ましくはモジュールでカスタマイズすることができます。詳細については、取扱説明書『カスタマイズ篇』をご覧
6310 \begin_layout Standard
6311 現在のところ、主だった瑕疵は、相互参照された情報が、関連した項目の全てに印字されてしまうことです。つまり、以下のような表示が為されます。
6316 \begin_inset Quotes eld
6319 Context and Logical Form
6320 \begin_inset Quotes erd
6325 Language in Context: Selected Essays
6327 (Oxford: Oxford University Press, 2007), pp.
6334 \begin_inset Quotes eld
6337 Semantics in Context
6338 \begin_inset Quotes erd
6343 Language in Context: Selected Essays
6345 (Oxford: Oxford University Press, 2007), pp.
6350 \begin_layout Standard
6351 これは、遠くないうちに修正されるでしょう。
6354 \begin_layout Standard
6355 現在のところ、節ごとの書誌情報出力はサポートされていません。複数の書誌情報がある場合には、\SpecialCharNoPassThru LyX
6356 は同じ情報を繰り返し出力してしまいます。
6359 \begin_layout Section
6363 \begin_layout Standard
6364 \SpecialCharNoPassThru LyX
6365 は、索引をXHTMLとして書きだすことができますが、現在のところ、若干の制約があります。
6368 \begin_layout Standard
6373 の索引の節に書かれているような手の込んだ方法を使おうとしないほうが、信頼性が保てます
6377 \begin_layout Plain Layout
6378 ここでの主な問題は、これらの操作の際に、\SpecialCharNoPassThru LyX
6379 自身は何もしていないという点です。つまり、生の\SpecialCharNoPassThru LaTeX
6380 で入力しなくてはならないようなものをそのまま入力しているの
6386 。当該節の小節見出しに沿って、それらがどう処理されるかを説明しましょう。
6389 \begin_layout Itemize
6390 索引項目のグループ化(下層項目): \SpecialCharNoPassThru LyX
6391 はこれらをサポートしようと努めていますが、項目は「 ! 」(感嘆符の周りに空白)で分離しなくてはなりません。これは、そ
6392 うしないと数式などで使われているエスケープされた感嘆符をチェックするのが非常に難しくなるからです。
6395 \begin_layout Itemize
6396 ページ範囲: ページ範囲については、XHTMLでは意味がないので、全くサポートされません。その代わりに、引用項目のはじめと終わりの頁それぞれに、2つの索引項目が
6400 \begin_layout Itemize
6401 相互参照: 相互参照のサポートはありません。\SpecialCharNoPassThru LyX
6402 が「|see\SpecialChar ldots
6403 」という下だりを持つ項目を検出すると、その部分はただ無視されて、残りの部分が通常の索引項目だとみな
6407 \begin_layout Itemize
6408 索引項目の整序: \SpecialCharNoPassThru LyX
6409 は整序順の変更をサポートします。\SpecialCharNoPassThru LyX
6410 は、最初に検出した「@」の前の部分を取り出して、それを整序に用い、最初の「@」の後の部分を実際の項
6411 目として取り出します。現在のところ、\SpecialCharNoPassThru LyX
6412 はエスケープされた「@」を取り扱わないので、電子メールアドレスを索引に使わないでください。
6415 \begin_layout Itemize
6416 索引項目のレイアウト: 項目は、テキスト様式ダイアログを使うなり、\SpecialCharNoPassThru LyX
6417 内で使用可能な方法を用いることで、索引項目を成形することができます。「項目|textbf
6418 」のような文法はサポートされません。\SpecialCharNoPassThru LyX
6419 は、項目内にパイプ記号「|」を検出すると、パイプ記号とその後に続くものすべてを削除してしまいます。
6422 \begin_layout Itemize
6423 複数の索引: 複数の索引はサポートされていません。すべての項目は、ひとつの大きな索引として印字されます。索引が何度も印字されることを防ぐため、中心となる索引だけ
6424 を印字しますので、その索引は必ず置くようにしてください。
6427 \begin_layout Section
6431 \begin_layout Standard
6432 現在のところ、用語集のサポートはありません。この機能の追加は、比較的容易だと思われますので、あなたの貢献をお待ちしております。
6435 \begin_layout Chapter
6436 \SpecialCharNoPassThru LyX
6438 \begin_inset CommandInset label
6447 \begin_layout Section
6451 \begin_layout Standard
6452 「\SpecialCharNoPassThru LyX
6453 サーバー」を使用すると、他のプログラムが、\SpecialCharNoPassThru LyX
6454 と通信したり、\SpecialCharNoPassThru LyX
6455 コマンドを実行させたり、\SpecialCharNoPassThru LyX
6456 の内部状態に関する情報を取得したりすることができるよう
6457 になります。これは熟練したユーザー向けの機能ですが、便利なはずです。たとえば、\SpecialCharNoPassThru LyX
6458 サーバーに書き込むことによって、JabRefのような書誌情報管理ソフトが、L
6459 yXに文献引用を「押し込む」ことが可能となります。
6462 \begin_layout Section
6463 \SpecialCharNoPassThru LyX
6467 \begin_layout Standard
6468 \SpecialCharNoPassThru LyX
6469 サーバーは、名前をつけたパイプの対を利用することで機能します。パイプは、通常
6470 \begin_inset Flex Code
6473 \begin_layout Plain Layout
6479 の下に作られ(Windowsを除く。Windowsでは、名前を付けた
6484 \begin_inset Flex Code
6487 \begin_layout Plain Layout
6499 に特別なオブジェクトとして置かれます)、「
6500 \begin_inset Flex Code
6503 \begin_layout Plain Layout
6510 \begin_inset Flex Code
6513 \begin_layout Plain Layout
6519 」という名前がついています。外部プログラムは、
6520 \begin_inset Flex Code
6523 \begin_layout Plain Layout
6530 \begin_inset Flex Code
6533 \begin_layout Plain Layout
6540 \begin_inset Flex MenuItem
6543 \begin_layout Plain Layout
6544 ツール\SpecialChar menuseparator
6551 \begin_inset Flex Code
6554 \begin_layout Plain Layout
6555 /home/myhome/lyxpipe
6561 \begin_inset Flex Code
6564 \begin_layout Plain Layout
6578 」などに設定することができます。サーバーを開始するためには、これを
6585 \begin_layout Standard
6586 \SpecialCharNoPassThru LyX
6588 \begin_inset Flex Code
6591 \begin_layout Plain Layout
6598 \begin_inset Flex Code
6601 \begin_layout Plain Layout
6607 」を付け加えます。パイプがすでに存在していれば、\SpecialCharNoPassThru LyX
6608 は他の\SpecialCharNoPassThru LyX
6609 プロセスがすでに実行中であると判断して、サーバーを開始しません。POSIX(Unix型)システ
6610 ムでは、なんらかの理由で、\SpecialCharNoPassThru LyX
6611 が終了する際に使用されていない「古い」パイプが削除されずに残ったりすると、\SpecialCharNoPassThru LyX
6612 はこれを削除しようとします。何らかの理由でこれが
6613 失敗した場合、手動でパイプを削除したのちに、\SpecialCharNoPassThru LyX
6614 を再起動する必要があります。Windowsでは、プログラムが終了したりクラッシュしたりすると、OSがパイプを削
6615 除するので、「古い」パイプが残ることはありません。
6618 \begin_layout Standard
6619 サーバーを使用する\SpecialCharNoPassThru LyX
6620 プロセスを複数起動するには、それぞれのプロセスに、別のユーザーディレクトリを使用させたり、別々の
6621 \begin_inset Flex Code
6624 \begin_layout Plain Layout
6630 ファイルを使用させるなど、別々の設定を使用する必要があります。
6633 \begin_layout Standard
6634 クライアントプログラムを開発しようとされているのであれば、\SpecialCharNoPassThru LyX
6635 サーバーからのデバッグ情報を有効にすると便利かもしれません。そのためには、Lyxを
6636 \begin_inset Flex Code
6639 \begin_layout Plain Layout
6648 \begin_layout Standard
6649 C言語で書かれた完全なサンプルクライアントが、ソース頒布版の
6650 \begin_inset Newline newline
6654 \begin_inset Flex Code
6657 \begin_layout Plain Layout
6658 development/lyxserver/server_monitor.c
6666 \begin_layout Standard
6668 \begin_inset Flex Code
6671 \begin_layout Plain Layout
6672 src/client/lyxclient
6677 にあるコマンドラインベースのクライアントがあります。
6680 \begin_layout Section
6684 \begin_layout Standard
6685 \SpecialCharNoPassThru LyX
6686 コールを発行するには、クライアントはASCIIテキスト行を入力パイプに書き込みまなくてはなりません。この行は、以下の書式を持ちます。
6703 \begin_layout Description
6704 クライアント名 は、クライアントが自由に選べる名前です。これが用いられるのは、クライアントが他の要求クライアントから結果を見分けることができるように、\SpecialCharNoPassThru LyX
6706 答をする際、クライアント名をエコーするときだけです。
6709 \begin_layout Description
6710 関数 は、\SpecialCharNoPassThru LyX
6711 に実行させたい関数です。これは、ミニバッファで使用するコマンドと同じです。
6714 \begin_layout Description
6715 引数 は、一部の関数のみに効力を持つオプションの引数です(たとえば、「自己挿入」LFUNは、現在のカーソル位置に引数を文章として挿入します)。
6718 \begin_layout Standard
6719 \SpecialCharNoPassThru LyX
6737 \begin_layout Standard
6746 は、コマンド要求からそのままエコーされますが、
6750 はコマンド実行の結果に依存した、多少なりとも有用な情報です。「font-state」のような一部のコマンドは、\SpecialCharNoPassThru LyX
6751 の内部状態に関する情報を返しますが、空のデー
6752 タ応答を返すものもあります。空のデータ返答は、コマンド実行が無事終わったことを意味します。
6755 \begin_layout Standard
6756 エラーが発生した場合の\SpecialCharNoPassThru LyX
6774 \begin_layout Standard
6779 には、なぜコマンドが失敗したかの説明が入っているはずです。
6782 \begin_layout Standard
6786 \begin_layout LyX-Code
6787 echo "LYXCMD:test:beginning-of-buffer:" >~/.lyxpipe.in
6788 \begin_inset Newline newline
6791 echo "LYXCMD:test:get-xy:" >~/.lyxpipe.in
6792 \begin_inset Newline newline
6795 read a <~/.lyxpipe.out
6796 \begin_inset Newline newline
6802 \begin_layout Section
6806 \begin_layout Standard
6807 \SpecialCharNoPassThru LyX
6808 は、発生しているイベントを、非同期的にクライアントに通知することができます。いまのところ、ユーザーがある
6809 \begin_inset Flex Ruby
6812 \begin_layout Plain Layout
6814 \begin_inset Argument post:1
6817 \begin_layout Plain Layout
6828 列を関数「notify」に割り当てているときのみ、\SpecialCharNoPassThru LyX
6829 はこの通知を行います。\SpecialCharNoPassThru LyX
6834 \begin_inset Flex Code
6837 \begin_layout Plain Layout
6848 \begin_layout Standard
6853 は、ユーザーが実際に打鍵した鍵列の印字表現になります。
6856 \begin_layout Standard
6857 この機構は、\SpecialCharNoPassThru LyX
6858 のコマンド群を拡張してマクロを実装するのに使用することができます。なんらかの鍵列を「notify」に割り当ててください。それから出力パイプで待
6859 機するクライアントを起動し、鍵列に応じたコマンドを読み込み、一つないし複数の\SpecialCharNoPassThru LyX
6860 コマンドを発行する\SpecialCharNoPassThru LyX
6861 要求と\SpecialCharNoPassThru LyX
6865 \begin_layout Section
6866 単純な\SpecialCharNoPassThru LyX
6870 \begin_layout Standard
6871 \SpecialCharNoPassThru LyX
6872 は、セッション管理に使用することができる単純なプロトコルを実装しています。メッセージは、すべて
6885 \begin_layout Standard
6890 は「hello」ないし「bye」です。クライアントから「hello」を受け取ると、\SpecialCharNoPassThru LyX
6891 はメッセージを聴いていることをクライアントに伝えるために返答をし、\SpecialCharNoPassThru LyX
6892 が終了することをクライアントに伝えるのには、\SpecialCharNoPassThru LyX
6896 \begin_layout Section
6900 \begin_layout Standard
6905 \begin_layout Plain Layout
6906 PDFの遡及検索機能を提供しているビューアには、KDE/Linux上のOkularとMac OS X上のSkim、Windows上のSumatraPDFがありま
6912 には、遡及検索(reverse searchないしinverse searchと呼ばれます)機能を提供しているものがあります。これを使えば、DVI/PDF出力の
6913 特定の場所をクリックすることによって、\SpecialCharNoPassThru LyX
6914 の文書中で対応する行にカーソルを移動させることができます。これを実現するためには、ビューアは\SpecialCharNoPassThru LyX
6920 )を使用するか、\SpecialCharNoPassThru LyX
6921 が作業ディレクトリに生成するUNIXドメインソケット(
6926 \begin_inset Flex Code
6929 \begin_layout Plain Layout
6935 プログラムが\SpecialCharNoPassThru LyX
6936 と通信するのに使用している方法です)ことで、\SpecialCharNoPassThru LyX
6937 サーバを経由して実現することができます。場合によっては、ビューアと\SpecialCharNoPassThru LyX
6939 リプトを必要とすることがあるかもしれませんが、それ以外は、ビューアは\SpecialCharNoPassThru LyX
6940 と直接通信することができます。これは、選んだビューアと基本ソフトに依存します。また、必
6941 要とされるビューアの設定法と遡及検索が実際に行われる方法とにも依存します。したがって、下記では個々のビューア毎の遡及検索の設定の仕方を説明することとします。その
6942 前に、DVI/PDF出力で遡及検索を有効にするためには、一般に何が必要とされるかを説明します。
6945 \begin_layout Subsection
6946 \begin_inset CommandInset label
6955 \begin_layout Standard
6956 \begin_inset Flex MenuItem
6959 \begin_layout Plain Layout
6960 文書\SpecialChar menuseparator
6961 設定\SpecialChar menuseparator
6968 \begin_inset Flex MenuItem
6971 \begin_layout Plain Layout
6977 オプションを有効にすれば、ほとんどの場合、\SpecialCharNoPassThru LyX
6978 がすべてをうまくこなしてくれます。その場合、\SpecialCharNoPassThru LyX
6979 は、自動的に、必要なSync\SpecialCharNoPassThru TeX
6981 rcltxパッケージ(DVIの場合)を挿入してくれます。このオプションは、
6982 \begin_inset Flex MenuItem
6985 \begin_layout Plain Layout
6991 ツールバーからも容易にアクセスすることができます。
6994 \begin_layout Standard
6995 もし、これとは別の設定が必要な場合には、
6996 \begin_inset Flex MenuItem
6999 \begin_layout Plain Layout
7000 文書\SpecialChar menuseparator
7001 設定\SpecialChar menuseparator
7002 出力\SpecialChar menuseparator
7008 の直下にあるドロップダウンボックスから、自製マクロを選択ないし入力することができます。
7011 \begin_layout Standard
7013 \begin_inset Flex Code
7016 \begin_layout Plain Layout
7024 を用いると、gzip圧縮が有効となることに注意してください。使用しているビューアがgzip圧縮をサポートしていない場合には、代わりに
7025 \begin_inset Flex Code
7028 \begin_layout Plain Layout
7039 \begin_layout Standard
7041 \begin_inset Flex Code
7044 \begin_layout Plain Layout
7051 \begin_inset Flex Code
7054 \begin_layout Plain Layout
7060 を取り込むと、組版上、不具合が生じることがあるのでご注意ください。したがって、
7061 \begin_inset Flex Code
7064 \begin_layout Plain Layout
7071 \begin_inset Flex Code
7074 \begin_layout Plain Layout
7080 を使用している場合には、最終版を組版する際には、出力同期を無効にするべきです。
7083 \begin_layout Standard
7084 自動設定でカバーされている範囲よりも、さらに特殊なものが必要な場合には、出力同期を手動で設定する仕方を述べた次節をお読みください。自動設定で事足りる場合には、自
7085 動設定・手動設定ともに必要となるビューア上の設定を述べた、第
7086 \begin_inset CommandInset ref
7088 reference "subsec:特定のビューアを設定して使うには"
7095 \begin_layout Subsection
7099 \begin_layout Standard
7100 \SpecialCharNoPassThru LaTeX
7101 は、遡及検索のために複数の方法を提供しています。ある方法は
7102 \begin_inset Flex Code
7105 \begin_layout Plain Layout
7111 プログラムに組み込まれており、他の方法は外部パッケージとして提供されています。どちらを選択するかは、お使いの\SpecialCharNoPassThru LaTeX
7112 頒布版が既に特定の方法を提供しているか(組
7113 み込みによる方法は比較的新しいものです)と、お使いのビューアがそれに対応しているかに依存します。使用可能な方法を以下に述べます。
7116 \begin_layout Subsubsection*
7117 src-special経由のDVI組み込み検索(DVIのみ)
7120 \begin_layout Standard
7121 この方法は、DVIファイルに遡及検索に必要な情報を追加するものです。これは、かなり前の\SpecialCharNoPassThru LaTeX
7122 から利用可能となっており(比較的最近の\SpecialCharNoPassThru LaTeX
7124 応しています)、安定して動作します。これを有効にするには、
7125 \begin_inset Flex MenuItem
7128 \begin_layout Plain Layout
7129 設定\SpecialChar menuseparator
7130 ファイル処理\SpecialChar menuseparator
7137 \begin_inset Flex MenuItem
7140 \begin_layout Plain Layout
7145 \begin_layout Plain Layout
7158 \begin_inset Flex MenuItem
7161 \begin_layout Plain Layout
7166 \begin_layout Plain Layout
7173 eX (plain)->DraftDVI
7179 \begin_inset Flex Code
7182 \begin_layout Plain Layout
7183 latex -src-specials $$i
7188 に変更します。もしこれが動作しないときは、お使いの\SpecialCharNoPassThru LaTeX
7189 エンジンが違うオプションを必要としていないか確認してください(頒布版によっては文法の異なることがあり
7193 \begin_layout Subsubsection*
7194 外部パッケージ(PDFSyncおよびsrcltx)
7197 \begin_layout Standard
7206 パッケージは、PDF出力(pdflatex経由)およびDVI出力での遡及検索を提供します。これを有効にするには、\SpecialCharNoPassThru LyX
7207 プリアンブルで以下のようにパッケージを読み
7211 \begin_layout Itemize
7213 \begin_inset Flex Code
7216 \begin_layout Plain Layout
7227 \begin_layout Itemize
7229 \begin_inset Flex Code
7232 \begin_layout Plain Layout
7235 usepackage[active]{srcltx}
7243 \begin_layout Standard
7244 と書きます。DVIとPDFの両方の遡及検索を実行できるようにするためには、プリアンブルに以下の行を挿入する方法があります。
7247 \begin_layout LyX-Code
7251 \begin_inset Newline newline
7257 \begin_inset Newline newline
7263 \begin_inset Newline newline
7269 \begin_inset Newline newline
7274 usepackage[active]{srcltx}
7275 \begin_inset Newline newline
7283 \begin_layout Standard
7284 このようにすれば、DVIでもPDF(pdflatex)でも正しいパッケージを使いながら、ファイルを閲覧することができます。
7287 \begin_layout Standard
7288 なお、PDFSyncは、文書の出力レイアウトに干渉する可能性があるので注意してください。したがって、仕上がり文書ではPDFSyncを無効にすることをお勧めします
7292 \begin_layout Subsubsection*
7293 Sync\SpecialCharNoPassThru TeX
7294 を使った組み込み遡及検索(DVIおよびPDF)
7297 \begin_layout Standard
7298 \begin_inset Flex Code
7301 \begin_layout Plain Layout
7307 の最近のバージョンは、PDFおよびDVI両方の遡及検索を組み込みでサポートしています。このいわゆる
7309 Sync\SpecialCharNoPassThru TeX
7311 機能は、主に、PDFSyncパッケージをpdftexプログラムへ統合したことと、それをsrc-specialsアプローチへ取り込んだことの成果です。これを使用す
7312 るためには、少なくとも\SpecialCharNoPassThru TeX
7313 Live 2008か最近のMik\SpecialCharNoPassThru TeX
7314 頒布版が必要です。また、既にSync\SpecialCharNoPassThru TeX
7315 サポートを提供しているPDFビューアは少ししかありま
7316 せん(Mac上のSkimとWindows上のSumatraPDF)。
7319 \begin_layout Standard
7320 DVI出力でSync\SpecialCharNoPassThru TeX
7322 \begin_inset Flex MenuItem
7325 \begin_layout Plain Layout
7326 設定\SpecialChar menuseparator
7327 ファイル処理\SpecialChar menuseparator
7334 \begin_inset Flex MenuItem
7337 \begin_layout Plain Layout
7342 \begin_layout Plain Layout
7355 \begin_inset Flex MenuItem
7358 \begin_layout Plain Layout
7363 \begin_layout Plain Layout
7370 eX (plain)->DraftDVI
7376 \begin_inset Flex Code
7379 \begin_layout Plain Layout
7380 latex -synctex=1 $$i
7386 \begin_inset Flex MenuItem
7389 \begin_layout Plain Layout
7394 \begin_layout Plain Layout
7401 eX (pdflatex)->PDF (pdflatex)
7407 \begin_inset Flex Code
7410 \begin_layout Plain Layout
7411 pdflatex -synctex=1 $$i
7416 に変更してください。また、ビューアをSync\SpecialCharNoPassThru TeX
7417 で使うのに設定を行う必要があるかどうか、お使いのビューアの取扱説明書をご確認ください。
7421 \begin_layout Plain Layout
7422 \begin_inset Flex Code
7425 \begin_layout Plain Layout
7431 オプションは、gzip圧縮を有効にします。お使いのビューアがgzip圧縮をサポートしていない場合には、代わりに
7432 \begin_inset Flex Code
7435 \begin_layout Plain Layout
7449 \begin_layout Subsection
7451 \begin_inset CommandInset label
7453 name "subsec:特定のビューアを設定して使うには"
7460 \begin_layout Subsubsection*
7464 \begin_layout Standard
7465 \SpecialCharNoPassThru LyX
7467 \begin_inset Flex Code
7470 \begin_layout Plain Layout
7476 プログラムを自動的に使うのに必要なフックを、既に提供しているので、
7477 \begin_inset Flex Code
7480 \begin_layout Plain Layout
7486 を使用する場合には、DVI遡及検索を実行するのに他にするべきことはありません。使用中の文書を上記で述べたように設定するだけです(遡及検索は、Ctrl-クリックか
7487 、Mac OS X上ではAlt-クリックで始動します)。
7490 \begin_layout Standard
7491 しかし、何らかの理由で、\SpecialCharNoPassThru LyX
7492 と通信するのにソケットではなく命名パイプを使用したい場合には、
7493 \begin_inset Flex MenuItem
7496 \begin_layout Plain Layout
7497 設定\SpecialChar menuseparator
7498 ファイル処理\SpecialChar menuseparator
7505 \begin_inset Flex Code
7508 \begin_layout Plain Layout
7509 xdvi -editor "lyxeditor.sh %f %l"
7515 \begin_inset Flex Code
7518 \begin_layout Plain Layout
7524 は適切なスクリプト名)に変更してください。たとえば、最低限のシェルスクリプトは
7527 \begin_layout LyX-Code
7529 \begin_inset Newline newline
7532 LYXPIPE="/path/to/lyxpipe"
7533 \begin_inset Newline newline
7536 COMMAND="LYXCMD:revdvi:server-goto-file-row:$1 $2"
7537 \begin_inset Newline newline
7540 echo "$COMMAND" > "${LYXPIPE}".in || exit
7541 \begin_inset Newline newline
7544 read TMP < "${LYXPIPE}".out || exit
7547 \begin_layout Standard
7549 \begin_inset Flex Code
7552 \begin_layout Plain Layout
7559 \begin_inset Flex MenuItem
7562 \begin_layout Plain Layout
7563 設定\SpecialChar menuseparator
7573 \begin_layout Plain Layout
7580 XServerパイプのパスを指定してください
7584 \begin_layout Plain Layout
7586 \begin_inset Flex Code
7589 \begin_layout Plain Layout
7600 \begin_inset Flex Code
7603 \begin_layout Plain Layout
7617 \begin_layout Subsubsection*
7621 \begin_layout Standard
7622 \begin_inset Flex Code
7625 \begin_layout Plain Layout
7626 /Applications/MacDviX_Folder/calleditor.script
7634 \begin_layout LyX-Code
7639 \begin_layout Plain Layout
7646 X.app/Contents/MacOS/lyxeditor "$2" $1
7647 \begin_inset Newline newline
7653 \begin_layout Standard
7654 という行を付け加えてください。Applicationsフォルダ以外の場所に\SpecialCharNoPassThru LyX
7655 を導入した場合には、それに従って上記の行を修正してください。
7658 \begin_layout Standard
7659 遡及検索は、Alt-クリック(OPTION-クリック)で始動します。
7662 \begin_layout Subsubsection*
7666 \begin_layout Standard
7667 \begin_inset Flex MenuItem
7670 \begin_layout Plain Layout
7671 設定\SpecialChar menuseparator
7672 ファイル処理\SpecialChar menuseparator
7673 ファイル書式\SpecialChar menuseparator
7680 \begin_inset Flex Code
7683 \begin_layout Plain Layout
7684 open -a Skim.app $$i
7690 \begin_inset Flex MenuItem
7693 \begin_layout Plain Layout
7694 Skim\SpecialChar menuseparator
7695 設定\SpecialChar menuseparator
7705 \begin_layout Plain Layout
7715 \begin_layout Standard
7716 遡及検索は、COMMAND-SHIFT-クリックで始動します。
7719 \begin_layout Subsubsection*
7723 \begin_layout Standard
7724 \begin_inset Flex MenuItem
7727 \begin_layout Plain Layout
7728 設定\SpecialChar menuseparator
7729 Okularを設定\SpecialChar ldots
7730 \SpecialChar menuseparator
7736 で「カスタムテキストエディタ」を選択し、コマンドに
7737 \begin_inset Flex Code
7740 \begin_layout Plain Layout
7749 \begin_layout Standard
7750 遡及検索は、SHIFT-クリックで始動します。
7753 \begin_layout Subsubsection*
7757 \begin_layout Standard
7759 \begin_inset Flex MenuItem
7762 \begin_layout Plain Layout
7763 View\SpecialChar menuseparator
7769 メニューを選択し、「Inverse DVI Search」タブを選択します。「New\SpecialChar ldots
7770 」ボタンをクリックして開くウィンドウの「Name:」フィールドに「\SpecialCharNoPassThru LyX
7771 Editor」(または自分の好きな名称)と入力してください。「\SpecialChar ldots
7772 」というラベルのボタンをクリックしてファイルダイアログを開き、バッチファイル
7773 \begin_inset Flex Code
7776 \begin_layout Plain Layout
7782 (以下参照)のあるディレクトリを見つけます。
7783 \begin_inset Flex Code
7786 \begin_layout Plain Layout
7793 \begin_inset Flex Code
7796 \begin_layout Plain Layout
7803 \begin_inset Flex Code
7806 \begin_layout Plain Layout
7816 を通じて\SpecialCharNoPassThru LyX
7817 と通信するためのラッパとして使用され、以下のようになっています。
7820 \begin_layout LyX-Code
7822 \begin_inset Newline newline
7825 echo LYXCMD:revdvi:server-goto-file-row:%1 %2>
7834 \begin_inset Newline newline
7848 \begin_layout Standard
7849 \SpecialCharNoPassThru LyX
7850 で指定した\SpecialCharNoPassThru LyX
7852 \begin_inset Flex Code
7855 \begin_layout Plain Layout
7870 \begin_inset Flex Code
7873 \begin_layout Plain Layout
7882 \begin_layout Standard
7883 yapでは、遡及検索はダブルクリックで始動します。
7886 \begin_layout Subsubsection*
7890 \begin_layout Standard
7891 SumatraPDFを遡及検索で使用するためには、
7892 \begin_inset Flex MenuItem
7895 \begin_layout Plain Layout
7896 設定\SpecialChar menuseparator
7897 ファイル処理\SpecialChar menuseparator
7898 ファイル書式\SpecialChar menuseparator
7905 \begin_inset Flex Code
7908 \begin_layout Plain Layout
7909 SumatraPDF -inverse-search
7910 \begin_inset Quotes eld
7914 \begin_inset Quotes erd
7923 \begin_inset Flex Code
7926 \begin_layout Plain Layout
7932 は上記のラッパ)と入力してください。SumatraPDF.exeがコマンドPATHにない場合、フルファイル名を使用してください。
7935 \begin_layout Standard
7939 \begin_layout Subsubsection*
7943 \begin_layout Standard
7944 まずはじめに、yapがWindows環境での既定のDVIビューアになっていることを確認してから、yapを起動し、
7945 \begin_inset Flex MenuItem
7948 \begin_layout Plain Layout
7949 View\SpecialChar menuseparator
7955 メニューを選択し、「Inverse DVI Search」タブを選択します。「New\SpecialChar ldots
7956 」ボタンをクリックして開くウィンドウの「Name:」フィールドに「\SpecialCharNoPassThru LyX
7957 Editor」(または自分の好きな名称)と入力してください。「\SpecialChar ldots
7958 」というラベルのボタンをクリックしてファイルダイアログを開き、バッチファイル
7959 \begin_inset Flex Code
7962 \begin_layout Plain Layout
7968 プログラム(これは、Cygwinでは既定で\SpecialCharNoPassThru LyX
7969 実行ファイルとともに導入されます)のあるディレクトリを見つけます。
7970 \begin_inset Flex Code
7973 \begin_layout Plain Layout
7980 \begin_inset Flex Code
7983 \begin_layout Plain Layout
7989 と指定してください。これによって、\SpecialCharNoPassThru LyX
7994 が使用されるようになります。何らかの理由で
7999 \begin_inset Flex Code
8002 \begin_layout Plain Layout
8008 オプションを削除して、\SpecialCharNoPassThru LyX
8009 設定で\SpecialCharNoPassThru LyX
8010 Serverパイプパスを指定することを忘れないでください。
8013 \begin_layout Standard
8014 yapでは、遡及検索はダブルクリックで始動します。
8017 \begin_layout Subsubsection*
8021 \begin_layout Standard
8022 SumatraPDFを遡及検索で使用するためには、
8023 \begin_inset Flex MenuItem
8026 \begin_layout Plain Layout
8027 設定\SpecialChar menuseparator
8028 ファイル処理\SpecialChar menuseparator
8029 ファイル書式\SpecialChar menuseparator
8036 \begin_inset Flex Code
8039 \begin_layout Plain Layout
8046 \begin_inset Flex Code
8049 \begin_layout Plain Layout
8055 は以下のようなスクリプトです(お使いのコマンドパスに置きます。
8056 \begin_inset Flex Code
8059 \begin_layout Plain Layout
8068 \begin_layout LyX-Code
8070 \begin_inset Newline newline
8074 \begin_inset Newline newline
8077 SumatraPDF -inverse-search "lyxeditor -g %f %l" $(basename $1)
8080 \begin_layout Standard
8081 SumatraPDFは、Windowsネイティブのアプリケーションであり、\SpecialCharNoPassThru LyX
8082 のCygwin版が使用するPOSIXパスを理解しないので、このラッパスクリプトが
8083 必要となります。SumatraPDF.exeがお使いのコマンドパスにない場合は、上記のスクリプトでPOSIXのフルパスを使用してください。
8084 \begin_inset Flex Code
8087 \begin_layout Plain Layout
8102 \begin_inset Flex Code
8105 \begin_layout Plain Layout
8111 オプションを削除して、\SpecialCharNoPassThru LyX
8112 設定で\SpecialCharNoPassThru LyX
8113 Serverパイプパスを指定することを忘れないでください。
8116 \begin_layout Standard
8120 \begin_layout Section
8124 \begin_layout Standard
8125 順検索とは、名前が示すとおり、いわば遡及検索の「逆」を意味します。すなわち、\SpecialCharNoPassThru LyX
8126 内部から、ビューアに特定の箇所を表示させることを可能にします。(以下に説明する
8127 ように)もし順検索の準備ができていれば、カーソルを\SpecialCharNoPassThru LyX
8129 \begin_inset Flex MenuItem
8132 \begin_layout Plain Layout
8133 移動\SpecialChar menuseparator
8139 を選択すると(あるいはマウスの右クリックで表示される文脈依存メニューから
8140 \begin_inset Flex MenuItem
8143 \begin_layout Plain Layout
8149 を選択してもよい)、ビューアも同じ箇所に移動します。もちろん、使用しているビューアが、この機能をサポートしていなくてはなりません。
8152 \begin_layout Standard
8153 順検索を有効にするためには、生成されたPDF/DVI出力ファイルに、\SpecialCharNoPassThru TeX
8154 ソースに関する情報を追加する必要があります。これは、第
8155 \begin_inset CommandInset ref
8157 reference "subsec:遡及検索"
8161 節に述べられている方法で実行することができます。
8164 \begin_layout Standard
8166 \begin_inset Flex MenuItem
8169 \begin_layout Plain Layout
8170 ツール\SpecialChar menuseparator
8171 設定\SpecialChar menuseparator
8172 出力\SpecialChar menuseparator
8178 で自分の使うビューアを利用するように、\SpecialCharNoPassThru LyX
8179 を設定する必要があります。いくつかのビューアについては、試験済みの設定が前もって準備されており、ドロップダウンリスト
8180 から選択することができます。これらの設定の何れも意にそぐわない場合には、ご自身で適切な設定を見つけ出して入力しなくてはなりません。定義文法は、以下の変数を使用し
8184 \begin_layout Itemize
8185 \begin_inset Flex Code
8188 \begin_layout Plain Layout
8197 \begin_layout Itemize
8198 \begin_inset Flex Code
8201 \begin_layout Plain Layout
8207 :書き出された(一時).texファイル名(パスを除く)
8210 \begin_layout Itemize
8211 \begin_inset Flex Code
8214 \begin_layout Plain Layout
8220 :書き出された(一時).texファイル名(パスを含む)
8223 \begin_layout Itemize
8224 \begin_inset Flex Code
8227 \begin_layout Plain Layout
8233 :書き出された出力ファイル名(どちらが一時ディレクトリに存在するかに依存して、dviあるいはpdf)。
8236 \begin_layout Standard
8241 \begin_layout Plain Layout
8242 \begin_inset Flex MenuItem
8245 \begin_layout Plain Layout
8246 ツール\SpecialChar menuseparator
8247 設定\SpecialChar menuseparator
8248 ファイル処理\SpecialChar menuseparator
8255 \begin_inset Flex Code
8258 \begin_layout Plain Layout
8270 ・Sumatra PDFなど、一部のビューアでしか、完全な順検索機能は提供されていないことに注意してください
8274 \begin_layout Plain Layout
8276 \begin_inset CommandInset href
8278 target "http://www.istri.fr/zip/CMCDDE.zip"
8282 からダウンロードできるCMCDDEが必要です。
8287 。広く使われているPDFビューアの多く(特にAdobe Reader)は、順検索を全く提供していませんが、他の一部のビューア(たとえばEvinceやxpdf)で
8288 は、少なくとも、文書を読み込み直したり、ファイルの特定ページに移動することはできますので、少なくとも「近く」には移動することができます。この後者の機能は、syn
8289 ctexの外部コールで提供されています(事前に用意されている用例をご覧ください)。
8292 \begin_layout Standard
8293 順検索は、DVI出力とPDF出力の双方で動作します。\SpecialCharNoPassThru LyX
8294 は、過去にあなたが使用したプレビュー形式をチェックして(つまり、一時ディレクトリにどちらの形式が存在す
8295 るかをチェックして)、その形式に適切な設定を選択します。
8298 \begin_layout Chapter
8302 \begin_layout Section
8306 \begin_layout Standard
8312 \begin_layout Subsection
8316 \begin_layout Standard
8323 Astronomy and Astrophysics
8325 (『天文学と宇宙物理学』:www.edpsciences.fr/aa/
8326 \begin_inset Flex URL
8329 \begin_layout Plain Layout
8331 http://www.edpsciences.fr/aa/
8336 )に投稿する論文を執筆するための\SpecialCharNoPassThru LyX
8337 の使用法を説明します。このパッケージは、FTPサイト
8339 \begin_inset Separator parbreak
8344 \begin_layout Standard
8346 \begin_inset VSpace medskip
8350 \begin_inset Flex URL
8353 \begin_layout Plain Layout
8355 ftp://ftp.edpsciences.org/pub/aa/readme.html
8361 \begin_inset VSpace medskip
8367 \begin_layout Standard
8372 \begin_layout Standard
8373 このパッケージには取扱説明書がついていますが、本節は、本来の取扱説明書の代わりとなることを意図したものではなく、あなたの論文を正しい様式に整えるための小さな案内
8377 \begin_layout Standard
8378 この学術誌の出版元は、2001年1月1日以降、Springer社からEDP Science社に変更されていることにご注意ください。この出版社の変更によって、th
8379 esaurusコマンドの廃止など、スタイルファイルに若干の変更が加わっています。\SpecialCharNoPassThru LyX
8380 のaaクラスは、スタイルファイルの最新版(第5.01版)をサポートしています
8381 。もし古い版が装備されている場合には、更新してください。互換性のために、古い(第4版)レイアウトは、
8387 $\SpecialCharNoPassThru LyX
8388 Dir/layouts/aapaper.layout
8393 \begin_layout Subsection
8397 \begin_layout Standard
8398 \SpecialCharNoPassThru LyX
8399 とともに頒布されている例示用のひな型を土台として、書き始めることをお勧めします。ひな型を使用しない場合には、以下の設定にしてください。
8402 \begin_layout Itemize
8405 文書\SpecialChar menuseparator
8412 を選択してください(まぁ、これは自明ですね)。
8415 \begin_layout Itemize
8420 オプションは変更しないで、既定値のままに設定しておいてください。全体のレイアウトはマクロが行うので、何も変更してはいけません。
8423 \begin_layout Subsection
8427 \begin_layout Standard
8428 最初に入力すべきものは、へッダ情報です。ヘッダ情報には、以下の7つの項目があり、いくつかは必須ではありません。
8431 \begin_layout Itemize
8439 \begin_layout Itemize
8447 \begin_layout Itemize
8455 \begin_layout Itemize
8463 \begin_layout Itemize
8468 :[非必須]著者が複数いる場合、抜き刷りの送付を依頼するのに連絡すべき人を記す。
8471 \begin_layout Itemize
8476 :[非必須]連絡用の電子メールアドレス。
8479 \begin_layout Itemize
8486 Received: <日付>; Accepted <日付>
8491 \begin_layout Standard
8498 コマンドは、へッダが終了した場所に、\SpecialCharNoPassThru LyX
8499 が自動的に入れてくれるので、手動で挿入する必要はありません。各項目の順序は関係ありませんが、見た目のためと、実際の文書
8500 のレイアウトに合わせるために、上記の順序を維持しておくと良いでしょう。
8503 \begin_layout Standard
8504 現住所の付記などのために、へッダ部に脚注を挿入したい場合には、
8506 挿入\SpecialChar menuseparator
8509 を使用して標準の脚注を挿入してください。この場合には、\SpecialCharNoPassThru LyX
8519 \begin_layout Standard
8520 これらのトピックの他に、このマクロは、\SpecialCharNoPassThru LyX
8521 が対応していない、以下の3つの\SpecialCharNoPassThru LaTeX
8525 \begin_layout Itemize
8526 複数の著者名あるいは所属名を区切るための
8533 \begin_layout Itemize
8544 フィールドに現れる順に番号が付けられるので、各著者に番号マーカーを置く必要があります。
8547 \begin_layout Itemize
8554 は、至急連絡用に電子メールアドレスを付記します。
8557 \begin_layout Standard
8558 いずれの場合にも、\SpecialCharNoPassThru LyX
8559 中に対応したコマンドを入力し、\SpecialCharNoPassThru LaTeX
8561 \begin_inset Flex Code
8564 \begin_layout Plain Layout
8565 $\SpecialCharNoPassThru LyX
8574 \begin_layout Subsection
8578 \begin_layout Standard
8579 概要は、へッダ部の直後に置きます。第5版から、概要は環境からコマンドに変更され、一段落に限るという制限が加えられました。さらに、ここにはキーワードを含む項目を入
8580 れなくてはなりません。これは、まだ\SpecialCharNoPassThru LyX
8581 では実装されていないため、\SpecialCharNoPassThru LaTeX
8588 を手動で入力し、\SpecialCharNoPassThru LaTeX
8589 コードとしてマークする必要があります。用例にある論文を参照してください。
8592 \begin_layout Subsection
8596 \begin_layout Standard
8597 A&A論文用レイアウトでは、文章を構造化するために、以下の環境がサポートされています。
8600 \begin_layout Itemize
8606 \begin_layout Itemize
8612 \begin_layout Itemize
8618 \begin_layout Itemize
8624 \begin_layout Itemize
8630 \begin_layout Itemize
8636 \begin_layout Itemize
8642 \begin_layout Itemize
8648 \begin_layout Itemize
8654 \begin_layout Itemize
8660 \begin_layout Itemize
8666 \begin_layout Itemize
8669 \SpecialCharNoPassThru LaTeX
8672 \begin_layout Subsection
8673 \SpecialCharNoPassThru LyX
8677 \begin_layout Standard
8678 \SpecialCharNoPassThru LyX
8683 レイアウトでは、まだサポートされていないコマンドがあります。そのうちいくつかは既に紹介しましたが、網羅するために、以下にすべて列挙しておきます。
8686 \begin_layout Itemize
8694 \begin_layout Itemize
8702 \begin_layout Itemize
8710 \begin_layout Itemize
8718 \begin_layout Itemize
8726 \begin_layout Itemize
8734 \begin_layout Itemize
8742 \begin_layout Itemize
8750 \begin_layout Standard
8751 これらのコマンドのいずれかを使いたい場合には、自分で入力する必要があります。
8753 これを\SpecialCharNoPassThru LaTeX
8754 コマンドとしてマークすることを忘れないで下さい。
8757 \begin_layout Subsection
8761 \begin_layout Standard
8762 \SpecialCharNoPassThru LyX
8779 をサポートしていますので、ここでは詳しい説明はしません。
8783 をご覧ください。ただ、表は左揃えにしなくてはならないことに注意して下さい。そうするためには、表を選択して、
8785 編集\SpecialChar menuseparator
8791 \begin_layout Standard
8792 一つだけ、特別なものがあります。それは、図横にキャプションを配置する図です。この図を作成するには、以下のようにしなくてはなりません。
8795 \begin_layout Enumerate
8798 挿入\SpecialChar menuseparator
8799 フロート\SpecialChar menuseparator
8802 を使って、幅広の図フロートを作成します。それから、図フロートのラベルを右クリックして
8803 \begin_inset Flex MenuItem
8806 \begin_layout Plain Layout
8807 設定\SpecialChar ldots
8828 \begin_layout Enumerate
8832 \begin_layout Enumerate
8837 を押して、カーソルをキャプションの上に移動します。
8840 \begin_layout Enumerate
8844 \begin_layout Enumerate
8847 挿入\SpecialChar menuseparator
8850 \SpecialChar menuseparator
8870 \begin_layout Enumerate
8873 挿入\SpecialChar menuseparator
8874 \SpecialCharNoPassThru TeX
8877 を選択して、\SpecialCharNoPassThru TeX
8881 \begin_layout Enumerate
8882 \SpecialCharNoPassThru TeX
8894 \begin_layout Enumerate
8895 カーソルをキャプション文の後ろに移動し、
8897 挿入\SpecialChar menuseparator
8898 \SpecialCharNoPassThru TeX
8901 を選択して、別の\SpecialCharNoPassThru TeX
8902 差込枠を挿入し、その中に閉じ括弧を入力します 。
8905 \begin_layout Standard
8909 \begin_layout Subsection
8913 \begin_layout Standard
8914 投稿用には、論文を特別なダブルスペースレイアウトに整形しなくてはなりません。このためには、文書クラスに
8918 オプションを与える必要があります。これは、
8920 文書\SpecialChar menuseparator
8927 クラスオプションフィールドを使って行うことができます。この欄に
8934 \begin_layout Subsection
8938 \begin_layout Standard
8943 ディレクトリには、\SpecialCharNoPassThru LyX
8944 で書かれた例示用論文が収録されています。これは、元のマクロパッケージの例示用論文を\SpecialCharNoPassThru LyX
8945 用に直したものです。これはヒントを得るために使用
8946 したり、元の \SpecialCharNoPassThru LaTeX
8947 コードと\SpecialCharNoPassThru LyX
8948 での書き方の比較に使ったりしてください。
8951 \begin_layout Section
8952 AAS\SpecialCharNoPassThru TeX
8955 \begin_layout Standard
8963 \begin_layout Subsection
8967 \begin_layout Standard
8968 AAS\SpecialCharNoPassThru TeX
8969 は、American Astronomical Society(アメリカ天文学会)が発行するAstrophysical Journal(宇宙物理学雑
8970 誌)同誌のLettersとSupplementを含む)・Astronomical Journal(天文学雑誌)・Publications of
8971 the Astronomical Society of the Pacific(太平洋天文学会誌)三誌への電子投稿を可能にするために、同学会が作成したマクロ集
8972 です。\SpecialCharNoPassThru LyX
8973 は、これらの文書を生成する上で、なかでも数式・引用・画像処理能力において、優れたツールであることが認識されています。\SpecialCharNoPassThru LyX
8975 必要としており、できればここで説明されている第5.2版以降が望まれます。第5.0版未満の版は、\SpecialCharNoPassThru LaTeX
8976 2.09で使用するよう企図されているため、根本的に\SpecialCharNoPassThru LyX
8978 換性がありません。AAS\SpecialCharNoPassThru TeX
8979 パッケージは、以下のAAS\SpecialCharNoPassThru TeX
8980 ウェブサイトからダウンロードできるでしょう。
8981 \begin_inset Separator parbreak
8986 \begin_layout Standard
8988 \begin_inset VSpace medskip
8992 \begin_inset Flex URL
8995 \begin_layout Plain Layout
8997 http://www.journals.uchicago.edu/AAS/AAS\SpecialCharNoPassThru TeX
9003 \begin_inset VSpace medskip
9009 \begin_layout Standard
9010 パッケージ中には、完備したユーザーの手引きが収録されていますので、\SpecialCharNoPassThru LyX
9011 で論文を書き始める前に、その中身を完全に理解しておく必要があります。\SpecialCharNoPassThru LyX
9013 Xの全コマンドを理解する必然性をなくすものではなく、すべてを手入力する苦労を減らすだけです。仕上がりの\SpecialCharNoPassThru LaTeX
9014 文書が、論文を投稿しようとしているジャーナルの要
9015 求事項に完全に合致していることを確認するのは、あなたの責任です。
9018 \begin_layout Subsection
9022 \begin_layout Standard
9023 論文を書き始めるには、AAS\SpecialCharNoPassThru TeX
9024 ひな型ファイルを土台に始めることを強くお勧めします。
9025 \begin_inset Flex MenuItem
9028 \begin_layout Plain Layout
9029 ファイル\SpecialChar menuseparator
9035 をクリックして、新しいファイル名を入力し、ひな型
9039 を選んでください。これには、論文原稿のほとんどに共通して使われるフィールドが書き込まれています。書き込まれている文字列(括弧
9043 を含む)を正しい情報で上書きしてください。AAS\SpecialCharNoPassThru TeX
9044 コマンド・AAS\SpecialCharNoPassThru TeX
9045 環境の多くは、\SpecialCharNoPassThru LyX
9058 のようにできないものもあります。この二つのコマンドは、ひな型ファイルを開いたとき、赤色に表示されているのですぐ目に入ることでしょう。このようなコマンドは、直接L
9059 a\SpecialCharNoPassThru TeX
9060 コードを入力して、それを\SpecialCharNoPassThru TeX
9061 コードとしてマークしなければなりません。このようなコマンドは、\SpecialCharNoPassThru TeX
9062 コードあるいはEvil Red Text(邪悪な赤い文
9063 )と呼ばれます。AAS\SpecialCharNoPassThru TeX
9064 文書に必要とされる \SpecialCharNoPassThru TeX
9065 コードを最小にするよう努力はしていますが、まだ望まれるほどにはなっていません。
9068 \begin_layout Subsection
9072 \begin_layout Standard
9073 論文を満足する水準で書き終え、プレビューや印刷が正しく為されているとしても、まだ学術誌に投稿する前にしなくてはならない「後処理」が残されています。
9076 \begin_layout Enumerate
9077 論文を \SpecialCharNoPassThru LaTeX
9080 ファイル\SpecialChar menuseparator
9081 書き出し\SpecialChar menuseparator
9087 \begin_layout Enumerate
9094 \begin_inset Separator parbreak
9100 \begin_layout Enumerate
9107 コマンドよりも前のコメント行を削除します。
9110 \begin_layout Enumerate
9115 usepackage...{fontenc}
9132 \begin_layout Enumerate
9133 \SpecialCharNoPassThru LaTeX
9134 プリアンブル中に意図的に置いたコマンド(
9138 ファイル中、「User specified \SpecialCharNoPassThru LaTeX
9139 commands」というコメントの直後にあります)を除いて、
9151 の間のもの(これらのコマンドを含む)をすべて削除します。
9155 \begin_layout Enumerate
9156 編集後のファイルを \SpecialCharNoPassThru LaTeX
9157 にかけて、正しく処理されることを確認します。
9160 \begin_layout Enumerate
9161 学術誌の要求事項を再読して、ファイル名と書式が正しいことを確認します。
9164 \begin_layout Enumerate
9168 \begin_layout Subsection
9172 \begin_layout Standard
9173 AAS\SpecialCharNoPassThru TeX
9178 )に、各AAS\SpecialCharNoPassThru TeX
9179 コマンドの詳しい説明があるので、ここでは、各コマンドの使用法の詳細な説明は行いません。そこで、ここではユーザーの手引きに現れるとおりに一覧を
9180 列挙して、必要なところだけコメントを加えることにしましょう。
9183 \begin_layout Subsubsection
9187 \begin_layout Standard
9188 これらは期待通りに動作するので、ここでは列挙するだけにして、コマンドの説明されている節を挙げておきます。
9288 begin{thebibliography}
9296 (2.13.2)・全引用コマンドとその派生(2.13.2)・一般的なgraphicx図コマンド(2.14.1)・
9347 \begin_layout Standard
9348 以下のスタイルオプションも正しく動作します。
9369 \begin_inset Flex MenuItem
9372 \begin_layout Plain Layout
9373 文書\SpecialChar menuseparator
9390 \begin_layout Subsubsection
9394 \begin_layout Standard
9395 以下のコマンドは動作しますが、若干の説明が必要です。
9398 \begin_layout Itemize
9399 以下の項目は、学術誌の編集者向けに取ってあるものですが、どうしても必要ならば、\SpecialCharNoPassThru LaTeX
9431 \begin_layout Itemize
9432 以下の項目は、\SpecialCharNoPassThru LaTeX
9433 のプリアンブルに置くことができるもので、これらは、ひな型ファイルには、空の引数と共に含まれています。
9454 \begin_layout Itemize
9461 (2.3)―「単独で」使うことはできますが、段落の途中で使うことはできません。埋め込む必要がある場合には、\SpecialCharNoPassThru TeX
9465 \begin_layout Itemize
9472 (2.3)―後ろに{}が付記されます。これはエラーの原因にはなりません。
9475 \begin_layout Itemize
9482 (2.6)―「単独で」使うことはできますが、段落の途中で使うことはできません。埋め込む必要がある場合には、\SpecialCharNoPassThru TeX
9486 \begin_layout Itemize
9493 (2.8)―相互参照用タグを挿入することはできません。手動でタグ名を入力する必要があります。
9496 \begin_layout Itemize
9512 \begin_layout Itemize
9519 (2.9)―後ろに{}が付記されます。これはエラーの原因にはなりません。
9522 \begin_layout Itemize
9529 (2.11)―後ろに{}が付記されます。これはエラーの原因にはなりません。
9532 \begin_layout Itemize
9539 (2.14.2)―文章のはじめにカーソルを置いて
9540 \begin_inset Flex MenuItem
9543 \begin_layout Plain Layout
9544 挿入\SpecialChar menuseparator
9550 を選択すれば、非必須のファイル名引数を挿入することができます。「短縮タイトル」とありますが、
9556 が必要とする型の非必須引数を挿入します。望むらくはいつの日か改名されることでしょう。
9559 \begin_layout Itemize
9566 (2.17.1)―非必須パラメータとしてカタログIDを取る以外は、
9575 \begin_layout Itemize
9582 (2.17.1)―非必須パラメータとしてカタログIDを取る以外は、
9591 \begin_layout Subsubsection
9592 実装されていないため、\SpecialCharNoPassThru TeX
9596 \begin_layout Standard
9619 setcounter{equation}
9621 (2.12)・学術誌名略語(2.12.4)・
9657 (2.15.4:入れたい場所の後ろに、左側セルの最初の要素として挿入する。表中では、\SpecialCharNoPassThru LyX
9670 (2.15.5)・補遺(2.17)の大半(
9721 \begin_layout Subsubsection
9725 \begin_layout Standard
9726 references(2.12.3)環境とdeluxetable(2.14)環境は、少なくとも意味のあるような形で実装することができないので、無視してください。もし、
9727 絶対に、どうしても、deluxetableを使う必要があるならば、テキストエディタで別ファイルとして編集し、
9728 \begin_inset Flex MenuItem
9731 \begin_layout Plain Layout
9732 挿入\SpecialChar menuseparator
9734 \begin_inset Formula $\text{\textipa{}}$
9737 \SpecialChar menuseparator
9743 を使用して、\SpecialCharNoPassThru LyX
9744 ファイルに読み込むことを推奨します。この実例は、
9751 \begin_layout Subsection
9755 \begin_layout Subsubsection
9756 \SpecialCharNoPassThru LyX
9757 をAAS\SpecialCharNoPassThru TeX
9761 \begin_layout Standard
9762 \SpecialCharNoPassThru LyX
9763 に、新しいレイアウトと文書クラスを認識させるには若干コツが要ります。もしうまく行かなかったら、次のようにしてみてください。
9766 \begin_layout Enumerate
9767 \SpecialCharNoPassThru LaTeX
9768 が、AAS\SpecialCharNoPassThru TeX
9769 を検出できることを確認してください。AAS\SpecialCharNoPassThru TeX
9778 でも可)を、\SpecialCharNoPassThru LaTeX
9779 やAAS\SpecialCharNoPassThru TeX
9780 とまったく関係のないディレクトリにコピーして、
9784 を\SpecialCharNoPassThru LaTeX
9788 \begin_layout Enumerate
9793 が、\SpecialCharNoPassThru LyX
9801 \begin_layout Enumerate
9802 \SpecialCharNoPassThru LyX
9805 ツール\SpecialChar menuseparator
9808 を再度実行し、\SpecialCharNoPassThru LyX
9812 \begin_layout Enumerate
9813 ひな型ではなく、通常の新規ファイルを開いてください。AAS\SpecialCharNoPassThru TeX
9816 文書\SpecialChar menuseparator
9822 \begin_layout Standard
9823 既存のAAS\SpecialCharNoPassThru TeX
9824 文書を処理する際に、AAS\SpecialCharNoPassThru TeX
9825 レイアウトを見つけられないとか、「タイトルレイアウトと通常のレイアウトを混在させないでください」といった警告が
9826 出るようであれば、正しい導入が行われていません。
9829 \begin_layout Subsubsection
9830 表を処理する際の\SpecialCharNoPassThru LaTeX
9834 \begin_layout Standard
9835 既定では、\SpecialCharNoPassThru LyX
9836 は、表のキャプションやタイトルを中央揃えにしようと試みます。これはAAS\SpecialCharNoPassThru TeX
9837 と悪い相互干渉を発生させるようですので、キャプションやタイトルのど
9840 編集\SpecialChar menuseparator
9851 に設定してください。私のところではこれで解決しました。
9854 \begin_layout Subsubsection
9858 \begin_layout Standard
9859 若干の注意があります。(1)文献項目の本文中の空白取りが少しおかしくなることがあるようです。書誌情報を入力する際には、最後の著者と、著作年を入れる括弧の間にスペ
9872 ではだめです。(2)書誌情報の入力の仕方は、必ずしも自明ではありません。もっとも簡単な方法は、文書の最後に、最初の書誌情報をまず書き込み、それを
9876 環境としてマークすることです。すると、入力したものの前に、小さな灰色のボックスが現れます。このボックスをクリックして、残りの情報を入力してください。新しい書誌情
9877 報を追加するには、既存の書誌情報の後ろでリターンを押します。すると、新しいボックスの付いた新規行が出てくるので、後は同様にしてください。
9880 \begin_layout Subsubsection
9884 \begin_layout Standard
9885 AAS\SpecialCharNoPassThru TeX
9892 )がありますが、私は(既定のgraphicxを使った)\SpecialCharNoPassThru LaTeX
9893 の標準図コマンドの方がずっと好きです。望めば、図フロートボックスに、\SpecialCharNoPassThru TeX
9900 等のコマンドを挿入することはできますが、私には正しいレイアウトを得ることができた試しがありません。標準の画像コマンドを使えば、\SpecialCharNoPassThru LyX
9905 usepackage{graphics}
9907 コマンドを\SpecialCharNoPassThru LaTeX
9908 プリアンブルに挿入し、図を\SpecialCharNoPassThru LaTeX2e
9909 の標準的な方法で取り扱って、文章の中にちりばめます。現在、ApJは、ちょうどこのようにして作成した図
9910 を受け入れていますが、AJはまだ「すべてを末尾に積み上げる」方法を使用しているかもしれません。
9913 \begin_layout Subsubsection
9917 \begin_layout Standard
9918 「素敵な」ものの中には、実装することも可能だったけれども、あえて実装しなかったものがあります。たとえば、紙の原稿ではダブルスペースであったとしても、\SpecialCharNoPassThru LyX
9920 ドウ中で、文章をダブルスペースにする意味はないと考えました。また、preprint様式とpreprint2様式を、独立したレイアウトにすることもしませんでした。
9921 いずれにしても、執筆時間のほとんどを、平の原稿モードで使うのがほとんどですから、これらの機能でディスクスペースを消費しないことにしました。
9924 \begin_layout Subsection
9928 \begin_layout Standard
9929 これまでに進んできた道のりは、長い人も短い人もいることでしょう。私には、ApJとAJに発表した論文がありますが、その努力の98
9930 \begin_inset space \thinspace{}
9933 %は\SpecialCharNoPassThru LyX
9935 \begin_inset space \thinspace{}
9938 %が、\SpecialCharNoPassThru LaTeX
9939 での後処理と若干の後片付けです。投稿の過程では何のトラブルもなく、これらの学術誌が通常の投稿原稿と違う点に気づくことはなかったでしょう。ですから
9943 \begin_layout Section
9944 AMS \SpecialCharNoPassThru LaTeX
9947 \begin_layout Standard
9957 \begin_inset VSpace bigskip
9963 \begin_layout Standard
9964 AMS \SpecialCharNoPassThru LaTeX
9965 レイアウトは、American Mathematical Society(アメリカ数学会)の刊行物に投稿する数学論文用のスタイルです。レイアウ
9966 トは、特定の学術誌向けに仕立てられてはいませんが、簡単にそうすることができます。各学術誌毎の指示については、AMSの説明書をご参照ください(通常は、\SpecialCharNoPassThru TeX
9968 の一行を変更する必要があるだけです)。AMSの説明書は、ウェブWeb上の
9969 \begin_inset Flex URL
9972 \begin_layout Plain Layout
9980 \begin_inset Flex URL
9983 \begin_layout Plain Layout
9985 ftp://ftp.ams.org/pub/tex/amslatex/
9990 から入手することができます。これらのレイアウトは、数学的な文章を書くのであれば、どんなときでも適切かつ有用であるはずです。
9993 \begin_layout Standard
9994 基本となるAMS \SpecialCharNoPassThru LaTeX
9998 \begin_layout Itemize
9999 amsart:標準のAMS article書式。
10002 \begin_layout Itemize
10003 amsbook:標準のAMS book(実際はモノグラフ)書式。
10006 \begin_layout Standard
10007 これらのレイアウトには、それ自身では、AMSクラスを使用するのに必要最低限のものしか含まれていません。特に、定理や補題などを設定するのに使用される「theore
10008 m」環境は、何一つ含まれていません。これらは、代わりに
10009 \begin_inset Flex Code
10012 \begin_layout Plain Layout
10018 モジュールに収録されており、AMSクラスのいずれかを選択すると、このモジュールが既定で読み込まれるようになっています(これは別のクラスでも使用することができ、別
10019 のものに変えたいときは取り除くこともできます)。少し使用頻度の低いものとしては、
10020 \begin_inset Flex Code
10023 \begin_layout Plain Layout
10029 モジュールがあり、これは手動で読み込む必要があります。
10032 \begin_layout Standard
10033 既定では、定理類は、文書を通して連番が振られますが、これは
10034 \begin_inset Flex Code
10037 \begin_layout Plain Layout
10043 モジュールを読み込めば変更することができ、
10044 \begin_inset Flex Code
10047 \begin_layout Plain Layout
10054 \begin_inset Flex Code
10057 \begin_layout Plain Layout
10063 を用いても変更することができます。これらを用いると、出力は
10064 \begin_inset Formula $n.m$
10067 のようになり、最初の数字は節番号(または章番号)、次の数字はそれまで同節内(章内)に現れた出力の全数を表します。大半の環境は、連番なしでも用いることができます。
10068 連番なしのものは、環境名の後ろにアスタリスクを付けたもので表されます。連番なしの出力
10073 \begin_inset Flex Code
10076 \begin_layout Plain Layout
10085 \begin_layout Standard
10086 これらのモジュールは、AMSクラスで使用する
10091 \begin_inset Flex Code
10094 \begin_layout Plain Layout
10100 モジュールや上述の他のモジュールは、他のクラス、たとえば
10101 \begin_inset Flex Code
10104 \begin_layout Plain Layout
10111 \begin_inset Flex Code
10114 \begin_layout Plain Layout
10121 \begin_inset Flex Code
10124 \begin_layout Plain Layout
10130 などで問題なく使用することができます。
10133 \begin_layout Subsection
10137 \begin_layout Standard
10138 これらのレイアウトが提供している環境を列挙すると、長い一覧となります。AMS-\SpecialCharNoPassThru LaTeX
10139 では、実のところ、「theorem」環境の派生型を際限なく定義していくこ
10140 とが可能です。しかし、AMSは、\SpecialCharNoPassThru LyX
10141 で利用可能になっている環境のみを使用することを推奨しています。
10144 \begin_layout Standard
10145 \begin_inset Flex Code
10148 \begin_layout Plain Layout
10155 \begin_inset Flex Code
10158 \begin_layout Plain Layout
10166 \begin_inset space ~
10170 \begin_inset Flex Noun
10173 \begin_layout Plain Layout
10180 \begin_inset Flex Noun
10183 \begin_layout Plain Layout
10190 \begin_inset Flex Noun
10193 \begin_layout Plain Layout
10200 \begin_inset Flex Noun
10203 \begin_layout Plain Layout
10210 \begin_inset Flex Noun
10213 \begin_layout Plain Layout
10220 \begin_inset space ~
10225 \begin_inset space ~
10231 \begin_layout Description
10235 \begin_layout Description
10236 現在の住所 住所と別に指定されているときには、著者の投稿時の仮初めの住所です。
10239 \begin_layout Description
10243 \begin_layout Description
10247 \begin_layout Description
10248 キーワード 論文中で論じられているトピックを識別するためのキーワードやキーフレーズ。
10251 \begin_layout Description
10254 Mathematical Reviews
10256 に説明が公表されているAMS Subject Classificationsの分類番号を指します。上述したAMSのウェブサイトでも、オンラインで見ることができま
10260 \begin_layout Description
10264 \begin_layout Description
10268 \begin_layout Description
10272 \begin_layout Standard
10274 \begin_inset Flex Code
10277 \begin_layout Plain Layout
10284 \begin_inset Flex Code
10287 \begin_layout Plain Layout
10293 モジュールの両方で提供され、後者の場合には、星付き(連番なし)版と星なし(連番)版の両方が提供されます。
10294 \begin_inset Flex Code
10297 \begin_layout Plain Layout
10303 モジュールでは、同環境の星付き版だけが提供されます。
10306 \begin_layout Theorem
10307 これは、通常、得られた主要な結果を叙述するのに使用されます。
10310 \begin_layout Corollary*
10311 これは直前の叙述から比較的直接に導き出せる結果を叙述するのに使います。これも主要な結果であることがあります。
10314 \begin_layout Lemma
10315 他の叙述を証明するために必要とされる、比較的小さな結果です。
10318 \begin_layout Proposition
10319 議論されている一般的な理論に(希望的には)何かを付け加えるような、主要ではない結果です。
10322 \begin_layout Conjecture
10323 正当化を与えずに述べられた叙述で、著者には証明法がわからないけれども、正しいと(少なくとも著者にとっては)思われるものです。
10326 \begin_layout Definition*
10327 これは自明でしょう。この環境のフォントは、前述の環境とは異なるフォントが使用されます。
10330 \begin_layout Problem
10331 これが何を指すかは必ずしも特定されていません。ご自分で解明してください。
10334 \begin_layout Exercise*
10339 この環境もtheorem型、通常は重要性の低い所見に用いられます。
10342 \begin_layout Claim*
10343 より大きな結果の証明を与える途中で、しばしば用いられます。
10347 一般的に、これらはある条件の特定の場合を取り上げて、長い議論を区切るのに用いられます。
10351 ケースの連番の枠組みは、それ自身で独立していて、他の連番の叙述とは区別されます。
10354 \begin_layout Proof
10355 この環境の最後には、証了記号(通常は四角ですがスタイルによって変わります)が置かれます。この環境の中に別の環境を入れたい\threehyphens
10357 たとえばケース環境など\threehyphens
10359 場合で、証了記号は証明環境の終わりにのみ現れるようにしたい場合には、他の環境は証明環境の中に入れ子にしなくてはなりません。入れ子に関する情報については、
10370 \begin_layout Standard
10372 \begin_inset Flex Code
10375 \begin_layout Plain Layout
10384 \begin_layout Criterion*
10388 \begin_layout Algorithm*
10392 \begin_layout Axiom*
10393 議論されている系内部で真と仮定される性質や命題です。
10396 \begin_layout Condition*
10397 議論の現在の文脈で仮定されている条件を述べるのに、よく用いられます。
10400 \begin_layout Note*
10404 \begin_layout Notation*
10408 \begin_layout Summary
10412 \begin_layout Acknowledgement*
10413 謝辞(acknowledgement)です。
10416 \begin_layout Conclusion*
10421 命題と同様の用いられ方をしますが、だいたい長くないものに使われるようです。
10424 \begin_layout Standard
10425 さらに、AMSクラスは、AMS \SpecialCharNoPassThru LaTeX
10426 パッケージとAMSフォントパッケージを自動的に提供します。これらの環境を使用するためには、お使いのシステム上で利用可能
10430 \begin_layout Section
10436 \begin_layout Standard
10444 \begin_layout Subsection
10448 \begin_layout Standard
10449 これはAmerican Geophysical Society(アメリカ地球物理学会) の各学術誌向けのレイアウトファイルです。AGU発行のクラスファイルおよび
10451 \begin_inset Flex URL
10454 \begin_layout Plain Layout
10456 http://publications.agu.org/files/2013/08/AGU-\SpecialCharNoPassThru LaTeX
10462 にあります)が導入されていることが必要です。
10465 \begin_layout Subsection
10469 \begin_layout Standard
10478 は、定義し直されています。\SpecialCharNoPassThru LyX
10487 と表示されますが、AGUクラスにおける\SpecialCharNoPassThru LaTeX
10499 \begin_layout Standard
10536 があります。これらは、ほとんど草稿用属性で、AGUクラス説明書で説明されています。
10539 \begin_layout Standard
10540 おそらく、これはまだ恐ろしく不完全です。
10543 \begin_layout Subsection
10547 \begin_layout Standard
10556 (Plate)が新しいフロートです。また、
10563 \begin_layout Subsection
10567 \begin_layout Itemize
10570 Journal of Geophysical Research
10580 \begin_layout Standard
10581 ここにあなたの作ったものを加えてください。難しくはありません。
10592 \begin_layout Subsection
10596 \begin_layout Standard
10597 新しいレイアウトを使うためには、新規文書の作成時に以下の手順を行う必要があります。
10600 \begin_layout Enumerate
10607 ツール\SpecialChar menuseparator
10610 メニュー項目で行うことができます(AGUの論文は常に英語ですよね。ですから他の言語は
10617 \begin_layout Enumerate
10622 と入力してください(すみません、これはバグです)。
10625 \begin_layout Enumerate
10626 Bib\SpecialCharNoPassThru TeX
10635 を使用していることを確認してください。標準スタイルはうまく動作しません。
10638 \begin_layout Section
10642 \begin_layout Standard
10650 \begin_layout Subsection
10654 \begin_layout Standard
10655 Broadwayは演劇を書くためのものです。書式はHollywoodよりも装飾的で、それほど標準化されていません。この書式はワークショップに向いているでしょう。
10658 \begin_layout Subsection
10662 \begin_layout Standard
10666 \begin_layout Subsection
10670 \begin_layout Standard
10675 の名前をラベルとして挿入し、名前を挿入する際には、このラベルを相互参照してください。相互参照ダイアログには、登場人物の現在の配役が表示されます。
10678 \begin_layout Subsection
10682 \begin_layout Standard
10683 USレター寸法で、余白は左1.6インチ、右0.75インチ、上0.5インチ、下0.75インチです。
10686 \begin_layout Subsection
10690 \begin_layout Standard
10691 以下の環境を使うことができます。右に記してある
10692 \begin_inset Flex Ruby
10695 \begin_layout Plain Layout
10697 \begin_inset Argument post:1
10700 \begin_layout Plain Layout
10711 割当ては、broadway.bindを使った場合のものです。
10714 \begin_layout Itemize
10718 \begin_inset Newline newline
10723 これは使わなくていいはずですが、他の環境が当てはまらない場合のためにここに挙げておきます。
10726 \begin_layout Itemize
10730 \begin_inset space \hfill{}
10734 \begin_inset Newline newline
10739 舞台設定と動作の説明に用います。最初に話者名をすべて大文字で書いておきます。
10742 \begin_layout Itemize
10746 \begin_inset space \hfill{}
10750 \begin_inset Newline newline
10755 自動的に連番が振られます。連番は、画面上ではアラビア数字ですが、出力ではローマ数字です。
10758 \begin_layout Itemize
10762 \begin_inset space \hfill{}
10766 \begin_inset Newline newline
10771 幕の副題です。単に中央揃えの文になります。
10774 \begin_layout Itemize
10778 \begin_inset space \hfill{}
10782 \begin_inset Newline newline
10787 自動的に連番は振られませんので、手動で番号を付けてください。これは私がどうすればいいか分からなかったためです。
10790 \begin_layout Itemize
10794 \begin_inset space \hfill{}
10798 \begin_inset Newline newline
10803 ト書きの特殊な場合で、カーテンが上がるときの舞台設定と動作を説明します。
10806 \begin_layout Itemize
10810 \begin_inset space \hfill{}
10814 \begin_inset Newline newline
10819 話者(役者)の配役です。すべて大文字で中央揃えに置かれます。
10822 \begin_layout Itemize
10826 \begin_inset space \hfill{}
10830 \begin_inset Newline newline
10835 話者への指示です。括弧は自動的に挿入されます。画面上には左括弧(のみが表示されますが、印字出力には両方の括弧が表示されます。この環境は、
10842 \begin_layout Itemize
10846 \begin_inset space \hfill{}
10850 \begin_inset Newline newline
10858 \begin_layout Itemize
10862 \begin_inset space \hfill{}
10866 \begin_inset Newline newline
10874 \begin_layout Itemize
10878 \begin_inset space \hfill{}
10884 \begin_layout Itemize
10888 \begin_inset space \hfill{}
10894 \begin_layout Itemize
10898 \begin_inset space \hfill{}
10904 \begin_layout Section
10908 \begin_layout Standard
10913 は、ドイツの慣習に則った書簡の組版を行うのに用いられます。ひな型ファイルが
10915 .../lyx/share/templates
10917 にあるので、それを土台として使用してください。
10920 \begin_layout Section
10926 \begin_layout Standard
10934 \begin_layout Subsection
10938 \begin_layout Standard
10939 これはEuropean Geophysical Society(欧州地球物理学会)の学術誌向けのレイアウトファイルです。必要とされる
10944 \begin_inset Flex URL
10947 \begin_layout Plain Layout
10949 http://www.copernicus.org/
10957 \begin_layout Subsection
10961 \begin_layout Standard
10968 \SpecialCharNoPassThru LaTeX
10999 があります。現在のレイアウトファイルは、残念ながらほとんどモジュール化されておらず、さまざまな
11003 ファイルを読み込む形に変えた方が便利になると思われます。
11006 \begin_layout Section
11010 \begin_layout Standard
11011 \SpecialCharNoPassThru LyX
11016 を参照してください。必要な情報は全てそこにあります。
11019 \begin_layout Section
11020 Foils (別名Foil\SpecialCharNoPassThru TeX
11022 \begin_inset CommandInset label
11031 \begin_layout Standard
11039 \begin_layout Subsection
11043 \begin_layout Standard
11044 本節では、プレゼンテーション用のスライドを作るための、\SpecialCharNoPassThru LyX
11045 の使用法を解説します。スライドを作ることのできる文書クラスには、slides・Foil\SpecialCharNoPassThru TeX
11047 inar・beamer・powerdotといったクラスがありますが、本節では、そのうちslidesの解説を行います。
11050 \begin_layout Standard
11051 誤解のないように、わかりやすく明確に、もう一度言っておきます。
11054 \begin_layout Standard
11055 \begin_inset VSpace bigskip
11061 \begin_layout Standard
11067 presentation (FoilT
11073 \begin_layout Plain Layout
11091 \begin_layout Standard
11092 \begin_inset VSpace bigskip
11098 \begin_layout Standard
11101 transparencies (slides)
11104 \begin_inset CommandInset ref
11106 reference "sec:slitex"
11110 節をご覧ください。お使いのコンピュータに
11116 presentation (FoilT
11120 \begin_layout Plain Layout
11140 \begin_layout Standard
11145 クラスは、\SpecialCharNoPassThru LaTeX2e
11146 の一部として含まれている\SpecialCharNoPassThru LaTeX
11151 の第2.1版とともに使われるように設計されています。
11154 \begin_layout Subsection
11158 \begin_layout Standard
11159 いうまでもなく、この文書クラスを使うには、
11161 文書\SpecialChar menuseparator
11162 設定\SpecialChar menuseparator
11171 presentation (FoilT
11175 \begin_layout Plain Layout
11188 ダイアログ中には、以下のように、このクラスに特有の設定がいくつかあることを知っておかなくてはなりません。
11191 \begin_layout Itemize
11204 オプションは変更しないでください。これらは
11211 \begin_layout Itemize
11212 既定のフォント寸法は20ptであり、17pt・25pt・30ptを選択することも可能です。
11215 \begin_layout Itemize
11224 ですが、数式ではすべて、通常のローマン体が使用されます。
11227 \begin_layout Itemize
11228 Foil\SpecialCharNoPassThru TeX
11230 \begin_inset space \thinspace{}
11233 mmスライド用の特殊寸法の他、A4とレター大の用紙寸法をサポートします。A5・B5・リーガル・エグゼクティブ大の用紙寸法はサポートしていません。
11236 \begin_layout Itemize
11241 の設定は無視されますので、わざわざ変更する必要はありません。フロートはすべて、本文中で定義された位置に表示されます。
11244 \begin_layout Itemize
11249 の設定は、若干異なった挙動を示します。Foil\SpecialCharNoPassThru TeX
11250 では、ユーザ定義のロゴをはじめ、フッタとへッダに広範な設定ができます。詳細については第
11251 \begin_inset CommandInset ref
11253 reference "sec:foilfoot"
11257 節をご覧ください。タイトルページは、文書中の他のページとは異なった取扱がなされ、ページ番号は
11261 付けられず、(ロゴが定義されていれば)ロゴは、
11265 ページ下部中央に表示されます。使用できるページ様式とその挙動は、以下の通りです。
11267 \begin_inset Separator parbreak
11273 \begin_layout Labeling
11274 \labelwidthstring MMMMMMM
11281 最終出力には、ページ番号をはじめ、へッダ・フッタが出力されません(もちろん脚注は除きます)。
11284 \begin_layout Labeling
11285 \labelwidthstring MMMMMMM
11292 最終出力には、ページ番号がページ下部の中央に出力されますが、他のへッダ・フッタは出力されません(脚注除く)。
11295 \begin_layout Labeling
11296 \labelwidthstring MMMMMMM
11301 ページ番号が右下隅に出力されます。追記したへッダ・フッタも出力されます。これが既定値です。
11304 \begin_layout Labeling
11305 \labelwidthstring MMMMMMM
11314 パッケージを使えるようにします。ただし、Foil\SpecialCharNoPassThru TeX
11315 パッケージの作者は、ページレイアウトが崩れる可能性があるので、これを使用することは勧めないと言及しています
11320 \begin_layout Subsubsection
11324 \begin_layout Standard
11329 ダイアログの任意設定クラスオプションボックスで使うことができます。
11332 \begin_layout Labeling
11333 \labelwidthstring MMMMMMx
11338 これは、ページレイアウトを縦7.33インチ横11インチに設定します。これは35
11339 \begin_inset space \space{}
11342 mmスライドの縦横比にほぼ等しく、このメディアを作る作業が若干易しくなります。
11345 \begin_layout Labeling
11346 \labelwidthstring MMMMMMx
11351 タイトルページを除くすべてのページのへッダの下に罫線を入れます。
11354 \begin_layout Labeling
11355 \labelwidthstring MMMMMMx
11360 タイトルページを除くすべてのページのフッタの上に罫線を入れます。
11363 \begin_layout Labeling
11364 \labelwidthstring MMMMMMx
11373 文書を作成する度に自動的に設定されます。このオプションは、横向きに設定されたページを回転させるのに、dvipsドライバを使うようFoil\SpecialCharNoPassThru TeX
11377 \begin_layout Labeling
11378 \labelwidthstring MMMMMMx
11383 このオプションは、用紙寸法を横向きページ大に変更するだけで、回転は行いません。したがって、このオプションを使う場合は、各ページを回転させる外部プログラムを使用
11384 する、プリンタに用紙を横向きに給紙する必要があります。また、このオプションは、
11392 環境の役割を逆転させることに注意してください(これらの環境については次節で説明します)。
11395 \begin_layout Labeling
11396 \labelwidthstring MMMMMMx
11404 \begin_layout Labeling
11405 \labelwidthstring MMMMMMx
11413 \begin_layout Subsection
11417 \begin_layout Standard
11418 他のクラスで標準的にサポートされている環境は、
11422 クラスでもサポートされています。それ以外に、Foil\SpecialCharNoPassThru TeX
11423 が提供している環境と、\SpecialCharNoPassThru LyX
11424 が付け加えた環境があります。以下の環境は、他のクラスと共通の環境です。
11427 \begin_layout Standard
11430 \begin_inset Flex Multiple Columns
11433 \begin_layout Itemize
11439 \begin_layout Itemize
11445 \begin_layout Itemize
11451 \begin_layout Itemize
11457 \begin_layout Itemize
11463 \begin_layout Itemize
11466 \SpecialCharNoPassThru LyX
11470 \begin_layout Itemize
11476 \begin_layout Itemize
11482 \begin_layout Itemize
11488 \begin_layout Itemize
11494 \begin_layout Itemize
11500 \begin_layout Itemize
11506 \begin_layout Itemize
11512 \begin_layout Itemize
11518 \begin_layout Itemize
11524 \begin_layout Itemize
11530 \begin_layout Itemize
11536 \begin_layout Itemize
11547 \begin_layout Standard
11548 つまり、節区切りを除けば、主な環境のすべてです。一枚のスライドは、基本的にタイトルと本文を備えた自己完結した節なので、
11552 \SpecialCharNoPassThru TeX
11553 は新しいスライドを始める以下のようなコマンドを備えています。
11556 \begin_layout Itemize
11562 \begin_layout Itemize
11565 横置きスライドタイトル(Rotatefoilhead)
11568 \begin_layout Standard
11569 \SpecialCharNoPassThru LyX
11570 は、以下のような、これらを若干修正した環境も用意しています。
11573 \begin_layout Itemize
11576 スライドタイトル(小)(ShortFoilhead)
11579 \begin_layout Itemize
11582 横置きスライドタイトル(小)(ShortRotatefoilhead)
11585 \begin_layout Standard
11589 \begin_layout Standard
11590 スライドは、アイデアを説明したり、新しい定理を説明したりするのにしばしば使われるので、
11594 \SpecialCharNoPassThru TeX
11595 はそれらを説明するのに便利な環境を幅広く用意しています。
11598 \begin_layout Standard
11601 \begin_inset Flex Multiple Columns
11604 \begin_layout Itemize
11610 \begin_layout Itemize
11616 \begin_layout Itemize
11622 \begin_layout Itemize
11628 \begin_layout Itemize
11634 \begin_layout Itemize
11640 \begin_layout Itemize
11646 \begin_layout Itemize
11652 \begin_layout Itemize
11658 \begin_layout Itemize
11664 \begin_layout Itemize
11675 \begin_layout Standard
11676 星付き版は連番が振られず、星なし版は連番が振られます。他に、\SpecialCharNoPassThru LyX
11677 で追加された以下の2つの箇条書き環境があります。
11680 \begin_layout Itemize
11686 \begin_layout Itemize
11692 \begin_layout Standard
11693 Foil\SpecialCharNoPassThru TeX
11694 には、強力なヘッダ機能とフッタ機能があり、これらはプリアンブルで設定するのが最良ですが、文章中のどこでも設定することができます。もし文書中でこれら
11695 の設定を変更したい場合には、スライドの一番上、foilheadの直後で行うのが良いでしょう。
11698 \begin_layout Standard
11699 この目的のためには、以下のコマンドスタイルがあります(
11704 \begin_layout Standard
11705 \begin_inset Flex Multiple Columns
11708 \begin_layout Itemize
11714 \begin_layout Itemize
11720 \begin_layout Itemize
11726 \begin_layout Itemize
11732 \begin_layout Itemize
11737 \begin_inset Separator parbreak
11743 \begin_layout Plain Layout
11744 \begin_inset space ~
11756 \begin_layout Standard
11757 Foil\SpecialCharNoPassThru TeX
11758 が提供しているコマンドで、\SpecialCharNoPassThru LyX
11759 が直接サポートしていないコマンドもありますが、これらの説明と使い方については、第
11760 \begin_inset CommandInset ref
11762 reference "sec:unsuppfoils"
11769 \begin_layout Subsection
11773 \begin_layout Standard
11774 この節は、様々な環境を使ってスライドの組を作る方法を簡単に紹介します。スライド組の例をご覧になりたい場合は、\SpecialCharNoPassThru LyX
11786 \begin_layout Subsubsection
11790 \begin_layout Standard
11811 は独立したページにタイトルを作成します。
11815 環境を使用しなかった場合には、\SpecialCharNoPassThru LaTeX
11816 は(出力を生成し直したときにはいつも)その時点の日付を挿入します。
11819 \begin_layout Subsubsection
11823 \begin_layout Standard
11824 前述のように、新しいスライドを開始するには、4つの方法があります。縦向きのスライドを開始するには、
11830 スライドタイトル(小)(ShortFoilhead)
11832 を使用します。両環境の違いは、スライドタイトル(foilhead)とスライド本文の間の余白の違いです。
11835 \begin_layout Standard
11838 横向きスライドタイトル(Rotatefoilhead)
11842 ShortRotatefoilhead)
11844 環境を使用して生成します。ここでも両環境の違いは、タイトルと本文の間の余白のみです。どちらの場合も、(小)と記された版は、タイトルと本文の間の余白が、0.5インチ
11848 \begin_layout Standard
11849 横向きのスライドをサポートする際、一つ問題となるのは、スライドを回転させようと思うと、PostScript出力を生成するのに
11853 ドライバを使用することを要求してしまうことです。もしスライドをプリンタに横に給紙することができれば、
11857 ドライバを持っていなくても、横向きのスライドをつくることができます ;-)
11860 \begin_layout Subsubsection
11864 \begin_layout Standard
11865 \SpecialCharNoPassThru LyX
11866 中の小さなバグによって、これらの環境の同じ型をお互いに直接続けて置くことはできません。これらは何かによって分離されなくてはなりません。仮に二つ続けて置いて
11867 も、2つの環境をマージしたかのように、前の環境が延長されるだけです。この問題を回避するにはどうすればよいのでしょうか。最も簡単な方法は、二つの環境の間に何か文章
11872 」だけから成る\SpecialCharNoPassThru LaTeX
11873 環境を置くことです。これによって、\SpecialCharNoPassThru LyX
11874 は2つの別々の環境を生成するように強制され、正しい\SpecialCharNoPassThru LaTeX
11875 出力を得ることができます。\SpecialCharNoPassThru LyX
11877 版に含まれる用例ファイルに例があります。この問題は、二つの同じ定理型環境を立て続けに置こうとした場合にのみ発生することに注意してください。
11880 \begin_layout Subsubsection
11884 \begin_layout Standard
11885 他のクラスでも共通にサポートされている箇条書き様式すべてに加えて、二つの新しい様式を使用することができます。ここでは、その新しい様式のみを説明することにします。
11886 他の箇条書き環境について詳しく知りたい場合には、
11890 をご覧ください。記号による箇条書きを使用したい場合には、上記第
11891 \begin_inset CommandInset ref
11893 reference "sec:ブリット"
11901 の節も、読まれることが望ましいでしょう。
11904 \begin_layout Standard
11914 \begin_inset Formula $\times$
11917 印を箇条書きのラベルに使用する専用の環境を提供することで、予定一覧や正誤一覧を作りやすくするように設計されたものです。これらの箇条書きは、
11921 の派生型を専用に用意したものに過ぎません。ただし、これらは、
11925 パッケージが導入済であることを要求します。
11928 \begin_layout Subsubsection
11932 \begin_layout Standard
11933 Foil\SpecialCharNoPassThru TeX
11934 では、図表フロートは、本文中の挿入箇所にこれらが正確に表示されるように再定義されており、ページの上部やユーザー指定場所に押しのけたりはしないように
11935 なっています。たとえフロート配置の設定に変更を加えたとしても、単に無視されます。
11938 \begin_layout Subsubsection
11940 \begin_inset CommandInset label
11942 name "sec:foilfoot"
11949 \begin_layout Standard
11958 の二つは、左フッタ文を制御するものです。前者は、グラフィックスのロゴをスライドに入れるためのもので、既定値は「-Typeset by
11962 \SpecialCharNoPassThru TeX
11963 -」となっています。後者は、「機密事項」などのように、聴衆に秘密区分を提示することを意図しています。既定値では、何も設定されていません。
11966 \begin_layout Standard
11979 (左上)を使って文字を入れることができます。
11982 \begin_layout Subsection
11987 \SpecialCharNoPassThru TeX
11989 \begin_inset CommandInset label
11991 name "sec:unsuppfoils"
11998 \begin_layout Standard
12001 \SpecialCharNoPassThru LaTeX
12005 \SpecialCharNoPassThru TeX
12011 \begin_layout Subsubsection
12015 \begin_layout Standard
12038 は、変更したい長さに付けられている名前で置き換え、
12042 は、その長さの値で置き換えます。長さはすべて、インチ(in)・ミリメートル(mm)・ポイント(pt)のような長さ単位か、
12048 のように文書比あるいはフォント基準の長さで指定する必要があります。
12051 \begin_layout Standard
12058 で指定される長さを調節することによって、スライドタイトルとスライド本文の間の余白を変更することができます。たとえば、スライドタイトルをすべて0.5
12059 \begin_inset space \space{}
12062 inだけスライド本文に近づけるには、プリアンブルに
12068 foilheadskip}{-0.5in}
12073 \begin_layout Standard
12074 フロート周囲の余白は、以下の長さを設定することで調整することができます。
12077 \begin_layout Labeling
12078 \labelwidthstring MMMMMMMMMMM
12088 \begin_layout Labeling
12089 \labelwidthstring MMMMMMMMMMM
12099 \begin_layout Labeling
12100 \labelwidthstring MMMMMMMMMMM
12110 \begin_layout Labeling
12111 \labelwidthstring MMMMMMMMMMM
12118 この長さを調整することでキャプションを、周囲の本文より短くすることができます。
12124 に対する相対的な長さで調整するのが最も良いでしょう。
12127 \begin_layout Standard
12128 以下のようなタイトルページ関連の長さもあり、タイトルが長い場合や、著者が複数いる場合に使うと便利かもしれません。
12131 \begin_layout Labeling
12132 \labelwidthstring MMMMMMMMMMM
12142 \begin_layout Labeling
12143 \labelwidthstring MMMMMMMMMMM
12161 \begin_layout Labeling
12162 \labelwidthstring MMMMMMMMMMM
12176 \begin_layout Labeling
12177 \labelwidthstring MMMMMMMMMMM
12195 \begin_layout Labeling
12196 \labelwidthstring MMMMMMMMMMM
12214 \begin_layout Standard
12215 最後に紹介する長さ関連コマンドは、箇条書き環境すべてに使用できるものです。
12221 を箇条書き環境の内側に置くと、項目間の垂直余白がすべて取り除かれます。これは長さではなくコマンドなので、上述のもののように
12227 を使う必要がないことに注意してください。
12230 \begin_layout Subsubsection
12234 \begin_layout Standard
12251 で定義したロゴを特定のページに入れるかどうかを制御します。
12257 をプリアンブルに入れると、全スライドからロゴが取り除かれます。特定のスライドにのみロゴを付けたくない場合は、当該ページのスライドタイトルの直後に直接
12263 を置き、次のスライドタイトルの直後に直接
12272 \begin_layout Standard
12281 ページ様式を使用することを選択した場合には、横置きページのヘッダとフッタが回転後も正しく配置されるように、プリアンブルに
12295 パッケージが提供するページレイアウトと
12299 クラスの提供するページレイアウトの間に衝突が発生するためです。
12302 \begin_layout Section
12303 Hollywood(Hollywoodスペック・スクリプト)
12306 \begin_layout Standard
12314 \begin_layout Subsection
12318 \begin_layout Standard
12319 脚本を正しい書式で書くことは、ハリウッドにおける「通過儀礼」です。ハリウッドの脚本は、読み手が内容に集中できるようにし、俳優にとっても読みやすくかつ親しみやすい
12320 ように設計されています。脚本の1ページは、映画の1分でなければならず、銀幕上で見えたり聞こえたりしないものは、脚本に混入してはなりません。また、全体を通してCo
12322 \begin_inset space \space{}
12325 ptフォントを使わなければならず、イタリック体は用いてはいけません。
12328 \begin_layout Subsection
12332 \begin_layout Standard
12337 あってはなりません。もし話者行の塊が、次頁にまたがる場合には、
12341 名を再度書き、その後に(Cont'd)と加えます。
12344 \begin_layout Subsection
12348 \begin_layout Standard
12353 名はラベルとして挿入し、話者名を挿入するには、そのラベルを相互参照してください。相互参照ダイアログは、登場人物の現在の配役を表示することになります。これは、ト書
12354 きに話者名を挿入するのにも使用することができます。
12357 \begin_layout Subsection
12361 \begin_layout Standard
12362 USレター寸法で、左余白1.6インチ・右余白0.75インチ・上余白0.5インチ・下余白0.75インチです。
12365 \begin_layout Subsection
12369 \begin_layout Standard
12370 以下の環境が利用可能です。右に示されている
12371 \begin_inset Flex Ruby
12374 \begin_layout Plain Layout
12376 \begin_inset Argument post:1
12379 \begin_layout Plain Layout
12390 割当てを使用するには、hollywood.bindを使用してください。
12393 \begin_layout Itemize
12397 \begin_inset Newline newline
12402 他の環境が動作しない場合に使用しますが、これを使うことは避けるようにしてください。
12405 \begin_layout Itemize
12407 \begin_inset space \hfill{}
12415 \begin_inset Newline newline
12418 通常、この後には「Sallyは目を覚ますと」のように続きます。
12421 \begin_layout Itemize
12425 \begin_inset space \hfill{}
12429 \begin_inset Newline newline
12434 新しい屋内(INTERIOR)カメラの設定を指定します。この後には、かならずDAYやNIGHTなどを指定して、必要な照明を定義します。この行はすべて大文字で書き
12438 \begin_layout Itemize
12442 \begin_inset space \hfill{}
12446 \begin_inset Newline newline
12451 屋外(EXTERIOR)カメラの設定を指定します。この行はすべて大文字で書きます。
12454 \begin_layout Itemize
12458 \begin_inset space \hfill{}
12462 \begin_inset Newline newline
12470 \begin_layout Itemize
12474 \begin_inset space \hfill{}
12478 \begin_inset Newline newline
12483 への指示。自動的に括弧()が挿入されますが、\SpecialCharNoPassThru LyX
12484 上で表示されるのは、左括弧( のみです。印刷出力には右括弧も表示されます。
12487 \begin_layout Itemize
12491 \begin_inset space \hfill{}
12495 \begin_inset Newline newline
12503 \begin_layout Itemize
12507 \begin_inset space \hfill{}
12511 \begin_inset Newline newline
12516 カメラの動きの指示。例:CUT TO:。
12519 \begin_layout Itemize
12523 \begin_inset space \hfill{}
12529 \begin_layout Itemize
12533 \begin_inset space \hfill{}
12539 \begin_layout Itemize
12543 \begin_inset space \hfill{}
12549 \begin_layout Itemize
12553 \begin_inset space \hfill{}
12559 \begin_layout Subsection
12563 \begin_layout Itemize
12567 \begin_layout Itemize
12571 \begin_layout Itemize
12576 \begin_layout Itemize
12581 \begin_layout Itemize
12582 PAN — camera movement
12585 \begin_layout Itemize
12586 INSERT — cut to close-up of
12589 \begin_layout Section
12593 \begin_layout Standard
12596 Panayotis Papasotiriou
12601 \begin_layout Subsection
12605 \begin_layout Standard
12608 International Journal of Modern Physics C
12610 への電子投稿を可能にするためのマクロ集です。同様に、ijpmdパッケージは、
12612 International Journal of Modern Physics D
12614 へ投稿する現行を作成するためのものです。両誌ともWorld Scientific社の刊行です。対応する文書クラス名は、それぞれ
12622 です。これらのファイルは、著者のための指針とともに、
12623 \begin_inset Flex URL
12626 \begin_layout Plain Layout
12628 http://www.worldscinet.com/ijmpc/mkt/guidelines.shtml
12634 \begin_inset Flex URL
12637 \begin_layout Plain Layout
12639 http://www.worldscinet.com/ijmpd/mkt/guidelines.shtml
12644 の各サイトからダウンロードすることができます。両パッケージは、標準「article」パッケージの修正版であり、両者は(一部を除き)ほぼ同一です。\SpecialCharNoPassThru LyX
12646 のパッケージのほとんどの機能をサポートしています。私は両誌へ投稿する論文を\SpecialCharNoPassThru LyX
12647 で書き上げましたが、何らの問題も生じませんでした。
12650 \begin_layout Subsection
12654 \begin_layout Standard
12655 通常と同じく、論文を書く上で最も易しい方法は、ひな型を使って書き始めることです。
12657 ファイル\SpecialChar menuseparator
12668 を選択してください。すると、原稿で良く使用されるフィールドを含んだ、ほぼ空の文書ができますので、既存のフィールド(鍵括弧
12672 を含む)を正しい情報で置き換えてください。以下の各点にご留意ください。
12675 \begin_layout Enumerate
12676 両パッケージでは、フォント寸法や文書のページ様式を変更することが禁じられているので、\SpecialCharNoPassThru LyX
12677 中でこれらを変更することはできません。
12680 \begin_layout Enumerate
12681 文書言語は変更してはいけません。論文をプレビューする前に、babelパッケージが使用されていないことを確認してください。これは、
12683 ツール\SpecialChar menuseparator
12698 をクリックすれば、設定することができます(この変更を固定するなら
12705 \begin_layout Enumerate
12706 キーワードを定義するに際しては、「キーワード」様式を用いなくてはなりません。
12709 \begin_layout Enumerate
12710 ijmpcパッケージが提供する「分類コード」様式は、PACS番号のような分類コードを定義するのに使用することができます。この機能は、ijmpdパッケージではサポ
12711 ートされていませんので、ご注意ください。
12714 \begin_layout Enumerate
12715 「定義」「ステップ」「例」「注記」「記法」「定理」「証明」「系」「補題」「命題」「命題(Prop)」「問題」「主張」「予想」といった新しい環境を使用することがで
12716 きます。これらの使い方は、大凡自明でしょう。\SpecialCharNoPassThru LyX
12717 は、これらの環境をすべてサポートし、それぞれについて、適切なラベルと文字様式および連番スキームを使用します。
12720 \begin_layout Enumerate
12721 両パッケージは、単純な引用を使用しますので、natbibパッケージは使用してはなりません。\SpecialCharNoPassThru LyX
12722 中では、引用参照は通常通り表示されますが、出力では上付き文字とし
12723 て表示されます。引用に通常の本文を使用したい場合には、「See Ref.
12724 \begin_inset space \space{}
12734 \begin_inset Flex Ruby
12737 \begin_layout Plain Layout
12743 \begin_inset Argument post:1
12746 \begin_layout Plain Layout
12768 \begin_layout Enumerate
12769 両パッケージには、「謝辞」環境がありません。謝辞を置くには、「節*」環境を使用してください。
12772 \begin_layout Enumerate
12781 であれば、入れることができます。\SpecialCharNoPassThru LyX
12782 上では、「付録領域」という特別な環境があり、これを使って付録の開始位置を指定することができます。この環境は空のままにしてお
12783 かなくてはなりません。この環境は、\SpecialCharNoPassThru LaTeX
12784 コマンドを書き出すだけで、実際に出力は行いません。\SpecialCharNoPassThru LyX
12785 上では、青字で「Appendix」という単語が表示され、この
12786 箇所より後の節はすべて付録であることを明示します。「付録領域」は、最初の付録の前に
12790 ことに注意してください。さもなくば、出力中において、付録はすべて通常の節として連番が振られてしまいます。
12793 \begin_layout Enumerate
12794 ijmpcおよびijmpdパッケージは、表キャプションを実装するのに
12798 コマンドを使用します。そのため、\SpecialCharNoPassThru LyX
12799 が作成した表は正しく印字されますが、そのキャプションは無視されます。しかし、\SpecialCharNoPassThru TeX
12800 コードを少し使えば、この問題を回避して、
12801 キャプションを望み通り印字することができるようになります。そうするには、表フロートを通常通り作成して、キャプションを削除し、代わりに\SpecialCharNoPassThru TeX
12808 (ママ)と入れます。そこに表の内容を入れて、直後を\SpecialCharNoPassThru TeX
12813 で閉じてください。このからくりがどのように実装されているかを見るには、ひな型ファイルに入っている表の例を精査してみてください。別の方法としては、表キャプションが
12818 ファイルに収め、このファイルを\SpecialCharNoPassThru LyX
12821 挿入\SpecialChar menuseparator
12822 ファイル\SpecialChar menuseparator
12825 )。表フロートの作り方についての詳細は、各パッケージに含まれている
12836 \begin_layout Subsection
12840 \begin_layout Standard
12841 論文を投稿する前には、\SpecialCharNoPassThru LyX
12842 文書を\SpecialCharNoPassThru LaTeX
12845 ファイル\SpecialChar menuseparator
12846 書き出し\SpecialChar menuseparator
12847 \SpecialCharNoPassThru LaTeX
12853 \begin_layout Plain Layout
12854 実は、\SpecialCharNoPassThru LaTeX
12855 (plain)とpdflatexとの間で選択ができます。論文を準備するのにpdflatexを使用しようとするのであれば、取り込んである画像がP
12856 DF形式に変換され、pdflatexで使用できるように、pdflatexオプションを指定しなくてはなりません。
12865 ファイルに以下の変更を加える必要があります。
12868 \begin_layout Enumerate
12875 コマンドより前にあるコメント行を削除する。
12878 \begin_layout Enumerate
12879 自身で明示的に\SpecialCharNoPassThru LaTeX
12892 コマンドの間にあるものをすべて削除する。
12895 \begin_layout Standard
12900 ファイルを保存し、必要な回数\SpecialCharNoPassThru LaTeX
12901 で処理してください。それによって得られた
12905 文書も確認された方がよろしいでしょう。
12908 \begin_layout Subsection
12909 \SpecialCharNoPassThru TeX
12913 \begin_layout Standard
12914 \SpecialCharNoPassThru TeX
12915 コードを使用するのは、2つのコマンドに限られ、これらは文書の最初に置かれなくてはなりません。論文をひな型
12923 を使用して書き始めた場合には、これら必要な\SpecialCharNoPassThru TeX
12924 コードは、すでに書き込まれています。通常、これらを削除する必要はありません。2つのうち1番めの\SpecialCharNoPassThru TeX
12926 、奇数ページおよび偶数ページの上部に印字する情報(それぞれ著者名と論文の短縮タイトル)を指定するために、修正する必要があります。この\SpecialCharNoPassThru TeX
12931 markboth{著者名}{論文の短縮タイトル}
12936 \begin_layout Section
12940 \begin_layout Standard
12948 \begin_layout Subsection
12952 \begin_layout Standard
12953 iopartパッケージは、Institute of Physics(イギリス物理学会)発行の学術誌へ電子的に投稿する原稿を作成するための文書クラスを提供していま
12954 す。iopartクラスを使用した論文作成方法の著者用説明書は、ウェブサイト
12955 \begin_inset Flex URL
12958 \begin_layout Plain Layout
12960 ftp://ftp.iop.org/pub/journals/latex2e
12965 からiopartパッケージとともにダウンロード可能です。
12968 \begin_layout Subsection
12972 \begin_layout Standard
12973 論文を書くもっとも簡単な方法は、\SpecialCharNoPassThru LyX
12978 を土台にすることです。このファイルを開き、新しい名前で保存して、書き始めてください。この用例ファイルは、特定の環境の使用法についても説明しています。もっとも重要
12979 な助言として、以下の点にご注意ください。
12982 \begin_layout Itemize
12983 文書がPDF・PS・DVIにコンパイルできるようにするためには、文書設定の
12991 関連オプションが有効になっていないことを確認してください!
12994 \begin_layout Itemize
12995 タイトル環境の選択如何によって、論文の種類が定義されます。種類毎に以下の環境をタイトルに使用してください。
12996 \begin_inset Separator parbreak
13002 \begin_layout Itemize
13008 \begin_layout Itemize
13014 \begin_layout Itemize
13020 \begin_layout Itemize
13026 \begin_layout Itemize
13032 \begin_layout Itemize
13040 \begin_layout Itemize
13041 Preliminary communication用には
13046 \begin_layout Itemize
13047 Rapid communication用には
13052 \begin_layout Itemize
13059 \begin_layout Itemize
13064 以外のタイトル環境には、すべて短縮タイトルをつけることもできます。
13067 \begin_layout Itemize
13068 \SpecialCharNoPassThru LyX
13069 では直接にサポートされていませんが、一般的なタイトル環境として
13073 があります。執筆する文書が、他のタイトル型にそぐわない場合には、\SpecialCharNoPassThru TeX
13074 コードでこれを指定することができます。
13077 \begin_layout Standard
13078 特別な表や数式組版に関するヒントなど、詳しい情報については、IOP著者用ガイドラインを参照してください。
13081 \begin_layout Section
13085 \begin_layout Standard
13088 Panayotis Papasotiriou
13093 \begin_layout Subsection
13097 \begin_layout Standard
13098 Kluwerパッケージは、Kluwer Academic Publishers社が発行する学術誌への電子投稿を可能にするために、同社が作成したマクロ集です。同社
13099 の発行誌のうち、(少なくとも私の専門内で)もっともよく知られているものは、
13101 Astrophysics and Space Science
13107 (『太陽系物理学』)ですが、他にも多くの学術誌があります(
13108 \begin_inset Flex URL
13111 \begin_layout Plain Layout
13113 http://www.wkap.nl/jrnllist.htm/JRNLHOME
13118 に全覧があります)。Kluwerパッケージは、
13119 \begin_inset Flex URL
13122 \begin_layout Plain Layout
13124 http://www.wkap.nl/kaphtml.htm/STYLEFILES
13129 からダウンロードできます。完全なユーザーの手引きも同パッケージ内に収録されています(個別にダウンロードすることも可能です)。
13132 \begin_layout Standard
13133 \SpecialCharNoPassThru LyX
13134 は、このパッケージの機能の多くをサポートしていますが、すべてではありません。しかし、\SpecialCharNoPassThru TeX
13135 コードを必要とするのは、パッケージ中のいくつかの「変わった」コマ
13137 \begin_inset CommandInset ref
13139 reference "subsec:kluwer_peculiarities"
13143 参照)。最近、私は\SpecialCharNoPassThru LyX
13146 Astrophysics and Space Science
13148 に投稿しましたが、何らの問題も発生しませんでした。
13151 \begin_layout Subsection
13155 \begin_layout Standard
13156 論文を書き始めるには、ひな型ファイルKluwerを使うのが最も簡単です。
13158 ファイル\SpecialChar menuseparator
13165 を選択してください。これは、原稿に通常必要となる各フィールドと、それらの使用法が短く書かれただけの、(ほとんど)何も書かれていない文書です。他のテンプレートと同
13170 を含む)正しい情報で上書きしてください。
13173 \begin_layout Subsection
13177 \begin_layout Standard
13178 AAS\SpecialCharNoPassThru TeX
13179 パッケージと同様、論文を投稿する前に、以下のような「後処理」を行う必要があります。
13182 \begin_layout Enumerate
13185 ファイル\SpecialChar menuseparator
13186 書き出し\SpecialChar menuseparator
13189 をクリックして、論文を\SpecialCharNoPassThru LaTeX
13193 \begin_layout Enumerate
13198 ファイルに、テキストエディタを使用して、以下のような変更を加える。
13200 \begin_inset Separator parbreak
13206 \begin_layout Enumerate
13213 コマンドより前にあるコメント行を削除する。
13216 \begin_layout Enumerate
13217 意図的に\SpecialCharNoPassThru LaTeX
13230 の間にあるものを、これらのコマンドも含め、すべて削除する。
13233 \begin_layout Standard
13242 \begin_layout Enumerate
13247 ファイルを必要な回数(通常3回以内)だけ\SpecialCharNoPassThru LaTeX
13251 \begin_layout Enumerate
13260 などを使って開き、問題がないか確認する(間違いをしていない限り問題ないはずです)。
13263 \begin_layout Subsection
13264 Kluwerパッケージの「風変わり」な特徴
13265 \begin_inset CommandInset label
13267 name "subsec:kluwer_peculiarities"
13274 \begin_layout Standard
13275 Kluwerパッケージには、以下のような「風変わりな」特徴があります。
13278 \begin_layout Enumerate
13279 複数の論文を1つの\SpecialCharNoPassThru LaTeX
13284 \begin_layout Plain Layout
13285 わざわざこんなことをする必要はないでしょう。
13290 。各論文は、「article」環境で囲まなくてはなりません。残念ながら、1つの論文だけを書く場合でも、この環境を省略することはできません。つまり、各論文は
13302 で終わります。この環境を\SpecialCharNoPassThru LyX
13303 に実装することも可能でしたが、醜い上に初心者を混乱させる可能性があるので、実装することはしませんでした。したがって、これらの命令(
13315 )は、直接本文中に入力して、\SpecialCharNoPassThru LaTeX
13316 コード(「\SpecialCharNoPassThru TeX
13317 コード」のことです)としてマークする必要があります。
13320 \begin_layout Enumerate
13321 論文の冒頭に置く情報(タイトル・サブタイトル・著者名・所属・ヘッダ用タイトル・ヘッダ用著者名・概要・キーワード)は、「opening」とよばれる環境に入れなくて
13322 はなりません。これは\SpecialCharNoPassThru LyX
13323 では実装されていませんので、タイトルやサブタイトルなどは、2つの\SpecialCharNoPassThru TeX
13339 \begin_layout Enumerate
13340 ユーザーの手引きによれば、書誌情報の各項目のラベルは、
13343 \begin_inset Newline newline
13367 \begin_layout Standard
13372 は、これらの風変わりな点がすべて考慮されています。このひな型を使用して、論文を新たに書きはじめる場合には、特別なことを行う必要はありません。以下の点にのみ留意し
13376 \begin_layout Enumerate
13377 ひな型にある\SpecialCharNoPassThru TeX
13381 \begin_layout Enumerate
13382 新しい書誌情報項目を入力する場合には、ひな型に例示されている書誌情報項目をコピーして、必要に応じて修正してください。
13385 \begin_layout Section
13389 \begin_layout Standard
13397 \begin_layout Subsection
13401 \begin_layout Standard
13402 \SpecialCharNoPassThru LyX
13405 article (koma-script)
13409 report (koma-script)
13427 は、それぞれKoma-Scriptファミリーの\SpecialCharNoPassThru LaTeX
13444 に対応しています。これらは、標準文書クラス
13460 の代替物であり、これらよりも多くの点でヨーロッパに於ける活版印刷の慣例に合致します。
13463 \begin_layout Itemize
13466 article (koma-script)
13470 report (koma-script)
13478 letter (koma-script)
13483 \begin_layout Itemize
13484 見出しや箇条書き(記述)環境のラベル、および
13486 letter (koma-script)
13488 文書クラスの要素の多くでは、ボールド体サンセリフフォントが使われます
13492 \begin_layout Plain Layout
13493 ボールド体サンセリフフォントには、古いcmフォントと新しいecフォントの間に大きな違いがあり、特に見出しの表示の違いが際立ちます。比較すると、ecボールドサンセ
13494 リフフォントの方が、少し細く見えます。ecフォントを使用する際に「通常の」外観が欲しい場合には、
13498 作の\SpecialCharNoPassThru LaTeX
13508 。章見出しの連番は、節見出しの連番と同様に行われ、別行立てで「 Chapter\SpecialChar ldots
13509 」という行がつきません。さらに、多くのオプションによって、見出しの外観を修正するこ
13510 とができます(\SpecialCharNoPassThru LyX
13513 文書\SpecialChar menuseparator
13520 フィールドで指定します)。これらのオプションの独語での詳細な説明が、Koma-Scriptの取扱説明書
13527 \begin_layout Itemize
13528 Koma-Script文書クラスで、印字部分をデザインする主な方法は、
13536 オプションを使う方法です(\SpecialCharNoPassThru LyX
13539 文書\SpecialChar menuseparator
13546 フィールドで指定します)。これらのオプションは
13548 文書\SpecialChar menuseparator
13551 ダイアログのオプションと同様に、ページ余白を明示的に変更することができます。これらとその他印字領域オプションのドイツ語での詳細な説明が、Koma-Script取
13559 \begin_layout Itemize
13560 Koma-Scriptファミリーの\SpecialCharNoPassThru LaTeX
13561 文書クラスには、多くの追加コマンドが定義されています。それらのうち、\SpecialCharNoPassThru LyX
13562 で意味を持つものは、対応する段落環境として
13566 \begin_layout Standard
13567 Koma-Scriptファミリーの\SpecialCharNoPassThru LaTeX
13568 文書クラスに関する独語の詳細な説明が、Koma-Script取扱説明書
13576 \begin_layout Plain Layout
13586 。以下の各節では、\SpecialCharNoPassThru LyX
13590 \begin_layout Subsection
13591 article (koma-script)・report (koma-script)・book (koma-script)
13594 \begin_layout Standard
13597 article (koma-script)
13601 report (koma-script)
13623 によって実装されています。これらは、対応する標準文書クラス
13635 の段落環境を、若干の修正を加えた上ですべて含んでいますが、\SpecialCharNoPassThru LyX
13640 環境は例外であり、同じ機能を持つ新しい
13648 環境以外にも、新しい段落環境が多く追加されています。これらは、
13650 letter (koma-script)
13652 には含まれていないのでご注意ください。
13655 \begin_layout Itemize
13680 と同等の働きをしますが、加えて目次に項目が表示されるようになります。
13690 article (koma-script)
13695 \begin_layout Itemize
13712 とまったく同等に動作しますが、加えてランニングへッダを取り除きます。
13718 article (koma-script)
13724 \begin_layout Plain Layout
13731 report (koma-script)
13743 と同一なので、\SpecialCharNoPassThru LyX
13752 \begin_layout Itemize
13757 :これは文書構造に現れない形で、続く段落の直上に標準文字寸法の見出しを付けます。
13760 \begin_layout Itemize
13769 は、ある要素の上部ないし下部にキャプションを配置する際、位置に応じて正しく余白取りを行う特別なキャプションです(組版規則に厳密に従うならば、表キャプションは、つ
13770 ねに表の上に置くべきでしょう)。また、クラスオプション
13774 を用いれば、キャプションを指定すると、表には
13782 が適用されるようになります。これを使用するためには、Koma-Script第2.8q版以上が必要です。
13785 \begin_layout Itemize
13790 :これは、章頭などに警句を置くのに用いることができます。オプション引数(
13792 挿入\SpecialChar menuseparator
13795 )を用いれば、格言の作者を入れることができます。格言と作者の間は、線で区切られます。これを使用するためには、Koma-Script第2.8q版以上が必要です。
13801 article (koma-script)
13806 \begin_layout Standard
13819 とともに文書のタイトル領域を形成します。これらは、最初の「通常の」段落よりも前に置かれる必要があります
13823 \begin_layout Plain Layout
13824 つまり、対応する\SpecialCharNoPassThru LaTeX
13831 コマンドよりも前に現れなくてはなりません。
13836 。これらの環境が2度以上使用された場合には、後に使用されたものが前のものを上書きします。つまり最後に使用したもののみが有効になります。しかしながら、
13848 のような異なる環境の順序を変更しても、生成された文書には何の効果も生じません。
13851 \begin_layout Itemize
13868 )の上に、文書の主題用の中央揃えの段落を生成します。
13871 \begin_layout Itemize
13888 )の下に、出版社名用の中央揃えの段落を生成します。
13891 \begin_layout Itemize
13898 report (koma-script)
13904 では、タイトル頁の次に、献辞用の中央揃えの段落を独立した頁として生成します。
13906 article (koma-script)
13920 )の下に献辞用の中央揃えの段落を生成します。
13923 \begin_layout Itemize
13940 )の上に、文書頭書き用の左揃えの段落を生成します。
13943 \begin_layout Itemize
13950 report (koma-script)
13956 の両面印刷において、扉裏上部に左揃え段落を生成します。片面印刷や、
13958 article (koma-script)
13963 \begin_layout Itemize
13970 report (koma-script)
13976 の両面印刷において、扉裏下部に左揃え段落を生成します。片面印刷や、
13978 article (koma-script)
13983 \begin_layout Itemize
13988 :実際の文書の前に、整形を行わない段落から成る、特殊な「汚い」ページを生成します。
13991 \begin_layout Standard
13994 article (koma-script)
13998 report (koma-script)
14008 ファイルを読み込みます。このファイルは、ユーザ環境を定義する場所として想定されています。s
14012 を、個人用レイアウトディレクトリにコピーして編集してください!
14015 \begin_layout Subsection
14016 letter (koma-script)
14019 \begin_layout Standard
14023 letter (koma-script)
14029 で実装されています。このレイアウトファイルには、対応する標準文書クラス
14033 の全段落環境が、部分的に変更を加えた形で収録されていますが、\SpecialCharNoPassThru LyX
14036 \SpecialCharNoPassThru LyX
14051 環境に置き換えられています。それ以外にも、標準文書クラスとは異なり、標準環境の
14053 \SpecialCharNoPassThru LaTeX
14067 が収録されています。さらに、新しいletter固有環境がたくさん追加されています。
14070 \begin_layout Standard
14071 この文書クラスで作成した書簡の外観は、様々な\SpecialCharNoPassThru LaTeX
14072 コマンドを\SpecialCharNoPassThru LaTeX
14073 プリアンブルに置くことで制御することができます
14077 \begin_layout Plain Layout
14078 例えば、名前と住所の入った書簡ヘッダの標準的外観は、きわめて頑固です。「普通の」へッダは、プリアンブル中に以下のようなコマンドを入れることで生成することができま
14082 \begin_layout LyX-Code
14092 \begin_layout LyX-Code
14108 \begin_layout LyX-Code
14118 \begin_layout LyX-Code
14134 \begin_layout LyX-Code
14142 。これらの\SpecialCharNoPassThru LaTeX
14143 コマンドのドイツ語での詳細な説明は、Koma-Scriptの取扱説明書
14147 にあります。この方法で、書簡の著者は、個人用書簡レイアウトを作ることができます。
14150 \begin_layout Standard
14159 環境は、書簡の冒頭部を定義するもので、すべての書簡で使用しなくてはなりません。\SpecialCharNoPassThru LyX
14160 文書クラスでは、これらの環境を強調するために、左余白にそれぞれ
14168 という文字が表示されます。同一ファイル中には、複数の書簡を書くことができます。
14172 環境は、同じ受取人への書簡を新しく書き出すものであり、
14176 環境は、新しい受取人を生成するものです。
14192 は、通常の段落環境なので、同一の書簡中でも何度も使用することができます。
14195 \begin_layout Itemize
14200 :受取人のための段落をつくり、暗黙に書簡の開始を定義します。
14203 \begin_layout Itemize
14208 :敬称のための段落をつくり、暗黙に新しい書簡を開始します。
14211 \begin_layout Itemize
14219 \begin_layout Itemize
14227 \begin_layout Itemize
14235 \begin_layout Itemize
14243 \begin_layout Standard
14284 は、情報入力を促すラベルの付いた入力環境で、文書クラスが適切な処理を行います
14288 \begin_layout Plain Layout
14297 が、これらのような入力環境でないのは、矛盾しているように感じられるかもしれません。しかしながら、これら2つの環境は特別の意味を持っているために、これらは左余白に
14298 一文字をマークした通常の段落環境として実装しました。さらに、
14306 環境が著しく異なって見えると対称性が損なわれることになるのも理由の一つです。
14318 \begin_layout Standard
14319 生成された書簡の実際の外観は、特定の環境の使い方だけではなく、他の要素にも依存するため、これらの環境をWYSIWYGとして実装することには、あまり意味がありませ
14324 環境で入力した署名は、標準的な挙動では、同じ書簡に
14328 環境も使用されているときのみ、書簡の出力に現れます。
14332 環境に入力された値は、標準的な挙動では、書簡の出力には全く表示されません。書簡のヘッダを自由にデザインできることは、前出の脚注で示してあります。
14335 \begin_layout Standard
14336 入力環境は、空の段落として使うことができます。これは、たとえば
14344 環境を全く使用しない場合は、標準的な挙動では、
14348 環境の値が署名として使用されますが、空の
14352 環境を作成しておくと、署名の値は無定義となりません。
14355 \begin_layout Standard
14356 入力環境を使用すると、個人データ(名前や住所など)が既に入力された入力環境と、後から入力するデータの入力環境を備えた、書簡のひな型を作成することができます。
14359 \begin_layout Itemize
14364 :送り主の名前。標準的な挙動では、書簡のヘッダ部にスモールキャップ体の中央揃えの段落として表示されます。
14367 \begin_layout Itemize
14387 \begin_layout Itemize
14392 :送り主の住所。標準的な挙動では、書簡ヘッダの送り主の名前の下に中央揃えの段落として表示されます。
14395 \begin_layout Itemize
14400 :送り主の電話番号。標準的な挙動では、\SpecialCharNoPassThru LaTeX
14410 \begin_layout Itemize
14418 \begin_layout Itemize
14431 は、標準的な挙動では、受取人フィールドの下に、単一の右揃え行として場所と日付を生成します。空の
14439 の値如何に関わらず、場所も日付も表示されません。
14443 環境を使用しない場合には、書簡を出力した日付が使用されます。
14446 \begin_layout Itemize
14451 :送り主の返送先住所。標準的な挙動では、受取人の上に小文字のサンセリフ体フォントで表示されます。
14454 \begin_layout Itemize
14459 :特別便の情報。標準的な挙動では、受取人フィールドの上かつ返送先住所の下に、下線付きで表示されます。
14462 \begin_layout Itemize
14467 :追加情報。標準的な挙動では、受取人フィールドの下の右側に表示されます。
14470 \begin_layout Itemize
14475 :書簡の題名。標準的な挙動では、主題の上に大きなボールド体サンセリフフォントで表示されます。
14478 \begin_layout Itemize
14490 \begin_layout Standard
14493 Yourref・Yourmail・Myref・顧客・インボイス
14499 行の上に「Your ref.」・「Your letter of」・「Our ref.」・「Customer no.」・「Invoice no.」・「Date」といったフ
14500 ィールド行を持つ、ビジネス書簡を作成します。日付フィールドには、
14504 環境の値が使用されます。しかしながら、これらの「ビジネス書簡環境」の一つを使用した場合には、
14508 の値は書簡には表示されなくなり、\SpecialCharNoPassThru LaTeX
14515 が設定させるだけになります。通常時に、受取人フィールドの下に右揃えで出力される場所と日付の出力は、抑制されます。これらのビジネス環境は、ラベル付きの入力環境とし
14523 \begin_layout Itemize
14531 \begin_layout Itemize
14539 \begin_layout Itemize
14547 \begin_layout Itemize
14555 \begin_layout Itemize
14563 \begin_layout Subsection
14564 新しいletterクラス:letter (koma-script v.2)
14567 \begin_layout Standard
14571 \begin_inset VSpace medskip
14577 \begin_layout Standard
14579 Koma-Script第2.8版では、新しいletterクラス
14587 は廃止されてサポート対象外となりました。これは—\SpecialCharNoPassThru LaTeX
14588 側で—全く新しいインターフェイスを持っており、旧クラスとは互換性がありません。したがって、\SpecialCharNoPassThru LyX
14590 をサポートしていますが、新しい方のクラスを使用することを推奨します。
14593 \begin_layout Standard
14596 letter (koma-script)
14598 と同一の機能に加えて、新しい機能をいくつかサポートしています。基本となる項目は、
14618 は別の書簡を新しく開始します(つまり一文書あたり複数の書簡を書くことができます)。新しく付け加えられた項目は、送り主の
14636 挿入\SpecialChar menuseparator
14643 を入れることができるようになった点です。
14646 \begin_layout Standard
14647 しかしながら、もっとも大きな改善は、書簡のレイアウトを、ほとんどどんなニーズにも合わせて設定できるようになった点でしょう。これはプリアンブルか、クラスオプション
14648 として読み込まれる特別なスタイルファイル(「レタークラスオプション」、拡張子
14656 \begin_layout Plain Layout
14661 ファイルがいくつか収録されています。たとえば、ドイツの組版規則に則った
14675 文書\SpecialChar menuseparator
14676 設定\SpecialChar menuseparator
14677 文書クラス\SpecialChar menuseparator
14684 を加えることで読み込むことができます。
14689 。用例としては、\SpecialCharNoPassThru LyX
14694 をご覧ください。詳細な解説は、Koma-Script取扱説明書(
14701 \begin_layout Subsection
14705 \begin_layout Standard
14706 Koma-Script文書クラスを\SpecialCharNoPassThru LyX
14707 上に表示する上で、\SpecialCharNoPassThru LyX
14711 \begin_layout Itemize
14716 環境の章番号は、章見出しと同じ行ではなく、その上に表示されます。これは、レイアウトファイル中の
14720 ラベル型に対する\SpecialCharNoPassThru LyX
14724 \begin_layout Itemize
14733 環境の見出しは、「本当の」\SpecialCharNoPassThru LaTeX
14734 の目次には追加されますが、\SpecialCharNoPassThru LyX
14742 \begin_layout Itemize
14747 文書クラスでの段落は、垂直スペースによる段落区切りで表示され、字下げはされません。これが標準的な挙動となっていて、特別な\SpecialCharNoPassThru LaTeX
14751 文書\SpecialChar menuseparator
14754 ダイアログでは、対応するラジオボタンは
14762 は、隙間を空けるために、文書に\SpecialCharNoPassThru LaTeX
14763 コマンドをつねに追加するようになっていますが、この文書クラスの場合には、そのような挙動が望まれないためです。
14766 \begin_layout Section
14770 \begin_layout Standard
14778 \begin_layout Subsection
14782 \begin_layout Standard
14783 Memoirは、非常に強力で、着実に改良が加えられている文書クラスであり、フィクションとノンフィクションの文学作品用に設計されています。その目的は、ユーザーに、
14784 文書の組版に関して最大限の裁量を得させることにあります。Memoirは、標準bookクラスに基づいていますが、articleクラスをエミュレートすることもできま
14788 \begin_layout Standard
14789 Memoir開発者であるPeter Wilsonは、\SpecialCharNoPassThru LaTeX
14790 の世界での、多くの便利なパッケージの作者として知られていますが、それらのほとんどは、Memoirに
14791 統合されました。このため、章のデザインや、目次や付録などのレイアウトを、はるかに簡単に行うことができます。しかしながら、\SpecialCharNoPassThru LyX
14793 ネイティブでサポートしているわけではありません。これらのうちいくつかは、将来のリリースで追加されるかもしれませんが
14797 \begin_layout Plain Layout
14799 \begin_inset Flex URL
14802 \begin_layout Plain Layout
14804 lyx-devel@lists.lyx.org
14814 、\SpecialCharNoPassThru LyX
14815 のフレームワークが持つ制約のために、おそらく決して追加されることのないと考えられるものも多数あります。もちろん、ネイティブな\SpecialCharNoPassThru LaTeX
14816 コマンド(\SpecialCharNoPassThru TeX
14822 \begin_layout Plain Layout
14824 \begin_inset CommandInset ref
14826 reference "sec:LaTeXコードを挿入する"
14835 )の助けを借りれば、全機能を使用できます。この節では、\SpecialCharNoPassThru LyX
14836 がネイティブにサポートしている機能についてのみ、列挙するものとします。詳細な説明(および他の機能)に
14837 ついては、Memoirクラスの詳しい取扱説明書
14841 \begin_layout Plain Layout
14843 \begin_inset Flex URL
14846 \begin_layout Plain Layout
14848 CTAN:/macros/latex/memoir/memman.pdf
14858 をご覧になることをお勧めします。この取扱説明書は、本クラスのユーザーの手引きであるのみに留まらず、良い組版に関する包括的な解説であり、それ自身が良い組版の傑出し
14862 \begin_layout Subsection
14866 \begin_layout Standard
14867 Memoirは、基本的に、標準bookクラスの全機能をサポートしています。しかしながら、以下に示すような若干の違いがあります。
14870 \begin_layout Description
14871 フォント寸法: Memoirでは、9・10・11・12・14・17と、より広い範囲のフォント寸法が使用可能です。
14874 \begin_layout Description
14875 ページ様式: Memoirパッケージとfancyhdrパッケージとのコマンドの衝突のため(両パッケージは同じ名前のコマンドを定義しているため、\SpecialCharNoPassThru LaTeX
14877 せられます)、fancyページ様式は使用できません。その代わり、Memoirには、多くの独自のページ様式が付属してきます(
14879 文書\SpecialChar menuseparator
14880 設定\SpecialChar menuseparator
14883 参照)。これらを章題ページに使用したい場合には、コマンド
14889 を、本文またはプリアンブルに記述する必要があります(例えば、
14893 chapterstyle{companion}
14898 \begin_layout Description
14899 節分け: 標準クラスでは、節分けコマンド(章・節・小節等)は、非必須引数を一つ取ることができます。これを用いて、目次やヘッダ用に別のタイトルを指定することができ
14900 ます(たとえば、タイトルが長すぎる場合などに用います)。\SpecialCharNoPassThru LyX
14903 挿入\SpecialChar menuseparator
14906 を使えば、これを指定することができます。一方、Memoirでは、第2の非必須引数を取ることができ、目次用のタイトルとヘッダ用のタイトルの指定を分離しています。こ
14907 れを使えば、本文用と目次用とヘッダ用のタイトルの3種類を指定することができます。この機能を使用したい場合には、2つの非必須引数を入力して、最初のものに目次用、次
14908 のものにヘッダ用短縮タイトルを入れてください。
14911 \begin_layout Description
14912 目次・図一覧・表一覧: 標準クラス(および他の多くのクラス)では、目次と図一覧および表一覧は、自動的に新規頁に置かれます。Memoirは、これとは別の方針を採り
14913 ます。改頁を行いたい場合は、手動で頁区切りを入れなくてはなりません。
14916 \begin_layout Description
14917 タイトル頁: 理由は不明ですが、Memoirはタイトルページに丁付けを行います(標準クラスでは、タイトルページは「empty」様式)。タイトル頁に丁付けを行いた
14922 aliaspagestyle{title}{empty}
14927 \begin_layout Description
14934 文書\SpecialChar menuseparator
14935 設定\SpecialChar menuseparator
14938 で入力)と、article様式をエミュレートできます。すなわち、(脚注・図・表等の)カウンタは、章毎にリセットされず、次の章は頁を改めず(ただし、「本物の」ar
14939 ticleクラスとは違って、頁を改めることも可)、部はbookクラスと同様に、独立の頁を使用します。
14942 \begin_layout Description
14943 Oldfontcommands: \SpecialCharNoPassThru LaTeX
14944 旧2.09版で使用されていた旧いフォントコマンド(
14956 など)は、Memoirにおいては、既定では使用することができません。Memoirがこれらのコマンドを検知すると、エラーを発して\SpecialCharNoPassThru LaTeX
14962 を指定すると、これらのコマンドが容認され、エラーの代わりに警告を発するのみとなります(これによって、少なくとも\SpecialCharNoPassThru LaTeX
14963 は停止しなくなります)。まだ、多くのパッ
14964 ケージと、就中多くのBib\SpecialCharNoPassThru TeX
14965 スタイルファイルが、これらのコマンドを使用しているので、我々はこのオプションを既定で使うこととしました。
14968 \begin_layout Subsection
14972 \begin_layout Standard
14973 \SpecialCharNoPassThru LyX
14974 でサポートされる機能(今のところそれほど多くはありません)を簡単に説明しましょう。詳しくはMemoirの取扱説明書
14978 \begin_layout Plain Layout
14979 \begin_inset Flex URL
14982 \begin_layout Plain Layout
14984 CTAN:/macros/latex/memoir/memman.pdf
14997 \begin_layout Description
14998 概要: 概要が、追加された機能として扱われているのを不思議に思われるかもしれませんが、bookクラスとしては追加された機能なのです。通常bookクラスには概要は
14999 ないのですが、memoirにはあります。これは、どこでも何回でも自由に使うことができます。
15002 \begin_layout Description
15003 章要約: この古い組版様式はご覧になったことがあるかも知れません。章の内容が、見出しの下と目次に要約されているものです(たとえば、「我らが英雄がトロヤに到着する
15004 。彼は友人を失うが、新たな友人を得る。」など)。章要約(chapterprecis)はこれを行います。したがって、章要約は章の下でのみ意味を持ちます。
15007 \begin_layout Description
15008 題辞: 題辞(epigraph)は章頭の、気の利いた標語やモットーです。題辞環境は、そのような標語を組む洗練された方法を提供します。標語本体(本文)とその著者(
15009 出典)は、短い線で区切られます。この環境には二つの引数(本文と出典)が必要なので、ここでも\SpecialCharNoPassThru LyX
15010 を少しだます必要があります。ここでは、2つの引数の間に、
15020 のように、(\SpecialCharNoPassThru TeX
15021 モードで)波括弧を入れなくてはなりません。
15024 \begin_layout Description
15025 詩題: Memoirには(複雑で隠喩的なものも含めて)詩を組版するための多くの機能がありますが、\SpecialCharNoPassThru LyX
15026 は、そのうちいくつかしかサポートしていません。詩題はその一
15027 つです。これは詩用の中央揃えタイトルで、目次にも表示されます(詩句が詩の標準環境です。Memoirには、詩句の拡張版もありますが、これらを使うためには\SpecialCharNoPassThru TeX
15029 ドを使用しなくてはなりません。これらの環境は通常の詩句環境の中に入れ子にしなくてはならないのですが、\SpecialCharNoPassThru LyX
15033 \begin_layout Description
15034 詩題*: 目次に現れない他は詩題と同じです。
15037 \begin_layout Section
15038 Article (mwart)・book (mwbk)・report (mwrep)
15039 \begin_inset Argument status
15042 \begin_layout Plain Layout
15055 \begin_layout Standard
15063 \begin_layout Standard
15064 \SpecialCharNoPassThru LyX
15071 report (mwrep)・book
15077 は、それぞれ\SpecialCharNoPassThru LaTeX
15102 を代替するものであり、多くの点で、ポーランド語の組版慣習によく適合しています。
15105 \begin_layout Standard
15109 \begin_layout Itemize
15117 \begin_layout Itemize
15119 \begin_inset Separator parbreak
15125 \begin_layout Description
15129 \begin_layout Description
15145 \begin_layout Description
15146 myuheadings 分離線付きカスタムヘッダ
15149 \begin_layout Description
15154 \begin_layout Itemize
15156 \begin_inset Separator parbreak
15162 \begin_layout Description
15163 rmheadings セリフ体見出し \threehyphens
15167 \begin_layout Description
15168 sfheadings サンセリフ体見出し
15171 \begin_layout Description
15172 authortitle タイトルページは、著者名・タイトルの順で配置 \threehyphens
15176 \begin_layout Description
15177 titleauthor タイトルページは、タイトル・著者名の順で配置
15180 \begin_layout Description
15181 withmarginpar ページ上に余白のための場所を確保
15185 \begin_layout Section
15189 \begin_layout Standard
15202 機能を提供しますが、サンセリフ体の節見出し・ヘッディング等を持つこちらのレイアウトの方が気に入るかも知れません。
15205 \begin_layout Section
15206 Rev\SpecialCharNoPassThru TeX
15210 \begin_layout Standard
15216 \begin_layout Standard
15217 \begin_inset VSpace bigskip
15223 \begin_layout Standard
15228 \begin_inset space ~
15233 テキストクラスは、アメリカ物理学会のRev\SpecialCharNoPassThru TeX
15235 \begin_inset Formula $\beta$
15241 \begin_layout Standard
15242 \SpecialCharNoPassThru LyX
15243 には、Rev\SpecialCharNoPassThru TeX
15248 テキストクラスもあります。しかしながら、第3.1版は\SpecialCharNoPassThru LaTeX
15249 2.09で動作するものであり、基本的に時代遅れなものになっています。\SpecialCharNoPassThru LyX
15250 は\SpecialCharNoPassThru LaTeX2e
15252 ることから、第3.1版は\SpecialCharNoPassThru LyX
15253 とうまく協調しないことを意味しますが、動作するようには調整してあります。Rev\SpecialCharNoPassThru TeX
15254 4.0は、\SpecialCharNoPassThru LaTeX2e
15256 ザインされているので、\SpecialCharNoPassThru LyX
15259 Rev\SpecialCharNoPassThru TeX
15260 \begin_inset space ~
15265 テキストクラスの組で使用するのは、たいへん簡単です。
15268 \begin_layout Standard
15269 この取扱説明書は、Rev\SpecialCharNoPassThru TeX
15274 として使用されることを前提としています。したがって、ここではRev\SpecialCharNoPassThru TeX
15275 固有マクロの説明はせず、必要な場合にはプリアンブルに何と書けば良いかを知っているものとし
15279 \begin_layout Subsection
15283 \begin_layout Standard
15284 Rev\SpecialCharNoPassThru TeX
15285 4パッケージのREADMEファイルにあるとおり、ともかくRev\SpecialCharNoPassThru TeX
15286 4を導入しなくてはなりません。パッケージは、The Rev\SpecialCharNoPassThru TeX
15288 \begin_inset Flex URL
15291 \begin_layout Plain Layout
15293 http://publish.aps.org/revtex4/
15298 から入手することができます。これを\SpecialCharNoPassThru LaTeX
15299 が検出することのできる場所に導入してください。それから、適当に選んだディレクトリ(もといクラスファイルを導入したのと
15300 は異なるディレクトリ)で簡単なRev\SpecialCharNoPassThru TeX
15301 4文書を \SpecialCharNoPassThru LaTeX
15302 でコンパイルできるかどうか確認してください。この後、\SpecialCharNoPassThru LyX
15303 を環境構成すると、クラスファイルを検出
15304 し、Rev\SpecialCharNoPassThru TeX
15305 4テキストクラスが使用できるようになるはずです。
15308 \begin_layout Standard
15313 を使ってRev\SpecialCharNoPassThru TeX
15314 4文書を読み込むか、またはひな型ディレクトリにある
15317 \begin_inset space ~
15322 のひな型を使うのが、おそらく一番簡単な方法でしょう。
15325 \begin_layout Subsection
15329 \begin_layout Standard
15336 に与える「preprint」や「aps」のような非必須引数は、他のクラス同様、
15338 文書\SpecialChar menuseparator
15339 設定\SpecialChar menuseparator
15346 フィールドに入れます。Rev\SpecialCharNoPassThru TeX
15347 では、少なくとも一つの非必須引数が必要なことに注意してください。
15350 \begin_layout Standard
15357 など他のプリアンブルは、他のクラス同様、
15359 文書\SpecialChar menuseparator
15360 設定\SpecialChar menuseparator
15361 \SpecialCharNoPassThru LaTeX
15367 \begin_layout Subsection
15371 \begin_layout Standard
15372 レイアウトは、基本的にRev\SpecialCharNoPassThru TeX
15373 4.0のコマンドに対応しています。たとえば、Emailレイアウトは、
15379 に対応しています。(少なくともRev\SpecialCharNoPassThru TeX
15388 はまったく同じものなので、両方を使う必要はありません
15392 \begin_layout Plain Layout
15417 \begin_layout Subsection
15421 \begin_layout Standard
15422 Rev\SpecialCharNoPassThru TeX
15423 4には、バグを引き起こしがちなために、気をつけなくてはならない特殊な面がいくつかあるため、\SpecialCharNoPassThru LyX
15424 ではさらに気をつけなくてはなりません。
15427 \begin_layout Standard
15428 Rev\SpecialCharNoPassThru TeX
15445 に来なくてはなりません。\SpecialCharNoPassThru LyX
15454 レイアウトに脚注を付けてしまうと、おかしなことが起こる可能性があります。詳細については、Rev\SpecialCharNoPassThru TeX
15458 \begin_layout Standard
15479 )レイアウトの間に置かなければなりません。
15487 の後に置いてしまうと、\SpecialCharNoPassThru LaTeX
15491 \begin_layout Subsection
15495 \begin_layout Standard
15496 このレイアウトの主な問題点は、電子メールやタイトルのようなレイアウトに非必須引数を用いることができないことです(これはこのレイアウトだけの問題ではありません。例
15497 えば、節レイアウトも非必須引数を使用することができません)。これは、たとえばページヘッダにヘッダ用タイトルを設定したい場合などには、ファイルを\SpecialCharNoPassThru LaTeX
15499 に変換した後に(これは最終的にAPSに原稿を送る際には行わなくてはなりません)、テキストエディタを使って\SpecialCharNoPassThru LaTeX
15500 ファイルを編集し、非必須引数を書き加えなくては
15501 ならないということです。これらのレイアウトがないと、
15513 )は使えませんので、対応するレイアウトは存在せず、手動で書き加える必要があります
15517 \begin_layout Plain Layout
15522 実は、\SpecialCharNoPassThru LyX
15523 1.3.0 では非必須引数を一部サポートしているのですが、このレイアウトは、まだこの機能を使うようにはアップデートされていないのです。
15531 \begin_layout Section
15537 \begin_layout Standard
15545 \begin_layout Subsection
15549 \begin_layout Standard
15550 これは、Springer Verlag社発行のいくつかの学術誌で使用されている書式のレイアウトファイルです。
15551 \begin_inset Flex URL
15554 \begin_layout Plain Layout
15556 http://www.springer.de/author/tex/help-journals.html
15561 に必要なクラスファイル(\SpecialCharNoPassThru LaTeX2e
15562 用になりました)とそれに対応する学術誌の一覧があります。このレイアウトはモジュール式になっています。つまり、全ジャーナル共
15567 に実装されており、各誌個別のレイアウトファイル(たとえばJournal of Geodesy用の
15574 \begin_layout Standard
15575 このことは、上記の学術誌一覧にある他のSpringer誌のサポートを実装するためには、
15590 \begin_layout Standard
15591 このレイアウトは、Journal of Geodesyに対してのみ、充分な試験が為されています。
15599 は、標準\SpecialCharNoPassThru LyX
15600 頒布版に収録済みです。関連するクラスファイルを(Springerからダウンロードして)適切なディレクトリに導入し、\SpecialCharNoPassThru LaTeX
15602 eXの場合は、必要に応じてroot権限で
15606 を実行します)、\SpecialCharNoPassThru LyX
15610 \begin_layout Subsection
15614 \begin_layout Standard
15615 多くの定理環境 \threehyphens
15624 ・\SpecialChar ldots
15632 \begin_layout Standard
15643 サブタイトル・ヘッダ用\SpecialCharNoPassThru LaTeX
15644 タイトル・ヘッダ用著者名・所属機関・メール・オフプリント・キーワード・謝辞(acknowledgements)・謝辞(ackno
15647 。詳しくは Springerのクラスファイルの説明書を読んでください。
15650 \begin_layout Subsection
15654 \begin_layout Itemize
15667 \begin_layout Itemize
15670 Probability Theory and Related Fields
15677 Jean-Marc Lasgouttes
15680 \begin_layout Standard
15681 あなた自身のレイアウトファイルをつくってください。難しくはありません。
15684 \begin_layout Subsection
15688 \begin_layout Standard
15697 は Springerの\SpecialCharNoPassThru LaTeX
15698 2.09用のスタイルファイルを使った素人細工のようなレイアウトファイルです。これらのファイルはすでにありません。Jean-Mar
15699 c Lasgouttesのおかげで \SpecialCharNoPassThru LyX
15700 のレイアウトファイルのメカニズムをよりよく理解することができました。
15703 \begin_layout Subsection
15707 \begin_layout Standard
15712 よりは少なくなっているとは思いますが。
15715 \begin_layout Standard
15716 制限事項:定理環境の環境の番号は表示されません。#が表示されるだけです。
15719 \begin_layout Section
15722 Sli\SpecialCharNoPassThru TeX
15728 \begin_layout Plain Layout
15729 (訳註)この節の内容は、全般的に古くなっています。
15735 \begin_inset CommandInset label
15744 \begin_layout Standard
15752 \begin_layout Subsection
15756 \begin_layout Standard
15757 本節では、オーバーへッドプロジェクタ用のスライドをつくるのに、\SpecialCharNoPassThru LyX
15758 をどのように使えばよいかを説明します。これを行う文書クラスには、既定のslideクラスと
15760 Foil\SpecialCharNoPassThru TeX
15762 スライドクラスの2つがあります。本節は前者について説明を行います。
15765 \begin_layout Standard
15766 誤解のないように、正しく明確に、もう一度言っておきます。
15769 \begin_layout Standard
15770 \begin_inset VSpace bigskip
15776 \begin_layout Standard
15781 \begin_inset Quotes eld
15786 transparencies (slides)
15789 \begin_inset Quotes erd
15799 \begin_layout Standard
15800 \begin_inset VSpace bigskip
15806 \begin_layout Standard
15809 「slides (Foil\SpecialCharNoPassThru TeX
15813 \begin_inset CommandInset ref
15815 reference "sec:foiltex"
15825 slides (Foil\SpecialCharNoPassThru TeX
15836 \begin_layout Plain Layout
15840 Foil\SpecialCharNoPassThru TeX
15842 の支持者からは聞いています。けれども私は使ったことがないので、本当かどうか確かめようがありません。
15850 \begin_layout Standard
15851 このクラスは、旧SLI\SpecialCharNoPassThru TeX
15852 パッケージを\SpecialCharNoPassThru LaTeX2e
15853 用に改良したものです。\SpecialCharNoPassThru LaTeX2e
15854 頒布版すべてが、このクラス(以下では単に「
15858 」と述べることにします)を含んでいるので、あなたもお持ちのはずです。前述の
15862 のように、同じくオーバーへッドプロジェクタ用のスライドを生成しながら、このクラスよりも良い仕事をするクラスもあります。しかしながら、オーバーレイを生成するなど、
15867 ならばできることもあります。詳しくは以下をお読みください。
15870 \begin_layout Subsection
15872 \begin_inset CommandInset label
15874 name "sec:slidesetup"
15881 \begin_layout Standard
15882 当然ながら、この文書クラスを使用するには、
15884 文書\SpecialChar menuseparator
15889 transparencies (slides)
15891 」を選択しなくてはなりません。このクラスについて、以下のように、特に知っておいた方が良いことがいくつかあります。
15894 \begin_layout Itemize
15903 の各オプションは、あえて変更する必要はありません。これらのオプションは、
15907 クラスではサポートされていないので、効果がありません。
15910 \begin_layout Itemize
15915 オプションは、このクラスでは少し異なった振る舞いをします。各選択肢とその機能は、以下の通りです。
15917 \begin_inset Separator parbreak
15923 \begin_layout Description
15924 プレーン(plain) 最終出力の右下隅にページ番号が付きます。
15927 \begin_layout Description
15932 と同様ですが、それ以外にあなたが指定したタイムマーカーをすべて出力します。これが既定値です。
15935 \begin_layout Description
15936 空 最終出力には、ページ番号もタイムマーカーも位置揃えマーカーも出力されません。
15940 \begin_layout Itemize
15949 というオプションがあります。これを使用するには、
15959 \begin_inset Separator parbreak
15965 \begin_layout Standard
15970 にタイムマーカーを加えることができます。詳細は、第
15971 \begin_inset CommandInset ref
15973 reference "sec:スライド注釈"
15981 \begin_layout Standard
15986 クラスを用いた文書を自動的にセットアップするには、ひな型ファイル「
15990 」を使用することもできます(新規ファイルを開く際に
15992 ファイル\SpecialChar menuseparator
15995 を使用してください)。ひな型ファイルには、このクラスが使用する特別な段落環境の用例も含まれています。これらについては、以下で説明します。
15998 \begin_layout Subsection
16002 \begin_layout Subsubsection
16008 \begin_layout Standard
16013 文書を開いたときにまず気付くのは、フォント寸法とフォント族の違いでしょう。ここでは、
16021 寸法が用いられており、出力でもこのフォントが使用されます。これは、現在スライドを作成中であることの「目印」だと考えてください。出力スライドは大きなフォントを使用
16022 するため、書ける場所は少なくなります。もちろん、既定の大きな画面フォントはWYSIWYGではなく、スライドであることの目印に過ぎません。
16025 \begin_layout Standard
16026 次に気付くのは、(ツールバー左端の)段落環境プルダウンボックスが変わっていることでしょう。通常見かける環境の多くがなくなって、代わりに5つの新しい環境が入ってい
16031 クラスが、標準段落環境のうち以下のものしかサポートしていないためです。
16034 \begin_layout Itemize
16040 \begin_layout Itemize
16046 \begin_layout Itemize
16052 \begin_layout Itemize
16058 \begin_layout Itemize
16064 \begin_layout Itemize
16070 \begin_layout Itemize
16076 \begin_layout Itemize
16082 \begin_layout Itemize
16088 \begin_layout Itemize
16091 \SpecialCharNoPassThru LyX
16095 \begin_layout Itemize
16101 \begin_layout Standard
16102 これ以外の標準的な環境、例えば節見出し用の環境などは
16109 \begin_layout Standard
16113 \begin_layout Itemize
16119 \begin_layout Itemize
16125 \begin_layout Itemize
16131 \begin_layout Itemize
16137 \begin_layout Itemize
16143 \begin_layout Standard
16144 これら5つの環境は、\SpecialCharNoPassThru LyX
16145 の「機能」のために使い方に癖があります。ご存じのように、\SpecialCharNoPassThru LyX
16146 では、空の段落環境に他の環境を入れることができません。それ自体は素晴らし
16147 いデザインなのですが、これは、スライドを平文以外では書き始めることができないことを意味します。これを取り扱うためには、ちょっとした「\SpecialCharNoPassThru LaTeX
16152 \begin_layout Subsubsection
16154 \begin_inset CommandInset label
16163 \begin_layout Standard
16164 5つの新しい環境にはすべて、\SpecialCharNoPassThru LyX
16165 現行版の制約に由来する癖があります。いま述べたように、\SpecialCharNoPassThru LyX
16166 では、環境を別の環境で開始することが禁止されています。これを回避す
16175 』で述べられているような段落環境ではなくなっています。
16178 \begin_layout Standard
16191 は「疑似環境」だとお考えください。これらは節見出しや「
16195 」のように見えますが、実際には(必要なら前段落を終了して)新しい段落環境を開始します。同様に、
16203 も「疑似コマンド」とお考えください。この2つは特定のアクションを行います。
16206 \begin_layout Standard
16227 の5環境に共通しているのは、長めのラベルを持つことです。このラベルに続く文章—通常は段落環境の内容になるはずですが—は、
16247 では、まったく意味がなく、\SpecialCharNoPassThru LyX
16248 はこの部分を完全に無視します。これらの5つの環境の内容は、完全に空のままにしておいて構いません。
16251 \begin_layout Standard
16260 とはいえ、何か書いておきたいこともあるかもしれません。たとえば、スライドの内容に関する短い説明などがそうでしょう。この場合、いつもどおり説明用のコメントを入力し
16268 \begin_layout Standard
16269 一方、説明文を入れたくない場合には、\SpecialCharNoPassThru LyX
16270 の制約に直面します。自然が真空を憎むように、\SpecialCharNoPassThru LyX
16271 では、古い環境に何かを置くまでは、その中に新しい環境を入れることがで
16272 きません。そこで以下のようにしてください。
16275 \begin_layout Itemize
16303 \begin_layout Itemize
16307 \begin_layout Itemize
16315 \begin_layout Itemize
16339 \begin_layout Standard
16340 将来の\SpecialCharNoPassThru LyX
16341 では、このような癖が解決されることを祈っています\SpecialChar ldots
16346 \begin_layout Plain Layout
16347 (訳註)ここの記述は古くなっています。
16355 \begin_layout Subsection
16369 \begin_layout Subsubsection
16377 \begin_layout Standard
16378 もし本節が、実際のプレゼンテーションの作り方を教えてくれるものと期待されているとすれば、大いにがっかりされるかもしれません。当然ながら、プレゼンテーション用の資
16383 クラスを役立てる方法を詳しく説明はしますが、内容をどうするかはあなた次第です(そしてこれも\SpecialCharNoPassThru LyX
16387 \begin_layout Standard
16393 \begin_inset CommandInset ref
16395 reference "sec:スライドの癖"
16399 節参照のこと)、\SpecialCharNoPassThru LyX
16400 は新規スライドを開始します。この環境ないし「疑似環境」のラベルは、鮮やかな青で「新規スライド:」と表示されます。この環境の後のテキスト環境
16401 や段落環境は、すべて新規スライドに入ります。簡単ですよね。
16404 \begin_layout Standard
16405 Slidesは、おそらく\SpecialCharNoPassThru LyX
16406 の中で強制的に改頁をしなくてはならない唯一のクラスです(これは
16410 ダイアログで指定できます)。実際、一つのスライドの内容を入力し終わったら、改頁したくなるはずです。仮に一つのスライドに物理的に入りきらない文章を入力したとすると
16411 、入りきらない部分は、次の新規スライドにまわされます。しかしながら、入りきらない部分のスライドにはページ番号が付きませんので、こうするのはお勧めしません。その上
16419 \begin_layout Standard
16432 環境と同様の動作を示します。これらは、青の代わりに鮮やかなマゼンタで、それぞれ「
16440 」というラベルを表示します。ラベルのフォントも、3つの環境でそれぞれ異なるものが使用されます。
16443 \begin_layout Standard
16456 の内容が、一つのスライドないしページに物理的に収まりきらない場合には、余分は新規スライドに回されます。この場合には、
16464 の本来の目的が達せられなくなりますので、ここでもこのような状態は避けるべきでしょう。
16467 \begin_layout Subsubsection
16473 \begin_layout Standard
16478 の背後にある考え方は、別のスライドの上にスライドを載せようとするものです。メインの
16482 に図があるとき、関連した文章を表示する前に、図について議論を進めたいと思うことがあるかもしれません。これを行うひとつの方法は、
16486 で後に表示したい部分に黒い紙の蓋を貼り付けてしまうことですが、この方法は、たとえばグラフを他のグラフに重ねたい場合などには、うまく行きません。この場合には、二つ
16487 のグラフを揃えるために、重ねる二つのスライドを、喋りながら手探りで揃えなくてはなりません。これらのような場合には、
16494 \begin_layout Standard
16511 \begin_layout Plain Layout
16512 想像できるように、複数のオーバーレイがあれば、「
16524 」などが親スライドのページ番号に付け加えられます。
16537 の内容は両方とも、1枚のスライドに物理的に収まるようになっていなければなりません。
16545 の「一部」であると考えるのがよいでしょう。\SpecialCharNoPassThru LyX
16554 のラベルよりも下げることで、このことを視覚的に表しています。また、印刷可能な出力を生成すると、
16562 両方の四隅に、揃えマーカーがあることに気づかれるはずです。これは、2枚のスライドを物理的に重ね合わせるための補助となるものです。
16565 \begin_layout Standard
16566 2つのスライドをオーバーレイさせる際の大きな問題は、2枚のスライドの内容を揃えることです。2枚目のスライドのグラフには、どれだけの余白を残しておくべきなのでしょ
16567 うか?さらにややこしく、2枚目のスライドにグラフと文章を入れたいときに、その間に割り込んでしまうような文章がメインスライドにある場合には、どうでしょうか?正しい
16568 寸法の垂直スペースを挿入してみることもできるでしょう。しかし、もっと良い方法として、
16579 \begin_layout Standard
16588 は、それぞれ続く文章すべてを見えなくしたり見えるようにしたりするコマンド型の段落環境です。しかしながら、第
16589 \begin_inset CommandInset ref
16591 reference "sec:スライドの癖"
16603 を作成すると、「<以下不可視文>」と書かれた水色のラベルが、ページに中央揃えで表示されます。このラベルに続く段落は、それが置かれるべき
16611 ;どちらでも同じことです)部分に、代わりに空白の部分が置かれます。
16614 \begin_layout Standard
16619 の場合には、中央揃えのラベルは、鮮やかな緑の「<以下可視文>」となります。このラベル以降の段落は、通常通りの挙動を示します。新規の
16635 は自動的に終了されることに注意してください。したがって、
16646 \begin_layout Standard
16663 を適切に使用して、スライドをオーバーレイさせる方法が明らかになったことと思います。
16666 \begin_layout Enumerate
16671 かに関わらず、スライド上に現れるすべてを含んだ
16678 \begin_layout Enumerate
16683 のみに表示するすべての図や段落の前に、
16698 \begin_layout Enumerate
16710 \begin_layout Enumerate
16722 \begin_layout Enumerate
16746 \begin_layout Standard
16754 \begin_layout Standard
16755 \SpecialCharNoPassThru LyX
16760 クラスをデザインする上で、ひとつ残された問題があります。段落途中の文章を不可視にしたり、不可視段落の途中の文章を再度可視にしたりすることはできないのです。これを
16761 実現するためには、\SpecialCharNoPassThru LaTeX
16766 \begin_layout Plain Layout
16770 \begin_layout Itemize
16775 invisible \SpecialChar ldots
16779 \begin_layout Itemize
16784 visible \SpecialChar ldots
16788 \begin_layout Plain Layout
16790 のような形となり、\SpecialCharNoPassThru TeX
16791 としてマークする必要があります。「可視性」を変更したい文章は、波括弧のあいだ(そして
16803 コマンドの後ろ)に入れます。\SpecialCharNoPassThru TeX
16804 としてマークする方法がわからない場合は、
16816 \begin_layout Subsubsection
16822 \begin_inset CommandInset label
16831 \begin_layout Standard
16844 に関連付けられています。ここでも\SpecialCharNoPassThru LyX
16856 よりも短く(オーバーレイのラベルよりも長いですが)、
16860 のラベルと同様、派手な赤紫色です。加えて、印刷した
16876 3」等を付けたページ番号が付けられます。1つの
16892 と同じように、長い注釈は、1枚の紙に収まるように分割したいと思われるに違いありません。
16895 \begin_layout Standard
16904 に関して付け加えたいことを書き留めておくことです。特定の
16908 についての覚書として使うこともできます。後者の場合には、タイムマーカを利用したいこともあるかもしれません。現在のところ、\SpecialCharNoPassThru LyX
16917 \SpecialCharNoPassThru TeX
16918 の機能であるタイムマーカを「ネイティブには」サポートしていません。したがって、\SpecialCharNoPassThru LaTeX
16919 コードを使用することに頼らなくてはなりません。
16922 \begin_layout Standard
16923 タイムマーカを使用するには、クラスオプション「
16928 \begin_inset CommandInset ref
16930 reference "sec:slidesetup"
16934 節参照)。このオプションはタイムマーカ機能を有効にして、生成したすべての
16938 の左下にタイムマーカを表示します。タイムマーカに表示するものを設定するには、\SpecialCharNoPassThru LaTeX
16951 」を使用します。両コマンドは、秒で測った時間を引数にとります。「
16957 」は、タイムマーカを特定の時間に設定し、「
16963 」は、タイムマーカを指定した分だけ進めます。このようにタイムマーカと
16971 にどれだけの時間をかけるのか忘れないでいられます。
16974 \begin_layout Standard
16975 最後に、説明しておくべき機能がもう一つあります。当然ながら、
16987 はすべて普通の紙に印刷したいはずです。しかしながら、
16995 。ユーザーはどうしたら良いのでしょうか。
16998 \begin_layout Standard
16999 幸いなことに、どれを印刷するか選択することを可能にする\SpecialCharNoPassThru LaTeX
17000 コマンドが、2種類あります。どちらも文書のプリアンブルに記述されなくてはなりません。コマンド「
17016 のみが含まれるようにするものです。同様に、「
17028 以外の出力をすべて抑制します。私のアドバイスとしては、両コマンドをプリアンブルに書いておいて、最初は両方ともコメントアウトしておくと良いでしょう。そうすれば、執
17029 筆時にはプレゼンテーション全体をプレビューすることができます。いったん書き終えたならば、二つのうち一方のコメントを外して、印刷したい方を選ぶことができます。私な
17038 のコメントを外して、現ファイル名に「*
17042 」を付けた新たなファイルに出力を行ない、今度はこの行をふたたびコメントアウトするとともに、「
17054 」というファイルに出力します。そうすれば、必要に応じて、スライドまたは通常の紙をプリンタにセットし、一方のファイルをプリンタに送ればよいのです。
17057 \begin_layout Standard
17070 」コマンドには、他の引数を与えることもできます。詳しくは、\SpecialCharNoPassThru LaTeX
17074 \begin_layout Subsection
17082 \begin_layout Standard
17091 」が提供されています。これを使用するには、新しいプレゼンテーションを作り始める際に、
17093 ファイル\SpecialChar menuseparator
17096 メニューを選択してください。すると新規ファイルには、
17124 の使用例も含まれています。また、プリアンブルには、次のように書き込まれています。
17127 \begin_layout LyX-Code
17128 % Uncomment to print out only slides and overlays
17131 \begin_layout LyX-Code
17135 \begin_layout LyX-Code
17141 \begin_inset Newline newline
17147 \begin_layout LyX-Code
17148 % Uncomment to print out only notes
17151 \begin_layout LyX-Code
17155 \begin_layout LyX-Code
17163 \begin_layout Standard
17164 最後に、私はこの文書クラスを、\SpecialCharNoPassThru LaTeX2e
17167 Sli\SpecialCharNoPassThru TeX
17169 エミュレーション」クラスをサポートする目的で作成しました。私も\SpecialCharNoPassThru LyX
17170 チームの他のメンバーも、この組み込みスライドクラスを使用することに賛成したり反対したりするも
17171 のではありません。これは単に、ユーザーがこれを使いたかったり必要としたりしたときのためにあるものです。プレゼンテーションを作成するためには、
17176 \begin_inset CommandInset ref
17178 reference "sec:foiltex"
17186 」パッケージ(一部の\SpecialCharNoPassThru TeX
17187 頒布版に含まれています)のように、他の\SpecialCharNoPassThru LaTeX2e
17188 クラスも存在します。私はこれらについては知らないのですが、他にどのようなことができ
17192 \begin_layout Chapter
17193 ソフトウェアを追加する必要がある \SpecialCharNoPassThru LyX
17197 \begin_layout Section
17198 \SpecialCharNoPassThru TeX
17202 \begin_layout Standard
17210 \begin_layout Subsection
17214 \begin_layout Standard
17223 \begin_layout Plain Layout
17224 \SpecialCharNoPassThru LaTeX
17225 頒布版としてMiK\SpecialCharNoPassThru TeX
17241 \SpecialCharNoPassThru TeX
17249 \begin_inset Newline newline
17253 \begin_inset CommandInset href
17255 target "http://www.ctan.org/tex-archive/help/Catalogue/entries/chktex.html"
17262 \begin_layout Standard
17265 Chk\SpecialCharNoPassThru TeX
17267 パッケージは、\SpecialCharNoPassThru LaTeX
17268 の構成物には直感的でないものもあり、すぐ忘れてしまいがちであるのに不満を感じた
17269 \begin_inset Flex Noun
17272 \begin_layout Plain Layout
17279 が書いたプログラムです。このプログラムは、\SpecialCharNoPassThru LaTeX
17280 ファイルを走査して、ファイルの整合性をチェックし、犯しがちな誤りを見つけ出します。別の技術用語では、LaTe
17288 \begin_layout Standard
17289 さて、\SpecialCharNoPassThru LyX
17290 はつねに正しい\SpecialCharNoPassThru LaTeX
17291 ファイルを生成するはずなのに、文法チェッカーは\SpecialCharNoPassThru LyX
17292 で何をするというのでしょうか。答えは簡単です。
17300 をチェックするだけでなく、打ち間違いによる
17306 Chk\SpecialCharNoPassThru TeX
17314 Chk\SpecialCharNoPassThru TeX
17316 は、以下のような誤りを検出することができます。
17319 \begin_layout Itemize
17321 \begin_inset Newline newline
17324 ...ではなく\SpecialChar ldots
17328 \begin_layout Itemize
17330 \begin_inset Newline newline
17333 ( wrong spacing ):誤った空白
17336 \begin_layout Itemize
17337 よく使われる省略形の後ろは通常スペースにする:
17338 \begin_inset Newline newline
17342 \begin_inset space \thinspace{}
17346 \begin_inset space \space{}
17349 is too wide spacing.:広すぎる空白
17352 \begin_layout Itemize
17353 直前の文章が大文字で終わっているときに、文末スペースに直す:
17354 \begin_inset Newline newline
17358 And this is wrong spacing.:誤った空白
17361 \begin_layout Itemize
17363 \begin_inset Newline newline
17366 ラベルが別のページに行ってしまわないように、ラベルは文章に接していなくてはなりません。
17367 \begin_inset CommandInset label
17377 \begin_layout Plain Layout
17378 この脚注は、正しくないページに行ってしまう恐れがあります。
17386 \begin_layout Itemize
17387 参照の前にハードスペースではなくスペース:
17388 \begin_inset Newline newline
17391 運が悪ければ、参照文字列と参照番号のあいだでちょうど改行されてしまい、残念な結果となります。第
17392 \begin_inset CommandInset ref
17394 reference "sec:chktex"
17401 \begin_layout Itemize
17403 \begin_inset Formula $\times$
17407 \begin_inset Newline newline
17411 \begin_inset Formula $2\times2$
17417 \begin_layout Standard
17418 などなど\SpecialChar ldots
17421 Chk\SpecialCharNoPassThru TeX
17423 は、印刷する前に文書を「仕上げる」上で、たいへん価値のあるツールです。必須のスペルチェックを終えた直後、組版の微調整をする前には、これを実行するべきです。
17426 \begin_layout Subsection
17430 \begin_layout Standard
17431 このプログラムを導入したならば、使うのは
17433 ツール\SpecialChar menuseparator
17434 \SpecialCharNoPassThru TeX
17437 を選択するだけなので簡単です。こうすると、\SpecialCharNoPassThru LyX
17438 は使用中の文書の\SpecialCharNoPassThru LaTeX
17441 Chk\SpecialCharNoPassThru TeX
17443 を起動し、当該ファイルを検査しますが、
17445 Chk\SpecialCharNoPassThru TeX
17447 から警告があった場合には、それを含んだ「エラーボックス」を\SpecialCharNoPassThru LyX
17448 中に挿入します。警告は、誤りのある箇所のそばに置かれるので、メニュー項目の
17450 移動\SpecialChar menuseparator
17458 \begin_inset Flex Ruby
17461 \begin_layout Plain Layout
17463 \begin_inset Argument post:1
17466 \begin_layout Plain Layout
17478 \begin_inset Flex Ruby
17481 \begin_layout Plain Layout
17501 \begin_inset Argument post:1
17504 \begin_layout Plain Layout
17519 を押せば、簡単に警告の箇所を見出すことができます。エラーボックスを開けるには、マウスでボックスをクリックするか、
17535 を押します。警告を読み、それが誤りを示していれば修正します。警告が何を意味しているか理解しにくい場合には、無視しても問題はありません。画面上の文書と、
17537 Chk\SpecialCharNoPassThru TeX
17539 を起動する際に行なわれる実際の技術的な操作のあいだには、隠された層があり、この隔たりのせいで、一部の警告が不可解なものになったり、明らかに馬鹿げたものになる場合
17543 \begin_layout Standard
17544 本文書自体、この機能を確認する良い材料になりますので、実行してみてください。すると、かなりの量の警告が出るはずです。これはコンピュータが敏感すぎるせいですので、
17545 警告のほとんどは実際には警告に値しません。
17548 \begin_layout Subsection
17552 \begin_layout Standard
17555 Chk\SpecialCharNoPassThru TeX
17557 は、あなたが望むよりも煩すぎると思うかもしれません。そのような場合には、必要と思うまで
17559 Chk\SpecialCharNoPassThru TeX
17561 を無効にするか、あなたにもう少し合うように
17563 Chk\SpecialCharNoPassThru TeX
17568 \begin_layout Standard
17571 Chk\SpecialCharNoPassThru TeX
17573 は調整や拡張がひじょうに柔軟なのですが、\SpecialCharNoPassThru LyX
17576 Chk\SpecialCharNoPassThru TeX
17578 関連の問題が、それですべて解決すると思うべきではありません。\SpecialCharNoPassThru LyX
17581 Chk\SpecialCharNoPassThru TeX
17587 \begin_layout Plain Layout
17598 文書\SpecialChar menuseparator
17599 \SpecialCharNoPassThru LaTeX
17607 から得た行番号と内部構造を一致させるため、やや特殊な\SpecialCharNoPassThru LaTeX
17608 ファイルを生成しなくてはならないので、警告の一部は正しく表示されていないように見えるでしょう。これ
17609 に対処するためには、以下の2つの方法があります。
17612 \begin_layout Itemize
17615 \begin_inset Flex MenuItem
17618 \begin_layout Plain Layout
17621 ツール\SpecialChar menuseparator
17622 設定\SpecialChar menuseparator
17623 出力\SpecialChar menuseparator
17624 \SpecialCharNoPassThru LaTeX
17625 \SpecialChar menuseparator
17626 Check\SpecialCharNoPassThru TeX
17636 Chk\SpecialCharNoPassThru TeX
17638 起動コマンドラインを調整するか、グローバルな
17640 Chk\SpecialCharNoPassThru TeX
17643 \begin_inset Flex Code
17646 \begin_layout Plain Layout
17652 ファイル)を調整します。コマンドラインからどの警告を有効・無効にできるかは以下をご覧ください。
17655 \begin_layout Itemize
17658 ファイル\SpecialChar menuseparator
17659 書き出し\SpecialChar menuseparator
17660 \SpecialCharNoPassThru LaTeX
17662 を使って文書を\SpecialCharNoPassThru LaTeX
17663 ファイルに変換し、そのファイルに対して
17667 を手動で実行します。このようにすると、\SpecialCharNoPassThru LyX
17668 文書中の対応箇所を見つけるのがやや面倒ですが、少し我慢すれば見つけることができます。
17671 \begin_layout Standard
17676 で有効化・無効化できる警告メッセージです。警告を無効にするには
17684 を用います。イタリック表示の項目は、既定で無効となっています。既定値は "
17686 chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38
17691 \begin_layout Standard
17692 \SpecialCharNoPassThru LyX
17697 と通信するために、他のコマンドラインパラメータを特定の方法で使用しているため、メッセージを有効化・無効化する以外のオプションを使うべきではありません。
17700 \begin_layout Enumerate
17704 Command terminated with space.
17707 \begin_layout Enumerate
17710 Non-breaking space (
17711 \begin_inset Quotes eld
17719 \begin_inset Quotes erd
17722 ) should have been used.
17725 \begin_layout Enumerate
17729 You should enclose the previous parenthesis with
17730 \begin_inset Quotes eld
17738 \begin_inset Quotes erd
17744 \begin_layout Enumerate
17747 Italic correction (
17748 \begin_inset Quotes eld
17758 \begin_inset Quotes erd
17761 ) found in non-italic buffer.
17764 \begin_layout Enumerate
17767 Italic correction (
17768 \begin_inset Quotes eld
17778 \begin_inset Quotes erd
17781 ) found more than once.
17784 \begin_layout Enumerate
17788 No italic correction (
17789 \begin_inset Quotes eld
17799 \begin_inset Quotes erd
17805 \begin_layout Enumerate
17809 \begin_inset Quotes eld
17817 \begin_inset Quotes erd
17821 \begin_inset Quotes eld
17829 \begin_inset Quotes erd
17835 \begin_layout Enumerate
17838 Wrong length of dash may have been used.
17841 \begin_layout Enumerate
17845 \begin_inset Quotes eld
17853 \begin_inset Quotes erd
17857 \begin_inset Quotes eld
17865 \begin_inset Quotes erd
17871 \begin_layout Enumerate
17875 \begin_inset Quotes eld
17883 \begin_inset Quotes erd
17889 \begin_layout Enumerate
17893 \begin_inset Quotes eld
17901 \begin_inset Quotes erd
17904 to achieve an ellipsis.
17907 \begin_layout Enumerate
17910 Inter-word spacing (
17911 \begin_inset Quotes eld
17921 \begin_inset Quotes eld
17924 ) should perhaps be used.
17927 \begin_layout Enumerate
17930 Inter-sentence spacing (
17931 \begin_inset Quotes eld
17941 \begin_inset Quotes erd
17944 ) should perhaps be used.
17947 \begin_layout Enumerate
17950 Could not find argument for command.
17953 \begin_layout Enumerate
17957 \begin_inset Quotes eld
17965 \begin_inset Quotes erd
17971 \begin_layout Enumerate
17974 Math mode still on at end of \SpecialCharNoPassThru LaTeX
17978 \begin_layout Enumerate
17982 \begin_inset Quotes eld
17990 \begin_inset Quotes erd
17993 doesn't match the number of
17994 \begin_inset Quotes eld
18002 \begin_inset Quotes erd
18008 \begin_layout Enumerate
18011 You should use either
18014 \begin_inset Quotes eld
18022 \begin_inset Quotes erd
18027 as an alternative to
18028 \begin_inset Quotes eld
18036 \begin_inset Quotes erd
18042 \begin_layout Enumerate
18049 " (ASCII 39) instead of "" (ASCII 180).
18052 \begin_layout Enumerate
18055 User-specified pattern found.
18058 \begin_layout Enumerate
18061 This command might not be intended.
18064 \begin_layout Enumerate
18071 \begin_layout Enumerate
18089 \begin_layout Enumerate
18092 Delete this space to maintain correct page references.
18095 \begin_layout Enumerate
18099 You might wish to put this between a pair of
18100 \begin_inset Quotes eld
18108 \begin_inset Quotes erd
18114 \begin_layout Enumerate
18117 You ought to remove spaces in front of punctuation.
18120 \begin_layout Enumerate
18123 Could not execute \SpecialCharNoPassThru LaTeX
18127 \begin_layout Enumerate
18136 in front of small punctuation.
18139 \begin_layout Enumerate
18147 may look prettier here.
18150 \begin_layout Enumerate
18154 Multiple spaces detected in output.
18157 \begin_layout Enumerate
18160 This text may be ignored.
18163 \begin_layout Enumerate
18169 \begin_inset Quotes eld
18174 to begin quotation, not
18181 \begin_layout Enumerate
18188 to end quotation, not
18191 \begin_inset Quotes eld
18199 \begin_layout Enumerate
18205 \begin_layout Enumerate
18208 You should perhaps use
18209 \begin_inset Quotes eld
18217 \begin_inset Quotes erd
18223 \begin_layout Enumerate
18226 You should put a space in front of/after parenthesis.
18229 \begin_layout Enumerate
18232 You should avoid spaces in front of/after parenthesis.
18235 \begin_layout Enumerate
18239 You should not use punctuation in front of/after quotes.
18242 \begin_layout Enumerate
18245 Double space found.
18248 \begin_layout Enumerate
18251 You should put punctuation outside inner/inside display math mode.
18254 \begin_layout Enumerate
18257 You ought to not use primitive \SpecialCharNoPassThru TeX
18258 in \SpecialCharNoPassThru LaTeX
18262 \begin_layout Enumerate
18265 You should remove spaces in front of
18266 \begin_inset Quotes eld
18274 \begin_inset Quotes erd
18280 \begin_layout Enumerate
18283 \begin_inset Quotes eld
18291 \begin_inset Quotes erd
18294 is normally not followed by
18295 \begin_inset Quotes eld
18303 \begin_inset Quotes erd
18309 \begin_layout Standard
18310 \SpecialCharNoPassThru LyX
18311 の将来の版では、このツール(およびその縮小版
18315 )の力を最大限引き出すように、より完備したインターフェイスを提供できればと考えています。しかし、現状でも十分に役立つものとなっています。ある程度長さがある既存文
18316 書に使用してみていただければ、きっと驚かれることでしょう。
18319 \begin_layout Section
18320 \SpecialCharNoPassThru LyX
18324 \begin_layout Standard
18327 Lars Bullik Bjønnes
18336 \begin_layout Subsection
18340 \begin_layout Standard
18341 \SpecialCharNoPassThru LyX
18342 は、今ではもっとも基本的なRCS/CVS/SVN/GITコマンドをサポートしています。もしもっと洗練されたことを行いたい場合には、ターミナル上から手動で行
18346 \begin_layout Standard
18347 また、CVSのサポートは、subversionのサポートほど良くないので、CVSよりもSVNを使うことをお勧めします。Subversionを学び始めるには、SV
18352 \begin_layout Plain Layout
18353 \begin_inset CommandInset href
18355 target "http://svnbook.red-bean.com/"
18364 が良いでしょう。RCSの場合は、「rsintro」をお読みください(これはmanファイルです。
18368 で読めます)。このファイルは、RCSの基本機能のすべてを説明しています。特に、RCSディレクトリに関するコメントと、マスターRCSファイル(
18372 で終わるファイルです)の概念に注意を払ってください。
18375 \begin_layout Standard
18376 \SpecialCharNoPassThru LyX
18377 で実際にバージョン管理機能を使い始める前に、RCS/CVS/SVN/GITの使用法に習熟しておかなくてはなりません。\SpecialCharNoPassThru LyX
18378 で\SpecialCharNoPassThru LyX
18380 U RCSまたはCVS/SVNパッケージの最新版を仮定しています。旧版への保証はありません。ログメッセージのほとんどは、現在のところ操作後には表示されません。確
18381 認したい場合には、メッセージ面で確かめてください。バージョン管理を常用するユーザーには、VCツールバーが便利でしょう。これは
18383 表示\SpecialChar menuseparator
18384 ツールバー\SpecialChar menuseparator
18390 \begin_layout Standard
18391 自製の外部コマンドを導入したい場合には、\SpecialCharNoPassThru LyX
18392 関数説明書のvcコマンドを確認してください。
18395 \begin_layout Subsection
18396 \SpecialCharNoPassThru LyX
18400 \begin_layout Standard
18401 以下の節では\SpecialCharNoPassThru LyX
18402 でサポートされているRCSコマンドを説明します。それらのコマンドは
18404 ファイル\SpecialChar menuseparator
18407 のサブメニューにあります。\SpecialCharNoPassThru LyX
18408 は、RCS 5.7/5.8に対して試験されています。
18412 \begin_layout Plain Layout
18413 古いDOS / MS Windowsビルド(5.7)では、\SpecialCharNoPassThru LyX
18414 で適切に動作させるためには、環境変数を設定する必要があります。とくに、標準時間帯(TZ)を設定し、
18415 さらに大事なことは、アーカイブの既定位置を変更する場合には、RCSINITを設定しなくてはなりません("SET RCSINIT=-x,v/")。\threehyphens
18416 \SpecialCharNoPassThru LyX
18417 は、文書のあるディレクトリのfile.lyx,vに、アーカイブがあるものと期待します。Windows RCSバイナリ付属のREADMEもご覧ください。
18425 \begin_layout Subsubsection
18431 \begin_layout Standard
18432 文書がバージョン管理の下にない場合には、これがメニューにあらわれる唯一の項目です。文書がバージョン管理下にあれば、項目
18439 \begin_layout Standard
18440 このコマンドは、文書をRCSに登録します(CVSが管理しているディレクトリ下にない場合)。すると対話的に、文書の最初の説明を入力するように尋ねられます。すると文
18441 書は読み込み専用モードになるので、変更を加えるためには
18445 を実行する必要があります。バージョン管理下にある文書は、ミニバッファのファイル名の後ろに「 [RCS:<バージョン> <ロック>]」という項目が表示されます。
18448 \begin_layout Standard
18452 \begin_inset Newline newline
18455 ci -q -u -i -t-"<初期説明文>" <ファイル名>
18458 \begin_layout Standard
18466 \begin_layout Subsubsection
18472 \begin_layout Standard
18473 ファイルの編集が終わると、その変更をチェックインします。このとき、変更についての説明文を求められます。これは履歴ログに記録されます。バージョン番号は繰り上がり、
18474 変更がマスターRCSファイルに適用され、文書がアンロックされて読み込み専用モードになります。
18477 \begin_layout Standard
18480 ci -q -u -m"<説明文>" <ファイル名>
18483 \begin_layout Subsubsection
18489 \begin_layout Standard
18490 これは、文書をロックして編集できるようにします。そしてあなただけが文書を読み書きできるようにします。通常は、しばらくの間、文書を編集し、それが終わると変更をチェ
18491 ックインします。あなたがファイルをロックしたことを反映して、ステータスラインが変わります。
18494 \begin_layout Standard
18500 \begin_layout Subsubsection
18506 \begin_layout Standard
18507 これは、最終チェックイン以降、文書に加えられた変更をすべて破棄します。変更が破棄される前に、警告が発せられます。
18510 \begin_layout Standard
18513 co -f -u<バージョン> <ファイル名>
18516 \begin_layout Subsubsection
18522 \begin_layout Standard
18523 これは、現行文書のコピーを生成します。RCSは、コピー操作を自前ではサポートしませんので、バージョン履歴には保存されず、新コピーは新規ファイルとして追加されます
18524 。最後のチェックイン以降、変更が加えられていないサラの文書であることが要求されます。ファイル名とコピー操作の説明を入力するように促され、その後、新コピーがローカ
18525 ルとリポジトリの両方に生成されます。コピーされた文書と元の文書の親ディレクトリが異なる場合には、コピーにインクルードされたファイルの相対パスは、(
18527 ファイル\SpecialChar menuseparator
18528 名前をつけて保存\SpecialChar ldots
18531 と同様に)全て調整されます。最後に、元の文書の代わりに、コピーされたファイルが読み込まれます。
18534 \begin_layout Labeling
18535 \labelwidthstring 00.00.0000
18537 \begin_inset Flex Code
18540 \begin_layout Plain Layout
18553 \begin_layout Labeling
18554 \labelwidthstring 00.00.0000
18555 \begin_inset Flex Code
18558 \begin_layout Plain Layout
18559 ci -q -u -i "<新ファイル名>"
18567 \begin_layout Subsubsection
18573 \begin_layout Standard
18574 これは、最後のチェックインがあたかも為されなかったかのようにします。\SpecialCharNoPassThru LyX
18575 に読み込まれた文書に変更は加えられませんが、マスターRCSファイルから最後のバージョン
18579 \begin_layout Standard
18582 rcs -o<バージョン> <ファイル名>
18585 \begin_layout Subsubsection
18591 \begin_layout Standard
18592 RCS文書の完全な履歴を表示します。ブラウザ中に、
18603 \begin_layout Subsubsection
18607 \begin_layout Standard
18608 \SpecialCharNoPassThru LyX
18609 は、RCSバージョン番号情報(のみ)をサポートしています。詳細については、
18610 \begin_inset CommandInset ref
18612 reference "subsec:VCS改訂情報"
18619 \begin_layout Subsection
18620 \SpecialCharNoPassThru LyX
18624 \begin_layout Standard
18625 \SpecialCharNoPassThru LyX
18626 は、現在CVSを一部サポートしています。そのコマンドは、
18628 ファイル\SpecialChar menuseparator
18631 サブメニューにあります。バージョン管理システムSVNの方が強力なので、可能ならばCVSではなく、SVNを使用してください。
18634 \begin_layout Subsubsection
18638 \begin_layout Standard
18639 CVSを初めて使いたい場合には、外部ツールを使用して自分のレポジトリを作成し、作業コピーをチェックアウトする必要があります。クライアント=サーバーモデルを使用し
18640 ている場合には、最初のレポジトリチェックアウトを行う前にログインする必要があるかもしれません。
18643 \begin_layout Standard
18644 改訂管理下にある文書のレポジトリを他人も利用している場合に、同一文書の同一箇所に別々の変更を加えてしまうと問題が発生します。標準的なCVSレポジトリは、ファイル
18645 ロッキング機構を有しません。これは驚くべきことかもしれませんが、コンフリクトは、文書の同じ箇所の特定の内容について、人々が意見を異にしている場合にのみ発生します
18646 。したがって、共著者同士がコンスタントにコミュニケーションを交わしていれば、このようなコンフリクトは滅多に発生しません。もしコミュニケーションがなければ、いずれ
18647 にしても根本的な問題があるわけです。それにもかかわらず、いわゆる「予備付きチェックアウト」を使用したいと思う人々もいます。この場合、最初にチェックアウトした際に
18648 、全ファイルの作業コピーは読み込み専用にされ、ユーザーは、作業コピーを書き込み可能にする特別なコマンドを使用した後、編集を開始することになります。変更をチェック
18649 インすると、作業コピーは読み込み専用状態に戻ります。\SpecialCharNoPassThru LyX
18650 で予備付きチェックアウトを利用したい場合には、
18651 \begin_inset Flex Code
18654 \begin_layout Plain Layout
18661 \begin_inset Flex Code
18664 \begin_layout Plain Layout
18670 という行を書き加える必要があります。この方法の利点は、文書のうち、書き込み可能コピーを誰が使用しているかを見ることができることです。ただし、一人のユーザーだけが
18671 コピーを書き込み可能にしているとは限りません。
18674 \begin_layout Standard
18675 \SpecialCharNoPassThru LyX
18676 は、あなたが予備付きチェックアウトを使用しているか、予備なしチェックアウトを利用しているか、推測しようと試みます。使用中の作業コピーが読み込み専用になって
18677 いるか、あるいはそれが書き込み可能であって、CVS/Baseサブディレクトリに使用中文書のコピーが存在している場合には、予備付きチェックアウトを使用しているもの
18678 と仮定し、そうでない場合には予備なしチェックアウトを使用しているものと仮定します。予備付きチェックアウトが検出された場合には、作業コピーが読み込み専用の場合に書
18680 \begin_inset Flex MenuItem
18683 \begin_layout Plain Layout
18689 メニューを使用しなくてはなりません。その後、
18690 \begin_inset Flex MenuItem
18693 \begin_layout Plain Layout
18699 メニューが利用可能になるので、自分が加えた変更をリポジトリに移した後、作業コピーを再び読み込み専用にする際には、これを使用します。
18702 \begin_layout Standard
18704 \begin_inset Flex URL
18707 \begin_layout Plain Layout
18709 http://www.nongnu.org/cvs
18715 \begin_inset Flex URL
18718 \begin_layout Plain Layout
18720 http://ximbiot.com/cvs
18728 \begin_layout Standard
18729 以下に言及するサブコマンドとスイッチを理解するには、
18736 \begin_layout Subsubsection
18740 \begin_layout Standard
18741 お使いの文書が改訂管理下に置かれていなければ、メニューにはこの項目だけが表示されます。もし改訂管理が有効ならば、
18748 \begin_layout Standard
18749 本コマンドは、既に文書ディレクトリをCVS管理下に置いている場合に
18756 \begin_inset Flex Code
18759 \begin_layout Plain Layout
18765 ファイルが存在する場合にのみ)、お使いの文書をCVSに登録します。つまり、外部ツールを使用して、アーカイブを自分で作成ないしチェックアウトしなくてはならないこと
18766 を意味します(このステップを忘れてしまうと、\SpecialCharNoPassThru LyX
18770 \begin_layout Standard
18771 すると、文書の最初の説明文を入力するように促されます。登録したファイルは、まだチェックインされたわけではないことに注意してください。
18774 \begin_layout Standard
18777 cvs -q add -m"<入力した説明文>" "<ファイル名>"
18782 \begin_layout Standard
18783 上記および他のすべてのCVSコマンドにおける
18787 は、「カレント作業ディレクトリをファイルの場所に移動し、パスコンポーネントを除いたファイル名を引数として使用する」という意味になります。
18790 \begin_layout Subsubsection
18794 \begin_layout Standard
18795 ファイルの編集を終えたら、変更をコミットします。このとき、文書に変更が加えられていれば、変更の説明文を入れるよう促されます。その後、変更がレポジトリに書き込まれ
18796 ます。文書を変更せず、予備付きチェックアウトが検出された場合、
18797 \begin_inset Flex MenuItem
18800 \begin_layout Plain Layout
18809 \begin_layout Labeling
18810 \labelwidthstring 00.00.0000
18812 \begin_inset space ~
18816 \begin_inset Newline newline
18820 \begin_inset Flex Code
18823 \begin_layout Plain Layout
18824 cvs -q commit -m"<入力した説明文>" "<ファイル名>"
18830 \begin_inset Newline newline
18834 \begin_inset Flex Code
18837 \begin_layout Plain Layout
18838 cvs -q unedit "<ファイル名>"
18846 \begin_layout Subsubsection
18850 \begin_layout Standard
18851 レポジトリを他人と共有している場合、他人の加えた変更を自らの作業コピーに取り込まなくてはならないことがあります。
18854 \begin_layout Standard
18857 cvs -q update "<ファイル名>"
18860 \begin_layout Standard
18861 読み込み専用チェックアウトが検出された場合、作業コピーを書き込み可能にし予備を作成します。
18864 \begin_layout Standard
18867 cvs -q edit "<ファイル名>"
18870 \begin_layout Subsubsection
18874 \begin_layout Standard
18875 これは、最後のチェックイン以降、文書に加えられた変更をすべて廃棄します。変更が廃棄される前に警告が表示されます。最初にファイルが削除され、次にCVS更新コマンド
18879 \begin_layout Standard
18882 cvs -q update "<ファイル名>"
18885 \begin_layout Standard
18886 予備付きチェックアウトが検出され、作業コピーに変更がない場合、予備のみが取り消されます。
18889 \begin_layout Standard
18892 cvs -q unedit "<ファイル名>"
18895 \begin_layout Subsubsection
18901 \begin_layout Standard
18902 これは、現行文書のコピーを生成します。CVSは、コピー操作を自前ではサポートしませんので、バージョン履歴には保存されず、新コピーは新規ファイルとして追加されます
18903 。最後のチェックイン以降、変更が加えられていないサラの文書であることが要求されます。ファイル名とコピー操作の説明を入力するように促され、その後、新コピーがローカ
18904 ルとリポジトリの両方に生成されます。コピーされた文書と元の文書の親ディレクトリが異なる場合には、コピーにインクルードされたファイルの相対パスは、(
18906 ファイル\SpecialChar menuseparator
18907 名前をつけて保存\SpecialChar ldots
18910 と同様に)全て調整されます。最後に、元の文書の代わりに、コピーされたファイルが読み込まれます。
18913 \begin_layout Labeling
18914 \labelwidthstring 00.00.0000
18918 \begin_layout Labeling
18919 \labelwidthstring 00.00.0000
18920 \begin_inset Flex Code
18923 \begin_layout Plain Layout
18930 \begin_inset Flex Code
18933 \begin_layout Plain Layout
18942 \begin_layout Labeling
18943 \labelwidthstring 00.00.0000
18944 \begin_inset Flex Code
18947 \begin_layout Plain Layout
18948 cvs -q add "<新ファイル名>"
18956 \begin_layout Subsubsection
18960 \begin_layout Standard
18961 これは、現行文書のファイル名を変更します。CVSは、ファイル名変更操作を自前ではサポートしませんので、バージョン履歴には保存されず、名称変更後のファイルは、新規
18962 ファイルとして追加されます。最後のチェックイン以降、変更が加えられていないサラの文書であることが要求されます。ファイル名とコピー操作の説明を入力するように促され
18963 、その後、ローカルとリポジトリの両方でファイル名が変更されます。新旧ファイル名の文書の親ディレクトリが異なる場合には、コピーにインクルードされたファイルの相対パ
18966 ファイル\SpecialChar menuseparator
18967 名前をつけて保存\SpecialChar ldots
18970 と同様に)全て調整されます。最後に、新ファイル名を使ってファイルが再度読み込まれます。
18973 \begin_layout Labeling
18974 \labelwidthstring 00.00.0000
18978 \begin_layout Labeling
18979 \labelwidthstring 00.00.0000
18980 \begin_inset Flex Code
18983 \begin_layout Plain Layout
18990 \begin_inset Flex Code
18993 \begin_layout Plain Layout
19002 \begin_layout Labeling
19003 \labelwidthstring 00.00.0000
19004 \begin_inset Flex Code
19007 \begin_layout Plain Layout
19008 cvs -q add "<新ファイル名>"
19016 \begin_layout Labeling
19017 \labelwidthstring 00.00.0000
19018 \begin_inset Flex Code
19021 \begin_layout Plain Layout
19022 cvs -q remove "<ファイル名>"
19030 \begin_layout Subsubsection
19031 ローカルディレクトリチェックアウトのレポジトリからの更新
19034 \begin_layout Standard
19036 \begin_inset Flex Code
19039 \begin_layout Plain Layout
19045 ファイルを取り込むなど、文書が複雑になるにつれ、バージョン管理の利用は複雑になります。\SpecialCharNoPassThru LyX
19046 は、文書が存在するツリー全体の更新をサポートします。これは、CVSの
19047 使用法について詳しい知識のない人々や、レポジトリに追加素材をコミットする野望のない人々と共同作業をするような場合に、特に便利です。ファイル構造は、すべての外部フ
19048 ァイルが、文書と同じディレクトリかそのサブディレクトリに来るように組織する必要があります。いずれにしても、複合文書を新しいディレクトリを建てて収容するのは、望ま
19052 \begin_layout Standard
19054 \begin_inset Flex Code
19057 \begin_layout Plain Layout
19063 は、ディレクトリ全体を更新します。ローカルの変更が検出された場合には、更新を開始する前にユーザーに警告が発せられます。マージコンフリクトが発生した場合には、コン
19064 フリクトを起こしている部分の新旧バージョンが、両方とも最終文書に置かれますので、マージの結果を見直し、修正する必要があります。コンフリクトは、
19065 \begin_inset Flex Code
19068 \begin_layout Plain Layout
19075 \begin_inset Flex Code
19078 \begin_layout Plain Layout
19085 \begin_inset Flex Code
19088 \begin_layout Plain Layout
19094 で区切られて表示されます。最初の部分は、文書名に続いて、更新操作前のバージョンが置かれています。第2の部分は、
19095 \begin_inset Flex Code
19098 \begin_layout Plain Layout
19104 記号列の後にバージョン番号に続いて、レポジトリ版が置かれます。
19107 \begin_layout Labeling
19108 \labelwidthstring 00.00.0000
19110 \begin_inset space ~
19114 \begin_inset Newline newline
19118 \begin_inset Flex Code
19121 \begin_layout Plain Layout
19122 cd $path; cvs diff "."
19128 \begin_inset Newline newline
19132 \begin_inset Flex Code
19135 \begin_layout Plain Layout
19136 cd $path; cvs -q update "."
19144 \begin_layout Standard
19146 \begin_inset Flex Code
19149 \begin_layout Plain Layout
19158 \begin_layout Subsubsection
19162 \begin_layout Standard
19163 これは、CVS文書の全履歴を表示します。
19164 \begin_inset Flex Code
19167 \begin_layout Plain Layout
19169 \begin_inset Quotes eld
19173 \begin_inset Quotes erd
19184 \begin_layout Subsubsection
19188 \begin_layout Standard
19189 \SpecialCharNoPassThru LyX
19190 は、CVS版数・著者名・最終コミットの日時をサポートします。これらの情報は、すべて
19194 によって抽出されます。詳細については、第
19195 \begin_inset CommandInset ref
19197 reference "subsec:VCS改訂情報"
19204 \begin_layout Subsection
19205 \SpecialCharNoPassThru LyX
19209 \begin_layout Standard
19210 \SpecialCharNoPassThru LyX
19211 は、現在SVNを一部サポートしています。そのコマンドは、
19212 \begin_inset Flex MenuItem
19215 \begin_layout Plain Layout
19216 ファイル\SpecialChar menuseparator
19222 メニューにあります。レポジトリへのアクセスに、ssh経由のパスワード保護アクセスを使用している場合には、端末ウィンドウでの入力を促されます。\SpecialCharNoPassThru LyX
19224 1.5および1.6に対して試験されています。
19227 \begin_layout Subsubsection
19231 \begin_layout Standard
19232 お使いの文書が改訂管理下に置かれていなければ、メニューにはこの項目だけが表示されます。もし改訂管理が有効ならば、
19239 \begin_layout Standard
19240 本コマンドは、既に文書のあるディレクトリをSVN管理下に置いている場合に
19245 \begin_inset Flex Code
19248 \begin_layout Plain Layout
19254 ファイルが存在する場合にのみ)、お使いの文書をSVNに登録します。つまり、アーカイブはご自分でチェックアウトしなくてはなりません。
19257 \begin_layout Standard
19258 すると、文書の最初の説明文を入力するように促されます。登録したファイルは、まだコミットされたわけではないことに注意してください。
19261 \begin_layout Standard
19263 \begin_inset Flex Code
19266 \begin_layout Plain Layout
19268 \begin_inset Quotes eld
19272 \begin_inset Quotes erd
19283 \begin_layout Standard
19285 \begin_inset Flex Code
19288 \begin_layout Plain Layout
19297 \begin_layout Subsubsection
19301 \begin_layout Standard
19302 ファイルの編集を終えたら、変更をコミットします。このとき、変更の説明文を入れるよう促されます。その後、変更がコミットされます。
19305 \begin_layout Standard
19310 \begin_layout Plain Layout
19311 ロックが有効になっていない場合です。第
19312 \begin_inset CommandInset ref
19314 reference "subsec:SVNファイルロック"
19324 \begin_inset Flex Code
19327 \begin_layout Plain Layout
19329 \begin_inset Quotes erd
19333 \begin_inset Quotes erd
19337 \begin_inset Quotes eld
19341 \begin_inset Quotes erd
19352 \begin_layout Subsubsection
19356 \begin_layout Standard
19357 このファイルの変更点をレポジトリから取得して更新します。すべての干渉点は、手動で解決しなくてはならないので、この機能を使う前にSVNのマージ法と干渉解決法を理解
19361 \begin_layout Standard
19366 \begin_layout Plain Layout
19373 \begin_inset Flex Code
19376 \begin_layout Plain Layout
19377 svn update \twohyphens
19379 \begin_inset Quotes eld
19383 \begin_inset Quotes erd
19394 \begin_layout Subsubsection
19398 \begin_layout Standard
19399 これは、最後のチェックイン以降、文書に加えられた変更をすべて廃棄します。変更が廃棄される前に警告が表示されます。
19402 \begin_layout Standard
19404 \begin_inset Flex Code
19407 \begin_layout Plain Layout
19409 \begin_inset Quotes eld
19413 \begin_inset Quotes erd
19424 \begin_layout Subsubsection
19430 \begin_layout Standard
19431 これは、現行文書のコピーを生成します。最後のチェックイン以降、変更が加えられていないサラの文書であることが要求されます。ファイル名とコピー操作の説明を入力するよ
19432 うに促され、その後、新コピーがローカルとリポジトリの両方に生成されます。コピーされた文書と元の文書の親ディレクトリが異なる場合には、コピーにインクルードされたフ
19435 ファイル\SpecialChar menuseparator
19436 名前をつけて保存\SpecialChar ldots
19439 と同様に)全て調整されます。最後に、元の文書の代わりに、コピーされたファイルが読み込まれます。
19442 \begin_layout Labeling
19443 \labelwidthstring 00.00.0000
19447 \begin_layout Labeling
19448 \labelwidthstring 00.00.0000
19449 \begin_inset Flex Code
19452 \begin_layout Plain Layout
19453 svn copy -q "<ファイル名>" "<新ファイル名>"
19461 \begin_layout Labeling
19462 \labelwidthstring 00.00.0000
19463 \begin_inset Flex Code
19466 \begin_layout Plain Layout
19475 \begin_layout Subsubsection
19479 \begin_layout Standard
19480 これは、現行文書のファイル名を変更します。最後のチェックイン以降、変更が加えられていないサラの文書であることが要求されます。ファイル名とコピー操作の説明を入力す
19481 るように促され、その後、ローカルとリポジトリの両方でファイル名が変更されます。新旧ファイル名の文書の親ディレクトリが異なる場合には、コピーにインクルードされたフ
19484 ファイル\SpecialChar menuseparator
19485 名前をつけて保存\SpecialChar ldots
19488 と同様に)全て調整されます。最後に、新ファイル名を使ってファイルが再度読み込まれます。
19491 \begin_layout Labeling
19492 \labelwidthstring 00.00.0000
19496 \begin_layout Labeling
19497 \labelwidthstring 00.00.0000
19498 \begin_inset Flex Code
19501 \begin_layout Plain Layout
19502 svn move -q add "<ファイル名>" "<新ファイル名>"
19510 \begin_layout Labeling
19511 \labelwidthstring 00.00.0000
19512 \begin_inset Flex Code
19515 \begin_layout Plain Layout
19524 \begin_layout Subsubsection
19525 \begin_inset CommandInset label
19527 name "subsec:レポジトリからSVN同期"
19531 レポジトリを使ったローカルディレクトリの同期
19535 \begin_layout Plain Layout
19537 \begin_inset Formula $\geqq1.5$
19540 でのみ動作することに注意してください。
19548 \begin_layout Standard
19549 上記の各コマンドはすべて、共通の短所を持っています。すなわち、これらのコマンドは現在の文書しか取り扱わないのです。もし、作業中の文書に図を含めたり、外部
19550 \begin_inset Flex Code
19553 \begin_layout Plain Layout
19559 ファイルを取り込んだりすれば、管理はずっと複雑になります。そこで\SpecialCharNoPassThru LyX
19560 は、文書のおいてあるツリー全体の更新をサポートします
19564 \begin_layout Plain Layout
19565 すべての外部ファイルが、文書と同じディレクトリかそれ以下のサブディレクトリに来るようにファイル構造を構成する必要があります。
19570 。これは、subversion管理を知らなかったりレポジトリに新しい素材をコミットする勇気のない人たちと共同作業をする羽目になったときに、ひじょうに役に立ちます
19574 \begin_layout Standard
19575 \begin_inset Flex Code
19578 \begin_layout Plain Layout
19584 コマンドは、ディレクトリ全体を更新し、マージに衝突が発生した場合には、ローカル版は保存されるので、意図しないデータロスが発生しません。ローカルな変更が発見された
19585 場合には、更新が開始される前にユーザに警告が与えられます。
19588 \begin_layout Labeling
19589 \labelwidthstring 00.00.0000
19591 \begin_inset space ~
19595 \begin_inset Newline newline
19599 \begin_inset Flex Code
19602 \begin_layout Plain Layout
19603 svn diff $path(変更が発見された場合には通知します)
19604 \begin_inset Newline newline
19607 svn update \twohyphens
19608 accept mine-full $path
19616 \begin_layout Standard
19618 \begin_inset Flex Code
19621 \begin_layout Plain Layout
19630 \begin_layout Subsubsection
19634 \begin_layout Standard
19635 これは、SVN文書の全履歴を表示します。
19636 \begin_inset Flex Code
19639 \begin_layout Plain Layout
19641 \begin_inset Quotes eld
19645 \begin_inset Quotes erd
19656 \begin_layout Subsubsection
19658 \begin_inset CommandInset label
19660 name "subsec:SVNファイルロック"
19667 \begin_layout Standard
19668 別々の改訂管理システム間でファイルを交換しようとすると、二人のユーザが同じ文書(の一部)を編集している場合、マージが衝突する問題を引き起こします。そのような衝突
19669 が発生した場合、手動で解決しなくてはならなくなりますが、その合理的な解決法としては、与えられた時間に一人のユーザだけがファイルを編集することが許されるように保証
19670 するための、何らかのロック機構を導入することが考えられます。
19673 \begin_layout Standard
19674 SVNには、このように相互に排他的なファイルアクセスを提供する機構が二つあります。ロックと、
19675 \begin_inset Flex Code
19678 \begin_layout Plain Layout
19684 svnファイル特性に依拠した書き込み権限の自動設定(第
19685 \begin_inset CommandInset ref
19687 reference "subsec:自動ロック特性"
19695 \begin_layout Plain Layout
19696 http://svnbook.red-bean.com/en/1.2/svn.advanced.locking.html
19701 。ある文書について、この特性が検出されたときには、\SpecialCharNoPassThru LyX
19702 は自動的に文書編集にSVNロックを使用するようになり、チェックイン・チェックアウト機構はRCSと同じ枠組
19703 みに切り替わります。これは特に、\SpecialCharNoPassThru LyX
19704 でのファイルの使われ方に以下の二つのモードがあることを意味します。
19707 \begin_layout Itemize
19708 非ロック状態。読み込まれたファイルは、読み込み専用モードになります。編集するためには、チェックアウトする必要があります。
19712 を行うと、レポジトリからの更新と、書き込みロックの獲得が行われます。ロックの獲得ができないと、非ロック状態から出ることができません。
19715 \begin_layout Itemize
19716 ロック状態。読み込まれたファイルは、「通常の」編集モードになります。他のユーザには、このファイルを編集する許可が与えられません。
19720 を行うと、変更のコミットと書き込みロックの解放が行われます。文書に変更が加えられなかった場合には、コミットは実行されず
19724 \begin_layout Plain Layout
19725 コミットは実行されないのに、コミットメッセージを入力するよう促されますが、驚かないでください。
19730 、書き込みロックの解放のみが行われます。
19733 \begin_layout Standard
19737 \begin_layout Labeling
19738 \labelwidthstring 00.00.0000
19740 \begin_inset Flex Code
19743 \begin_layout Plain Layout
19745 \begin_inset Quotes erd
19749 \begin_inset Quotes erd
19753 \begin_inset Quotes eld
19757 \begin_inset Quotes erd
19766 \begin_inset Newline newline
19770 \begin_inset Flex Code
19773 \begin_layout Plain Layout
19775 \begin_inset Quotes eld
19779 \begin_inset Quotes erd
19790 \begin_layout Labeling
19791 \labelwidthstring 00.00.0000
19793 \begin_inset Flex Code
19796 \begin_layout Plain Layout
19798 \begin_inset Quotes eld
19802 \begin_inset Quotes erd
19811 \begin_inset Newline newline
19815 \begin_inset Flex Code
19818 \begin_layout Plain Layout
19820 \begin_inset Quotes eld
19824 \begin_inset Quotes erd
19835 \begin_layout Subsubsection
19837 \begin_inset CommandInset label
19839 name "subsec:自動ロック特性"
19846 \begin_layout Standard
19848 \begin_inset Flex Code
19851 \begin_layout Plain Layout
19857 ファイルに対する書き込み権限の自動設定は、
19858 \begin_inset Flex MenuItem
19861 \begin_layout Plain Layout
19862 ファイル\SpecialChar menuseparator
19863 バージョン管理\SpecialChar menuseparator
19869 で行うことができます。このコマンドは、SVNサーバでファイルがロックされていないときのみ使用可能状態になります(つまり、使用するにはチェックアウトが必要です)。
19872 \begin_layout Standard
19876 \begin_layout Labeling
19877 \labelwidthstring 00.00.0000
19879 \begin_inset Flex Code
19882 \begin_layout Plain Layout
19883 svn propset svn:needs-lock ON
19884 \begin_inset Quotes eld
19888 \begin_inset Quotes erd
19899 \begin_layout Labeling
19900 \labelwidthstring 00.00.0000
19902 \begin_inset Flex Code
19905 \begin_layout Plain Layout
19906 svn propdel svn:needs-lock
19907 \begin_inset Quotes eld
19911 \begin_inset Quotes erd
19922 \begin_layout Subsubsection
19923 \begin_inset CommandInset label
19925 name "subsec:VCS改訂情報"
19932 \begin_layout Standard
19933 文書中で改訂情報を有効化するにはいくつかの方法があります。
19936 \begin_layout Itemize
19937 \SpecialCharNoPassThru LyX
19939 \begin_inset Separator parbreak
19945 \begin_layout Itemize
19947 \begin_inset Flex Code
19950 \begin_layout Plain Layout
19957 \begin_inset Flex Code
19960 \begin_layout Plain Layout
19966 コマンドの出力を返します。下記の表が、結果の読み方のヒントを与えるでしょう。
19969 \begin_layout Standard
19971 \begin_inset Tabular
19972 <lyxtabular version="3" rows="6" columns="2">
19973 <features rotate="0" tabularvalignment="middle">
19974 <column alignment="center" valignment="top">
19975 <column alignment="center" valignment="top">
19977 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19980 \begin_layout Plain Layout
19986 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19989 \begin_layout Plain Layout
19997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20000 \begin_layout Plain Layout
20006 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20009 \begin_layout Plain Layout
20017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20020 \begin_layout Plain Layout
20026 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20029 \begin_layout Plain Layout
20037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20040 \begin_layout Plain Layout
20046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20049 \begin_layout Plain Layout
20057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20060 \begin_layout Plain Layout
20066 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20069 \begin_layout Plain Layout
20070 チェックアウト頻度が低かったことによる不完全な作業コピー
20077 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20080 \begin_layout Plain Layout
20086 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20089 \begin_layout Plain Layout
20090 改訂版が混合し、修正され、スイッチされた作業コピー
20103 \begin_layout Itemize
20105 \begin_inset Flex Code
20108 \begin_layout Plain Layout
20110 \begin_inset space ~
20114 \begin_inset space ~
20119 \begin_inset space ~
20127 の出力を解析したものが返されます。サポートされるフラグは
20128 \begin_inset Separator parbreak
20134 \begin_layout Itemize
20136 \begin_inset Flex Code
20139 \begin_layout Plain Layout
20148 \begin_layout Itemize
20150 \begin_inset Flex Code
20153 \begin_layout Plain Layout
20162 \begin_layout Itemize
20164 \begin_inset Flex Code
20167 \begin_layout Plain Layout
20176 \begin_layout Itemize
20178 \begin_inset Flex Code
20181 \begin_layout Plain Layout
20191 \begin_layout Standard
20192 これらの情報は、情報差込枠で得ることができます(例:
20193 \begin_inset Flex Code
20196 \begin_layout Plain Layout
20197 info-insert buffer vcs-date
20202 )。これらの情報は、ファイルをsvn管理下に置いたときのみ(すなわち使用中文書の
20203 \begin_inset Flex Code
20206 \begin_layout Plain Layout
20212 ディレクトリがあるときのみ)利用可能です。
20216 \begin_layout Itemize
20218 ハッカー的な\threehyphens
20219 方法は、SVNキーワードを使用する方法です
20223 \begin_layout Plain Layout
20224 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.special.keywords.html
20229 。簡単に言えば、ファイルキーワード特性を設定して(例:
20231 svn propset svn:keywords 'Rev' file.lyx
20233 )、文書中にキーワード\SpecialCharNoPassThru TeX
20238 \begin_layout Plain Layout
20239 これは、\SpecialCharNoPassThru LyX
20240 がキーワードタグの途中で改行してしまわないことを確実にするための、簡単な方法です。
20249 \begin_layout Plain Layout
20256 )を貼り付けるのです。このようにして、SVNクライアントは、各更新やコミットの後に自動的に改訂番号を代入することができるのです(例
20260 \begin_layout Plain Layout
20267 )。このアプローチにはいくつか問題があります。第一に、\SpecialCharNoPassThru TeX
20268 の世界では「$」文字は数式を表すのに使われるので、\SpecialCharNoPassThru LyX
20270 \begin_inset Formula $Rev$
20274 \begin_inset Formula $Rev:59$
20277 になってしまいます。その他のId・Date・Authorなどといったキーワードも同様です。第二に、SVN出力は使用中のロケールに依存するので、Dateが用いられ
20278 ると、SVNは、問題を引き起こすような文字列を容易に生成してしまいます。第三に、文書中には、番号だけでなく「Rev:59」という文字列全体が表示されてしまいます
20279 。Subversionがユーザ定義のキーワードを実装するまでは、このアプローチを信頼性を持って使用したり、\SpecialCharNoPassThru LyX
20280 がこれを直接サポートすることは、難しそうです。
20283 \begin_layout Subsection
20287 \begin_layout Quote
20288 ユーザが、かなり早いうちに自分自身でコマンドライン操作を理解できないのであれば、TortoiseSVNを使った方が賢明でしょう。\threehyphens
20294 \begin_layout Subsubsection
20298 \begin_layout Standard
20299 \SpecialCharNoPassThru LyX
20300 を導入して、Subversionレポジトリへのアクセス権を持っている他に、ユーザはSubversionクライアントプログラムを導入する必要があります。クラ
20301 イアントプログラムのWindows用インストーラは
20302 \begin_inset CommandInset href
20305 target "http://www.collab.net/nonav/downloads/subversion/"
20310 \begin_inset CommandInset href
20313 target "http://tortoisesvn.tigris.org/"
20317 も導入することを考えるでしょう。これはSubversionの操作をWindows Explorerのコンテクスト(右クリック)メニューに統合します。\SpecialCharNoPassThru LyX
20319 行う操作は、一般的にExplorerコンテクストメニューを使った方が便利です。TortoiseSVNは、\SpecialCharNoPassThru LyX
20320 自身が使用するクライアントプログラムの代わりとは成
20324 \begin_layout Subsubsection
20325 文書をSubversion管理下に置くには
20328 \begin_layout Standard
20329 \SpecialCharNoPassThru LyX
20330 文書をSubversionのバージョン管理下に置く前に、その親ディレクトリをバージョン管理下に置かなくてはなりません。文書を、既にレポジトリに存在するプロ
20331 ジェクトに追加する際には、新規文書が置かれることになるディレクトリへ、プロジェクトをチェックアウトすることによって実現します。プロジェクト自体がバージョン管理下
20332 にない場合(たとえばこの文書が新規プロジェクトの最初のファイルである場合)には、このディレクトリをレポジトリにインポートしなくてはなりません。これは、\SpecialCharNoPassThru LyX
20334 部で行います。インポートもチェックアウトも共に、TortoiseSVNを使えば、Explorerのコンテクストメニューから簡単に終えることができます。あるいは、
20335 DOSプロンプトでコマンドライン・クライアントを使って成し遂げることもできます。TortoiseSVNを使ったプロジェクトのインポート手続きを下記で説明します。
20336 レポジトリは既に存在し、新規プロジェクトを
20337 \begin_inset Flex Code
20340 \begin_layout Plain Layout
20348 で開始するものとします。Subversionクライアントプログラムを使うための情報を得るには、DOSシェルで
20349 \begin_inset Flex Code
20352 \begin_layout Plain Layout
20362 \begin_layout Enumerate
20364 \begin_inset Flex Code
20367 \begin_layout Plain Layout
20376 \begin_inset Flex MenuItem
20379 \begin_layout Plain Layout
20380 TortoiseSVN\SpecialChar menuseparator
20386 を選択してください。必要であれば、レポジトリのURLを調整し、OKをクリックしてください。
20389 \begin_layout Enumerate
20390 新規プロジェクトフォルダを置くレポジトリレベル(多くの場合最上位レベル)を右クリックし、
20391 \begin_inset Flex MenuItem
20394 \begin_layout Plain Layout
20395 Create folder\SpecialChar ldots
20401 をクリックしてください。プロジェクトフォルダの名称を入力してOKをクリックしてください。必要であればログファイル用のメッセージを入力し、再びOKをクリックしてく
20402 ださい。新規プロジェクトフォルダがレポジトリに現れるはずです。最後にOKを再度クリックして、レポジトリブラウザを終了してください。
20405 \begin_layout Enumerate
20407 \begin_inset Flex Code
20410 \begin_layout Plain Layout
20419 \begin_inset Flex MenuItem
20422 \begin_layout Plain Layout
20423 SVN Checkout\SpecialChar ldots
20429 を選択してください。レポジトリにたった今作成した、プロジェクトフォルダのURLを選択し、チェックアウトディレクトリを
20430 \begin_inset Flex Code
20433 \begin_layout Plain Layout
20441 に設定してから、OKをクリックしてください。フォルダが空でないことを警告されますが、OKをクリックして進んでください。すると、
20442 \begin_inset Flex Code
20445 \begin_layout Plain Layout
20454 \begin_inset Flex Code
20457 \begin_layout Plain Layout
20466 \begin_layout Enumerate
20467 \SpecialCharNoPassThru LyX
20469 \begin_inset Flex MenuItem
20472 \begin_layout Plain Layout
20473 ファイル\SpecialChar menuseparator
20474 バージョン管理\SpecialChar menuseparator
20480 をクリックします。ログメッセージを入力してOKをクリックし、文書をバージョン管理にコミットしてください。
20483 \begin_layout Standard
20485 \begin_inset Flex MenuItem
20488 \begin_layout Plain Layout
20489 ファイル\SpecialChar menuseparator
20495 メニューのすべての機能が使用できるようになります。Windows ExplorerのTortoiseSVNコンテクストメニューか、コマンドプロンプトでのSubv
20496 ersionクライアントプログラムを使用して、文書をチェックイン・チェックアウトしたり、履歴を見たりといったことができるようになります。
20499 \begin_layout Subsubsection
20500 Windows下でSVNと共にSSHトンネルを使うには
20503 \begin_layout Standard
20504 Linuxに較べて、WindowsでSVNクライアントをSSH経由で通信するようにさせるのは、かなり厄介な仕事です。どのようにクライアント側を設定すればよいか、
20505 少なくとも幾分かのヒントをお示しするつもりですが、sshとWindowsコマンドラインの知識が前もって必要であり、それと共にかなりの量のフラストレーションが溜ま
20509 \begin_layout Enumerate
20510 前節で述べたように、Windows用のSVNクライアントを入手してください。これが新規の導入である場合には、何らかのSVNコマンド(たとえば
20511 \begin_inset Flex Code
20514 \begin_layout Plain Layout
20521 )を実行して、configファイル群を生成させてください。これらは後で変更を加える必要があります。
20524 \begin_layout Enumerate
20525 Windows用のsshクライアントを選んでください。選択肢はたくさんありますが、ここではPutty tools
20529 \begin_layout Plain Layout
20530 \begin_inset Flex URL
20533 \begin_layout Plain Layout
20535 http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
20545 のものを使用することとしましょう。クライアントが接続の度にパスワードを訊いてこないように、接続を自動化する必要があります。簡単にするために、追加的なパスワード保
20547 \begin_inset Flex Ruby
20550 \begin_layout Plain Layout
20552 \begin_inset Argument post:1
20555 \begin_layout Plain Layout
20567 \begin_inset Separator parbreak
20573 \begin_layout Enumerate
20574 \begin_inset Flex Code
20577 \begin_layout Plain Layout
20583 を使って鍵を生成します。.ppkプライベート鍵ファイルを保存し、パブリック鍵ファイルはサーバ側に置きます。SVNサーバがLinuxで走っている場合、このパブリック
20584 鍵の書式はLinuxのopensshと互換性がないために、「Public key for pasting into OpenSSH authorized_key
20585 s file:」編集フィールドから、直接サーバの
20586 \begin_inset Flex Code
20589 \begin_layout Plain Layout
20590 ~/.ssh/authorized_keys
20596 \begin_inset Flex Code
20599 \begin_layout Plain Layout
20605 ファイルにコピー&ペーストを行わなくてはならないことに注意してください。
20608 \begin_layout Enumerate
20609 Puttyのplinkを入手してください。SVNのconfigファイル
20613 \begin_layout Plain Layout
20614 正確なパスはWindowsのバージョンに依りますが、通常は
20615 \begin_inset Flex Code
20618 \begin_layout Plain Layout
20621 Documents and Settings
20635 \begin_inset Flex Code
20638 \begin_layout Plain Layout
20654 \begin_inset Flex Code
20657 \begin_layout Plain Layout
20663 セクションにsshコマンドを設定してください。例:
20664 \begin_inset Flex Code
20667 \begin_layout Plain Layout
20668 ssh=c:/path/plink.exe -i c:/path/private_key.ppk
20677 \begin_layout Plain Layout
20678 通常、正確なコマンドを機能させるには長い時間がかかり、それは多くの物事に依存します。たとえば、リモートサーバがPuttyなどの既定セッションとして保存されないよ
20679 うにしてください。うまく行かない場合には、まずSVNなしでplink経由の接続を試してください。
20688 \begin_layout Enumerate
20689 SVNアーカイブをチェックアウトしてください。例:
20690 \begin_inset Newline newline
20694 \begin_inset Flex Code
20697 \begin_layout Plain Layout
20698 svn co svn+ssh://user@server/repository_path
20706 \begin_layout Subsubsection
20710 \begin_layout Standard
20711 共著者同士がLinuxとWindowsを混在させているとき、\SpecialCharNoPassThru LyX
20712 は.lyxファイル中で異なった行末記号を使用することになります。これは、\SpecialCharNoPassThru LyX
20714 問題になりませんが、コミット差分は巨大になり、マージではコンフリクトを引き起こしがちです。幸いにして、SVNは、.lyxファイルを
20715 \begin_inset Flex Code
20718 \begin_layout Plain Layout
20728 \begin_layout Plain Layout
20730 \begin_inset Flex Code
20733 \begin_layout Plain Layout
20734 svn propset svn:eol-style native FILE_NAME
20744 、CR/LF問題をどのように取り扱えばいいかを知っているので大丈夫です
20748 \begin_layout Plain Layout
20749 \begin_inset Flex URL
20752 \begin_layout Plain Layout
20754 http://svnbook.red-bean.com/en/1.4/svn.advanced.props.file-portability.html
20767 \begin_layout Subsection
20768 \SpecialCharNoPassThru LyX
20772 \begin_layout Standard
20773 \SpecialCharNoPassThru LyX
20774 で、最小限のGITコマンドがサポートされるようになりました。これらのコマンドは、
20776 ファイル\SpecialChar menuseparator
20779 にあります。リポジトリのアクセスに、パスワード保護されたsshを使用している場合には、ターミナルウィンドウでの操作をするように促されます。\SpecialCharNoPassThru LyX
20784 \begin_layout Standard
20785 GITと他のバージョン管理システムとの大きな相違点は、GITの配布形態にあります。伝統的なバージョン管理システムでは、リポジトリをホストする、中心となるサーバー
20786 があります。ユーザーは変更点をサーバーにコミットし、他のユーザーが行った更新分をサーバーから受け取ります。一方、GITでは、ユーザーは、ローカルのリポジトリにコ
20787 ミットを行います。ローカルリポジトリは、GITコマンドの
20788 \begin_inset Flex Code
20791 \begin_layout Plain Layout
20798 \begin_inset Flex Code
20801 \begin_layout Plain Layout
20807 を使って、1つ以上のリモートリポジトリと同期されます。\SpecialCharNoPassThru LyX
20808 は、リモートのGITリポジトリとは、一切関わりません。CVSやSVNの集権的リポジトリに対して行うの
20809 と同じことを、ローカルのリポジトリに対してのみ行います。リモートのGITリポジトリを使用している場合には、お好みのGITクライアントを使用して、
20810 \begin_inset Flex Code
20813 \begin_layout Plain Layout
20820 \begin_inset Flex Code
20823 \begin_layout Plain Layout
20832 \begin_layout Subsubsection
20836 \begin_layout Standard
20837 お使いの文書が改訂管理下に置かれていなければ、メニューにはこの項目だけが表示されます。もし改訂管理が有効ならば、
20844 \begin_layout Standard
20845 本コマンドは、既に文書のあるディレクトリをGIT管理下に置いている場合に
20850 \begin_inset Flex Code
20853 \begin_layout Plain Layout
20859 ファイルが存在する場合にのみ)、お使いの文書をGITに登録します。つまり、アーカイブはご自分でチェックアウトしなくてはなりません。
20862 \begin_layout Standard
20863 すると、文書の最初の説明文を入力するように促されます。登録したファイルは、まだコミットされたわけではないことに注意してください。
20866 \begin_layout Standard
20868 \begin_inset Flex Code
20871 \begin_layout Plain Layout
20880 \begin_layout Standard
20882 \begin_inset Flex Code
20885 \begin_layout Plain Layout
20894 \begin_layout Subsubsection
20898 \begin_layout Standard
20899 ファイルの編集を終えたら、変更をコミットします。このとき、変更の説明文を入れるよう促されます。その後、変更がコミットされます。
20902 \begin_layout Standard
20904 \begin_inset Flex Code
20907 \begin_layout Plain Layout
20909 \begin_inset Quotes erd
20913 \begin_inset Quotes erd
20924 \begin_layout Subsubsection
20928 \begin_layout Standard
20929 これは、最後のチェックイン以降、文書に加えられた変更をすべて廃棄します。変更が廃棄される前に警告が表示されます。
20932 \begin_layout Standard
20934 \begin_inset Flex Code
20937 \begin_layout Plain Layout
20939 \begin_inset Quotes eld
20943 \begin_inset Quotes erd
20954 \begin_layout Subsubsection
20958 \begin_layout Standard
20959 これは、現行文書のファイル名を変更します。最後のチェックイン以降、変更が加えられていないサラの文書であることが要求されます。ファイル名とコピー操作の説明を入力す
20960 るように促され、その後、ローカルとリポジトリの両方でファイル名が変更されます。新旧ファイル名の文書の親ディレクトリが異なる場合には、コピーにインクルードされたフ
20963 ファイル\SpecialChar menuseparator
20964 名前をつけて保存\SpecialChar ldots
20967 と同様に)全て調整されます。最後に、新ファイル名を使ってファイルが再度読み込まれます。
20970 \begin_layout Labeling
20971 \labelwidthstring 00.00.0000
20975 \begin_layout Labeling
20976 \labelwidthstring 00.00.0000
20977 \begin_inset Flex Code
20980 \begin_layout Plain Layout
20981 git mv "<ファイル名>" "<新ファイル名>"
20989 \begin_layout Labeling
20990 \labelwidthstring 00.00.0000
20991 \begin_inset Flex Code
20994 \begin_layout Plain Layout
21003 \begin_layout Subsubsection
21007 \begin_layout Standard
21008 これは、GIT文書の全履歴を表示します。
21009 \begin_inset Flex Code
21012 \begin_layout Plain Layout
21014 \begin_inset Quotes eld
21018 \begin_inset Quotes erd
21029 \begin_layout Subsubsection
21033 \begin_layout Standard
21034 \SpecialCharNoPassThru LyX
21035 は、ファイルの最終コミットのGITハッシュ番号・著者名・最終コミットの日時をサポートします。これらの情報は、すべて
21037 git log -n 1 \twohyphens
21038 pretty=format:%H%n%an%n%ai
21040 によって抽出されます。ツリーバージョン情報は、
21042 git describe \twohyphens
21048 \begin_inset CommandInset ref
21050 reference "subsec:VCS改訂情報"
21057 \begin_layout Subsection
21061 \begin_layout Standard
21062 vcコマンド機構が最近になって付け加えられたおかげで、\SpecialCharNoPassThru LyX
21063 のパワーユーザは、改訂管理のための自製コマンドを作ることができるようになりました。
21066 \begin_layout Standard
21067 たとえば、以下のようにして、二つのTortoiseSVNコマンドを直接統合することができます。
21070 \begin_layout Description
21072 \begin_inset Flex Code
21075 \begin_layout Plain Layout
21076 vc-command DR "." "TortoiseProc /command:commit /path:$$p"
21084 \begin_layout Description
21086 \begin_inset Flex Code
21089 \begin_layout Plain Layout
21090 vc-command DR "." "TortoiseProc /command:revert /path:$$p"
21098 \begin_layout Subsection
21102 \begin_layout Standard
21104 \begin_inset Flex Code
21107 \begin_layout Plain Layout
21113 ダンプを生成することによって、改訂版の間の変更点を検査するのが、典型的な使用法です。これは平文ファイルには有効なのですが、複雑な構造を持つ\SpecialCharNoPassThru LyX
21115 は、あまり便利ではありません。そこで、\SpecialCharNoPassThru LyX
21116 は独自の文書比較機能を提供しています。この機能を呼び出すには2つの方法があります。1つは、\SpecialCharNoPassThru LyX
21118 \begin_inset Flex Code
21121 \begin_layout Plain Layout
21127 関数を直接呼び出す方法であり(詳細は\SpecialCharNoPassThru LyX
21129 \begin_inset Flex MenuItem
21132 \begin_layout Plain Layout
21133 旧改訂と比較\SpecialChar ldots
21139 メニューないしアイコンを使用する方法です。当該文書のうち、任意の2つの改訂版を比較することもできますし、編集中の現行版を古い改訂版と比較することもできます(この
21141 \begin_inset Flex MenuItem
21144 \begin_layout Plain Layout
21150 」は、編集中のファイルと最後にコミットした改訂版との比較を意味します)。
21153 \begin_layout Standard
21154 この機能は、SVNとRCSでサポートされていますが、RCSは、より複雑なバージョン付けスキームを持っているため、制約があります。ダイアログ中で改訂版を指定する際
21155 の数字は、つねにRCS改訂番号の最後の数を指し示します(例:「1.2.35」版のときには「35」)。現在のところ、改訂のGIT表記はサポートされておらず、HEAD~
21156 Xの形で表記されるXステップ前の改訂版を、編集中文書と比較することのみが可能です。
21159 \begin_layout Section
21163 \begin_layout Standard
21168 (kayvan@sylvan.com)改訂
21170 Edmar Wienskoski Jr.
21172 (edmar-w-jr@technologist.com)原文
21175 \begin_layout Subsection
21179 \begin_layout Standard
21180 この節の主な目的は、文芸的プログラミング(literate programming)のために、\SpecialCharNoPassThru LyX
21181 をどう使えばよいかをお見せすることです。ここでは、あなたがこ
21182 のプログラミング技術をよくご存じで、「tangling」や「weaving」の意味するところを知っているものとして説明します。そうでない場合には、以下の各節にあ
21183 るウェブリンクをたどってください。そこには、かつての開発の歴史から最新のツールチップまで、たくさんの良質なドキュメンテーションがあります。
21186 \begin_layout Standard
21187 また、あなたが、\SpecialCharNoPassThru LyX
21188 の設定を変更することを厭わない程度まで\SpecialCharNoPassThru LyX
21189 に習熟しており、Xリソースファイルにも親しんでいることを前提にしています。そうでない場合は、あ
21190 なたの必要とするトピックを扱っている、\SpecialCharNoPassThru LyX
21194 \begin_layout Subsection
21198 \begin_layout Standard
21199 以下は、文芸プログラミング FAQからの抜粋です。
21202 \begin_layout Quotation
21203 文芸プログラミングは、人間が読むのに適した形でのドキュメンテーションとソースの組合わせです。実際、文芸的プログラムは楽しい読み物であるべきであり、さらには参加し
21204 たいとさえ思わせるべきなのです!(ボブ、ごめん。言わずにはいれなかった。)一般的に、文芸プログラムは、ソースとドキュメンテーションを同一ファイル上に結合したもの
21205 です。そして、文芸プログラミングツールは、ファイルを解析して、読むことのできるドキュメンテーションか、あるいはコンパイル可能なソースを生成します。文芸プログラミ
21207 \begin_inset space \thinspace{}
21211 Knuthが、\SpecialCharNoPassThru TeX
21212 組版ソフトウエアを開発中に作り出したものです。
21215 \begin_layout Standard
21219 \begin_layout Quotation
21222 文芸プログラミングは、冗長なコメント付けと何が違いますか?
21225 \begin_layout Quotation
21226 3つの際立った特徴があります。重要な順に列挙すれば、
21227 \begin_inset Separator parbreak
21233 \begin_layout Itemize
21237 \begin_layout Itemize
21241 \begin_layout Itemize
21242 特に図式と数式を含んだドキュメンテーションの組版
21246 \begin_layout Quotation
21250 \begin_layout Standard
21251 あなたの興味に火を付けたところで書誌情報を見てみましょう。
21254 \begin_layout Subsubsection
21258 \begin_layout Standard
21262 \begin_layout Quote
21263 Literate Programming FAQ
21264 \begin_inset Flex URL
21267 \begin_layout Plain Layout
21269 http://www.xmarks.com/site/shelob.ce.ttu.edu/daves/lpfaq/faq.html
21277 \begin_layout Standard
21281 \begin_layout Standard
21282 このFAQには、23(二十三です!)の文芸プログラミング用ツールが列挙されています。一部のツールは、特定のプログラミング言語用に特化したものですが、一般的な対象
21283 を持つものもあります。私は自分で使うのに、いくつかの理由から
21290 \begin_layout Itemize
21291 説明文書を\SpecialCharNoPassThru LaTeX
21295 \begin_layout Itemize
21296 開放的なアーキテクチャに持っているので、新しいフィルタをプラグインとして加えたり、自分が必要な特別な処理を実行することが容易である。
21299 \begin_layout Itemize
21300 すでに利用可能となっているフィルタの良質なコレクションがある(HTMLはその一つです)。
21303 \begin_layout Itemize
21307 \begin_layout Standard
21311 \begin_layout Quote
21313 \begin_inset Flex URL
21316 \begin_layout Plain Layout
21318 http://www.cs.virginia.edu/~nr/noweb/
21326 \begin_layout Standard
21327 にあります。ここから始めれば、たくさんの興味深いリンクや、文芸プログラミングの用例にたどり着くことができます。
21330 \begin_layout Subsection
21331 \SpecialCharNoPassThru LyX
21332 とNowebを使った文芸プログラミング
21335 \begin_layout Standard
21336 \SpecialCharNoPassThru LyX
21337 における文芸プログラミングのサポートは、\SpecialCharNoPassThru LyX
21338 の汎用変換機構を使用して実現しています。このサポートは「Noweb非依存」的な方法で提供されているので、Ly
21339 Xの設定を変更するだけで、自分の好きな他の文芸プログラミングツールを使って、この新しい\SpecialCharNoPassThru LyX
21343 \begin_layout Subsubsection
21344 ドキュメントとコードの生成(weavingおよびtangling)
21347 \begin_layout Paragraph
21351 \begin_layout Standard
21352 Nowebと\SpecialCharNoPassThru LyX
21353 の導入に成功したならば、新規文書を開いたときにはいつも、文書クラスを選択した後、
21355 文書\SpecialChar menuseparator
21358 メニューで「noweb」モジュールを追加するようにしてください。Nowebが正しく導入されていれば、「モジュール」リンクをクリックした際、利用可能リストに「no
21359 web」モジュールが表示され、文書に追加できるようになっています。
21362 \begin_layout Paragraph
21366 \begin_layout Standard
21367 \SpecialCharNoPassThru LyX
21369 \begin_inset Flex Noun
21372 \begin_layout Plain Layout
21378 という名前のレイアウトを使えば、コードを入力することができます。Nowebは次のようにchunks を区切ります。
21381 \begin_layout LyX-Code
21385 \begin_layout LyX-Code
21389 \begin_layout LyX-Code
21393 \begin_layout LyX-Code
21397 \begin_layout LyX-Code
21401 \begin_layout Standard
21402 問題は<<と@の間にあるものを完全にそのままの形で扱わなければならないことです。つまり、\SpecialCharNoPassThru LyX
21403 は、この間に書かれたものを特別に解釈することは決してあってはなりま
21405 \begin_inset Flex Noun
21408 \begin_layout Plain Layout
21414 によって取り扱われ、通常の段落のように見えますが、自由に空白を入れることができます。
21417 \begin_layout Standard
21418 特殊な注釈として、chunk内でNowebの「%def」を使えば、Nowebのidentifierの相互参照に項目を加えることができます。次の例を見てください。
21421 \begin_layout LyX-Code
21425 \begin_layout LyX-Code
21426 def some_function(args):
21429 \begin_layout LyX-Code
21430 "This is the doc string for this function."
21433 \begin_layout LyX-Code
21434 print "My args: ", args
21437 \begin_layout LyX-Code
21438 @ %def some_function
21441 \begin_layout Standard
21442 これをどのように使って、その結果相互参照がどうなるかは
21444 LIBDIR/examples/listerrors.lyx
21446 の中の文芸pythonプログラムを見るとよくわかります。
21449 \begin_layout Paragraph
21453 \begin_layout Standard
21454 この時点で、適切な文書クラスを持ち、いくつかのコードとテキストが入った新規文書ファイルが作成されているはずです。これをどうやって印刷したらいいのでしょう。答えは
21457 文書\SpecialChar menuseparator
21460 等を選ぶだけです。特別な手続きは必要ありません。
21463 \begin_layout Standard
21464 理解を助けるために、\SpecialCharNoPassThru LyX
21465 の内部で何が起っているかを説明しておきましょう。
21468 \begin_layout Enumerate
21471 文書\SpecialChar menuseparator
21474 が選択されると、\SpecialCharNoPassThru LaTeX
21477 \begin_inset Separator parbreak
21483 \begin_layout Standard
21484 文書が文芸プログラミング用のクラスであった場合には、拡張子に(
21485 \begin_inset Flex MenuItem
21488 \begin_layout Plain Layout
21494 パネルで設定した)文芸プログラム用のものがつけられます。それ以外は .texが拡張子に使われます。
21498 \begin_layout Enumerate
21499 違いがファイル名だけなのに注意してください。\SpecialCharNoPassThru LyX
21501 \begin_inset Flex Noun
21504 \begin_layout Plain Layout
21510 環境でコードを入力するのだけがポイントです。
21513 \begin_layout Enumerate
21514 文書が何らかの文芸プログラムクラスなら、\SpecialCharNoPassThru LyX
21515 は、\SpecialCharNoPassThru LyX
21516 からNowebへの内部変換子を用い、それからNowebから\SpecialCharNoPassThru LaTeX
21521 \begin_layout Plain Layout
21524 ツール\SpecialChar menuseparator
21527 パネルの変換子タブに定義されています。変換子の一般的な情報については、取扱説明書『
21540 を使って\SpecialCharNoPassThru LaTeX
21543 \begin_inset Separator parbreak
21549 \begin_layout Standard
21550 それ以外の場合はこのステップを飛ばします。
21554 \begin_layout Enumerate
21555 最後に\SpecialCharNoPassThru LaTeX
21556 が実行され、通常の文書と同じ後処理が行われます。
21559 \begin_layout Standard
21560 様々な変換子が実行するコマンドを変更すれば、簡単に、特定の「文芸プログラムツール」から変更することができます。
21563 \begin_layout Paragraph
21567 \begin_layout Standard
21568 ビルドメニューが選ばれた場合や、それに対応するツールバーのボタンが押された場合、上のステップ1と同様に\SpecialCharNoPassThru LaTeX
21569 ファイルが生成されます。それから\SpecialCharNoPassThru LyX
21574 のコンバータを起動します。通常は、このコンバータは(他のコンバータと同じように)2つの部分からできています。
21577 \begin_layout Enumerate
21578 変換プログラム。このプログラムは、一つのフォーマットから他のフォーマットへの変換を行います(この場合は、Nowebフォーマットからプログラムの疑似フォーマットへ
21582 \begin_layout Enumerate
21583 エラーログ解析子。これはエラーメッセージを\SpecialCharNoPassThru LyX
21584 が理解できる形へ書き直します。これによって、\SpecialCharNoPassThru LyX
21585 はファイルバッファの正しい位置へエラーボックスを配置することが
21589 \begin_layout Standard
21591 \begin_inset Newline newline
21595 \begin_inset Quotes eld
21600 build-script $$i $$r
21603 \begin_inset Quotes erd
21607 \begin_inset Newline newline
21610 と指定します。これは基本的に、\SpecialCharNoPassThru LyX
21612 \begin_inset Quotes erd
21620 \begin_inset Quotes erd
21623 (プログラムかスクリプト名)を(一般には\SpecialCharNoPassThru LyX
21624 の一時ファイル用のディレクトリにつくられる)、Nowebファイルの名前と元の\SpecialCharNoPassThru LyX
21629 \begin_layout Standard
21630 以下に「build-script」の一例を書いておきます。パスが通っているディレクトリに置いて使います。
21633 \begin_layout Standard
21634 \begin_inset VSpace defskip
21638 \begin_inset Newpage pagebreak
21644 \begin_layout Standard
21650 \begin_layout Standard
21656 \begin_layout Standard
21659 notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 NOWEB_OUTPUT_DIR=$2 sh
21662 \begin_layout Standard
21663 \begin_inset VSpace defskip
21669 \begin_layout Standard
21670 変換子設定の次の部分は「フラグ」で、これは
21671 \begin_inset Quotes erd
21676 parselog=$$s/scripts/listerrors
21679 \begin_inset Quotes erd
21683 \begin_inset Newline newline
21687 \begin_inset Quotes erd
21691 \begin_inset Quotes erd
21695 \begin_inset Quotes erd
21699 \begin_inset Quotes erd
21705 \begin_layout Standard
21706 ビルドは、通常\SpecialCharNoPassThru LyX
21707 の一時ディレクトリで行われるので、変換によって生成されたファイルはそのディレクトリに置かれます。\SpecialCharNoPassThru LyX
21708 は、主要ファイルとみなされるものをコピ
21713 変換は複数のファイルを生成することがあるので、\SpecialCharNoPassThru LyX
21714 を閉じる際に大半が削除される可能性があります。これが、NOWEB_OUTPUT_DIR環境変数を渡して、bu
21715 ild-script chunkが生成したファイルをその場所に置かれるようにする理由です。
21718 \begin_layout Paragraph
21722 \begin_layout Standard
21723 \SpecialCharNoPassThru LyX
21725 \begin_inset Quotes eld
21729 \begin_inset Quotes erd
21732 chunkです。一般に、あなたのプログラムの構築操作の説明それ自身をchunkに入れて文章中に含めなければなりません。上の例のnoweb用のbuild-scr
21733 iptでは、chunkを見つけるのにnotangleコマンドを使い、shを使って起動します。
21736 \begin_layout Standard
21737 以下に典型的なchunkがどのようなものかを書いておきます。
21740 \begin_layout LyX-Code
21742 \begin_inset Newline newline
21748 \begin_layout LyX-Code
21750 \begin_inset Newline newline
21754 \begin_inset Newline newline
21757 if [ -z "${NOWEB_SOURCE}" ]
21758 \begin_inset Newline newline
21764 \begin_layout LyX-Code
21765 NOWEB_SOURCE=myfile.nw
21766 \begin_inset Newline newline
21770 \begin_inset Newline newline
21774 code to extract files ...
21775 use NOWEB_OUTPUT_DIR here ...]
21776 \begin_inset Newline newline
21780 code to compile files ...]
21781 \begin_inset Newline newline
21787 \begin_layout Standard
21790 LIBDIR/examples/listerrors.lyx
21794 LIBDIR/examples/Literate.lyx
21796 を見てください。この2つのファイルには異なる実装のlisterrorsプログラムが含まれていて、これまで説明してきた各々の部分が全体としてどのようになるかをわか
21799 LIBDIR/examples/noweb2lyx.lyx
21801 も見てください。面白いことに、これらの3つのファイルは、Python、C、Perlが各々使われていて、\SpecialCharNoPassThru LyX
21802 の文芸プログラミングのサポートがプログラム言語に依存
21806 \begin_layout Subsubsection
21807 \SpecialCharNoPassThru LyX
21811 \begin_layout Standard
21812 すべての文芸プログラムのための設定は、
21814 ツール\SpecialChar menuseparator
21817 パネルの「ファイル処理」タブですることができます。重要な部分を見ておきましょう。
21820 \begin_layout Description
21821 「NoWeb」形式 ファイル形式タブで設定します。ここで、Noweb特有の設定を行います。
21833 に設定してください。これによって、\SpecialCharNoPassThru LyX
21834 に変換プロセスの第一段階でつくられるファイルに
21838 という拡張子をつけることを指示します。
21841 \begin_layout Description
21842 プログラム形式 これは、変換の終着点を示すためだけの、空の形式です(これがあることで、変換子を作ることができます)。
21845 \begin_layout Description
21852 \SpecialCharNoPassThru LaTeX
21854 この変換子は、文芸的文書の「weaving」を行います。Nowebの場合、「
21856 noweave -delay -index $$i > $$o
21861 \begin_layout Description
21870 これは「tangling」を行います。上述のように、変換子は「
21872 build-script $$i $$r
21876 parselog=$$s/scripts/listerrors
21881 \begin_layout Subsubsection
21885 \begin_layout Standard
21886 ddd/gdbまたは他のデバッガで使える「server-goto-file-row」関数が新たに\SpecialCharNoPassThru LyX
21890 \begin_layout Standard
21891 ddd/gdbでデバッグしているとき、一つの
21892 \begin_inset Flex Ruby
21895 \begin_layout Plain Layout
21897 \begin_inset Argument post:1
21900 \begin_layout Plain Layout
21911 ストロークで現在実行している位置でテキストエディタを起動できます。既定のdddの設定ではShift-Ctrl-Vになっています。この設定はdddで
21912 \begin_inset Flex MenuItem
21915 \begin_layout Plain Layout
21916 ツール\SpecialChar menuseparator
21917 設定\SpecialChar menuseparator
21924 \begin_inset Flex MenuItem
21927 \begin_layout Plain Layout
21933 エントリを変えると変えることができます。
21936 \begin_layout Standard
21937 新しい\SpecialCharNoPassThru LyX
21938 サーバの関数と、このdddの機能を使うために
21939 \begin_inset Flex MenuItem
21942 \begin_layout Plain Layout
21951 \begin_layout Standard
21952 \begin_inset VSpace defskip
21958 \begin_layout Standard
21961 echo "LYXCMD:monitor:server-goto-file-row:@FILE@ @LINE@" >~/.lyxpipe.in
21964 \begin_layout Standard
21965 \begin_inset VSpace defskip
21971 \begin_layout Standard
21972 こうしておくとdddを使っていてプログラムの編集したい場所があったとき、(dddのウインドウで)Shift-Ctrl-Vを押すだけでdddは\SpecialCharNoPassThru LyX
21974 送り、\SpecialCharNoPassThru LyX
21975 は同じファイルを表示し、カーソルはdddが示した場所へあらわれます。これでもうデバッグの最中に推測しながらスクロールして場所を探す必要がなくなります
21979 \begin_layout Standard
21980 この機能が動くには\SpecialCharNoPassThru LyX
21981 サーバが利用可能でなければなりません(既定では\SpecialCharNoPassThru LyX
21982 サーバーは使えないようになっています)。\SpecialCharNoPassThru LyX
21986 \begin_inset Flex MenuItem
21989 \begin_layout Plain Layout
22002 \begin_inset Flex MenuItem
22005 \begin_layout Plain Layout
22018 \begin_inset Flex MenuItem
22021 \begin_layout Plain Layout
22024 \SpecialCharNoPassThru LyX
22035 \begin_inset Quotes eld
22040 /home/<your-home-directory>/.lyx/lyxpipe
22043 \begin_inset Quotes erd
22049 \begin_layout Standard
22051 \begin_inset CommandInset ref
22053 reference "chap:LyXサーバー"
22060 \begin_layout Subsubsection
22064 \begin_layout Standard
22065 ツールバーに加えることのできる6つの新しいボタンがあります。そのうちの5つのボタンは段落環境へのショートカットです。
22071 \SpecialCharNoPassThru LaTeX
22075 \SpecialCharNoPassThru LyX
22082 環境用のボタンを用意しています。最後の一つはファイルメニュー項目の「Build Program」への
22083 \begin_inset Flex Ruby
22086 \begin_layout Plain Layout
22106 \begin_inset Argument post:1
22109 \begin_layout Plain Layout
22123 \begin_layout Standard
22124 \SpecialCharNoPassThru LyX
22125 はツールバーで使うためのいくつものボタンを用意しています。私のツールバーはこの6つのショートカットに
22126 \begin_inset Flex MenuItem
22129 \begin_layout Plain Layout
22130 文書\SpecialChar menuseparator
22131 更新\SpecialChar menuseparator
22138 \begin_inset Flex MenuItem
22141 \begin_layout Plain Layout
22142 文書\SpecialChar menuseparator
22143 表示\SpecialChar menuseparator
22152 \begin_layout LyX-Code
22156 \begin_layout LyX-Code
22160 \begin_layout LyX-Code
22161 Icon "layout Standard"
22164 \begin_layout LyX-Code
22165 Icon "layout Section"
22168 \begin_layout LyX-Code
22169 Icon "layout \SpecialCharNoPassThru LaTeX
22173 \begin_layout LyX-Code
22174 Icon "layout \SpecialCharNoPassThru LyX
22178 \begin_layout LyX-Code
22179 Icon "layout Chunk"
22182 \begin_layout LyX-Code
22186 \begin_layout LyX-Code
22190 \begin_layout LyX-Code
22191 Icon "buffer-typeset"
22194 \begin_layout LyX-Code
22195 Icon "build-program"
22198 \begin_layout LyX-Code
22202 \begin_layout LyX-Code
22206 \begin_layout LyX-Code
22210 \begin_layout LyX-Code
22214 \begin_layout LyX-Code
22218 \begin_layout Subsubsection
22222 \begin_layout Standard
22223 \SpecialCharNoPassThru LyX
22225 \begin_inset Flex MenuItem
22228 \begin_layout Plain Layout
22234 で変えることができます。人々が困りがちなのは、\SpecialCharNoPassThru LaTeX
22235 フォント色でしょう。これは、既定では赤になっていますが、chunkは\SpecialCharNoPassThru LaTeX
22237 いて、文芸プログラミング文書には多くのchunkが現れるために、すべて赤で見ていると疲れてしまうかもしれません。これは、
22238 \begin_inset Flex MenuItem
22241 \begin_layout Plain Layout
22242 操作性\SpecialChar menuseparator
22251 \begin_layout Standard
22252 もう一つは、改行文字が画面に表示されていることでしょう。改行文字の色を背景の色と同じにすることで改行文字を見えなくできます。私は改行文字を背景の色に似ているが少
22253 し違う色にすることを勧めます。こうすると、改行文字があるのはわかりますが、じゃまにならないでしょう。
22256 \begin_layout Subsection
22257 \SpecialCharNoPassThru LyX
22261 \begin_layout Standard
22262 knitrとSweaveへのサポートについては、用例ファイル
22268 ヘルプ\SpecialChar menuseparator
22274 \begin_layout Chapter
22276 \begin_inset CommandInset label
22278 name "chap:Special-features"
22285 \begin_layout Standard
22286 \SpecialCharNoPassThru LyX
22287 では、\SpecialCharNoPassThru LaTeX
22288 で可能なことは何でも出来ます。すべての\SpecialCharNoPassThru LaTeX
22289 の機能を直接サポートできるわけではありませんが、どんな場合でも\SpecialCharNoPassThru TeX
22291 できます。本章は、ユーザの興味が有りそうな特別な機能について、若干取り上げます。図表やフロート、ボックス、注釈に関する特別な機能については、取扱説明書『
22298 \begin_layout Section
22302 \begin_layout Standard
22311 とは別の機能です。文書全体に二段組を行いたい場合には、
22315 オプションを利用することをお勧めします。その他の場合には、本機能をご使用ください。
22318 \begin_layout Standard
22319 文書中で多段組を行うには、\SpecialCharNoPassThru LaTeX
22325 \begin_inset Index idx
22328 \begin_layout Plain Layout
22329 \SpecialCharNoPassThru LaTeX
22330 ぱっけーじ @ \SpecialCharNoPassThru LaTeX
22338 文書\SpecialChar menuseparator
22339 設定\SpecialChar menuseparator
22349 \begin_layout Standard
22350 多段組中の脚注は、ページ下部に置かれ、各段の下ごとには置かれません。各段においては、フロートに
22354 オプションを使用する必要があるほかは、通常通りの使用をすることができます。
22357 \begin_layout Subsection
22361 \begin_layout Standard
22362 文章中で二段組を使用したい場合には、段組を始める場所で
22364 挿入\SpecialChar menuseparator
22365 任意設定差込枠\SpecialChar menuseparator
22368 メニューを使用して、多段組差込枠を挿入してください。二段組で印字されるべき文章は、全てこの差込枠の中に書いてください。
22371 \begin_layout Standard
22375 \begin_layout Standard
22377 \begin_inset Flex Multiple Columns
22380 \begin_layout Plain Layout
22385 The Adventure of the Empty House
22388 \begin_inset Newline newline
22391 by Sir Arthur Conan Doyle
22394 \begin_layout Plain Layout
22397 It was in the spring of the year 1894 that all London was interested, and
22398 the fashionable world dismayed, by the murder of the Honourable Ronald
22399 Adair under most unusual and inexplicable circumstances.
22400 The public has already learned those particulars of the crime which came
22401 out in the police investigation, but a good deal was suppressed upon that
22402 occasion, since the case for the prosecution was so overwhelmingly strong
22403 that it was not necessary to bring forward all the facts.
22404 Only now, at the end of nearly ten years, am I allowed to supply those
22405 missing links which make up the whole of that remarkable chain.
22406 The crime was of interest in itself, but that interest was as nothing to
22407 me compared to the inconceivable sequel, which afforded me the greatest
22408 shock and surprise of any event in my adventurous life.
22409 Even now, after this long interval, I find myself thrilling as I think
22410 of it, and feeling once more that sudden flood of joy, amazement, and increduli
22411 ty which utterly submerged my mind.
22412 Let me say to that public, which has shown some interest in those glimpses
22413 which I have occasionally given them of the thoughts and actions of a very
22414 remarkable man, that they are not to blame me if I have not shared my knowledge
22415 with them, for I should have considered it my first duty to do so, had
22416 I not been barred by a positive prohibition from his own lips, which was
22417 only withdrawn upon the third of last month.
22425 \begin_layout Standard
22426 三段以上にするには、カーソルを多段組差込枠の内部において、挿入\SpecialChar menuseparator
22427 段数メニューを使用してください。この差込枠の中に、欲しい段数を書き入れます(三段組の場合には「3」
22429 \begin_inset Newline newline
22435 \begin_layout Standard
22436 \begin_inset Flex Multiple Columns
22439 \begin_layout Plain Layout
22442 \begin_inset Argument 1
22445 \begin_layout Plain Layout
22451 It can be imagined that my close intimacy with Sherlock Holmes had interested
22452 me deeply in crime, and that after his disappearance I never failed to
22453 read with care the various problems which came before the public.
22454 And I even attempted, more than once, for my own private satisfaction,
22455 to employ his methods in their solution, though with indifferent success.
22456 There was none, however, which appealed to me like this tragedy of Ronald
22458 As I read the evidence at the inquest, which led up to a verdict of willful
22459 murder against some person or persons unknown, I realized more clearly
22460 than I had ever done the loss which the community had sustained by the
22461 death of Sherlock Holmes.
22462 There were points about this strange business which would, I was sure,
22463 have specially appealed to him, and the efforts of the police would have
22464 been supplemented, or more probably anticipated, by the trained observation
22465 and the alert mind of the first criminal agent in Europe.
22466 All day, as I drove upon my round, I turned over the case in my mind and
22467 found no explanation which appeared to me to be adequate.
22468 At the risk of telling a twice-told tale, I will recapitulate the facts
22469 as they were known to the public at the conclusion of the inquest.
22477 \begin_layout Standard
22478 お望みならば10段組まで組むことができますが、文書の読者にとっては、あまり気持ちのいいものではないでしょう。
22481 \begin_layout Standard
22482 \begin_inset Newpage newpage
22488 \begin_layout Subsection
22492 \begin_layout Standard
22496 \begin_layout Standard
22497 \begin_inset Flex Multiple Columns
22500 \begin_layout Plain Layout
22503 The Honourable Ronald Adair was the second son of the Earl of Maynooth,
22504 at that time governor of one of the Australian colonies.
22505 Adair's mother had returned from Australia to undergo the operation for
22506 cataract, and she, her son Ronald, and her daughter Hilda were living together
22510 \begin_layout Plain Layout
22511 \begin_inset Flex Multiple Columns
22514 \begin_layout Plain Layout
22517 The youth moved in the best society–had, so far as was known, no enemies
22518 and no particular vices.
22519 He had been engaged to Miss Edith Woodley, of Carstairs, but the engagement
22520 had been broken off by mutual consent some months before, and there was
22521 no sign that it had left any very profound feeling behind it.
22522 For the rest {sic} the man's life moved in a narrow and conventional circle,
22523 for his habits were quiet and his nature unemotional.
22524 Yet it was upon this easy-going young aristocrat that death came, in most
22525 strange and unexpected form, between the hours of ten and eleven-twenty
22526 on the night of March 30, 1894.
22534 \begin_layout Plain Layout
22537 Ronald Adair was fond of cards–playing continually, but never for such stakes
22539 He was a member of the Baldwin, the Cavendish, and the Bagatelle card clubs.
22540 It was shown that, after dinner on the day of his death, he had played
22541 a rubber of whist at the latter club.
22542 He had also played there in the afternoon.
22547 The evidence of those who had played with him– Mr.
22548 Murray, Sir John Hardy, and Colonel Moran–showed that the game was whist,
22549 and that there was a fairly equal fall of the cards.
22550 Adair might have lost five pounds, but not more.
22551 His fortune was a considerable one, and such a loss could not in any way
22553 He had played nearly every day at one club or other, but he was a cautious
22554 player, and usually rose a winner.
22555 It came out in evidence that, in partnership with Colonel Moran, he had
22556 actually won as much as four hundred and twenty pounds in a sitting, some
22557 weeks before, from Godfrey Milner and Lord Balmoral.
22558 So much for his recent history as it came out at the inquest.
22566 \begin_layout Subsection
22570 \begin_layout Standard
22571 本節の用例は、多段組のさらに特別な機能を示すためのものです。
22574 \begin_layout Standard
22575 多段組機能についてさらに知りたい場合には、\SpecialCharNoPassThru LaTeX
22581 \begin_inset CommandInset citation
22590 \begin_layout Subsubsection
22594 \begin_layout Standard
22595 多段組に序文を追記するには、カーソルを多段組差込枠内部に置き、
22597 挿入\SpecialChar menuseparator
22600 メニューを使用してください。序文は、この差込枠内に書いてください。
22601 \begin_inset Newline newline
22607 \begin_layout Standard
22608 \begin_inset VSpace bigskip
22614 \begin_layout Standard
22615 \begin_inset Flex Multiple Columns
22618 \begin_layout Plain Layout
22619 \begin_inset Argument 2
22622 \begin_layout Plain Layout
22623 And the story continues and continues and continues and continues\SpecialChar ldots
22631 On the evening of the crime, he returned from the club exactly at ten.
22632 His mother and sister were out spending the evening with a relation.
22633 The servant deposed that she heard him enter the front room on the second
22634 floor, generally used as his sitting-room.
22635 She had lit a fire there, and as it smoked she had opened the window.
22636 No sound was heard from the room until eleven-twenty, the hour of the return
22637 of Lady Maynooth and her daughter.
22638 Desiring to say good-night, she attempted to enter her son's room.
22639 The door was locked on the inside, and no answer could be got to their
22640 cries and knocking.
22641 Help was obtained, and the door forced.
22642 The unfortunate young man was found lying near the table.
22643 His head had been horribly mutilated by an expanding revolver bullet, but
22644 no weapon of any sort was to be found in the room.
22652 \begin_layout Standard
22653 最初の\SpecialCharNoPassThru TeX
22654 コードの後に、節宣言コマンドを\SpecialCharNoPassThru TeX
22655 コードとして使用すれば、節見出しを前書きとして使用することができます。例えば、
22658 \begin_layout Standard
22666 \begin_layout Standard
22667 というコマンドは、小節を生成します。以下の例では、前書きが小々節になっています。
22670 \begin_layout Standard
22671 \begin_inset Flex Multiple Columns
22674 \begin_layout Plain Layout
22675 \begin_inset Argument 2
22678 \begin_layout Plain Layout
22682 \begin_layout Plain Layout
22695 \begin_layout Plain Layout
22709 A minute examination of the circumstances served only to make the case more
22711 In the first place, no reason could be given why the young man should have
22712 fastened the door upon the inside.
22713 There was the possibility that the murderer had done this, and had afterwards
22714 escaped by the window.
22715 The drop was at least twenty feet, however, and a bed of crocuses in full
22717 Neither the flowers nor the earth showed any sign of having been disturbed,
22718 nor were there any marks upon the narrow strip of grass which separated
22719 the house from the road.
22720 Apparently, therefore, it was the young man himself who had fastened the
22722 But how did he come by his death? No one could have climbed up to the window
22723 without leaving traces.
22724 Suppose a man had fired through the window, he would indeed be a remarkable
22725 shot who could with a revolver inflict so deadly a wound.
22726 Again, Park Lane is a frequented thoroughfare; there is a cab stand within
22727 a hundred yards of the house.
22728 No one had heard a shot.
22736 \begin_layout Standard
22737 多段組を開始する部分に、必要とされる6行を確保出来るだけの垂直スペースがページに残されていない場合、多段組の前に改行が挿入されます。前書きの行数如何では、この必
22738 要行数を変更したいかもしれません。これは、カーソルを多段組差込枠内部の(もしあれば)序文の後に置き、
22740 挿入\SpecialChar menuseparator
22743 メニューを使用することで設定できます。この差込枠に、余白の大きさを「5cm」などと書き込んでください。
22746 \begin_layout Standard
22749 baselineskip」を用いて、必要行数を7行に指定しています(コマンド
22755 は\SpecialCharNoPassThru TeX
22756 コードとして入力する必要があります)。
22759 \begin_layout Standard
22760 \begin_inset Flex Multiple Columns
22763 \begin_layout Plain Layout
22764 \begin_inset Argument 3
22767 \begin_layout Plain Layout
22772 \begin_layout Plain Layout
22788 On the evening of the crime, he returned from the club exactly at ten.
22789 His mother and sister were out spending the evening with a relation.
22790 The servant deposed that she heard him enter the front room on the second
22791 floor, generally used as his sitting-room.
22792 She had lit a fire there, and as it smoked she had opened the window.
22793 No sound was heard from the room until eleven-twenty, the hour of the return
22794 of Lady Maynooth and her daughter.
22795 Desiring to say good-night, she attempted to enter her son's room.
22796 The door was locked on the inside, and no answer could be got to their
22797 cries and knocking.
22798 Help was obtained, and the door forced.
22799 The unfortunate young man was found lying near the table.
22800 His head had been horribly mutilated by an expanding revolver bullet, but
22801 no weapon of any sort was to be found in the room.
22809 \begin_layout Subsubsection
22813 \begin_layout Standard
22820 を変えることで変更することができます。例えば、\SpecialCharNoPassThru TeX
22824 \begin_layout Standard
22834 \begin_layout Standard
22836 \begin_inset space \thinspace{}
22839 cmに変更します。この変更は、多段組が始まる前に指定しなくてはなりません。既定値は13
22840 \begin_inset space \thinspace{}
22846 \begin_layout Standard
22854 \begin_inset space \thinspace{}
22860 \begin_layout Standard
22864 \begin_layout Plain Layout
22870 multicolsep}{2.5cm}
22878 \begin_layout Standard
22879 \begin_inset Flex Multiple Columns
22882 \begin_layout Plain Layout
22885 All day I turned these facts over in my mind, endeavouring to hit upon some
22886 theory which could reconcile them all, and to find that line of least resistanc
22887 e which my poor friend had declared to be the starting-point of every investigat
22889 I confess that I made little progress.
22890 In the evening I strolled across the Park, and found myself about six o'clock
22891 at the Oxford Street end of Park Lane.
22892 A group of loafers upon the pavements, all staring up at a particular window,
22893 directed me to the house which I had come to see.
22894 A tall, thin man with coloured glasses, whom I strongly suspected of being
22895 a plain-clothes detective, was pointing out some theory of his own, while
22896 the others crowded round to listen to what he said.
22897 I got as near him as I could, but his observations seemed to me to be absurd,
22898 so I withdrew again in some disgust.
22899 As I did so I struck against an elderly, deformed man, who had been behind
22900 me, and I knocked down several books which he was carrying.
22908 \begin_layout Standard
22909 \begin_inset Note Greyedout
22912 \begin_layout Plain Layout
22919 で指定した値は、再度変更されるまでは、以降のすべての多段組で使用されます。
22927 \begin_layout Standard
22931 \begin_layout Plain Layout
22943 \begin_inset Note Note
22946 \begin_layout Plain Layout
22949 go back to the default
22957 \begin_layout Standard
22958 \begin_inset Newpage newpage
22964 \begin_layout Subsubsection
22968 \begin_layout Standard
22969 改段は、文章中の階段を行いたい位置に、\SpecialCharNoPassThru TeX
22976 を挿入すれば、強制的に行うことができます。ただし、多くの場合、文章中に空白が挿入されることに注意してください。
22977 \begin_inset Newline newline
22983 \begin_layout Standard
22984 \begin_inset Flex Multiple Columns
22987 \begin_layout Plain Layout
22990 \begin_inset Quotes eld
22993 You're surprised to see me, sir,
22994 \begin_inset Quotes erd
22997 said he, in a strange, croaking voice.
23000 \begin_layout Plain Layout
23003 I acknowledged that I was.
23006 \begin_layout Plain Layout
23009 \begin_inset Quotes eld
23012 Well, I've a conscience, sir, and when I chanced to see you go into this
23013 house, as I came hobbling after you, I thought to myself, I'll just step
23014 in and see that kind gentleman, and tell him that if I was a bit gruff
23015 in my manner there was not any harm meant, and that I am much obliged to
23016 him for picking up my books.
23017 \begin_inset Quotes erd
23023 \begin_layout Plain Layout
23026 \begin_inset Quotes eld
23029 You make too much of a trifle,
23030 \begin_inset Quotes erd
23035 \begin_inset Quotes eld
23038 May I ask how you knew who I was?
23039 \begin_inset Quotes erd
23042 AFTER THIS SENTENCE THE COLUMN BREAK IS FORCED.
23046 \begin_layout Plain Layout
23058 \begin_layout Plain Layout
23061 \begin_inset Quotes eld
23064 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
23065 you'll find my little bookshop at the corner of Church Street, and very
23066 happy to see you, I am sure.
23067 Maybe you collect yourself, sir.
23071 \begin_inset space ~
23085 a bargain, every one of them.
23086 With five volumes you could just fill that gap on that second shelf.
23087 It looks untidy, does it not, sir?
23088 \begin_inset Quotes erd
23099 \begin_layout Subsubsection
23103 \begin_layout Standard
23104 段幅は自動的に計算されますが、段の間の余白は指定することができます。これは、長さ
23110 を変更することで実現できます。既定値は10
23111 \begin_inset space \thinspace{}
23121 \begin_inset space \thinspace{}
23127 \begin_layout Standard
23131 \begin_layout Plain Layout
23145 \begin_layout Standard
23146 \begin_inset Flex Multiple Columns
23149 \begin_layout Plain Layout
23152 My observations of No.
23153 \begin_inset space \space{}
23156 427 Park Lane did little to clear up the problem in which I was interested.
23157 The house was separated from the street by a low wall and railing, the
23158 whole not more than five feet high.
23159 It was perfectly easy, therefore, for anyone to get into the garden, but
23160 the window was entirely inaccessible, since there was no water pipe or
23161 anything which could help the most active man to climb it.
23162 More puzzled than ever, I retraced my steps to Kensington.
23163 I had not been in my study five minutes when the maid entered to say that
23164 a person desired to see me.
23165 To my astonishment it was none other than my strange old book collector,
23166 his sharp, wizened face peering out from a frame of white hair, and his
23167 precious volumes, a dozen of them at least, wedged under his right arm.
23175 \begin_layout Standard
23179 \begin_layout Plain Layout
23191 \begin_inset Note Note
23194 \begin_layout Plain Layout
23197 go back to the default
23205 \begin_layout Subsubsection
23209 \begin_layout Standard
23216 の幅を持つ罫線が描かれます。罫線幅を0
23217 \begin_inset space \thinspace{}
23220 ptにすると(これが既定値です)、罫線は出力されません。以下の例では、段を分かつ線は2
23221 \begin_inset space \thinspace{}
23227 \begin_layout Standard
23231 \begin_layout Plain Layout
23237 columnseprule}{2pt}
23245 \begin_layout Standard
23246 \begin_inset Flex Multiple Columns
23249 \begin_layout Plain Layout
23252 \begin_inset Quotes eld
23255 You're surprised to see me, sir,
23256 \begin_inset Quotes erd
23259 said he, in a strange, croaking voice.
23262 \begin_layout Plain Layout
23265 I acknowledged that I was.
23268 \begin_layout Plain Layout
23271 \begin_inset Quotes eld
23274 Well, I've a conscience, sir, and when I chanced to see you go into this
23275 house, as I came hobbling after you, I thought to myself, I'll just step
23276 in and see that kind gentleman, and tell him that if I was a bit gruff
23277 in my manner there was not any harm meant, and that I am much obliged to
23278 him for picking up my books.
23279 \begin_inset Quotes erd
23285 \begin_layout Plain Layout
23288 \begin_inset Quotes eld
23291 You make too much of a trifle,
23292 \begin_inset Quotes erd
23297 \begin_inset Quotes eld
23300 May I ask how you knew who I was?
23301 \begin_inset Quotes erd
23307 \begin_layout Plain Layout
23310 \begin_inset Quotes eld
23313 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
23314 you'll find my little bookshop at the corner of Church Street, and very
23315 happy to see you, I am sure.
23316 Maybe you collect yourself, sir.
23320 \begin_inset space ~
23334 a bargain, every one of them.
23335 With five volumes you could just fill that gap on that second shelf.
23336 It looks untidy, does it not, sir?
23337 \begin_inset Quotes erd
23348 \begin_layout Standard
23349 \begin_inset VSpace defskip
23355 \begin_layout Standard
23362 を再定義すれば、着色することができます。これは、多段組差込枠の前に\SpecialCharNoPassThru TeX
23363 コードで以下のコマンドを挿入すれば、実現できます。
23364 \begin_inset Newline newline
23373 columnseprulecolor}{
23378 \begin_inset Newline newline
23385 をお好みの色に変更してください。既定色とユーザー定義色の全てを使用することができます。既定色とユーザー定義色についての詳細な情報は、取扱説明書『
23393 」の節をご覧ください。既定色に戻すには、以下のコマンドを挿入してください。
23394 \begin_inset Newline newline
23403 columnseprulecolor}{
23408 \begin_inset Newline newline
23412 \begin_inset space \thinspace{}
23418 \begin_layout Standard
23422 \begin_layout Plain Layout
23431 \begin_layout Plain Layout
23437 columnseprulecolor}{
23447 \begin_layout Standard
23448 \begin_inset Flex Multiple Columns
23451 \begin_layout Plain Layout
23454 \begin_inset Quotes eld
23457 You're surprised to see me, sir,
23458 \begin_inset Quotes erd
23461 said he, in a strange, croaking voice.
23464 \begin_layout Plain Layout
23467 I acknowledged that I was.
23470 \begin_layout Plain Layout
23473 \begin_inset Quotes eld
23476 Well, I've a conscience, sir, and when I chanced to see you go into this
23477 house, as I came hobbling after you, I thought to myself, I'll just step
23478 in and see that kind gentleman, and tell him that if I was a bit gruff
23479 in my manner there was not any harm meant, and that I am much obliged to
23480 him for picking up my books.
23481 \begin_inset Quotes erd
23487 \begin_layout Plain Layout
23490 \begin_inset Quotes eld
23493 You make too much of a trifle,
23494 \begin_inset Quotes erd
23499 \begin_inset Quotes eld
23502 May I ask how you knew who I was?
23503 \begin_inset Quotes erd
23509 \begin_layout Plain Layout
23512 \begin_inset Quotes eld
23515 Well, sir, if it isn't too great a liberty, I am a neighbour of yours, for
23516 you'll find my little bookshop at the corner of Church Street, and very
23517 happy to see you, I am sure.
23518 Maybe you collect yourself, sir.
23522 \begin_inset space ~
23536 a bargain, every one of them.
23537 With five volumes you could just fill that gap on that second shelf.
23538 It looks untidy, does it not, sir?
23539 \begin_inset Quotes erd
23550 \begin_layout Standard
23554 \begin_layout Plain Layout
23560 columnseprule}{0pt}
23563 \begin_layout Plain Layout
23569 columnseprulecolor}{
23577 \begin_inset Note Note
23580 \begin_layout Plain Layout
23583 go back to the default
23591 \begin_layout Standard
23592 \begin_inset Newpage newpage
23598 \begin_layout Section
23602 \begin_layout Standard
23604 \SpecialCharNoPassThru LaTeX
23605 は、他のテキストプロセッサと同様に、既定で長方形の段落を使用します。しかし、例えば、ポスターや招待状、詩などの特殊な場合には、段落の形を好きなように変
23606 えることができます。これは、文書設定で
23610 モジュールを読み込んで、\SpecialCharNoPassThru LaTeX
23615 を使用させるようにすれば、実現できます。
23618 \begin_layout Subsection
23622 \begin_layout Standard
23630 \begin_layout Standard
23631 \begin_inset Tabular
23632 <lyxtabular version="3" rows="13" columns="3">
23633 <features rotate="0" booktabs="true" islongtable="true" longtabularalignment="center">
23634 <column alignment="center" valignment="middle" width="16col%">
23635 <column alignment="center" valignment="middle" width="40col%">
23636 <column alignment="center" valignment="middle" width="35col%">
23637 <row endhead="true">
23638 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23641 \begin_layout Plain Layout
23647 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23650 \begin_layout Plain Layout
23656 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23659 \begin_layout Plain Layout
23667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23670 \begin_layout Plain Layout
23676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23679 \begin_layout Plain Layout
23680 丸い穴の開いたドーナツ型(CD/DVD大)
23685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23688 \begin_layout Plain Layout
23689 伸縮不可。多くの文字を入れられないことに注意。
23696 <cell alignment="center" valignment="top" topline="true" usebox="none">
23699 \begin_layout Plain Layout
23705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23708 \begin_layout Plain Layout
23714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23717 \begin_layout Plain Layout
23725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23728 \begin_layout Plain Layout
23734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23737 \begin_layout Plain Layout
23739 \begin_inset Quotes eld
23743 \begin_inset Quotes erd
23751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23754 \begin_layout Plain Layout
23762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23765 \begin_layout Plain Layout
23771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23774 \begin_layout Plain Layout
23780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23783 \begin_layout Plain Layout
23791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23794 \begin_layout Plain Layout
23800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23803 \begin_layout Plain Layout
23809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23812 \begin_layout Plain Layout
23820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23823 \begin_layout Plain Layout
23829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23832 \begin_layout Plain Layout
23838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23841 \begin_layout Plain Layout
23849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23852 \begin_layout Plain Layout
23858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23861 \begin_layout Plain Layout
23867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23870 \begin_layout Plain Layout
23878 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23881 \begin_layout Plain Layout
23887 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23890 \begin_layout Plain Layout
23896 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23899 \begin_layout Plain Layout
23907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23910 \begin_layout Plain Layout
23916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23919 \begin_layout Plain Layout
23925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23928 \begin_layout Plain Layout
23936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23939 \begin_layout Plain Layout
23945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23948 \begin_layout Plain Layout
23954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23957 \begin_layout Plain Layout
23965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23968 \begin_layout Plain Layout
23969 \SpecialCharNoPassThru TeX
23974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23977 \begin_layout Plain Layout
23978 \SpecialCharNoPassThru TeX
23984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23987 \begin_layout Plain Layout
23995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23998 \begin_layout Plain Layout
24000 \begin_inset Newline newline
24008 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24011 \begin_layout Plain Layout
24017 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24020 \begin_layout Plain Layout
24034 \begin_layout Standard
24035 段落に形を適用するには、\SpecialCharNoPassThru LyX
24036 ツールバー中の環境プルダウンボックスから形を選んでください。
24039 \begin_layout Standard
24040 \begin_inset Newpage newpage
24046 \begin_layout Standard
24050 \begin_layout Standard
24051 \begin_inset VSpace bigskip
24060 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
24061 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
24063 At vero eos et accusam et justo duo dolores et ea rebum.
24064 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
24066 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
24067 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
24071 \begin_layout Standard
24072 \begin_inset VSpace bigskip
24078 \begin_layout Standard
24079 \begin_inset Note Greyedout
24082 \begin_layout Plain Layout
24087 shapepar段落は改頁にまたがることはできません。
24095 \begin_layout Standard
24096 \begin_inset VSpace bigskip
24102 \begin_layout Standard
24107 は、段落中にどれだけ文章が含まれようとも、常に形を維持しようとします。したがって、段落の大きさは、含まれている文章量によって変化しますので、段落の大きさがページ
24108 余白にはみ出してしまうことがあります。寸法が伸縮することを示すために、文章量を二倍にした例を見てみましょう。
24111 \begin_layout Standard
24112 \begin_inset Newpage newpage
24121 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
24122 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
24124 At vero eos et accusam et justo duo dolores et ea rebum.
24125 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
24127 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
24128 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
24130 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
24131 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
24133 At vero eos et accusam et justo duo dolores et ea rebum.
24134 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
24136 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
24137 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
24141 \begin_layout Standard
24142 \begin_inset VSpace bigskip
24148 \begin_layout Standard
24153 形は例外です。これは、CD/DVDの寸法に収まらなくてはならないので、伸縮しません。したがって、形に収まる文章量は限られています。
24154 \begin_inset Newline newline
24165 形は脆弱で、文章量によっては寸法計算が失敗する可能性があります。この場合、
24166 \begin_inset Quotes eld
24169 Arithmetic overflow
24170 \begin_inset Quotes erd
24173 という\SpecialCharNoPassThru LaTeX
24174 エラーが発生します。この時は、文章の一部を追加したり削除したりするか、どれもうまくいかなければ別の形を使用してください。
24177 \begin_layout Standard
24178 \begin_inset VSpace bigskip
24184 \begin_layout Standard
24185 先端のある形では、先端部の文字列で、\SpecialCharNoPassThru LaTeX
24186 のハイフネーションルーチンが失敗することがあります。したがって、この部分の文章には、ハイフネーション位置
24191 arg "specialchar-insert hyphenation"
24196 )を指定することが往々にして必要になります。
24199 \begin_layout Standard
24200 \begin_inset VSpace bigskip
24206 \begin_layout Standard
24207 Shapepar段落は、常に中央揃えか、左の縁が左ページ余白に接するように配置されます。したがって、これらの段落を揃えるのに段落ダイアログを使用することはできま
24208 せん。解決方法としては、段落をミニページかparboxの中において、このボックスを揃えることです。ここでの問題は、ボックスの正しい幅を見出すことです。もしボック
24209 スの幅が広すぎれば、ボックスを中央揃えにしたとしても、ボックスの左側が付いてしまうので中央揃えになりません。そこで、正しい幅を見出すまでは、若干試行錯誤しなくて
24210 はならないかもしれません。以下は、二つのハート形の段落です。一つ目は揃え指定がなく、二つ目は右揃えにしてあります。
24213 \begin_layout Standard
24214 \begin_inset Newpage newpage
24220 \begin_layout Heart
24224 Lo\SpecialChar softhyphen
24225 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
24226 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
24228 At vero eos et accusam et justo duo dolores et ea rebum.
24229 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
24233 \begin_layout Standard
24234 \begin_inset VSpace bigskip
24240 \begin_layout Standard
24243 \begin_inset Box Frameless
24253 height_special "totalheight"
24258 backgroundcolor "none"
24261 \begin_layout Heart
24265 Lo\SpecialChar softhyphen
24266 rem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
24267 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
24269 At vero eos et accusam et justo duo dolores et ea rebum.
24270 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
24279 \begin_layout Subsection
24283 \begin_layout Standard
24284 ユーザーは、どのような形であれ、定義することができます。これを手動で行うのは、全ての座標を指定しなくてはならないので、かなりの労力を必要とします。しかし、以下の
24285 ように、コンピューターに座標を計算させる方法もあります。
24288 \begin_layout Enumerate
24290 \begin_inset CommandInset href
24293 target "http://www.ctan.org/tex-archive/graphics/jpgfdraw"
24300 \begin_layout Enumerate
24311 \begin_layout Plain Layout
24322 \begin_layout Plain Layout
24329 eX\SpecialChar menuseparator
24330 Settings\SpecialChar menuseparator
24333 で文書中で使用しているフォント寸を選択します。例えば、この文書は12
24334 \begin_inset space \thinspace{}
24340 \begin_layout Enumerate
24344 \begin_layout Enumerate
24351 \begin_layout Plain Layout
24362 \begin_layout Plain Layout
24369 eX\SpecialChar menuseparator
24372 を使用して、形の座標をエクスポートします。現れるダイアログで、形の外枠を座標に使うか、パス自体を使うかを指定します。
24376 \begin_layout Plain Layout
24378 \begin_inset CommandInset href
24380 target "http://www.dickimaw-books.com/apps/jpgfdraw/manual/shapepar.html"
24392 \begin_layout Standard
24393 座標は\SpecialCharNoPassThru TeX
24394 ファイルに書き込まれます。これを\SpecialCharNoPassThru LyX
24398 \begin_layout Enumerate
24399 段落の最初の文字の前(もしくは空の段落内)にカーソルを置きます。
24402 \begin_layout Enumerate
24403 \SpecialCharNoPassThru LyX
24406 挿入\SpecialChar menuseparator
24407 ファイル\SpecialChar menuseparator
24421 \begin_layout Standard
24422 \begin_inset VSpace defskip
24428 \begin_layout Standard
24429 \begin_inset Note Greyedout
24432 \begin_layout Plain Layout
24437 変更した形は、現在の段落にのみ適用されます。次の段落では全て通常に戻ります。したがって、段落定義ファイルは、形を変えたい段落全てで読み込まれなくてはなりません。
24445 \begin_layout Standard
24446 \begin_inset VSpace bigskip
24452 \begin_layout Standard
24456 \begin_layout Standard
24457 \begin_inset VSpace bigskip
24463 \begin_layout Standard
24464 \begin_inset CommandInset include
24466 filename "../SpecialParagraphShape.tex"
24472 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
24473 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
24475 At vero eos et accusam et justo duo dolores et ea rebum.
24476 Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
24478 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
24479 eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
24483 \begin_layout Standard
24484 \begin_inset VSpace bigskip
24490 \begin_layout Standard
24498 で複雑な形を描く場合、まず形を好きなプログラムで描き、出来上がった画像を
24502 に読み込む方法があります。この場合、画像の外枠に沿って、直線またはスプラインを描くだけですみます。
24505 \begin_layout Standard
24506 \begin_inset VSpace bigskip
24512 \begin_layout Standard
24525 の二つのコマンドも提供していて、任意の形を座標毎に定義するのに使用することができます。
24529 \begin_layout Plain Layout
24530 これらのコマンドは、上述の全ての形で内部的に使用されています。
24535 これらのスタイルがどのように使われていて、どのような設定ができるのかについての詳しい情報は、
24540 \begin_inset CommandInset citation
24549 \begin_layout Bibliography
24550 \begin_inset CommandInset bibitem
24551 LatexCommand bibitem
24556 \SpecialCharNoPassThru LaTeX
24558 \begin_inset CommandInset href
24561 target "http://mirror.ctan.org/macros/latex/required/tools/multicol.pdf"
24568 \begin_layout Bibliography
24569 \begin_inset CommandInset bibitem
24570 LatexCommand bibitem
24575 \SpecialCharNoPassThru LaTeX
24577 \begin_inset CommandInset href
24580 target "http://mirrors.ctan.org/macros/latex/contrib/shapepar/shapepar.pdf"