1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
5 \save_transient_properties false
6 \origin /systemlyxdir/doc/ja/
9 % DO NOT ALTER THIS PREAMBLE!!!
11 % This preamble is designed to ensure that this document prints
12 % out as advertised. If you mess with this preamble,
13 % parts of this document may not print out as expected. If you
14 % have problems LaTeXing this file, please contact
15 % the documentation team
16 % email: lyx-docs@lists.lyx.org
18 % the pages of the TOC is numbered roman
19 % and a pdf-bookmark for the TOC is added
20 \let\myTOC\tableofcontents
21 \renewcommand\tableofcontents{%
23 \pdfbookmark[1]{\contentsname}{}
27 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,bookmarkpackage=false
28 \use_default_options false
33 \maintain_unincluded_children no
36 InsetLayout Flex:MenuItem
46 \newcommand*{\menuitem}[1]{{\sffamily #1}}
50 # In case we need to do with sans...
51 #InsetLayout CharStyle:Code
56 #\renewcommand{\code}[1]{{\sffamily #1}}
69 Decoration Conglomerate
71 \usepackage{pxrubrica}
74 LabelString "Kenten option"
76 Tooltip "Emphasize Chinese characters."
77 Decoration Conglomerate
89 \language_package default
92 \font_roman "lmodern" "IPAexMincho"
93 \font_sans "default" "IPAexGothic"
94 \font_typewriter "default" "IPAGothic"
95 \font_math "auto" "auto"
96 \font_default_family default
97 \use_non_tex_fonts false
101 \font_typewriter_osf false
102 \font_sf_scale 100 100
103 \font_tt_scale 100 100
105 \use_dash_ligatures false
107 \default_output_format default
109 \bibtex_command default
110 \index_command default
111 \float_placement class
112 \float_alignment class
116 \pdf_title "LyX Configuration Manual"
117 \pdf_author "LyX Team"
118 \pdf_subject "LyX-Documentation Customization"
119 \pdf_keywords "LyX, documentation, customization"
121 \pdf_bookmarksnumbered true
122 \pdf_bookmarksopen true
123 \pdf_bookmarksopenlevel 1
124 \pdf_breaklinks false
128 \pdf_pdfusetitle false
129 \pdf_quoted_options "driverfallback=dvipdfmx, 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 1
136 \use_package mathdots 1
137 \use_package mathtools 1
138 \use_package mhchem 1
139 \use_package stackrel 1
140 \use_package stmaryrd 1
141 \use_package undertilde 1
143 \cite_engine_type default
147 \paperorientation portrait
153 \notefontcolor #0000ff
157 \color #f5fae7 #0a0518
165 \paragraph_separation indent
166 \paragraph_indentation default
168 \math_indentation default
169 \math_numbering_side default
170 \quotes_style english
174 \paperpagestyle headings
176 \tracking_changes false
177 \output_changes false
179 \postpone_fragile_content false
183 \docbook_table_output 0
184 \docbook_mathml_prefix 1
192 \begin_inset Newline newline
204 \begin_layout Plain Layout
206 もしコメントや誤りの修正をお持ちでしたら,
209 \begin_inset CommandInset href
211 target "lyx-docs@lists.lyx.org"
217 宛お送りください.件名ヘッダに「[Customization]」という文字を入れ,
218 このファイルの現在のメンテナRichard Kimberly Heck <rikiheck@lyx.org>をccにして送ってください.
224 \begin_inset Newline newline
228 \begin_inset Newline newline
234 \begin_layout Standard
235 \begin_inset CommandInset toc
236 LatexCommand tableofcontents
241 \begin_inset Note Note
244 \begin_layout Plain Layout
246 変更追跡機能を使用してください.これによって,
250 \begin_layout Plain Layout
253 メンテナが最新の状態を維持することが容易になります.
261 \begin_layout Chapter
265 \begin_layout Standard
268 に備わっている高度設定機能を取り扱います.ここでは,
269 ショートカットや画面プレビューオプション,
272 サーバ経由での\SpecialChar LyX
275 新しい\SpecialChar LaTeX
277 レイアウトの導入などの題材について論じます.おそらくは変更可能なことすべてについて触れることは無理でしょうが—
278 私たちの開発者たちは私たちが文書化できる速さよりも速く新しい機能を付け加えてしまうので—
280 もっとも一般的な高度設定については説明を行い,
281 わかりにくいものについては正しい方向を指し示すことができるようにしていくつもりです.
284 \begin_layout Standard
285 \begin_inset Branch OutDated
289 \begin_layout Standard
290 Information from previous versions of this document that now seems to be outdated is contained in the OutDated branch of this document.
292 this information will not appear in the \SpecialChar LaTeX
301 \begin_layout Chapter
306 \begin_layout Standard
309 設定ファイル群を理解するための一助となることです.本章を読み進める前に,
311 \begin_inset Flex MenuItem
314 \begin_layout Plain Layout
315 ヘルプ\SpecialChar menuseparator
323 ライブラリとユーザディレクトリがどこにあるかを確認しておいてください.ライブラリディレクトリは,
325 がシステム全体の設定ファイルを置いておくところです.一方,
327 自身がそれを修正した版を置いておくところです.私たちは,
330 \begin_inset Flex Code
333 \begin_layout Plain Layout
341 \begin_inset Flex MenuItem
344 \begin_layout Plain Layout
353 \begin_layout Section
354 \begin_inset Flex Code
357 \begin_layout Plain Layout
367 \begin_layout Standard
368 \begin_inset Flex Code
371 \begin_layout Plain Layout
380 の挙動を高度設定するのに使用されます.これらのファイルの多くは,
383 \begin_inset Flex MenuItem
386 \begin_layout Plain Layout
387 ツール\SpecialChar menuseparator
393 ダイアログから変更することができます.\SpecialChar LyX
395 ほとんどこのダイアログから行うことができるようになっています.しかしながら,
398 \begin_inset Flex Code
401 \begin_layout Plain Layout
407 のファイルを修正することで高度設定されます.これらのファイルは様々なカテゴリに分類しうるので,
411 \begin_layout Subsection
415 \begin_layout Standard
416 \begin_inset Flex MenuItem
419 \begin_layout Plain Layout
427 が自動設定を行ったときに生成されます.これらのファイルは,
428 環境構成中に自動的に検出された様々な既定値が置かれています.これらは,
433 \begin_layout Labeling
434 \labelwidthstring 00.00.0000
435 \begin_inset Flex Code
438 \begin_layout Plain Layout
448 \begin_layout Labeling
449 \labelwidthstring 00.00.0000
450 \begin_inset Flex Code
453 \begin_layout Plain Layout
461 が認識したパッケージの一覧が収められています.現在のところ,
466 \begin_inset Flex MenuItem
469 \begin_layout Plain Layout
470 ヘルプ\SpecialChar menuseparator
479 \begin_layout Labeling
480 \labelwidthstring 00.00.0000
481 \begin_inset Flex Code
484 \begin_layout Plain Layout
491 \begin_inset Flex Code
494 \begin_layout Plain Layout
500 ディレクトリで検出されたテキストクラスと,
501 関連した\SpecialChar LaTeX
505 \begin_layout Labeling
506 \labelwidthstring 00.00.0000
507 \begin_inset Flex Code
510 \begin_layout Plain Layout
517 \begin_inset Flex Code
520 \begin_layout Plain Layout
526 ディレクトリで検出されたレイアウトモジュールの一覧です.
529 \begin_layout Labeling
530 \labelwidthstring 00.00.0000
531 \begin_inset Flex Code
534 \begin_layout Plain Layout
540 ご使用のシステムで検出された様々な種類の\SpecialChar LaTeX
544 \begin_layout Labeling
545 \labelwidthstring 00.00.0000
546 \begin_inset Flex Code
549 \begin_layout Plain Layout
557 \begin_inset Flex Code
560 \begin_layout Plain Layout
566 から自動的に生成されます.ご使用中の\SpecialChar LaTeX
570 \begin_layout Subsection
574 \begin_layout Standard
575 \begin_inset Flex Code
578 \begin_layout Plain Layout
586 \begin_inset Flex Code
589 \begin_layout Plain Layout
595 にも重複して存在することがあります.特定のファイルが両方の場所にある場合には,
597 \begin_inset Flex Code
600 \begin_layout Plain Layout
609 \begin_layout Labeling
610 \labelwidthstring 00.00.0000
611 \begin_inset Flex Code
614 \begin_layout Plain Layout
624 \begin_inset Flex Code
627 \begin_layout Plain Layout
633 のファイルが置かれています.サブディレクトリ
634 \begin_inset Flex Code
637 \begin_layout Plain Layout
644 \begin_inset Quotes eld
648 \begin_inset Quotes erd
651 はISO言語コード)に割当ファイルの各国語版がある場合には,
655 \begin_layout Labeling
656 \labelwidthstring 00.00.0000
657 \begin_inset Flex Code
660 \begin_layout Plain Layout
670 \begin_inset Flex Code
673 \begin_layout Plain Layout
679 のファイルが置かれています.詳細については,
681 \begin_inset CommandInset ref
683 reference "subsec:引用エンジンファイル"
694 \begin_layout Labeling
695 \labelwidthstring 00.00.0000
696 \begin_inset Flex Code
699 \begin_layout Plain Layout
706 文書に取り込むことのできる画像ファイルが納められています.
709 \begin_layout Labeling
710 \labelwidthstring 00.00.0000
711 \begin_inset Flex Code
714 \begin_layout Plain Layout
722 の取扱説明書ファイル(今お読みのものも含めて)が納められています.上述のように,
724 \begin_inset Flex Code
727 \begin_layout Plain Layout
733 ファイルは特に注目に値します.各国語版のヘルプ文書は,
735 \begin_inset Flex Code
738 \begin_layout Plain Layout
744 (「xx」はISO言語コード)サブディレクトリにあります.詳しくは,
746 \begin_inset CommandInset ref
748 reference "cha:LyXの各国語対応"
756 \begin_layout Labeling
757 \labelwidthstring 00.00.0000
758 \begin_inset Flex Code
761 \begin_layout Plain Layout
768 何らかの機能の使い方を説明する例示ファイルが納められています.ファイルブラウザ中で
769 \begin_inset Flex MenuItem
772 \begin_layout Plain Layout
782 \begin_layout Labeling
783 \labelwidthstring 00.00.0000
784 \begin_inset Flex Code
787 \begin_layout Plain Layout
795 \begin_inset Flex MenuItem
798 \begin_layout Plain Layout
804 ダイアログで使用される画像ファイルが納められています.さらに,
807 を起動したときに現れるバナーも納められています.
810 \begin_layout Labeling
811 \labelwidthstring 00.00.0000
812 \begin_inset Flex Code
815 \begin_layout Plain Layout
822 キーボードのキー割当ファイルが納められています.詳細については,
824 \begin_inset CommandInset ref
826 reference "sec:国際キー配列"
834 \begin_layout Labeling
835 \labelwidthstring 00.00.0000
836 \begin_inset Flex Code
839 \begin_layout Plain Layout
847 \begin_inset CommandInset ref
849 reference "cha:新規文書を導入"
854 に述べられているテキストクラスおよびモジュールのファイルが納められています.
857 \begin_layout Labeling
858 \labelwidthstring 00.00.0000
859 \begin_inset Flex Code
862 \begin_layout Plain Layout
871 \begin_inset Flex Code
874 \begin_layout Plain Layout
880 Pythonスクリプトが納められています.複数のファイルの変換をバッチ処理したい場合には,
881 これらをコマンドラインから実行することもできます.
884 \begin_layout Labeling
885 \labelwidthstring 00.00.0000
886 \begin_inset Flex Code
889 \begin_layout Plain Layout
897 \begin_inset Flex MenuItem
900 \begin_layout Plain Layout
906 機能の有用性を示すためのファイルがいくつか納められています.\SpecialChar LyX
907 自身が使用するスクリプトもいくつか収められています.
910 \begin_layout Labeling
911 \labelwidthstring 00.00.0000
912 \begin_inset Flex Code
915 \begin_layout Plain Layout
923 \begin_inset CommandInset ref
925 reference "sec:ひな型を作成する"
930 で述べられている標準の\SpecialChar LyX
934 \begin_layout Labeling
935 \labelwidthstring 00.00.0000
936 \begin_inset Flex Code
939 \begin_layout Plain Layout
948 \begin_inset Flex Code
951 \begin_layout Plain Layout
959 どのメニュー項目がどのメニューに現れるかを定義し,
960 どの項目がツールバーに現れるかを定義しています.
963 \begin_layout Labeling
964 \labelwidthstring 00.00.0000
965 \begin_inset Flex Code
968 \begin_layout Plain Layout
976 文書への外部素材の挿入のひな型を定義する,
978 \begin_inset Flex Code
981 \begin_layout Plain Layout
988 \begin_inset CommandInset ref
990 reference "chap:外部素材を取り込む"
1001 \begin_layout Subsection
1005 \begin_layout Standard
1006 これらのファイルは\SpecialChar LyX
1009 凡そこれらに変更を加える必要はありません.
1012 \begin_layout Labeling
1013 \labelwidthstring 00.00.0000
1014 \begin_inset Flex Code
1017 \begin_layout Plain Layout
1027 \begin_inset Flex MenuItem
1030 \begin_layout Plain Layout
1031 ヘルプ\SpecialChar menuseparator
1040 \begin_layout Labeling
1041 \labelwidthstring 00.00.0000
1042 \begin_inset Flex Code
1045 \begin_layout Plain Layout
1052 自動設定プロセスによって使用される\SpecialChar LaTeX
1053 スクリプトです.直接実行しないでください.
1056 \begin_layout Labeling
1057 \labelwidthstring 00.00.0000
1058 \begin_inset Flex Code
1061 \begin_layout Plain Layout
1069 の環境構成によって使用されるスクリプトです.これは,
1070 このスクリプトを実行したディレクトリに設定ファイルを生成します.
1073 \begin_layout Subsection
1077 \begin_layout Labeling
1078 \labelwidthstring 00.00.0000
1079 \begin_inset Flex Code
1082 \begin_layout Plain Layout
1089 各文字エンコーディングがどのようにUnicodeにマップされるかを示した表が載っています.
1092 \begin_layout Labeling
1093 \labelwidthstring 00.00.0000
1094 \begin_inset Flex Code
1097 \begin_layout Plain Layout
1105 がサポートしている言語の全一覧が載っています.
1108 \begin_layout Labeling
1109 \labelwidthstring 00.00.0000
1110 \begin_inset Flex Code
1113 \begin_layout Plain Layout
1119 サポートされているフォントに関する情報が掲載されています.
1122 \begin_layout Labeling
1123 \labelwidthstring 00.00.0000
1124 \begin_inset Flex Code
1127 \begin_layout Plain Layout
1134 国際化された段落様式の翻訳が収録されています(
1135 \begin_inset CommandInset ref
1137 reference "subsec:段落様式の国際化"
1145 \begin_layout Labeling
1146 \labelwidthstring 00.00.0000
1147 \begin_inset Flex Code
1150 \begin_layout Plain Layout
1157 unicodeエンコーディングされたグリフに関する情報と,
1160 を介してそれらをどのようにサポートしているかについての情報を含んでいます.
1163 \begin_layout Section
1167 \begin_layout Standard
1169 を非特権ユーザとして利用している場合でも,
1172 の設定を変更したいと思うかもしれません.
1173 \begin_inset Flex Code
1176 \begin_layout Plain Layout
1183 すべての個人設定ファイルが収められています.これは,
1185 \begin_inset Flex MenuItem
1188 \begin_layout Plain Layout
1189 ヘルプ\SpecialChar menuseparator
1195 で「ユーザーディレクトリ」として言及されているディレクトリです.このディレクトリは,
1197 \begin_inset Flex Code
1200 \begin_layout Plain Layout
1208 \begin_inset Flex Code
1211 \begin_layout Plain Layout
1219 \begin_inset Flex Code
1222 \begin_layout Plain Layout
1229 自分自身で使うために個人のローカルディレクトリに置くこともできます.
1232 \begin_layout Standard
1237 \begin_layout Itemize
1238 \begin_inset Flex MenuItem
1241 \begin_layout Plain Layout
1242 ツール\SpecialChar menuseparator
1250 \begin_inset Flex Code
1253 \begin_layout Plain Layout
1260 \begin_inset Flex Code
1263 \begin_layout Plain Layout
1272 \begin_layout Itemize
1273 \begin_inset Flex MenuItem
1276 \begin_layout Plain Layout
1277 ツール\SpecialChar menuseparator
1286 \begin_inset Flex Code
1289 \begin_layout Plain Layout
1297 ご自身のローカル設定ディレクトリに書き込まれます.これはすなわち,
1299 \begin_inset Flex Code
1302 \begin_layout Plain Layout
1310 \begin_inset Flex MenuItem
1313 \begin_layout Plain Layout
1314 文書\SpecialChar menuseparator
1320 ダイアログのクラス一覧に表示されるようになることを意味します.
1323 \begin_layout Itemize
1326 のFTPサイトから最新の取扱説明書をとってきたものの,
1327 使用中のシステム上で管理者権限がないために,
1328 それをインストールすることができなかったとしても,
1330 \begin_inset Flex Code
1333 \begin_layout Plain Layout
1341 \begin_inset Flex MenuItem
1344 \begin_layout Plain Layout
1350 メニュー項目はこれらを開くようになります!
1354 \begin_layout Section
1359 \begin_layout Standard
1360 ローカル設定ディレクトリにおいて設定の自由度があるだけでは,
1361 2つ以上の設定を自由に使いこなしたい場合には充分ではないかもしれません.たとえば,
1362 使用する度に異なるキー割当を使用したり,
1363 異なるプリンタ設定を使用したいことがあるかもしれません.これは,
1364 複数の設定ディレクトリを作ることで実現することができます.そして,
1365 実行時にどのディレクトリを使用するか指定するのです.
1368 \begin_layout Standard
1371 \begin_inset Flex Code
1374 \begin_layout Plain Layout
1386 指定したディレクトリから読み込むように,
1387 指示することになります(\SpecialChar LyX
1389 \begin_inset Flex Code
1392 \begin_layout Plain Layout
1399 既定ディレクトリを指定することになります).指定したディレクトリが存在しない場合には,
1403 を実行したときに既定ディレクトリを訊いてくるのと同様に,
1404 そのディレクトリを作るかどうか訊いてきます.この追加したユーザディレクトリでは,
1405 既定ディレクトリで行うのと全く同じように設定オプションを修正することができます.これらのディレクトリは完全に独立しています(が,
1408 \begin_inset Flex Code
1411 \begin_layout Plain Layout
1421 \begin_layout Standard
1423 維持の手間も増えるということです.もし新しいレイアウトを
1424 \begin_inset Flex Code
1427 \begin_layout Plain Layout
1434 これをすべての設定で利用できるようにしたいならば,
1435 これをすべての設定ディレクトリで個々に付け加えなくてはなりません.これを避けるには,
1436 次のようなトリックを使用してください.\SpecialChar LyX
1438 そのサブディレクトリ(上記参照)はほとんど空です.新しい設定が既存のものをミラーするようにするには,
1440 既存の設定の対応するサブディレクトリへのシンボリックリンクに置き換えてください.ただし
1441 \begin_inset Flex Code
1444 \begin_layout Plain Layout
1452 \begin_inset Flex MenuItem
1455 \begin_layout Plain Layout
1456 ツール\SpecialChar menuseparator
1463 設定毎に異なるファイルが含まれていますので,
1467 \begin_layout Chapter
1471 \begin_layout Standard
1481 に述べられています.オプションのうちいくつかについて,
1485 \begin_layout Section
1487 \begin_inset CommandInset label
1496 \begin_layout Standard
1499 使いたいと思うファイル形式を定義することです.それには,
1501 \begin_inset Flex MenuItem
1504 \begin_layout Plain Layout
1505 ツール\SpecialChar menuseparator
1512 \begin_inset Flex MenuItem
1515 \begin_layout Plain Layout
1516 ファイル処理\SpecialChar menuseparator
1523 \begin_inset Flex MenuItem
1526 \begin_layout Plain Layout
1527 新規\SpecialChar ldots
1535 \begin_inset Flex MenuItem
1538 \begin_layout Plain Layout
1545 GUI中で形式を認識するために用いられる名称です.
1546 \begin_inset Flex MenuItem
1549 \begin_layout Plain Layout
1556 形式を内部的に識別するために用いられます.さらにファイル拡張子も入力する必要があります.これらはすべて必須事項です.オプションの
1557 \begin_inset Flex MenuItem
1560 \begin_layout Plain Layout
1567 メニュー中でショートカットを提供するのに使用されます(たとえば,
1569 \begin_inset Flex MenuItem
1572 \begin_layout Plain Layout
1579 \begin_inset Flex MenuItem
1582 \begin_layout Plain Layout
1583 表示\SpecialChar menuseparator
1592 \begin_layout Standard
1595 \begin_inset Flex MenuItem
1598 \begin_layout Plain Layout
1605 \begin_inset Flex MenuItem
1608 \begin_layout Plain Layout
1615 PostScriptファイルを閲覧するのに
1616 \begin_inset Flex MenuItem
1619 \begin_layout Plain Layout
1625 を使用したいとしましょう.このプログラムを起動するのに必要なコマンドを対応するフィールドに入力します.ここで,
1627 次節に掲げる4つの変数を用いることができます.この閲覧プログラムは,
1630 \begin_inset Flex MenuItem
1633 \begin_layout Plain Layout
1639 メニューを使用したときに起動されます.一方,
1642 画像を右クリックして現れるコンテクストメニューで
1643 \begin_inset Flex MenuItem
1646 \begin_layout Plain Layout
1655 \begin_layout Standard
1657 \begin_inset Flex MenuItem
1660 \begin_layout Plain Layout
1668 すべての形式の中で一意的なものでなくてはなりません.これは,
1669 この形式のファイルをファイル内容から検出するのに用いられます.重要なファイル形式のうちには,
1671 \begin_inset CommandInset href
1674 target "http://www.iana.org/assignments/media-types/"
1679 に公式に登録されたMIME型がないものがあります.そこで,
1683 \begin_inset CommandInset href
1685 name "freedesktop.org"
1686 target "http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec"
1691 で指定されているMIME型拡張表を使用しています.
1694 \begin_layout Standard
1695 \begin_inset Flex MenuItem
1698 \begin_layout Plain Layout
1707 この形式が文書として書き出すのに適していることを指示するものです.このオプションが有効となっていて,
1709 \begin_inset CommandInset ref
1718 \begin_inset Flex MenuItem
1721 \begin_layout Plain Layout
1722 ファイル\SpecialChar menuseparator
1729 \begin_inset Flex MenuItem
1732 \begin_layout Plain Layout
1738 footlabel Label color for footnotす.
1739 \begin_inset Flex Code
1742 \begin_layout Plain Layout
1749 このオプションを有効にしてはいけません.
1750 \begin_inset Flex Code
1753 \begin_layout Plain Layout
1759 のようにベクター画像であると同時に文書でもあるような形式は,
1763 \begin_layout Standard
1764 \begin_inset Flex MenuItem
1767 \begin_layout Plain Layout
1775 にこの形式がベクター画像を含みうることを教示するものです.この情報は,
1777 \begin_inset Flex MenuItem
1780 \begin_layout Plain Layout
1787 内包されている画像をどの形式に変換するかを決定するのに使用されます.
1788 \begin_inset Flex MenuItem
1791 \begin_layout Plain Layout
1799 \begin_inset Flex MenuItem
1802 \begin_layout Plain Layout
1809 \begin_inset Flex MenuItem
1812 \begin_layout Plain Layout
1819 \begin_inset Flex MenuItem
1822 \begin_layout Plain Layout
1828 以外の画像形式を取り扱うことができないので,
1830 これらの形式に変換される必要があるかもしれない為です.内包されている画像が既に
1831 \begin_inset Flex MenuItem
1834 \begin_layout Plain Layout
1841 \begin_inset Flex MenuItem
1844 \begin_layout Plain Layout
1851 \begin_inset Flex MenuItem
1854 \begin_layout Plain Layout
1861 ベクター画像形式オプションが有効になっている場合には
1862 \begin_inset Flex MenuItem
1865 \begin_layout Plain Layout
1873 \begin_inset Flex MenuItem
1876 \begin_layout Plain Layout
1885 \begin_layout Section
1889 \begin_layout Standard
1893 変換用にファイルを一時ディレクトリにコピーする前段階で,
1894 ファイルに変更を加える必要のあることがあります
1898 \begin_layout Plain Layout
1903 相対ファイル名を用いて参照している場合,
1904 このファイルが一時ディレクトリにコピーされると参照が無効になる場合があります.
1911 ファイルを一時ディレクトリに(あるいは一時ディレクトリから)コピーすると同時に,
1915 \begin_layout Standard
1917 以下の8つの変数を用いることができます.
1920 \begin_layout Labeling
1921 \labelwidthstring 00.00.0000
1922 \begin_inset Flex Code
1925 \begin_layout Plain Layout
1934 \begin_inset Flex MenuItem
1937 \begin_layout Plain Layout
1946 \begin_layout Labeling
1947 \labelwidthstring 00.00.0000
1948 \begin_inset Flex Code
1951 \begin_layout Plain Layout
1960 \begin_layout Labeling
1961 \labelwidthstring 00.00.0000
1962 \begin_inset Flex Code
1965 \begin_layout Plain Layout
1974 \begin_layout Labeling
1975 \labelwidthstring 00.00.0000
1976 \begin_inset Flex Code
1979 \begin_layout Plain Layout
1986 一時ディレクトリ内でのベース名(ファイル拡張子なし)
1989 \begin_layout Labeling
1990 \labelwidthstring 00.00.0000
1991 \begin_inset Flex Code
1994 \begin_layout Plain Layout
2004 \begin_layout Labeling
2005 \labelwidthstring 00.00.0000
2006 \begin_inset Flex Code
2009 \begin_layout Plain Layout
2015 処理されている元の\SpecialChar LyX
2019 \begin_layout Labeling
2020 \labelwidthstring 00.00.0000
2021 \begin_inset Flex Code
2024 \begin_layout Plain Layout
2031 ファイルのファイル名(ディレクトリパスなし)
2034 \begin_layout Labeling
2035 \labelwidthstring 00.00.0000
2036 \begin_inset Flex Code
2039 \begin_layout Plain Layout
2049 \begin_layout Standard
2058 コマンドで使用されるのと同形式のファイル名です.これは,
2059 書き出すファイルがそのようなインクルードに適している場合のみ,
2063 \begin_layout Standard
2066 ほとんどすべてに対応することができます.たとえば,
2069 \begin_inset Flex Code
2072 \begin_layout Plain Layout
2078 という特別なディレクトリにコピーしたいものとしましょう.その場合には,
2079 以下のようなシェルスクリプトを書きます.
2082 \begin_layout Standard
2083 \begin_inset listings
2087 \begin_layout Plain Layout
2092 \begin_layout Plain Layout
2097 \begin_layout Plain Layout
2099 TOFILE=`basename $2`
2102 \begin_layout Plain Layout
2104 DescriptionE /home/you/pdf/$TOFILE
2111 \begin_inset Flex Code
2114 \begin_layout Plain Layout
2115 /home/you/.lyx/scripts/pdfcopier.sh
2121 自身のローカル\SpecialChar LyX
2123 お使いのプラットフォームが必要とするならば,
2126 \begin_inset Flex MenuItem
2129 \begin_layout Plain Layout
2130 ツール\SpecialChar menuseparator
2137 \begin_inset Flex MenuItem
2140 \begin_layout Plain Layout
2141 ファイル処理\SpecialChar menuseparator
2149 \begin_inset Flex MenuItem
2152 \begin_layout Plain Layout
2162 \begin_inset Flex MenuItem
2165 \begin_layout Plain Layout
2172 \begin_inset Flex Code
2175 \begin_layout Plain Layout
2176 pdfcopier.sh $$i $$o
2184 \begin_layout Standard
2187 自身が様々な変換に使用します.たとえば,
2191 \begin_inset Flex MenuItem
2194 \begin_layout Plain Layout
2201 \begin_inset Flex MenuItem
2204 \begin_layout Plain Layout
2206 \begin_inset space ~
2214 形式の複写子を導入します.これらの形式を書き出す際,
2217 関連した様々なファイル(スタイルファイルや画像など)もコピーされるように手配します.これらのファイルはすべて,
2219 ファイルのあるディレクトリのサブディレクトリに書き込まれます.
2223 \begin_layout Plain Layout
2224 この複写子の挙動は調整することができます.非必須の「-e」オプションは,
2225 コピーする拡張子をコンマ区切りで羅列したものを引数にとります.これを省略した場合には,
2226 すべてのファイルがコピーされます.「-t」引数は,
2227 生成したディレクトリに書き加える拡張子を指定するものです.既定値では,
2229 \begin_inset Flex MenuItem
2232 \begin_layout Plain Layout
2240 \begin_inset Flex MenuItem
2243 \begin_layout Plain Layout
2244 /path/to/filename.lyx
2251 \begin_inset Flex MenuItem
2254 \begin_layout Plain Layout
2255 /path/to/filename.html.LyXconv
2269 \begin_layout Section
2271 \begin_inset CommandInset label
2280 \begin_layout Standard
2282 ご自身の変換子を定義することができます.これは,
2284 \begin_inset Flex MenuItem
2287 \begin_layout Plain Layout
2288 ツール\SpecialChar menuseparator
2289 設定\SpecialChar menuseparator
2290 ファイル処理\SpecialChar menuseparator
2299 \begin_layout Standard
2302 \begin_inset Flex MenuItem
2305 \begin_layout Plain Layout
2312 \begin_inset Flex MenuItem
2315 \begin_layout Plain Layout
2323 \begin_inset Flex MenuItem
2326 \begin_layout Plain Layout
2332 ボタンを押してください.変換子の定義には,
2333 以下のような変数を使用することができます.
2336 \begin_layout Labeling
2337 \labelwidthstring 00.00.0000
2338 \begin_inset Flex Code
2341 \begin_layout Plain Layout
2351 \begin_layout Labeling
2352 \labelwidthstring 00.00.0000
2353 \begin_inset Flex Code
2356 \begin_layout Plain Layout
2365 \begin_layout Labeling
2366 \labelwidthstring 00.00.0000
2367 \begin_inset Flex Code
2370 \begin_layout Plain Layout
2379 \begin_layout Labeling
2380 \labelwidthstring 00.00.0000
2381 \begin_inset Flex Code
2384 \begin_layout Plain Layout
2390 入力ファイルのベースファイル名(拡張子をとった部分)
2393 \begin_layout Labeling
2394 \labelwidthstring 00.00.0000
2395 \begin_inset Flex Code
2398 \begin_layout Plain Layout
2407 \begin_layout Labeling
2408 \labelwidthstring 00.00.0000
2409 \begin_inset Flex Code
2412 \begin_layout Plain Layout
2418 元の入力ファイルのパス(変換子が連鎖して呼び出されたときの挙動が$$pとは異なります)
2421 \begin_layout Labeling
2422 \labelwidthstring 00.00.0000
2423 \begin_inset Flex Code
2426 \begin_layout Plain Layout
2435 \begin_layout Standard
2436 \begin_inset Flex MenuItem
2439 \begin_layout Plain Layout
2446 以下のフラグをコンマで区切って入力することができます.
2449 \begin_layout Labeling
2450 \labelwidthstring 00.00.0000
2451 \begin_inset Flex Code
2454 \begin_layout Plain Layout
2460 この変換子が\SpecialChar LaTeX
2461 の一種を実行することを示します.これによって,
2464 エラーログに記録を残せるようになります.オプションの
2465 \begin_inset Flex Code
2468 \begin_layout Plain Layout
2474 値は実行する\SpecialChar LaTeX
2476 \begin_inset Flex Code
2479 \begin_layout Plain Layout
2490 \begin_inset Flex Code
2493 \begin_layout Plain Layout
2502 \begin_layout Labeling
2503 \labelwidthstring 00.00.0000
2504 \begin_inset Flex Code
2507 \begin_layout Plain Layout
2513 この変換子が安全でないと見做されていて,
2514 ユーザーの許可が必要であることを示します.
2517 ツール\SpecialChar menuseparator
2518 設定\SpecialChar menuseparator
2519 ファイル処理\SpecialChar menuseparator
2524 \begin_inset space \thinspace{}
2529 (a.)現在の文書を一時的もしくは恒久的に信頼するか否かを尋ねられるか,
2530 (b.)セキュリティ上の懸念によって変換は不可能であることを伝えられるか,
2531 (c.)恒久的な同意を与えたので通知されないかのいずれかになります.任意のプログラムを実行する可能性のある変換子には,
2535 \begin_layout Labeling
2536 \labelwidthstring 00.00.0000
2537 \begin_inset Flex Code
2540 \begin_layout Plain Layout
2546 変換に\SpecialChar LaTeX
2548 \begin_inset Flex MenuItem
2551 \begin_layout Plain Layout
2557 ファイルが必要であることを示します.オプションの
2558 \begin_inset Flex Code
2561 \begin_layout Plain Layout
2568 \begin_inset Flex MenuItem
2571 \begin_layout Plain Layout
2577 ファイルを生成するのに実行する\SpecialChar LaTeX
2579 \begin_inset Flex Code
2582 \begin_layout Plain Layout
2593 \begin_inset Flex Code
2596 \begin_layout Plain Layout
2605 \begin_layout Labeling
2606 \labelwidthstring 00.00.0000
2607 \begin_inset Flex Code
2610 \begin_layout Plain Layout
2617 \begin_inset Quotes erd
2621 \begin_inset Quotes erd
2626 が書き出す\SpecialChar LaTeX
2629 \begin_inset Flex Code
2632 \begin_layout Plain Layout
2638 のない\SpecialChar LaTeX
2642 \begin_layout Labeling
2643 \labelwidthstring 00.00.0000
2644 \begin_inset Flex Code
2647 \begin_layout Plain Layout
2656 \begin_layout Standard
2658 \begin_inset Flex MenuItem
2661 \begin_layout Plain Layout
2663 \begin_inset space ~
2667 \begin_inset space ~
2675 形式の引数をとります(したがって厳密にはフラグとは呼べません).
2678 \begin_layout Labeling
2679 \labelwidthstring 00.00.0000
2680 \begin_inset Flex Code
2683 \begin_layout Plain Layout
2693 パッケージとともに読み込む必要のあるドライバ名.一部のPDF機能を利用するには正しいドライバを読み込む必要があります.詳細については,
2701 \begin_layout Labeling
2702 \labelwidthstring 00.00.0000
2703 \begin_inset Flex Code
2706 \begin_layout Plain Layout
2714 \begin_inset Flex Code
2717 \begin_layout Plain Layout
2725 \begin_inset Flex Code
2728 \begin_layout Plain Layout
2729 script < infile.out > infile.log
2734 の形で実行されるようになります.引数には
2735 \begin_inset Flex Code
2738 \begin_layout Plain Layout
2747 \begin_layout Labeling
2748 \labelwidthstring 00.00.0000
2749 \begin_inset Flex Code
2752 \begin_layout Plain Layout
2759 変換子が生成したファイルをダンプするディレクトリ名を指定します.\SpecialChar LyX
2762 このディレクトリを宛先にコピーします.引数には,
2764 \begin_inset Flex Code
2767 \begin_layout Plain Layout
2775 入力ファイルおよび出力ファイルのベース名で置換されます.
2776 \begin_inset Newline newline
2779 resultdirとusetempdirは,
2780 同時に用いることはできませんのでご注意ください.前者が指定されているときには,
2784 \begin_layout Labeling
2785 \labelwidthstring 00.00.0000
2786 \begin_inset Flex Code
2789 \begin_layout Plain Layout
2797 \begin_inset Flex Code
2800 \begin_layout Plain Layout
2806 を使用することができます.resultdirが指定されているときのみ有効で,
2807 必ず用いる必要はありません.指定されていなければ,
2811 \begin_layout Standard
2813 とともに導入されている変換子の一部には適切なhyperref-driverが設定されています.しかしながら最後の3つは,
2819 \begin_layout Standard
2820 変換しようとするすべての形式のあいだに変換子を定義する必要はありません.たとえば,
2822 からPostScript」変換子が定義されていないのに,
2824 はPostScriptを書き出していることに気づかれることでしょう.これは,
2825 まず\SpecialChar LaTeX
2826 ファイルを生成した後に(これには変換子を定義する必要はありません),
2827 「LaTeXからDVI」変換子を使用してDVIに変換し,
2829 得られたDVIをPostScriptに変換することによって実現しています.\SpecialChar LyX
2830 はこのような変換子の「連鎖」を自動的に見つけ,
2831 つねに最も短い連鎖を選択します.しかしながら,
2832 なお形式間に複数の変換方法を定義することも可能です.たとえば,
2833 標準的な\SpecialChar LyX
2840 \begin_layout Enumerate
2842 \begin_inset Flex MenuItem
2845 \begin_layout Plain Layout
2854 \begin_layout Enumerate
2855 (DVIと)PostScriptを経由して
2856 \begin_inset Flex MenuItem
2859 \begin_layout Plain Layout
2868 \begin_layout Enumerate
2870 \begin_inset Flex MenuItem
2873 \begin_layout Plain Layout
2882 \begin_layout Enumerate
2884 \begin_inset Flex MenuItem
2887 \begin_layout Plain Layout
2897 \begin_layout Enumerate
2899 \begin_inset Flex MenuItem
2902 \begin_layout Plain Layout
2912 \begin_layout Standard
2915 \begin_inset CommandInset ref
2917 reference "sec:ファイル形式"
2923 ターゲットとなる「ファイル形式」を複数定義しなくてはなりません.たとえば,
2926 \begin_inset Flex MenuItem
2929 \begin_layout Plain Layout
2936 \begin_inset Flex MenuItem
2939 \begin_layout Plain Layout
2946 \begin_inset Flex MenuItem
2949 \begin_layout Plain Layout
2956 \begin_inset Flex MenuItem
2959 \begin_layout Plain Layout
2966 \begin_inset Flex MenuItem
2969 \begin_layout Plain Layout
2976 \begin_inset Flex MenuItem
2979 \begin_layout Plain Layout
2986 \begin_inset Flex MenuItem
2989 \begin_layout Plain Layout
2996 \begin_inset Flex MenuItem
2999 \begin_layout Plain Layout
3007 \begin_inset Flex MenuItem
3010 \begin_layout Plain Layout
3017 \begin_inset Flex MenuItem
3020 \begin_layout Plain Layout
3027 用\SpecialChar softhyphen
3030 \begin_inset Flex MenuItem
3033 \begin_layout Plain Layout
3040 上記で言及した各変換方法に対応しています.
3043 \begin_layout Chapter
3046 \begin_inset CommandInset label
3048 name "cha:LyXの各国語対応"
3055 \begin_layout Standard
3058 翻訳された操作画面の利用をサポートしています.私たちが最後に確かめたところでは,
3060 は30言語の翻訳を提供しています.選択した言語は,
3065 と呼ばれます(ロケール設定についての詳しい資料は,
3066 お使いの基本ソフトに添付のロケール関連説明書をご覧ください.Linuxの場合は,
3068 \begin_inset Flex Code
3071 \begin_layout Plain Layout
3080 \begin_layout Standard
3082 欠点もいくつかあることに注意してください.たとえば,
3083 ダイアログはすべて英文を念頭にデザインされているため,
3085 割り当てられたスペースに収めるには大きすぎるかもしれません.これは表示上の問題に過ぎず,
3088 すべてのショートカットが定義されていないことに気づかれるでしょう.ショートカットのために空いている文字が十分ないことが時々あるのです.単に翻訳者がまだショートカットを定義していないこともあるでしょう.もちろん,
3090 あなたも参加したいと思われるかもしれません
3094 \begin_layout Plain Layout
3095 もしあなたが英語以外の言語を流暢に操れるならば,
3098 コミュニティに報いるたいへん素晴らしい方法です!
3107 の将来のバージョンでこれらの欠点を修正しようとするでしょう.
3110 \begin_layout Section
3115 \begin_layout Subsection
3116 グラフィカル・ユーザ・インタフェース(テキスト・メッセージ)を翻訳する
3117 \begin_inset Argument 1
3120 \begin_layout Plain Layout
3129 \begin_layout Standard
3133 \begin_inset Flex Code
3136 \begin_layout Plain Layout
3142 ライブラリを使用します.\SpecialChar LyX
3143 のすべてのメニューやダイアログでお好みの言語を話させたいときには,
3145 \begin_inset Flex Code
3148 \begin_layout Plain Layout
3154 ファイルが必要です.このファイルが利用可能であれば,
3156 \begin_inset Flex Code
3159 \begin_layout Plain Layout
3167 \begin_inset Flex Code
3170 \begin_layout Plain Layout
3176 ファイルをインストールしなくてはなりません.この全過程は,
3178 \begin_inset Flex Code
3181 \begin_layout Plain Layout
3187 の取扱説明書に説明があります.この作業をあなたのためだけに行うこともできますが,
3189 あなたの骨折りの結果を\SpecialChar LyX
3190 コミュニティの他の人々と分かち合いませんか.どのように段取りを進めればよいか,
3191 詳しくは\SpecialChar LyX
3192 開発者メーリングリストにメールを送ってください.
3195 \begin_layout Standard
3197 以下のように行います(xxは言語コードを表します).
3200 \begin_layout Itemize
3202 ソースコードをチェックアウトしてください(
3203 \begin_inset CommandInset href
3206 target "https://www.lyx.org/HowToUseGIT"
3214 \begin_layout Itemize
3215 \begin_inset Flex Code
3218 \begin_layout Plain Layout
3225 \begin_inset Flex Code
3228 \begin_layout Plain Layout
3236 \begin_inset Flex Code
3239 \begin_layout Plain Layout
3246 \begin_inset Flex Code
3249 \begin_layout Plain Layout
3257 \begin_inset Flex Code
3260 \begin_layout Plain Layout
3268 他言語の既存のpoファイルをひな型として使用することができます).
3271 \begin_layout Itemize
3272 \begin_inset Flex Code
3275 \begin_layout Plain Layout
3285 \begin_layout Plain Layout
3287 どのテキストエディタでも編集できます.しかし,
3297 この目的の編集をサポートする特別なプログラムがあります.
3302 \begin_inset Flex Code
3305 \begin_layout Plain Layout
3311 ファイルを編集するための「モード」があります,
3313 \begin_inset Flex URL
3316 \begin_layout Plain Layout
3318 https://www.gnu.org/software/gettext/manual/html_node/PO-Mode.html#PO-Mode
3328 メニューラベルやウィジェットラベルのうちには,
3329 翻訳しなくてはならないショートカットがある場合があります.これらのキーは「|」の後に記されており,
3330 当該言語の単語やフレーズに対応して翻訳しなくてはなりません.さらに,
3332 \begin_inset Flex Code
3335 \begin_layout Plain Layout
3342 あなたの電子メールアドレスなどの情報も書き加えて,
3344 滑稽な怒りのメッセージを届けることができるようにしてください.
3347 \begin_layout Standard
3349 あなたがこれを自身のためだけに行っているのであれば,
3353 \begin_layout Itemize
3354 \begin_inset Flex Code
3357 \begin_layout Plain Layout
3364 \begin_inset Flex Code
3367 \begin_layout Plain Layout
3368 msgfmt -o xx.mo < xx.po
3376 \begin_layout Itemize
3378 \begin_inset Flex Code
3381 \begin_layout Plain Layout
3389 言語xxのアプリケーションメッセージ用の正式なディレクトリにコピーして,
3391 \begin_inset Flex Code
3394 \begin_layout Plain Layout
3402 \begin_inset Flex Code
3405 \begin_layout Plain Layout
3406 /usr/local/share/locale/xx/LC_MESSAGES/lyx.mo
3414 \begin_layout Standard
3417 \begin_inset Flex Code
3420 \begin_layout Plain Layout
3428 頒布版に追加できることが最善です.これを追加するには,
3432 開発者メーリングリストに電子メールを送ってください.
3435 \begin_layout Subsubsection
3439 \begin_layout Standard
3442 翻訳先の言語では複数のメッセージに翻訳されなくてはならないことが判明することがあります.一つの例は,
3444 \begin_inset Flex Code
3447 \begin_layout Plain Layout
3454 これは英語で「to」がどういう意味を持っているかによって,
3455 独語ではNachと訳されたりBisと訳されたりします.GNU
3456 \begin_inset Flex Code
3459 \begin_layout Plain Layout
3467 \begin_inset Flex Code
3470 \begin_layout Plain Layout
3478 \begin_inset Flex Code
3481 \begin_layout Plain Layout
3482 To[[as in 'From format x to format y']]
3488 \begin_inset Flex Code
3491 \begin_layout Plain Layout
3492 To[[as in 'From page x to page y']]
3499 \begin_inset Flex Code
3502 \begin_layout Plain Layout
3510 \begin_inset Flex Code
3513 \begin_layout Plain Layout
3520 それぞれ正しくNachとBisに訳すことができるようになります.
3523 \begin_layout Standard
3526 翻訳が存在しないときには取り去られる必要がありますので,
3527 メッセージの終わりに二重大括弧で囲わなくてはなりません(上例参照).\SpecialChar LyX
3529 メッセージの終わりに二重大括弧で囲われているものはすべて,
3530 メッセージを表示する前に取り去るようにされています.
3533 \begin_layout Subsection
3537 \begin_layout Standard
3539 \begin_inset Flex MenuItem
3542 \begin_layout Plain Layout
3548 メニュー中の)オンライン説明書は翻訳することができます(そして翻訳されるべきです!
3553 \begin_layout Plain Layout
3555 説明書の少なくとも一部が翻訳されている言語は14言語に上り,
3556 入門編が訳されているものはさらにいくつかあります.
3562 ロケールがその言語に設定されている場合,
3564 はこれを自動的に使用します.\SpecialChar LyX
3567 \begin_inset Flex Code
3570 \begin_layout Plain Layout
3571 LyXDir/doc/xx/DocName.lyx
3577 \begin_inset Flex Code
3580 \begin_layout Plain Layout
3586 は現在使用している言語コード)で探します.翻訳文書がない場合には,
3589 \begin_inset Flex Code
3592 \begin_layout Plain Layout
3598 )を持っていなくてはならないことに注意してください.説明書を翻訳する気がおありであれば(これは原典の校正としてもたいへん役立ちます!
3603 \begin_layout Itemize
3605 \begin_inset CommandInset href
3607 name "https://www.lyx.org/Translation"
3608 target "https://www.lyx.org/Translation"
3614 どの文書が(もしあれば)お使いの言語に既に翻訳されているかを見つけることができます.また,
3615 説明書をお使いの言語に翻訳する作業の面倒を見ている人を(もしいれば)見つけることができます.この作業の面倒を見ている人がいない場合には,
3616 私たちにあなたが興味をお持ちであることを知らせてください.
3619 \begin_layout Standard
3620 いったん実際の翻訳の仕事に取りかかったならば,
3621 トラブルを回避するいくつかのヒントがあります.
3624 \begin_layout Itemize
3627 \begin_inset Flex Code
3630 \begin_layout Plain Layout
3637 \begin_inset Flex MenuItem
3640 \begin_layout Plain Layout
3641 ヘルプ\SpecialChar menuseparator
3649 \begin_inset Flex Code
3652 \begin_layout Plain Layout
3661 \begin_layout Itemize
3662 翻訳しようとする言語での印刷慣行を学んでください.活版印刷は古来の技術であり,
3665 あなたの国で活版工が用いる専門用語も学んでください.自分で勝手な専門用語を捻出するとユーザを混乱させるだけです.(
3668 活版技術は病みつきになる可能性があるので注意してくさい!
3674 \begin_layout Itemize
3675 文書のコピーをとってください.これを作業用コピーとします.これをお使いの
3676 \begin_inset Flex Code
3679 \begin_layout Plain Layout
3686 個人用の翻訳ヘルプファイルとして使用することができます.
3687 \begin_inset Newline newline
3691 \begin_inset Note Greyedout
3694 \begin_layout Plain Layout
3699 外部素材(画像など)のある複雑な文書の場合,
3700 例えば一時ディレクトリなどにコピーを作ると,
3702 外部素材へのリンクは壊れてしまうかもしれないことに注意してください.最も良い方法は,
3704 \begin_inset Flex URL
3707 \begin_layout Plain Layout
3709 https://www.lyx.org/HowToUseGIT
3715 そのdocファイルを直接編集するのが良いでしょう.
3723 \begin_layout Itemize
3728 \begin_inset CommandInset href
3730 name "https://www.lyx.org/trac/timeline"
3731 target "https://www.lyx.org/trac/timeline"
3736 のソースビューアでご覧ください.この方法で,
3737 翻訳文書のどの部分を更新しなくてはならないか,
3741 \begin_layout Standard
3743 修正して文書化チームの他のメンバーに変更したことを知らせてください(文書化チームに参加することをお忘れになっていませんよね).
3746 \begin_layout Standard
3747 \begin_inset Branch OutDated
3751 \begin_layout Section
3752 International Keyboard Support
3755 \begin_layout Standard
3759 The following section is by
3767 It needs to be fixed to conform to the new Documentation Style sheet and to make use of the new v1.0 features.
3768 The whole thing also needs to be merged with the section following it.-jw It may also be badly out of date.-rh (2008)]
3771 \begin_layout Subsection
3772 Defining Own Keymaps:
3776 \begin_layout Standard
3777 Let's look at a keyboard definition file a little closer.
3778 It is a plain text file defining
3781 \begin_layout Itemize
3782 key-to-key or key-to-string translations
3785 \begin_layout Itemize
3789 \begin_layout Itemize
3790 dead keys exceptions
3793 \begin_layout Standard
3794 To define key-to-key or key-to-string translation,
3798 \begin_layout Quotation
3799 \begin_inset Flex Code
3802 \begin_layout Plain Layout
3811 \begin_inset Flex Code
3814 \begin_layout Plain Layout
3823 \begin_layout Standard
3825 \begin_inset Flex Code
3828 \begin_layout Plain Layout
3834 is the key to be translated and
3835 \begin_inset Flex Code
3838 \begin_layout Plain Layout
3844 is the string to be inserted into the document.
3845 To define dead keys,
3849 \begin_layout Quotation
3850 \begin_inset Flex Code
3853 \begin_layout Plain Layout
3862 \begin_inset Flex Code
3865 \begin_layout Plain Layout
3874 \begin_layout Standard
3876 \begin_inset Flex Code
3879 \begin_layout Plain Layout
3885 is a keyboard key and
3886 \begin_inset Flex Code
3889 \begin_layout Plain Layout
3896 The following dead keys are supported (shortcut name is in parentheses):
3899 \begin_layout Quotation
3903 \begin_inset space \hfill{}
3909 \begin_layout Quotation
3911 \begin_inset space \hfill{}
3919 \begin_layout Quotation
3921 \begin_inset space \hfill{}
3929 \begin_layout Quotation
3931 \begin_inset space \hfill{}
3939 \begin_layout Quotation
3941 \begin_inset space \hfill{}
3949 \begin_layout Quotation
3951 \begin_inset space \hfill{}
3958 \begin_layout Plain Layout
3970 \begin_layout Quotation
3972 \begin_inset space \hfill{}
3980 \begin_layout Quotation
3982 \begin_inset space \hfill{}
3989 \begin_layout Plain Layout
4001 \begin_layout Quotation
4003 \begin_inset space \hfill{}
4011 \begin_layout Quotation
4013 \begin_inset space \hfill{}
4021 \begin_layout Quotation
4023 \begin_inset space \hfill{}
4030 \begin_layout Plain Layout
4042 \begin_layout Quotation
4044 \begin_inset space \hfill{}
4055 \begin_layout Plain Layout
4067 \begin_layout Quotation
4069 \begin_inset space \hfill{}
4077 \begin_layout Quotation
4078 hungarian umlaut (hug)
4079 \begin_inset space \hfill{}
4087 \begin_layout Quotation
4089 \begin_inset space \hfill{}
4097 \begin_layout Quotation
4099 \begin_inset space \hfill{}
4110 \begin_layout Plain Layout
4122 \begin_layout Standard
4123 Since in many international keyboards there are exceptions to what some dead keys should do,
4124 you can define them using
4127 \begin_layout Quotation
4128 \begin_inset Flex Code
4131 \begin_layout Plain Layout
4139 deadkey key outstring
4142 \begin_layout Standard
4145 if you enter caron-o,
4146 it generates circumflex-o,
4150 \begin_layout Quotation
4151 \begin_inset Flex Code
4154 \begin_layout Plain Layout
4167 \begin_layout Standard
4168 to make it work correctly.
4170 you have to define as exceptions dead keys over i and j,
4171 to remove the dot from them before inserting an accent mark.
4172 I will change this when the time comes,
4173 but so far I haven't had time.
4176 \begin_layout Standard
4178 and about characters:
4179 backslash is escaped,
4181 you'll need double backslash.
4184 \begin_inset Flex Code
4187 \begin_layout Plain Layout
4193 have different meaning.
4195 \begin_inset Flex Code
4198 \begin_layout Plain Layout
4205 quotes start and end \SpecialChar LaTeX
4209 \begin_inset Flex Code
4212 \begin_layout Plain Layout
4222 \begin_inset Flex Code
4225 \begin_layout Plain Layout
4233 \begin_inset Flex Code
4236 \begin_layout Plain Layout
4247 \begin_layout Standard
4248 If you make a keyboard description file that works for your language,
4249 please mail it to me,
4250 so I can include it in the next keymap distribution.
4253 \begin_layout Standard
4254 More keywords will be supported in keymap configuration file in future,
4258 \begin_layout Itemize
4259 \begin_inset Flex Code
4262 \begin_layout Plain Layout
4273 \begin_inset space \hfill{}
4277 \begin_inset Flex Code
4280 \begin_layout Plain Layout
4289 \begin_layout Itemize
4290 \begin_inset Flex Code
4293 \begin_layout Plain Layout
4304 \begin_inset space \hfill{}
4308 \begin_inset Flex Code
4311 \begin_layout Plain Layout
4317 an external keymap translation program
4320 \begin_layout Standard
4323 \begin_inset Flex Code
4326 \begin_layout Plain Layout
4335 \begin_inset Flex Code
4338 \begin_layout Plain Layout
4346 option to include default keyboard).
4354 \begin_layout Section
4356 \begin_inset CommandInset label
4365 \begin_layout Standard
4366 \begin_inset Note Note
4369 \begin_layout Plain Layout
4370 2008年3月にこの文書を改訂するに当たって,
4371 改訂者が本節の内容に詳しくなかったために,
4372 本節は改訂されていません.他に改訂してくださる方がおられれば幸いです.
4375 \begin_layout Plain Layout
4384 \begin_layout Standard
4387 \begin_inset Flex Code
4390 \begin_layout Plain Layout
4397 \begin_inset Flex Code
4400 \begin_layout Plain Layout
4406 ファイルの文法を詳細に解説します.これらの節は,
4407 提供されているキー配列があなたのニーズに合わない場合に,
4408 自身用のキー配列をデザインする手助けとなるでしょう.
4411 \begin_layout Subsection
4415 \begin_layout Standard
4416 \begin_inset Flex Code
4419 \begin_layout Plain Layout
4426 打鍵したものを文字や文字列に割り当てます.名前が示唆するように,
4428 \begin_inset Flex Code
4431 \begin_layout Plain Layout
4440 \begin_inset Flex Code
4443 \begin_layout Plain Layout
4450 \begin_inset Flex Code
4453 \begin_layout Plain Layout
4460 \begin_inset Flex Code
4463 \begin_layout Plain Layout
4470 \begin_inset Flex Code
4473 \begin_layout Plain Layout
4482 \begin_layout Labeling
4483 \labelwidthstring 00.00.0000
4484 \begin_inset Flex Code
4487 \begin_layout Plain Layout
4496 \begin_layout LyX-Code
4511 \begin_layout Standard
4531 )を付けてエスケープしなくてはならないことに注意してください.
4534 \begin_layout Standard
4535 \begin_inset Flex MenuItem
4538 \begin_layout Plain Layout
4545 \begin_inset Flex MenuItem
4548 \begin_layout Plain Layout
4555 \begin_inset Flex MenuItem
4558 \begin_layout Plain Layout
4569 \begin_layout LyX-Code
4575 \begin_layout Standard
4579 \begin_layout Labeling
4580 \labelwidthstring 00.00.0000
4581 \begin_inset Flex Code
4584 \begin_layout Plain Layout
4593 \begin_layout LyX-Code
4602 \begin_layout Standard
4611 のアクセントとするものです.これはデッドキー
4615 \begin_layout Plain Layout
4623 望んだアクセント文字を出力するキーのことを指し示します.たとえば,
4637 \begin_layout Standard
4651 の後に許可文字ではないその文字が出力として表示されます.
4652 \begin_inset Flex MenuItem
4655 \begin_layout Plain Layout
4667 \begin_inset Flex MenuItem
4670 \begin_layout Plain Layout
4678 文字が次の打鍵したものに及ぼしたはずの効力を取り消します.
4681 \begin_layout Standard
4684 a・e・i・o・u・A・E・I・O・Uの文字に許可するものです.
4687 \begin_layout LyX-Code
4690 kmod ' acute aeiouAEIOU
4693 \begin_layout Labeling
4694 \labelwidthstring 00.00.0000
4695 \begin_inset Flex Code
4698 \begin_layout Plain Layout
4707 \begin_layout LyX-Code
4716 \begin_layout Standard
4731 \begin_inset Flex Code
4734 \begin_layout Plain Layout
4742 宣言で打鍵キーを既に割り当てられてなくてはならず,
4755 の集合に属していてはなりません.こうして
4769 \begin_inset Flex Code
4772 \begin_layout Plain Layout
4801 \begin_inset Flex Code
4804 \begin_layout Plain Layout
4815 \begin_layout Standard
4821 \begin_layout LyX-Code
4835 \begin_layout Labeling
4836 \labelwidthstring 00.00.0000
4837 \begin_inset Flex Code
4840 \begin_layout Plain Layout
4849 \begin_layout LyX-Code
4858 \begin_layout Standard
4859 これはなかなか難解になってきます.これは
4887 \begin_inset Flex Code
4890 \begin_layout Plain Layout
4898 コマンドで設定されていなくてはなりません.
4901 \begin_layout Standard
4902 \begin_inset Flex Code
4905 \begin_layout Plain Layout
4914 \begin_layout LyX-Code
4918 acute aeioyvhAEIOYVH
4923 kcomb acute umlaut iyIY
4926 \begin_layout Standard
4928 \begin_inset Flex MenuItem
4931 \begin_layout Plain Layout
4938 \begin_inset Flex Code
4941 \begin_layout Plain Layout
4951 という効果を得るようにするものです.この場合のバックスペースは,
4954 \begin_inset Flex MenuItem
4957 \begin_layout Plain Layout
4966 \begin_inset Flex Code
4969 \begin_layout Plain Layout
4980 \begin_layout Subsection
4984 \begin_layout Standard
4985 \begin_inset Flex Code
4988 \begin_layout Plain Layout
4996 \begin_inset Flex Code
4999 \begin_layout Plain Layout
5006 記号の作り出す文字列を現在のフォントの文字に割り当てます.\SpecialChar LyX
5010 \begin_inset Flex Code
5013 \begin_layout Plain Layout
5020 \begin_inset Flex Code
5023 \begin_layout Plain Layout
5032 \begin_layout Standard
5034 \begin_inset Flex Code
5037 \begin_layout Plain Layout
5047 \begin_layout LyX-Code
5060 \begin_layout Standard
5063 \begin_inset Flex MenuItem
5066 \begin_layout Plain Layout
5074 をiso-8859-1セットの対応する文字(233)に割り当てるには,
5078 \begin_layout LyX-Code
5086 \begin_layout Standard
5093 \begin_inset Flex Code
5096 \begin_layout Plain Layout
5105 \begin_inset Flex Code
5108 \begin_layout Plain Layout
5114 はエスケープされています.同一の文字を二つ以上の文字列に充てることができることに注意してください.
5115 \begin_inset Flex Code
5118 \begin_layout Plain Layout
5128 \begin_layout LyX-Code
5140 \begin_inset Newline newline
5156 \begin_layout Standard
5157 という例があります.\SpecialChar LyX
5159 キー打鍵やデッドキーの組み合わせで生成される文字列の割り当てを見つけることができないとき,
5160 それがアクセント付き文字のように解釈ができないかどうかチェックして,
5161 画面上の文字にアクセントを引くことを試みます.
5164 \begin_layout Subsection
5168 \begin_layout Standard
5169 国際文字のサポートを追加する第2の方法として,
5170 いわゆるデッドキーによる方法があります.デッドキーは文字と一緒に用いて,
5171 アクセント付き文字を生成します.ここではその機能を説明するために,
5172 きわめて単純なデッドキーの作り方を説明します.
5175 \begin_layout Standard
5177 曲折アクセント記号「 ̂」が必要になったものとしましょう.この場合,
5179 \begin_inset Flex Code
5182 \begin_layout Plain Layout
5190 \begin_inset Flex MenuItem
5193 \begin_layout Plain Layout
5200 \begin_inset Flex MenuItem
5203 \begin_layout Plain Layout
5212 \begin_inset Flex Code
5215 \begin_layout Plain Layout
5222 \begin_inset Flex MenuItem
5225 \begin_layout Plain Layout
5232 この文字上に曲折アクセントが付けられるようになります.たとえば「
5233 \begin_inset Flex MenuItem
5236 \begin_layout Plain Layout
5242 」という打鍵順は「ê」という文字を生成します.しかしながら,
5244 \begin_inset Flex MenuItem
5247 \begin_layout Plain Layout
5255 \begin_inset Flex MenuItem
5258 \begin_layout Plain Layout
5264 」は曲折アクセントをとることは決してないために,
5266 はビープを鳴らして文句を付けます.デッドキーの後に
5267 \begin_inset Flex MenuItem
5270 \begin_layout Plain Layout
5277 アクセントだけが生成されます.この最後の点に注意してください.あるキーをデッドキーに割り当てる場合には,
5278 このキー上の文字を別のキーに割り当て直す必要があります.たとえば,
5280 \begin_inset Flex MenuItem
5283 \begin_layout Plain Layout
5289 をセディーユに割り当てるのはよくありません.コンマを入力しようとすると必ずセディーユが出てくるようになるためです.
5292 \begin_layout Standard
5293 デッドキーを割り当てるのによく用いられる方法は,
5295 \begin_inset Flex MenuItem
5298 \begin_layout Plain Layout
5305 \begin_inset Flex MenuItem
5308 \begin_layout Plain Layout
5315 \begin_inset Flex MenuItem
5318 \begin_layout Plain Layout
5326 \begin_inset Flex MenuItem
5329 \begin_layout Plain Layout
5336 \begin_inset Flex MenuItem
5339 \begin_layout Plain Layout
5346 \begin_inset Flex MenuItem
5349 \begin_layout Plain Layout
5355 」のようなアクセントと一緒に用いる方法です.また,
5357 \begin_inset Flex Code
5360 \begin_layout Plain Layout
5367 \begin_inset Flex Code
5370 \begin_layout Plain Layout
5378 \begin_inset Flex Code
5381 \begin_layout Plain Layout
5388 \begin_inset Flex Code
5391 \begin_layout Plain Layout
5399 \begin_inset Flex MenuItem
5402 \begin_layout Plain Layout
5409 アクセント文字を割り当てるのに使用できます.また,
5411 \begin_inset Flex Code
5414 \begin_layout Plain Layout
5422 このシンボリックキーを対応する\SpecialChar LyX
5427 \begin_layout Plain Layout
5435 \begin_inset Flex Code
5438 \begin_layout Plain Layout
5445 \begin_inset Flex Code
5448 \begin_layout Plain Layout
5456 \begin_inset Flex MenuItem
5459 \begin_layout Plain Layout
5461 \begin_inset space ~
5470 \begin_inset Flex Code
5473 \begin_layout Plain Layout
5481 \begin_inset Flex Code
5484 \begin_layout Plain Layout
5491 \begin_inset Flex MenuItem
5494 \begin_layout Plain Layout
5496 \begin_inset space ~
5505 \begin_inset Flex MenuItem
5508 \begin_layout Plain Layout
5510 \begin_inset space ~
5518 などに割り当てています.私はこの方法でアクセント文字を入力しています.
5524 \begin_inset Flex Code
5527 \begin_layout Plain Layout
5535 \begin_inset Flex MenuItem
5538 \begin_layout Plain Layout
5544 キーの片方や使われていないファンクションキーなど,
5545 ほぼ何でも指定することができます.アクセントを生み出す\SpecialChar LyX
5553 \begin_inset Flex Code
5556 \begin_layout Plain Layout
5562 の項をご覧ください.ここには完備した一覧があります.
5565 \begin_layout Subsection
5569 \begin_layout Standard
5570 \begin_inset Flex MenuItem
5573 \begin_layout Plain Layout
5574 ツール\SpecialChar menuseparator
5583 ご希望の言語環境に自動的に設定されるように,
5587 \begin_layout Chapter
5588 文書クラス・レイアウト・ひな型の作成と新規導入
5589 \begin_inset CommandInset label
5596 \begin_inset Argument 1
5599 \begin_layout Plain Layout
5608 \begin_layout Standard
5611 のレイアウトファイルやひな型ファイルを作成して,
5613 新規に\SpecialChar LaTeX
5614 文書クラス(ドキュメントクラス)を正しく導入する方法を復習します.
5617 \begin_layout Standard
5622 若干の註釈を加えておくことにしましょう.理解していただきたいことは,
5627 について何も知らないと云うことです.実際のところ,
5634 複数の「バックエンド形式」のうちの一つに過ぎないということです.同種のバックエンド形式には,
5635 DocBook・平文・XHTMLがあります.もちろん\SpecialChar LaTeX
5641 実はプログラム本体には含まれていないのです
5645 \begin_layout Plain Layout
5648 に「ハードコード化」されているコマンドもありますが,
5657 \begin_inset Flex Code
5660 \begin_layout Plain Layout
5667 「レイアウトファイル」に保管されています.同様に,
5670 DocBookやXHTMLについてもほとんど知りません.\SpecialChar LyX
5675 \begin_layout Standard
5679 対応する様式や何らかの差込枠などを有する段落群—
5681 それに対応する\SpecialChar LaTeX
5682 構成体・DocBook構成体・XHTML構成体との間の翻訳指南書のようなものです.たとえば,
5685 \begin_inset Flex Code
5688 \begin_layout Plain Layout
5694 について知っていることのほとんど総ては,
5696 \begin_inset Flex Code
5699 \begin_layout Plain Layout
5706 それが呼び出す他の様々なファイルに書き込まれています.このことから,
5708 既存のファイルを研究することを勧めます.とっかかりとしては,
5710 \begin_inset Flex Code
5713 \begin_layout Plain Layout
5720 \begin_inset Flex Code
5723 \begin_layout Plain Layout
5730 文書クラス用の他のレイアウトファイルに取り込まれている
5731 \begin_inset Flex Code
5734 \begin_layout Plain Layout
5740 から見始めるのがよいでしょう.このファイルは,
5742 \begin_inset Flex Code
5745 \begin_layout Plain Layout
5752 節様式や小節様式などとしてマークされている段落を,
5753 対応する\SpecialChar LaTeX
5754 ・DocBook・XHTMLのコマンドやタグにどのように翻訳すべきかを\SpecialChar LyX
5756 \begin_inset Flex Code
5759 \begin_layout Plain Layout
5767 \begin_inset Flex Code
5770 \begin_layout Plain Layout
5776 ファイルを取り込んでいるだけのものです.
5779 \begin_layout Standard
5784 レイアウトファイルが行うことではありません.レイアウトファイルが行うもう一つの仕事は,
5786 構成体自身が画面上にどのように表示されるべきかを定義することです.この2つの仕事は全く独立したものであるので,
5787 レイアウトファイルが2つの仕事を行うという事実は,
5788 しばしば混乱を引き起こす元となります.ある段落様式を\SpecialChar LaTeX
5789 に翻訳する仕方を\SpecialChar LyX
5791 その表示の仕方を\SpecialChar LyX
5793 ある段落様式の表示の仕方を\SpecialChar LyX
5795 その段落様式をどのように\SpecialChar LaTeX
5796 に翻訳するかを\SpecialChar LyX
5797 に指示するものではありません(ましてや\SpecialChar LaTeX
5798 に表示の仕方を指示するものではありません).つまり,
5803 \begin_inset space ~
5807 にどのように翻訳するかを\SpecialChar LyX
5810 \begin_inset space ~
5813 それをどのように表示するかを\SpecialChar LyX
5816 二つのかなり異なることを行わなくてはならないのです.
5819 \begin_layout Standard
5827 ブラウザ中での段落の表示方法を(CSSの形で)出力するにあたって,
5828 当該段落を\SpecialChar LyX
5830 ある程度利用することができます.しかし,
5836 この2つは独立して制御することができます.詳細に関しては,
5838 \begin_inset CommandInset ref
5840 reference "sec:XHTML出力のタグ"
5848 \begin_layout Section
5849 新しい\SpecialChar LaTeX
5853 \begin_layout Standard
5856 で使いたい\SpecialChar LaTeX
5857 パッケージやクラスファイルが含まれていないことがあるかもしれません.たとえば,
5858 オーバーヘッドプロジェクタ用のスライドを準備するためのパッケージである,
5859 Foil\SpecialChar TeX
5860 がないかもしれません.\SpecialChar TeX
5861 Live(2008年以降)やMiK\SpecialChar TeX
5862 のような最近の\SpecialChar LaTeX
5864 これらのパッケージを導入するためのユーザーインタフェースが用意されています.たとえば,
5868 \begin_inset space ~
5871 Manager」プログラムを起動すると,
5872 利用できるパッケージの一覧を得ることができます.どれかを導入するには,
5873 その上で右クリックするかツールバーボタンを押してください.
5876 \begin_layout Standard
5877 お使いの\SpecialChar LaTeX
5878 頒布版がこのような「パッケージマネジャー」を提供していなかったり,
5879 使用中の頒布版にそのパッケージが入っていない場合には,
5880 以下のステップに従って手動で導入してください.
5883 \begin_layout Enumerate
5884 \begin_inset CommandInset href
5887 target "http://www.ctan.org/"
5892 などから欲しいパッケージを入手してください.
5895 \begin_layout Enumerate
5897 \begin_inset Flex Code
5900 \begin_layout Plain Layout
5906 」で終わるファイル名が入っている場合(Foil\SpecialChar TeX
5911 \begin_inset Flex Code
5914 \begin_layout Plain Layout
5922 導入すべきすべてのファイルが展開されます.たいていの\SpecialChar LaTeX
5927 \begin_layout Enumerate
5929 パッケージを全ユーザーに使用可能にするか自分自身だけで使うかを決定する必要があります.
5933 \begin_layout Enumerate
5934 (Linux・OSXなどの)*nix系システムでは,
5935 システム上の全ユーザーに新パッケージを利用可能にしたければ,
5936 「ローカル」\SpecialChar TeX
5938 そうでなければ「ユーザー」\SpecialChar TeX
5939 ツリーに導入してください.これらのツリーが存在しない場合にどこに作成すればよいかは,
5940 お使いのシステムに依存します.これを見いだすには,
5942 \begin_inset Flex Code
5945 \begin_layout Plain Layout
5955 \begin_layout Plain Layout
5963 \begin_inset Flex Code
5966 \begin_layout Plain Layout
5972 を実行してその場所を見つけることもできます.
5977 .「ローカル」\SpecialChar TeX
5980 \begin_inset Flex Code
5983 \begin_layout Plain Layout
5991 \begin_inset Flex Code
5994 \begin_layout Plain Layout
5995 /usr/local/share/texmf/
6001 \begin_inset Flex Code
6004 \begin_layout Plain Layout
6005 /usr/local/texlive/XXXX
6010 (XXXXは導入されている\SpecialChar TeX
6011 Live頒布版の年次)のような場所になっています.「ユーザー」\SpecialChar TeX
6014 \begin_inset Flex Code
6017 \begin_layout Plain Layout
6025 \begin_inset Flex Code
6028 \begin_layout Plain Layout
6035 \begin_inset Flex Code
6038 \begin_layout Plain Layout
6044 です(もしこれらの変数が事前定義されていなければ,
6045 定義しなくてはなりません).「ローカル」ツリーを作成したり変更したりするには,
6047 「ユーザー」ツリーにはこのような制限はありません.
6048 \begin_inset Newline newline
6053 ユーザーが修正されたり上書きされたりということが起こらないので,
6054 ユーザーツリーに導入することが推奨されます.こうすると,
6055 自分のホームディレクトリをバックアップする際に,
6056 パッケージも他のものと一緒にバックアップされます(もちろん通常行われるようにすればの話です).
6059 \begin_layout Enumerate
6061 システム上の全ユーザーに新パッケージを利用可能にしたい場合には,
6064 \begin_inset Flex Code
6067 \begin_layout Plain Layout
6077 に移動します(MiK\SpecialChar TeX
6080 \begin_inset Flex Code
6083 \begin_layout Plain Layout
6099 \begin_layout Plain Layout
6101 英語版でのみ正しいパスになっています.独語版では
6102 \begin_inset Flex Code
6105 \begin_layout Plain Layout
6124 \begin_inset Flex Code
6127 \begin_layout Plain Layout
6134 パッケージの全ファイルをそこにコピーしてください.パッケージを自分だけで使用したい場合や,
6136 ローカル\SpecialChar LaTeX
6137 フォルダで同じことを行います.たとえばMiK\SpecialChar TeX
6139 \begin_inset space ~
6144 \begin_inset Newline newline
6148 \begin_inset Flex Code
6151 \begin_layout Plain Layout
6154 Documents and Settings
6166 \begin_inset Newline newline
6170 \begin_inset Phantom HPhantom
6173 \begin_layout Plain Layout
6184 \begin_inset Flex Code
6187 \begin_layout Plain Layout
6200 \begin_inset Newline newline
6205 \begin_inset Newline newline
6209 \begin_inset Flex Code
6212 \begin_layout Plain Layout
6235 \begin_inset Newline newline
6242 \begin_layout Enumerate
6244 あとは\SpecialChar LaTeX
6245 に新しいファイルがあることを告げるだけです.これは使用している\SpecialChar LaTeX
6250 \begin_layout Enumerate
6254 \begin_inset Flex Code
6257 \begin_layout Plain Layout
6263 コマンドを実行してください.パッケージを全ユーザー用に導入した場合には,
6264 おそらくroot権限で行う必要があります.
6267 \begin_layout Enumerate
6270 パッケージを全ユーザー用に導入した場合には,
6272 \begin_inset space ~
6276 「Refresh FNDB」と記してあるボタンを押してください.そうでない場合には,
6277 「Settings」を起動して同様に行ってください.
6281 \begin_layout Enumerate
6284 に新しいパッケージがあることを告げなくてはなりません.そこで,
6286 からツール\SpecialChar menuseparator
6292 \begin_layout Standard
6293 これでパッケージが導入されました.この例では,
6295 \begin_inset Flex Code
6298 \begin_layout Plain Layout
6300 \begin_inset space ~
6309 \begin_inset Flex MenuItem
6312 \begin_layout Plain Layout
6313 文書\SpecialChar menuseparator
6314 設定\SpecialChar menuseparator
6323 \begin_layout Standard
6324 \begin_inset Flex MenuItem
6327 \begin_layout Plain Layout
6328 文書\SpecialChar menuseparator
6329 設定\SpecialChar menuseparator
6335 メニューに列挙されてもいない\SpecialChar LaTeX
6337 その「レイアウト」ファイルを作り出さなくてはなりません.これが次節のトピックです.
6340 \begin_layout Section
6344 \begin_layout Standard
6346 レイアウト情報を含む各種\SpecialChar LyX
6347 ファイルについて述べます.これらのファイルは,
6348 各種段落様式や文字様式についての記述がされているものであり,
6352 それらをどのように\SpecialChar LaTeX
6354 XHTMLその他の出力形式に翻訳すればよいのかが記されています.
6357 \begin_layout Standard
6359 レイアウトファイル作成過程の包括的な解説を試みたいと思いますが,
6361 クラスだけでもサポートする文書の種類があまりにたくさんあるので,
6362 読者が出会いうるケースや問題をすべてカバーすることはとても望めません.\SpecialChar LyX
6364 自身の経験を人々と分かち合いたいと望む,
6365 レイアウトデザインの経験豊かな人々がよく顔を出していますので,
6369 \begin_layout Standard
6370 新しいレイアウトを準備するに当たっては,
6372 と共に頒布されているレイアウトの例を見るのがたいへん役立ちます.他の人々も使用できる\SpecialChar LaTeX
6373 文書クラス用の\SpecialChar LyX
6375 他の人々にも有用なモジュールをお書きになった場合には,
6377 \begin_inset CommandInset href
6379 name "LyX Wikiのレイアウトに関する節"
6380 target "https://wiki.lyx.org/Layouts/Layouts"
6389 頒布版に同梱することができるようにしてください
6393 \begin_layout Plain Layout
6395 はGeneral Public Licenseの下でライセンスされていますので,
6397 に寄贈されたものは総て同じライセンス下に置かれることに注意してください.
6405 \begin_layout Subsection
6407 \begin_inset CommandInset label
6409 name "subsec:レイアウトモジュール"
6416 \begin_layout Standard
6418 「レイアウトファイル」についてお話してきました.しかし,
6420 他の種類のファイルもあります.厳密にレイアウトファイルと呼ぶとき,
6422 \begin_inset Flex Code
6425 \begin_layout Plain Layout
6432 文書クラスに関する情報を\SpecialChar LyX
6433 に提供するものを指します.しかしながら,
6438 \begin_inset Flex Code
6441 \begin_layout Plain Layout
6451 にも含めることができます.レイアウトが\SpecialChar LaTeX
6453 モジュールは\SpecialChar LaTeX
6456 \begin_inset Flex Code
6459 \begin_layout Plain Layout
6466 特定のパッケージにサポートを提供するためのモジュールもあります.レイアウトモジュールは,
6467 特定の文書レイアウトに特化したものではなく,
6468 多くのレイアウトで使用できるという意味において,
6471 \begin_inset Flex Code
6474 \begin_layout Plain Layout
6484 \begin_layout Plain Layout
6485 これらは任意の拡張子をつけることができますが,
6487 \begin_inset Flex Code
6490 \begin_layout Plain Layout
6503 \begin_inset Flex Code
6506 \begin_layout Plain Layout
6513 そのファイルを編集しなくてはなりませんが,
6516 \begin_inset Flex MenuItem
6519 \begin_layout Plain Layout
6520 文書\SpecialChar menuseparator
6529 \begin_layout Standard
6532 自由差込枠を加えたりするだけで済むことも多いので,
6533 レイアウト編集を学ぶ上でもっとも易しい方法です.しかし原理的には,
6534 レイアウトファイルに入れることのできるものはすべて入れることができます.
6537 \begin_layout Standard
6540 \begin_inset Flex Code
6543 \begin_layout Plain Layout
6550 モジュールがメニューに現れるようにするためには,
6552 の環境構成を行って再起動しなくてはなりません.しかしながら,
6555 \begin_inset Flex MenuItem
6558 \begin_layout Plain Layout
6559 文書\SpecialChar menuseparator
6565 を開いてどれかを選択し「OK」を押せば,
6569 作業中の文書を保存しておくことを強く勧めます
6575 同時にモジュールの編集をしようとしないことを強く勧めます
6578 そのような場合でも\SpecialChar LyX
6579 が安定性を維持するように努力していますが,
6580 あなたが作成したモジュール中の文法エラー等によって,
6581 奇妙な挙動が引き起こされることがあるからです.
6584 \begin_layout Subsubsection
6588 \begin_layout Standard
6592 に於けるパッケージに当たります.しかしながら,
6594 ひとつの文書のためだけに作りたいこともあるでしょうから,
6596 他の文書でも利用できるようなモジュールをわざわざ書くことには,
6597 あまり意味がありません.このような場合に必要となるのが,
6601 \begin_layout Standard
6605 文書\SpecialChar menuseparator
6606 設定\SpecialChar menuseparator
6609 にあります.そこにある大きなテキストボックスは,
6610 本来ならレイアウトファイルやモジュールに入力すべきものを,
6611 入力するためのものです.特定の文書のローカルレイアウトは,
6612 その文書専属のモジュールだと考えることができます.したがって,
6614 \begin_inset Flex Code
6617 \begin_layout Plain Layout
6623 タグは挿入しなくてはなりません.どの書式を使用しても構いませんが,
6625 執筆時点の最新書式を用いることになるでしょう(\SpecialChar LyX
6642 \begin_layout Standard
6643 \begin_inset Flex Code
6646 \begin_layout Plain Layout
6653 下部にある「検証」ボタンが有効になります.このボタンを押すと,
6656 有効なレイアウト情報になっているかどうかが検証されます.すると,
6660 エラーがあった場合にそれが何のエラーであるかは返しません.しかしながら,
6662 をターミナル(擬似端末)から起動した場合には,
6663 そのエラーがターミナルに返されます.ローカルレイアウトは,
6668 \begin_layout Standard
6670 前節と同じ警告があります.ローカルレイアウトは,
6672 特に保存していない文書上ではいじらないでください.それに注意すれば,
6673 テスト用文書上でローカルレイアウトを用いるのは,
6674 レイアウトのアイディアを試すのに便利ですし,
6675 モジュール開発の第一歩としても便利です.
6678 \begin_layout Subsection
6679 \begin_inset Flex MenuItem
6682 \begin_layout Plain Layout
6691 \begin_layout Standard
6692 新しく\SpecialChar LaTeX
6694 \SpecialChar LaTeX2e
6696 \begin_inset Flex Code
6699 \begin_layout Plain Layout
6707 \begin_inset Flex Code
6710 \begin_layout Plain Layout
6716 )ファイルが絡む場合の2つの状況があり得ます.スタイルファイルのサポートは,
6719 新しくクラスファイルをサポートすることは,
6725 \begin_layout Standard
6728 既にサポートされている文書クラスと共に使うスタイルファイルとして提供されています.例示のために,
6730 \begin_inset Flex MenuItem
6733 \begin_layout Plain Layout
6741 \begin_inset Flex MenuItem
6744 \begin_layout Plain Layout
6753 \begin_layout Standard
6754 既存の文書クラスのレイアウトファイルを,
6756 お使いのローカルディレクトリにコピーすることから始めてください
6760 \begin_layout Plain Layout
6762 どのディレクトリがローカルディレクトリとなるかは,
6763 プラットフォームに依存します.\SpecialChar LyX
6766 \begin_inset Flex MenuItem
6769 \begin_layout Plain Layout
6776 ローカルディレクトリを指定することも可能です.
6784 \begin_layout LyX-Code
6785 cp report.layout ~/.lyx/layouts/myclass.layout
6788 \begin_layout Standard
6791 \begin_inset Flex Code
6794 \begin_layout Plain Layout
6804 \begin_layout LyX-Code
6807 DeclareLaTeXClass{report}
6810 \begin_layout Standard
6814 \begin_layout LyX-Code
6817 DeclareLaTeXClass[report,
6818 myclass.sty]{report (myclass)}
6821 \begin_layout Standard
6826 \begin_layout LyX-Code
6828 \begin_inset Newline newline
6834 \begin_inset Newline newline
6840 \begin_layout Standard
6844 \begin_layout Standard
6847 \begin_inset Flex MenuItem
6850 \begin_layout Plain Layout
6851 ツール\SpecialChar menuseparator
6857 を選択してください.それから\SpecialChar LyX
6859 新規文書を作成してみてください.すると,
6861 \begin_inset Flex MenuItem
6864 \begin_layout Plain Layout
6865 文書\SpecialChar menuseparator
6872 \begin_inset Flex MenuItem
6875 \begin_layout Plain Layout
6881 」が現れるはずです.新しいクラスにおいて,
6885 \begin_inset Flex Code
6888 \begin_layout Plain Layout
6895 とは違う挙動をすることはよくありますので,
6897 各節の設定をいじると良いでしょう.各節のレイアウト情報は,
6899 \begin_inset Flex Code
6902 \begin_layout Plain Layout
6909 このファイルをコピーしたり変更したりする必要はありません.代わりに,
6912 \begin_inset Flex Code
6915 \begin_layout Plain Layout
6922 \begin_inset Flex Code
6925 \begin_layout Plain Layout
6932 章見だしのフォントをサンセリフ体に変更するには,
6936 \begin_layout LyX-Code
6940 \begin_layout LyX-Code
6944 \begin_layout LyX-Code
6948 \begin_layout LyX-Code
6952 \begin_layout LyX-Code
6956 \begin_layout Standard
6958 既存の章様式宣言を上書き(あるいはこの場合には追加)します.
6961 \begin_layout Standard
6963 基礎となったクラスには存在しないコマンドや環境を提供することもできます.この場合には,
6964 これらをレイアウトファイルに加えます.そのやり方については,
6966 \begin_inset CommandInset ref
6968 reference "sec:テキストクラス"
6976 \begin_layout Standard
6978 \begin_inset Flex Code
6981 \begin_layout Plain Layout
6987 が他の文書クラスで使用することができたり,
6989 基礎となるクラスから読み込むことのできるモジュールを書くのが最も簡単であることがわかるでしょう.最も簡単なモジュールの例としては,
6993 \begin_layout LyX-Code
6996 DeclareLyXModule{My Package}
6999 \begin_layout LyX-Code
7003 \begin_layout LyX-Code
7004 #Support for mypkg.sty.
7007 \begin_layout LyX-Code
7009 \begin_inset Newline newline
7015 \begin_layout LyX-Code
7017 \begin_inset Newline newline
7023 \begin_layout LyX-Code
7025 \begin_inset Newline newline
7031 \begin_inset Newline newline
7037 \begin_layout Standard
7040 新しい構成物を定義したりすることになるでしょう.この辺りの議論については,
7042 \begin_inset CommandInset ref
7044 reference "sec:テキストクラス"
7052 \begin_layout Subsection
7053 \begin_inset Flex MenuItem
7056 \begin_layout Plain Layout
7065 \begin_layout Standard
7066 これには2つのケースがありえます.ひとつは,
7067 クラスファイル自体が既存の文書クラスに立脚している場合です.たとえば,
7069 \begin_inset Flex MenuItem
7072 \begin_layout Plain Layout
7078 に基づいています.お使いのものがどうであるかを見るには,
7082 \begin_layout LyX-Code
7088 \begin_layout Standard
7089 という行がないかどうか探してください.もしこれがあれば,
7091 \begin_inset Flex Code
7094 \begin_layout Plain Layout
7095 Declare\SpecialChar LaTeX
7102 おおよそ前節のように進めることができます.あなたが新しく作るクラスが
7103 \begin_inset Flex Code
7106 \begin_layout Plain Layout
7114 \begin_inset Flex Code
7117 \begin_layout Plain Layout
7125 \begin_inset Flex Code
7128 \begin_layout Plain Layout
7129 Declare\SpecialChar LaTeX
7139 \begin_layout Plain Layout
7142 文書クラス名がレイアウトファイル名と同じだと仮定するので,
7144 \begin_inset Flex Code
7147 \begin_layout Plain Layout
7161 \begin_layout LyX-Code
7164 DeclareLaTeXClass[thesis,book]{thesis}
7167 \begin_layout Standard
7169 新しいクラスが既存のクラスに基づいていない場合には,
7170 おそらくあなた自身のレイアウトをしたためる必要があります.もし可能であれば,
7171 類似した\SpecialChar LaTeX
7172 クラスを使用している既存のレイアウトファイルをコピーして,
7173 それに修正を加えるようにすることを強くお勧めします.少なくとも,
7175 既存のファイルを作業の開始点としてください.
7178 \begin_layout Subsection
7180 \begin_inset CommandInset label
7189 \begin_layout Standard
7190 新しい文書クラス用のレイアウトファイルを書いたならば,
7191 そのレイアウト用のひな型も書くことを検討されるかもしれません.ひな型は,
7193 レイアウトの使い方を示す一種のチュートリアルとして動作します.もちろん,
7196 添付のひな型をあれこれ見てみるのもよいでしょう.
7199 \begin_layout Standard
7203 を使って作成することができます.唯一違う点は,
7206 すべてのあり得る設定が為されている点です.これらの場合,
7207 通常ユーザーはひな型が彼の設定値を上書きすることを望みません.この理由から,
7210 \begin_inset Flex Code
7213 \begin_layout Plain Layout
7222 \begin_inset Flex Code
7225 \begin_layout Plain Layout
7233 などの対応するコマンドをひな型\SpecialChar LyX
7234 ファイルから取り除く必要があります.これは,
7236 \begin_inset Flex Code
7239 \begin_layout Plain Layout
7246 \begin_inset Flex Code
7249 \begin_layout Plain Layout
7256 どの軽いテキストエディタでも行うことができます.
7259 \begin_layout Standard
7261 \begin_inset Flex Code
7264 \begin_layout Plain Layout
7272 \begin_inset Flex Code
7275 \begin_layout Plain Layout
7281 から使用したいものを同じ場所にコピーし,
7283 \begin_inset Flex MenuItem
7286 \begin_layout Plain Layout
7287 ツール\SpecialChar menuseparator
7288 設定\SpecialChar menuseparator
7294 ダイアログのひな型パスを再定義してください.
7297 \begin_layout Standard
7300 \begin_inset Flex Code
7303 \begin_layout Plain Layout
7309 があることに注意してください.このひな型は,
7311 \begin_inset Flex MenuItem
7314 \begin_layout Plain Layout
7315 ファイル\SpecialChar menuseparator
7322 便利な既定値を提供する目的で必ず読み込まれます.このひな型を\SpecialChar LyX
7323 内部から作成するのにしなくてはならないことは,
7326 \begin_inset Flex MenuItem
7329 \begin_layout Plain Layout
7338 \begin_layout Subsection
7342 \begin_layout Standard
7346 古いレイアウトファイルは変換されなくてはなりません.\SpecialChar LyX
7347 が古い書式のレイアウトファイルを読み込むと,
7351 \begin_inset Flex Code
7354 \begin_layout Plain Layout
7356 Dir/scripts/layout2layout.py
7362 それを現在の書式の一時ファイルに変換します.元のファイルは変更を加えられずに措かれます.もしこのレイアウトファイルをよく使うならば,
7365 レイアウトファイルを恒久的に変換しておきたいと思うかもしれません.これを行うには,
7366 以下のように変換子を手動で呼び出してください.
7369 \begin_layout Enumerate
7371 \begin_inset Flex Code
7374 \begin_layout Plain Layout
7381 \begin_inset Flex Code
7384 \begin_layout Plain Layout
7393 \begin_layout Enumerate
7395 \begin_inset Newline newline
7399 \begin_inset Flex Code
7402 \begin_layout Plain Layout
7403 python LyXDir/scripts/layout2layout.py myclass.old myclass.layout
7409 \begin_inset Newline newline
7413 \begin_inset Flex Code
7416 \begin_layout Plain Layout
7426 \begin_layout Standard
7428 インクルードされているファイル内部の変更までは取り扱いませんので,
7429 それらのファイルは別に変換されなくてはなりません.
7432 \begin_layout Subsection
7433 \begin_inset CommandInset label
7435 name "subsec:引用エンジンファイル"
7442 \begin_layout Standard
7443 \begin_inset Flex Code
7446 \begin_layout Plain Layout
7454 \begin_inset Flex Code
7457 \begin_layout Plain Layout
7464 レイアウトファイルの特殊形です.これらの目的は,
7478 書誌情報を生成する\SpecialChar LaTeX
7480 通常の(追加パッケージのない)Bib\SpecialChar TeX
7486 \begin_layout Standard
7488 どのパッケージを\SpecialChar LyX
7491 これらが\SpecialChar LyX
7492 中(作業領域・ダイアログ・コンテクストメニュー)で,
7493 さらにはXHTMLや平文出力中でどのように表示されるのかを定義します.さらに,
7496 数値など)とその子細を特定します.引用エンジンファイルは,
7499 文書\SpecialChar menuseparator
7500 設定\SpecialChar ldots
7501 \SpecialChar menuseparator
7502 書誌情報\SpecialChar menuseparator
7505 で利用できる選択肢を生成するのにも使用されます.
7508 \begin_layout Standard
7510 本質的に通常のレイアウトファイルであり,
7511 理論上どのようなレイアウト情報も内包することができますが,
7513 \begin_inset Flex Code
7516 \begin_layout Plain Layout
7523 \begin_inset Flex Code
7526 \begin_layout Plain Layout
7533 \begin_inset Flex Code
7536 \begin_layout Plain Layout
7543 \begin_inset Flex Code
7546 \begin_layout Plain Layout
7552 ブロックのような特定のパラメータをもっぱら含みます.この最後の2つの文法は,
7555 \begin_inset CommandInset ref
7557 reference "subsec:引用エンジンの説明"
7566 \begin_inset CommandInset ref
7568 reference "subsec:引用書式指定"
7579 \begin_layout Section
7580 \begin_inset CommandInset label
7589 \begin_layout Standard
7591 いよいよ自分の手を汚してレイアウトファイルを作成したり編集したりする段階になった際,
7592 直面することの説明を行います.私たちからのアドバイスとしては,
7596 好きな大人の飲み物を一二杯口にしながら行うのがいいでしょう.特に行き詰まってしまったときにはそうです.実際にはそんなに難しいことではないのですが,
7598 選択肢が多くありすぎて圧倒されてしまうのです.さて,
7599 もう一杯大人向け飲料をどうぞ.適量ね.\SpecialChar LyX
7600 の既存のレイアウトを例や参考に使ったり,
7601 既存のレイアウトを自身の目的に合わせて修正したりすると,
7605 \begin_layout Standard
7607 すべて大文字小文字を区別しません.つまり,
7609 \begin_inset Flex Code
7612 \begin_layout Plain Layout
7619 \begin_inset Flex Code
7622 \begin_layout Plain Layout
7629 \begin_inset Flex Code
7632 \begin_layout Plain Layout
7638 は同じコマンドとなります.機能名の後にある角括弧は,
7639 その機能が取り得る値を示します.テキストクラス設定内で機能が特定されていない場合には,
7641 \begin_inset Flex Code
7644 \begin_layout Plain Layout
7652 で表記されます.引数が「文字列」や「浮動小数点型」などのデータ型をとる場合には,
7654 \begin_inset Flex Code
7657 \begin_layout Plain Layout
7668 \begin_layout Subsection
7672 \begin_layout Standard
7674 \begin_inset Flex Code
7677 \begin_layout Plain Layout
7683 で始まる行はコメントです.この規則には一つだけ例外があります.すべての
7684 \begin_inset Flex Code
7687 \begin_layout Plain Layout
7694 以下のような行で始めなくてはならないのです.
7697 \begin_layout LyX-Code
7700 #% Do not delete the line below;
7701 configure depends on this
7704 \begin_layout LyX-Code
7709 DeclareLaTeXClass{Article (Standard Class)}
7712 \begin_layout LyX-Code
7717 DeclareCategory{Articles}
7720 \begin_layout Standard
7723 が環境構成を行う際に用いられます.このレイアウトファイルは,
7726 \begin_inset Flex Code
7729 \begin_layout Plain Layout
7737 \begin_inset Flex Code
7740 \begin_layout Plain Layout
7746 を無視する特別なモードで読み込みます.1行目は単なる\SpecialChar LaTeX
7749 3行目にはクラスの分類(非必須)が書かれています.これらの行が
7750 \begin_inset Flex Code
7753 \begin_layout Plain Layout
7761 \begin_inset Flex Code
7764 \begin_layout Plain Layout
7770 (レイアウトファイル名)という名称のテキストクラスを定義し,
7773 \begin_inset Flex Code
7776 \begin_layout Plain Layout
7782 を使用するようになります(既定ではレイアウトと同じ名称のものを使用します).上記に現れる「Article (Standard Class)」という文字列は,
7784 \begin_inset Flex MenuItem
7787 \begin_layout Plain Layout
7788 文書\SpecialChar menuseparator
7794 ダイアログのテキストクラスの説明に使用されます.分類(例中の「Articles」)は,
7796 \begin_inset Flex MenuItem
7799 \begin_layout Plain Layout
7800 文書\SpecialChar menuseparator
7807 文書クラスはこの分類によってグループ化されます(分類は通常ジャンルを表し,
7809 「Articles」「Books」「Reports」「Letters」「Presentations」「Curricula Vitae」等があります).分類を宣言しない場合には,
7810 このクラスは「Uncategorized」グループに属することになります.
7813 \begin_layout Standard
7816 \begin_inset Flex Code
7819 \begin_layout Plain Layout
7825 文書クラスを使用するテキストクラスを自分で書いたものとしましょう.これを
7826 \begin_inset Flex Code
7829 \begin_layout Plain Layout
7836 このファイルのヘッダは以下のようになります.
7839 \begin_layout LyX-Code
7842 #% Do not delete the line below;
7843 configure depends on this
7846 \begin_layout LyX-Code
7851 DeclareLaTeXClass[article]{article (with My Own Headings)}
7854 \begin_layout LyX-Code
7859 DeclareCategory{Articles}
7862 \begin_layout Standard
7866 \begin_inset Flex Code
7869 \begin_layout Plain Layout
7876 「Article (with My Own Headings)」と表示される,
7878 \begin_inset Flex Code
7881 \begin_layout Plain Layout
7887 テキストクラスを宣言するものです.もしこのテキストクラスが複数のパッケージに依存するならば,
7891 \begin_layout LyX-Code
7894 #% Do not delete the line below;
7895 configure depends on this
7898 \begin_layout LyX-Code
7903 DeclareLaTeXClass[article,foo.sty]{Article (with My Own Headings)}
7906 \begin_layout LyX-Code
7911 DeclareCategory{Articles}
7914 \begin_layout Standard
7917 \begin_inset Flex Code
7920 \begin_layout Plain Layout
7926 パッケージを使用することを示しています.
7929 \begin_layout Standard
7931 文書クラス名を宣言する非必須パラメータ(ただしリストではない)を与えることができることに注意してください.
7934 \begin_layout Standard
7939 \begin_layout LyX-Code
7944 DeclareLaTeXClass[クラス,パッケージ名.sty]{レイアウトの説明}
7947 \begin_layout LyX-Code
7955 \begin_layout Standard
7958 クラスファイル名とレイアウトファイル名が異なるときのみ,
7959 指定する必要があります.クラスファイル名が指定されなければ,
7962 クラスファイル名がレイアウトファイル名と同じであると仮定します.
7965 \begin_layout Standard
7966 テキストクラスがあなたの嗜好に合うように修正できたならば,
7969 \begin_inset Flex Code
7972 \begin_layout Plain Layout
7979 \begin_inset Flex Code
7982 \begin_layout Plain Layout
7990 \begin_inset Flex MenuItem
7993 \begin_layout Plain Layout
7994 ツール\SpecialChar menuseparator
8002 を終了して再起動するだけです.そうすれば,
8004 他のテキストクラスと同様に使用できるようになります.
8007 \begin_layout Standard
8010 環境構成したり\SpecialChar LyX
8016 \begin_layout Plain Layout
8017 第1.6版よりも前の\SpecialChar LyX
8019 これを行うことはできませんでした.その結果,
8020 レイアウトファイルに加えた変更を反映させるには,
8021 その度に\SpecialChar LyX
8024 たいへん時間を浪費する作業だったのです.
8031 \begin_inset Flex MenuItem
8034 \begin_layout Plain Layout
8041 現在使っているレイアウトの再読み込みを強制することができるのです.この関数への既定のキー割り当てはありません—
8042 もちろん自分でどれかのキーに割り当てることもできますが—
8049 \begin_layout Standard
8056 \begin_inset Flex MenuItem
8059 \begin_layout Plain Layout
8065 はかなり「高度な機能」です.この機能を利用する前に,
8072 同時にレイアウト情報の編集をしようとしないことを
8076 勧めます.テスト用文書を使用してください.レイアウトファイル中の文法エラー等が奇妙な挙動を引き起こす可能性があります.特に,
8079 は現在のレイアウトが無効であるものと判断して,
8080 別のレイアウトに切り替えようとする可能性があります
8084 \begin_layout Plain Layout
8087 が終了してしまうことさえあります.これは,
8090 がレイアウト情報を全く読めなくなる可能性があるからです.ご注意ください.
8097 このような状況下でも安定性を保つよう努力していますが,
8102 \begin_layout Plain Layout
8104 つねにバックアップを取ってください.それから,
8113 \begin_layout Subsection
8117 \begin_layout Standard
8119 以下のような行で始まらなくてはなりません.
8122 \begin_layout LyX-Code
8125 DeclareLyXModule[endnotes.sty]{Endnotes}
8128 \begin_layout LyX-Code
8131 DeclareCategory{Foot- and Endnotes}
8134 \begin_layout Standard
8143 \begin_inset Flex MenuItem
8146 \begin_layout Plain Layout
8147 文書\SpecialChar menuseparator
8153 内に表示されます.角括弧内の引数は非必須です.これは,
8154 モジュールが依存する\SpecialChar LaTeX
8158 \begin_inset Flex Code
8161 \begin_layout Plain Layout
8169 \begin_inset Flex Code
8172 \begin_layout Plain Layout
8179 \begin_inset Flex Code
8182 \begin_layout Plain Layout
8189 このモジュールを使用できることを宣言するものです.
8197 モジュールを見つけやすくするために書いておくべきです.既存のモジュールカテゴリを見て,
8198 適切ならばそのどれかを使用してください.
8201 \begin_layout Standard
8207 \begin_layout Plain Layout
8208 モジュールを\SpecialChar LyX
8209 に公開する場合には英語が望ましいです.この説明は翻訳メッセージ一覧に現れるようになるので,
8210 次回のインタフェースの更新時に翻訳されることになります.
8218 \begin_layout LyX-Code
8222 \begin_layout LyX-Code
8223 #Adds an endnote command,
8224 in addition to footnotes.
8228 \begin_layout LyX-Code
8229 #You will need to add
8231 theendnotes in TeX code where you
8234 \begin_layout LyX-Code
8235 #want the endnotes to appear.
8239 \begin_layout LyX-Code
8243 \begin_layout LyX-Code
8245 somemodule | othermodule
8248 \begin_layout LyX-Code
8253 \begin_layout Standard
8254 ここで説明(Description)は,
8256 \begin_inset Flex MenuItem
8259 \begin_layout Plain Layout
8260 文書\SpecialChar menuseparator
8267 ユーザに情報を与えるために使用されます.
8268 \begin_inset Flex Code
8271 \begin_layout Plain Layout
8278 このモジュールが共に使用する必要がある,
8279 他のモジュールを特定するのに用いられます.一方,
8281 \begin_inset Flex Code
8284 \begin_layout Plain Layout
8291 このモジュールが共に使用してはならない,
8292 他のモジュールを特定するのに用いられます.この2つの行は必須ではなく,
8293 上記のようにモジュールが複数ある場合には,
8294 パイプ記号「|」で区切らなくてはなりません.
8295 \begin_inset Flex Code
8298 \begin_layout Plain Layout
8305 選言的に取り扱われることに注意してください.つまり,
8307 \begin_inset Flex Code
8310 \begin_layout Plain Layout
8321 が使用されていればよいということです.同様に,
8323 \begin_inset Flex Code
8326 \begin_layout Plain Layout
8333 一つも使用されてはなりません.ここでモジュールは,
8335 \begin_inset Flex Code
8338 \begin_layout Plain Layout
8344 拡張子を除いたファイル名で認識されることに注意してください.つまり
8345 \begin_inset Flex Code
8348 \begin_layout Plain Layout
8356 \begin_inset Flex Code
8359 \begin_layout Plain Layout
8368 \begin_layout Subsection
8372 \begin_layout Standard
8374 次のような行で始まらなくてはなりません.
8377 \begin_layout LyX-Code
8380 DeclareLyXCiteEngineModule[biblatex.sty]{Biblatex}
8383 \begin_layout Standard
8386 \begin_inset Flex Noun
8389 \begin_layout Plain Layout
8390 文書\SpecialChar menuseparator
8391 設定\SpecialChar menuseparator
8397 にそのまま現れます.角括弧内の引数は非必須です.これは,
8398 引用エンジンが依存する\SpecialChar LaTeX
8402 \begin_layout Standard
8409 \begin_layout Plain Layout
8412 英語で書かれることが望まれます.この説明は,
8413 翻訳対象メッセージのリストに含まれますので,
8414 次回インタフェースの更新の際に翻訳されることになります.
8422 \begin_layout LyX-Code
8426 \begin_layout LyX-Code
8427 # Biblatex supports many author-year and numerical styles.
8430 \begin_layout LyX-Code
8431 # It is mainly aimed at the Humanities.
8435 \begin_layout LyX-Code
8437 fully localized and provides many features
8440 \begin_layout LyX-Code
8441 # that are not possible with BibTeX.
8442 The use of 'biber' as
8445 \begin_layout LyX-Code
8446 # bibliography processor is advised.
8449 \begin_layout LyX-Code
8453 \begin_layout Standard
8456 \begin_inset Flex Noun
8459 \begin_layout Plain Layout
8460 文書\SpecialChar menuseparator
8461 設定\SpecialChar menuseparator
8468 ユーザーに引用エンジンに関する情報を提供するために使われます.
8471 \begin_layout Subsection
8475 \begin_layout Standard
8476 レイアウトファイルやインクルードされたファイル,
8477 またはモジュールの最初の非コメント行には,
8479 かならずファイル形式番号が記されていなくてはなりません.
8482 \begin_layout Description
8483 \begin_inset Flex Code
8486 \begin_layout Plain Layout
8493 \begin_inset Flex Code
8496 \begin_layout Plain Layout
8505 \begin_layout Standard
8506 このタグは\SpecialChar LyX
8508 \begin_inset space ~
8511 1.4.0で導入されました.\SpecialChar LyX
8513 \begin_inset space ~
8516 1.3.x以前のレイアウトファイルには,
8518 書式1と解されます.\SpecialChar LyX
8524 で作成されたファイルを読むことができるように,
8525 旧版のレイアウトファイルも読むことができます.しかしながら,
8529 \begin_layout Subsection
8530 \begin_inset CommandInset label
8532 name "subsec:汎用テキストクラスパラメータ"
8539 \begin_layout Standard
8541 文書クラス全体の挙動を決定する汎用パラメータです(これは,
8543 \begin_inset Flex Code
8546 \begin_layout Plain Layout
8559 すべてのレイアウトタグを使用することができます).
8562 \begin_layout Description
8563 \begin_inset Flex Code
8566 \begin_layout Plain Layout
8567 AddToCiteEngine <エンジン>
8572 引用参考文献の表示能力を拡張します.詳細については、第
8573 \begin_inset CommandInset ref
8575 reference "subsec:引用エンジンの説明"
8584 \begin_inset Flex Code
8587 \begin_layout Plain Layout
8596 \begin_layout Description
8597 \begin_inset Flex Code
8600 \begin_layout Plain Layout
8606 この文書クラスがXHTMLに出力されるときに,
8608 \begin_inset Flex Code
8611 \begin_layout Plain Layout
8617 ブロックに追加出力される情報です.典型的には,
8618 これはCSSスタイル情報を出力するのに用いられますが,
8620 \begin_inset Flex Code
8623 \begin_layout Plain Layout
8631 \begin_inset Flex Code
8634 \begin_layout Plain Layout
8643 \begin_layout Description
8644 \begin_inset Flex Code
8647 \begin_layout Plain Layout
8653 文書プリアンブルに書き加えられる情報です.「
8654 \begin_inset Flex Code
8657 \begin_layout Plain Layout
8666 \begin_layout Description
8667 \begin_inset Flex Code
8670 \begin_layout Plain Layout
8677 \begin_inset Flex Code
8680 \begin_layout Plain Layout
8689 \begin_inset Flex Code
8692 \begin_layout Plain Layout
8698 ] この文書クラスが書誌情報を目次に入れるとき,
8700 \begin_inset Flex Code
8703 \begin_layout Plain Layout
8710 \begin_inset Flex Code
8713 \begin_layout Plain Layout
8720 書誌情報が2回目次に現れるのを防ぐことができます.
8723 \begin_layout Description
8724 \begin_inset Flex Code
8727 \begin_layout Plain Layout
8733 文献参照を表示する方法を定義します.詳細については,
8735 \begin_inset CommandInset ref
8737 reference "subsec:引用エンジンの説明"
8746 \begin_inset Flex Code
8749 \begin_layout Plain Layout
8755 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
8756 \begin_inset CommandInset ref
8758 reference "subsec:引用エンジンファイル"
8766 節参照).これをレイアウトファイルやモジュールに追加した場合,
8768 すべて上書きされることに注意してください.
8769 \begin_inset Flex Code
8772 \begin_layout Plain Layout
8781 \begin_layout Description
8782 \begin_inset Flex Code
8785 \begin_layout Plain Layout
8791 書誌情報の表示に使う書式を定義します.詳細については,
8793 \begin_inset CommandInset ref
8795 reference "subsec:引用書式指定"
8801 \begin_inset Flex Code
8804 \begin_layout Plain Layout
8810 」で閉じる必要があります.主に引用エンジンファイルで使用されます(第
8811 \begin_inset CommandInset ref
8813 reference "subsec:引用エンジンファイル"
8821 節参照).レイアウトやモジュールにCiteFormatが指定されると,
8825 \begin_layout Description
8826 \begin_inset Flex Code
8829 \begin_layout Plain Layout
8836 \begin_inset Flex Code
8839 \begin_layout Plain Layout
8848 \begin_inset Flex Code
8851 \begin_layout Plain Layout
8862 を用いるのかBib\SpecialChar TeX
8863 を用いるのかを特定します.主に引用エンジンファイルで使用されます(第
8864 \begin_inset CommandInset ref
8866 reference "subsec:引用エンジンファイル"
8877 \begin_layout Description
8878 \begin_inset Flex Code
8881 \begin_layout Plain Layout
8887 文書クラスがサポートする様々な大域オプションを記します.説明は,
8889 \begin_inset CommandInset ref
8891 reference "subsec:ClassOptions"
8897 \begin_inset Flex Code
8900 \begin_layout Plain Layout
8909 \begin_layout Description
8910 \begin_inset Flex Code
8913 \begin_layout Plain Layout
8920 \begin_inset Flex Code
8923 \begin_layout Plain Layout
8932 \begin_inset space \thinspace{}
8936 \begin_inset Flex Code
8939 \begin_layout Plain Layout
8945 ] 文書クラスが既定で1段組か2段組かを指定します.
8946 \begin_inset Flex MenuItem
8949 \begin_layout Plain Layout
8950 文書\SpecialChar menuseparator
8959 \begin_layout Description
8960 \begin_inset Flex Code
8963 \begin_layout Plain Layout
8970 \begin_inset Flex Code
8973 \begin_layout Plain Layout
8979 ] この部分はカウンタの特性を定義します.カウンタがまだ存在していなければ,
8980 生成されます.もし存在しなければ修正されます.「
8981 \begin_inset Flex Code
8984 \begin_layout Plain Layout
8991 \begin_inset Newline newline
8996 \begin_inset CommandInset ref
8998 reference "subsec:カウンタ"
9006 \begin_layout Description
9007 \begin_inset Flex Code
9010 \begin_layout Plain Layout
9016 文書を表示するのに用いられる既定フォントを設定します.フォントの宣言の仕方については,
9018 \begin_inset CommandInset ref
9020 reference "subsec:フォント指定"
9026 \begin_inset Flex Code
9029 \begin_layout Plain Layout
9038 \begin_layout Description
9039 \begin_inset Flex Code
9042 \begin_layout Plain Layout
9049 \begin_inset Flex Code
9052 \begin_layout Plain Layout
9059 既定で取り込むモジュールを指定します.モジュールは,
9061 \begin_inset Flex Code
9064 \begin_layout Plain Layout
9070 拡張子を除いたファイル名で指定します.ユーザはこのモジュールを除外することができますが,
9071 当初は有効の状態になっています(これは新しいファイルが作成されたときや,
9072 既存の文書にこの文書クラスが選択したときのみ該当します).
9075 \begin_layout Description
9076 \begin_inset Flex Code
9079 \begin_layout Plain Layout
9086 \begin_inset Flex Code
9089 \begin_layout Plain Layout
9099 これは新規段落に割り当てられる様式であり,
9101 \begin_inset Flex MenuItem
9104 \begin_layout Plain Layout
9111 最初に定義される様式がこれに割り当てられるようにはなっていますが,
9112 このディレクティブを使用することが推奨されます.
9115 \begin_layout Description
9116 \begin_inset Flex Code
9119 \begin_layout Plain Layout
9126 \begin_inset Flex Code
9129 \begin_layout Plain Layout
9135 ] 文書をDocBookのこのクラスで出力する際に使用する(文書の最上位の)ルート要素.既定値は「
9136 \begin_inset Flex Code
9139 \begin_layout Plain Layout
9148 \begin_layout Description
9149 \begin_inset Flex Code
9152 \begin_layout Plain Layout
9153 DocBookForceAbstract
9159 \begin_inset Flex Code
9162 \begin_layout Plain Layout
9169 \begin_inset Flex Code
9172 \begin_layout Plain Layout
9189 \begin_layout Description
9190 \begin_inset Flex Code
9193 \begin_layout Plain Layout
9200 \begin_inset Flex Code
9203 \begin_layout Plain Layout
9212 \begin_inset Flex Code
9215 \begin_layout Plain Layout
9223 この文書クラスでは使用できないように設定します.これはたとえば,
9224 特定の学術誌用レイアウトファイルの中で,
9226 \begin_inset Flex Code
9229 \begin_layout Plain Layout
9235 モジュールが使用されるのを防ぐために用いたりすることができます.このタグは,
9241 他のモジュールを排除する独自の枠組みがあります(第
9242 \begin_inset CommandInset ref
9244 reference "subsec:レイアウトモジュール"
9252 \begin_layout Description
9253 \begin_inset Flex Code
9256 \begin_layout Plain Layout
9264 \begin_inset CommandInset ref
9266 reference "subsec:フロート"
9272 \begin_inset Flex Code
9275 \begin_layout Plain Layout
9284 \begin_layout Description
9285 \begin_inset Flex Code
9288 \begin_layout Plain Layout
9294 この文書クラスがXHTMLに出力されるときに,
9296 \begin_inset Flex Code
9299 \begin_layout Plain Layout
9305 ブロックに出力される情報です.これより前に出現した
9306 \begin_inset Flex Code
9309 \begin_layout Plain Layout
9316 \begin_inset Flex Code
9319 \begin_layout Plain Layout
9326 すべて完全に上書きされることに注意してください(プリアンブルに何かを追加したい時には,
9328 \begin_inset Flex Code
9331 \begin_layout Plain Layout
9338 \begin_inset Flex Code
9341 \begin_layout Plain Layout
9350 \begin_layout Description
9351 \begin_inset Flex Code
9354 \begin_layout Plain Layout
9361 \begin_inset Flex Code
9364 \begin_layout Plain Layout
9371 目次や書誌情報などに使用されるレイアウトです.articleの場合には,
9373 bookの場合は「章」です.これを指定しない場合には,
9379 \begin_layout Description
9380 \begin_inset Flex Code
9383 \begin_layout Plain Layout
9390 \begin_inset Flex Code
9393 \begin_layout Plain Layout
9399 ] 与えられたカウンタの特性を修正します.カウンタが存在しない場合には,
9401 \begin_inset Flex Code
9404 \begin_layout Plain Layout
9411 \begin_inset Newline newline
9416 \begin_inset CommandInset ref
9418 reference "subsec:カウンタ"
9426 \begin_layout Description
9427 \begin_inset Flex Code
9430 \begin_layout Plain Layout
9437 \begin_inset Flex Code
9440 \begin_layout Plain Layout
9446 ] 与えられた段落様式の特性を修正します.様式が存在しない場合には,
9448 \begin_inset Flex Code
9451 \begin_layout Plain Layout
9460 \begin_layout Description
9461 \begin_inset Flex Code
9464 \begin_layout Plain Layout
9471 \begin_inset Flex Code
9474 \begin_layout Plain Layout
9486 同じコマンドを何度も指定せずに済むように,
9487 別のレイアウト定義ファイルを取り込ませます.よく使われる例は,
9488 基本的なレイアウトのほとんどを収録している
9489 \begin_inset Flex Code
9492 \begin_layout Plain Layout
9501 \begin_layout Description
9502 \begin_inset Flex Code
9505 \begin_layout Plain Layout
9512 \begin_inset Flex Code
9515 \begin_layout Plain Layout
9522 \begin_inset Flex Code
9525 \begin_layout Plain Layout
9532 ユーザーディレクトリのファイルは探しません.これによって,
9534 \begin_inset Flex Code
9537 \begin_layout Plain Layout
9544 \begin_inset Flex Code
9547 \begin_layout Plain Layout
9555 \begin_inset Flex Code
9558 \begin_layout Plain Layout
9565 \begin_inset Flex Code
9568 \begin_layout Plain Layout
9569 InputGlobal name.inc
9575 同名のグローバルファイルを読み込むことができます(
9576 \begin_inset Flex Code
9579 \begin_layout Plain Layout
9585 ではファイルを再帰的に読み込んでしまいます).このようにすることで,
9586 グローバルファイル全体をコピーすることなく,
9590 \begin_layout Description
9591 \begin_inset Flex Code
9594 \begin_layout Plain Layout
9601 \begin_inset Flex Code
9604 \begin_layout Plain Layout
9615 差込枠のレイアウトを定義(再定義)します.これは,
9617 新しい文字様式のような新規のユーザ定義差込枠にも使用することができます.「
9618 \begin_inset Flex Code
9621 \begin_layout Plain Layout
9628 \begin_inset Newline newline
9633 \begin_inset CommandInset ref
9635 reference "subsec:任意設定差込枠"
9643 \begin_layout Description
9644 \begin_inset Flex Code
9647 \begin_layout Plain Layout
9654 \begin_inset Flex Code
9657 \begin_layout Plain Layout
9663 ] 画面上の左余白の幅を指示する文字列.例:
9665 \begin_inset Flex Code
9668 \begin_layout Plain Layout
9675 「2ex」のような「長さ」ではないことに注意してください.)
9678 \begin_layout Description
9679 \begin_inset Flex Code
9682 \begin_layout Plain Layout
9689 \begin_inset Flex Code
9692 \begin_layout Plain Layout
9699 引用が「第一著者 et al.」に切り替わる前に,
9700 表示される名前の最大数を定める整数.主に引用エンジンファイルで使用されます(第
9701 \begin_inset CommandInset ref
9703 reference "subsec:引用エンジンファイル"
9714 \begin_layout Description
9715 \begin_inset Flex Code
9718 \begin_layout Plain Layout
9725 \begin_inset Flex Code
9728 \begin_layout Plain Layout
9734 ] は差込枠のレイアウトを修正します.レイアウトが存在しない場合には,
9736 \begin_inset Flex Code
9739 \begin_layout Plain Layout
9748 \begin_layout Description
9749 \begin_inset Flex Code
9752 \begin_layout Plain Layout
9759 \begin_inset Flex Code
9762 \begin_layout Plain Layout
9769 既存のカウンタ(通常インクルードファイル内で定義されたもの)を削除します.
9772 \begin_layout Description
9773 \begin_inset Flex Code
9776 \begin_layout Plain Layout
9783 \begin_inset Flex Code
9786 \begin_layout Plain Layout
9792 ] このコマンドは既存のフロートを削除します.これは特に,
9793 Inputで取り込んだファイルに定義されていたフロートを抑制するのに便利です.
9796 \begin_layout Description
9797 \begin_inset Flex Code
9800 \begin_layout Plain Layout
9807 \begin_inset Flex Code
9810 \begin_layout Plain Layout
9816 ] このコマンドは既存の様式を削除します.これは特に,
9817 Inputで取り込んだファイルに定義されていた様式を抑制するのに便利です.
9820 \begin_layout Description
9821 \begin_inset Flex Code
9824 \begin_layout Plain Layout
9831 \begin_inset Flex Code
9834 \begin_layout Plain Layout
9841 \begin_inset Flex Code
9844 \begin_layout Plain Layout
9851 \begin_inset Flex Code
9854 \begin_layout Plain Layout
9861 \begin_inset Flex Code
9864 \begin_layout Plain Layout
9870 の新しい一覧表を定義します.AddToTocコマンドもご覧ください.
9873 \begin_layout Description
9874 \begin_inset Flex Code
9877 \begin_layout Plain Layout
9884 \begin_inset Flex Code
9887 \begin_layout Plain Layout
9893 ] この文書クラスによって生成されるファイル形式(\SpecialChar LyX
9896 \begin_inset Flex Code
9899 \begin_layout Plain Layout
9906 \begin_inset Flex Code
9909 \begin_layout Plain Layout
9916 新しい型のliterate文書を定義したい時に便利です.対応する
9917 \begin_inset Flex Code
9920 \begin_layout Plain Layout
9928 \begin_inset Flex Code
9931 \begin_layout Plain Layout
9940 \begin_layout Description
9941 \begin_inset Flex Code
9944 \begin_layout Plain Layout
9951 \begin_inset Flex Code
9954 \begin_layout Plain Layout
9966 \begin_inset Flex Code
9969 \begin_layout Plain Layout
9975 ] このクラスを使用する文書がどのような種類の出力をするかを示す文字列.
9978 \begin_layout Description
9979 \begin_inset Flex Code
9982 \begin_layout Plain Layout
9989 \begin_inset Flex Code
9992 \begin_layout Plain Layout
9999 \begin_inset Flex Code
10002 \begin_layout Plain Layout
10008 ] 第1文字列で指定したパッケージ用のオプションを第2文字列で指定します.例えば,
10010 \begin_inset Flex Code
10013 \begin_layout Plain Layout
10014 PackageOptions natbib square
10021 \begin_inset Flex Code
10024 \begin_layout Plain Layout
10031 \begin_inset Flex Code
10034 \begin_layout Plain Layout
10040 オプションとともに読み込みます(\SpecialChar TeX
10044 \begin_inset Flex Code
10047 \begin_layout Plain Layout
10056 \begin_inset Flex Code
10059 \begin_layout Plain Layout
10062 PassOptionsToPackage{natbib}{square}
10070 \begin_layout Description
10071 \begin_inset Flex Code
10074 \begin_layout Plain Layout
10081 \begin_inset Flex Code
10084 \begin_layout Plain Layout
10125 ] 既定のページサイズです.これは一部の変換子に使われます.
10128 \begin_layout Description
10129 \begin_inset Flex Code
10132 \begin_layout Plain Layout
10141 \begin_inset Flex Code
10144 \begin_layout Plain Layout
10154 \begin_inset Flex Code
10157 \begin_layout Plain Layout
10165 \begin_inset Flex Code
10168 \begin_layout Plain Layout
10175 \begin_inset Flex MenuItem
10178 \begin_layout Plain Layout
10179 文書\SpecialChar menuseparator
10188 \begin_layout Description
10189 \begin_inset Flex Code
10192 \begin_layout Plain Layout
10199 文書のプリアンブルを設定します.前に行った
10200 \begin_inset Flex Code
10203 \begin_layout Plain Layout
10210 \begin_inset Flex Code
10213 \begin_layout Plain Layout
10220 すべて上書きされてしまうので注意してください.(プリアンブルに何かを追加したい時には,
10222 \begin_inset Flex Code
10225 \begin_layout Plain Layout
10232 \begin_inset Flex Code
10235 \begin_layout Plain Layout
10244 \begin_layout Description
10245 \begin_inset Flex Code
10248 \begin_layout Plain Layout
10255 \begin_inset Flex Code
10258 \begin_layout Plain Layout
10264 ] 差込枠のレイアウトが存在しない場合に,
10265 それを定義します.レイアウトが存在する場合には,
10267 \begin_inset Flex Code
10270 \begin_layout Plain Layout
10279 \begin_layout Description
10280 \begin_inset Flex Code
10283 \begin_layout Plain Layout
10290 \begin_inset Flex Code
10293 \begin_layout Plain Layout
10300 \begin_inset Flex Code
10303 \begin_layout Plain Layout
10313 \begin_inset Flex Code
10316 \begin_layout Plain Layout
10323 \begin_inset Flex Code
10326 \begin_layout Plain Layout
10332 で示される機能を既に提供しているかどうかを示します.機能は,
10334 \begin_inset Flex Code
10337 \begin_layout Plain Layout
10344 \begin_inset Flex Code
10347 \begin_layout Plain Layout
10353 ・\SpecialChar ldots
10355 \begin_inset Flex Code
10358 \begin_layout Plain Layout
10365 \begin_inset Flex Code
10368 \begin_layout Plain Layout
10374 ・\SpecialChar ldots
10377 \begin_inset CommandInset ref
10379 reference "chap:関数一覧"
10387 \begin_layout Description
10388 \begin_inset Flex Code
10391 \begin_layout Plain Layout
10398 \begin_inset Flex Code
10401 \begin_layout Plain Layout
10408 \begin_inset Flex Code
10411 \begin_layout Plain Layout
10417 で表されているモジュールの機能を提供することを示し,
10419 \begin_inset Flex Code
10422 \begin_layout Plain Layout
10428 拡張子を除いたファイル名で指定します.
10429 \begin_inset Flex Code
10432 \begin_layout Plain Layout
10439 モジュールを使用しなくてはならないことを示しますが,
10441 このレイアウトがモジュールを直接取り込んでしまっていることを示すのに用いられます.同じ機能を別に実装しているモジュール中で使用するなどすることもできます.
10444 \begin_layout Description
10445 \begin_inset Flex Code
10448 \begin_layout Plain Layout
10455 \begin_inset Flex Code
10458 \begin_layout Plain Layout
10465 \begin_inset Flex Code
10468 \begin_layout Plain Layout
10474 で表されている機能を要求することを示します.機能が複数ある場合には,
10475 コンマで区切らなくてはなりません.サポートされている機能以外は要求できないことに注意してください(機能一覧については
10476 \begin_inset CommandInset ref
10478 reference "chap:関数一覧"
10483 を参照).特定のオプションをとるパッケージを要求する場合,
10485 \begin_inset Flex Code
10488 \begin_layout Plain Layout
10497 \begin_layout Description
10498 \begin_inset Flex Code
10501 \begin_layout Plain Layout
10508 \begin_inset Flex Code
10511 \begin_layout Plain Layout
10517 ] 画面上の右余白の幅を指示する文字列.例:
10519 \begin_inset Flex Code
10522 \begin_layout Plain Layout
10531 \begin_layout Description
10532 \begin_inset Flex Code
10535 \begin_layout Plain Layout
10542 \begin_inset Flex Code
10545 \begin_layout Plain Layout
10551 ] どの節区切りまで連番を振るかを指定します.\SpecialChar LaTeX
10553 \begin_inset Flex Code
10556 \begin_layout Plain Layout
10565 \begin_layout Description
10566 \begin_inset Flex Code
10569 \begin_layout Plain Layout
10578 \begin_inset Flex Code
10581 \begin_layout Plain Layout
10590 \begin_inset space \thinspace{}
10594 \begin_inset Flex Code
10597 \begin_layout Plain Layout
10604 用紙の片面に印字するか両面に印字するかを指定します.
10605 \begin_inset Flex MenuItem
10608 \begin_layout Plain Layout
10609 文書\SpecialChar menuseparator
10618 \begin_layout Description
10619 \begin_inset Flex Code
10622 \begin_layout Plain Layout
10629 \begin_inset Flex Code
10632 \begin_layout Plain Layout
10642 この部分は段落様式を定義します.様式がまだ存在していなければ,
10645 \begin_inset Flex Code
10648 \begin_layout Plain Layout
10655 \begin_inset Newline newline
10660 \begin_inset CommandInset ref
10662 reference "subsec:段落様式-XHTML"
10670 \begin_layout Description
10671 \begin_inset Flex Code
10674 \begin_layout Plain Layout
10681 \begin_inset Flex Code
10684 \begin_layout Plain Layout
10691 表を挿入する際に用いられる既定の表様式を定義します.下記の様式が利用可能です.
10695 \begin_layout Itemize
10696 \begin_inset Flex Code
10699 \begin_layout Plain Layout
10700 Formal_with_Footline
10706 フォーマル様式(「ブックタブ」様式).すなわち,
10708 ときに第一行と最終行は表本体とは細い内部罫線で区切られます.
10711 \begin_layout Itemize
10712 \begin_inset Flex Code
10715 \begin_layout Plain Layout
10716 Formal_without_Footline
10723 最終行は本体から内部罫線で区切られることはありません.
10726 \begin_layout Itemize
10727 \begin_inset Flex Code
10730 \begin_layout Plain Layout
10740 \begin_layout Itemize
10741 \begin_inset Flex Code
10744 \begin_layout Plain Layout
10752 \begin_inset Flex Code
10755 \begin_layout Plain Layout
10762 ヘッダ行は2本目の罫線が余分に引かれます.これは\SpecialChar LyX
10766 \begin_layout Itemize
10767 \begin_inset Flex Code
10770 \begin_layout Plain Layout
10781 \begin_layout Description
10782 \begin_inset Flex Code
10785 \begin_layout Plain Layout
10792 \begin_inset Flex Code
10795 \begin_layout Plain Layout
10802 \begin_inset Flex Code
10805 \begin_layout Plain Layout
10814 \begin_layout Description
10815 \begin_inset Flex Code
10818 \begin_layout Plain Layout
10825 \begin_inset Flex Code
10828 \begin_layout Plain Layout
10838 \begin_inset Flex Code
10841 \begin_layout Plain Layout
10848 どのようなマークアップを使用するのかを示します.
10849 \begin_inset Flex Code
10852 \begin_layout Plain Layout
10860 \begin_inset Flex Code
10863 \begin_layout Plain Layout
10865 \begin_inset space ~
10873 」が指定されている最後のレイアウトの後に,
10875 \begin_inset Flex Code
10878 \begin_layout Plain Layout
10884 で指定したマクロ名を挿入することを意味します.
10885 \begin_inset Flex Code
10888 \begin_layout Plain Layout
10896 \begin_inset Flex Code
10899 \begin_layout Plain Layout
10901 \begin_inset space ~
10910 \begin_inset Flex Code
10913 \begin_layout Plain Layout
10919 で指定した環境でくるむ場合に対応します.
10922 \begin_layout Description
10923 \begin_inset Flex Code
10926 \begin_layout Plain Layout
10933 \begin_inset Flex Code
10936 \begin_layout Plain Layout
10942 ] どの節区切りまで目次に取り込むかを指定します.\SpecialChar LaTeX
10944 \begin_inset Flex Code
10947 \begin_layout Plain Layout
10956 \begin_layout Subsection
10957 \begin_inset Flex Code
10960 \begin_layout Plain Layout
10967 \begin_inset CommandInset label
10969 name "subsec:ClassOptions"
10976 \begin_layout Standard
10977 \begin_inset Flex Code
10980 \begin_layout Plain Layout
10990 \begin_layout Description
10991 \begin_inset Flex Code
10994 \begin_layout Plain Layout
11001 \begin_inset Flex Code
11004 \begin_layout Plain Layout
11010 ] 文書のメインフォントが使用できるフォント寸法の一覧です.「
11011 \begin_inset Flex Code
11014 \begin_layout Plain Layout
11020 」で区切ります.任意の数値が使用できます.
11023 \begin_layout Description
11024 \begin_inset Flex Code
11027 \begin_layout Plain Layout
11034 \begin_inset Flex Code
11037 \begin_layout Plain Layout
11043 ] フォント寸法オプションのフォーマット.既定値:
11045 \begin_inset Flex Code
11048 \begin_layout Plain Layout
11056 \begin_inset Flex Code
11059 \begin_layout Plain Layout
11068 \begin_layout Description
11069 \begin_inset Flex Code
11072 \begin_layout Plain Layout
11079 \begin_inset Flex Code
11082 \begin_layout Plain Layout
11083 文字列="letter|\SpecialChar allowbreak
11084 legal|\SpecialChar allowbreak
11085 executive|\SpecialChar allowbreak
11086 a0|\SpecialChar allowbreak
11087 a1|\SpecialChar allowbreak
11088 a2|\SpecialChar allowbreak
11089 a3|\SpecialChar allowbreak
11090 a4|\SpecialChar allowbreak
11091 a5|\SpecialChar allowbreak
11092 a6|\SpecialChar allowbreak
11093 b0|\SpecialChar allowbreak
11094 b1|\SpecialChar allowbreak
11095 b2|\SpecialChar allowbreak
11096 b3|\SpecialChar allowbreak
11097 b4|\SpecialChar allowbreak
11098 b5|\SpecialChar allowbreak
11099 b6|\SpecialChar allowbreak
11100 c0|\SpecialChar allowbreak
11101 c1|\SpecialChar allowbreak
11102 c2|\SpecialChar allowbreak
11103 c3|\SpecialChar allowbreak
11104 c4|\SpecialChar allowbreak
11105 c5|\SpecialChar allowbreak
11106 c6|\SpecialChar allowbreak
11107 b0j|\SpecialChar allowbreak
11108 b1j|\SpecialChar allowbreak
11109 b2j|\SpecialChar allowbreak
11110 b3j|\SpecialChar allowbreak
11111 b4j|\SpecialChar allowbreak
11112 b5j|\SpecialChar allowbreak
11119 \begin_inset Flex Code
11122 \begin_layout Plain Layout
11129 表記の寸法のみサポートされています.他の寸法は,
11130 クラスオプション設定で入力することができます.
11133 \begin_layout Description
11134 \begin_inset Flex Code
11137 \begin_layout Plain Layout
11144 \begin_inset Flex Code
11147 \begin_layout Plain Layout
11153 ] ページ寸法オプションの書式.既定値:
11155 \begin_inset Flex Code
11158 \begin_layout Plain Layout
11165 \begin_inset Flex Code
11168 \begin_layout Plain Layout
11177 \begin_layout Description
11178 \begin_inset Flex Code
11181 \begin_layout Plain Layout
11188 \begin_inset Flex Code
11191 \begin_layout Plain Layout
11192 文字列="empty|plain|headings|fancy"
11197 ] 使用できるページ様式の一覧です.「
11198 \begin_inset Flex Code
11201 \begin_layout Plain Layout
11210 \begin_layout Description
11211 \begin_inset Flex Code
11214 \begin_layout Plain Layout
11221 \begin_inset Flex Code
11224 \begin_layout Plain Layout
11231 \begin_inset Flex Code
11234 \begin_layout Plain Layout
11242 コマンドの非必須パラメータとして付け加える文書クラスオプションです.コンマで区切ります.
11245 \begin_layout Standard
11246 \begin_inset Flex Code
11249 \begin_layout Plain Layout
11256 \begin_inset Flex Code
11259 \begin_layout Plain Layout
11268 \begin_layout Subsection
11270 \begin_inset CommandInset label
11279 \begin_layout Standard
11285 \begin_layout Plain Layout
11287 既存のレイアウトを修正することになることに注意してください.
11295 \begin_layout LyX-Code
11302 \begin_layout LyX-Code
11306 \begin_layout LyX-Code
11310 \begin_layout Standard
11312 以下のコマンドを使用することができます.
11315 \begin_layout Description
11316 \begin_inset Flex Code
11319 \begin_layout Plain Layout
11326 \begin_inset Flex Code
11329 \begin_layout Plain Layout
11335 =""] この段落は指定された型の一覧表に現れます.空の文字列を与えると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドもご覧ください.既定値:
11339 \begin_layout Description
11340 \begin_inset Flex Code
11343 \begin_layout Plain Layout
11350 \begin_inset Flex Code
11353 \begin_layout Plain Layout
11369 \begin_layout Description
11370 \begin_inset Flex Code
11373 \begin_layout Plain Layout
11380 \begin_inset Flex Code
11383 \begin_layout Plain Layout
11396 ] 使用できる揃えのコンマ区切りリスト(\SpecialChar LaTeX
11398 意味を成さない一部の揃えが禁じられているものがあります.たとえば,
11399 連番箇条書きを右揃えや中央揃えにすることはできません).
11402 \begin_layout Description
11403 \begin_inset Flex Code
11406 \begin_layout Plain Layout
11413 \begin_inset Flex Code
11416 \begin_layout Plain Layout
11422 ] 現在の様式に関連付けられたコマンドまたは環境の引数番号<整数>を定義します.定義は「
11423 \begin_inset Flex Code
11426 \begin_layout Plain Layout
11432 」で閉じる必要があります.詳細については第
11433 \begin_inset CommandInset ref
11435 reference "subsec:引数"
11446 \begin_layout Description
11447 \begin_inset Flex Code
11450 \begin_layout Plain Layout
11456 現在のレイアウト中もしくは後にネストすべきレイアウトのコンマ区切りリストを入れます.(環境など)ネスト可能なレイアウトでのみ意味を持ちます.「
11457 \begin_inset Flex Code
11460 \begin_layout Plain Layout
11467 \begin_inset Flex Code
11470 \begin_layout Plain Layout
11479 \begin_layout Description
11480 \begin_inset Flex Code
11483 \begin_layout Plain Layout
11491 \begin_inset Flex Code
11494 \begin_layout Plain Layout
11501 完全に上書きしますので注意してください.「
11502 \begin_inset Flex Code
11505 \begin_layout Plain Layout
11511 」で閉じる必要があります.これの利用法についての詳細は,
11513 \begin_inset CommandInset ref
11515 reference "subsec:段落様式の国際化"
11523 \begin_layout Description
11524 \begin_inset Flex Code
11527 \begin_layout Plain Layout
11534 \begin_inset Flex Code
11537 \begin_layout Plain Layout
11547 \begin_layout Plain Layout
11548 ここで「浮動小数点型」とは1.5のような実数を指します.
11553 このレイアウト型の段落塊の最後の段落と,
11554 次の段落とを分離する垂直空白.次の段落が別のレイアウト型である場合,
11559 \begin_layout Description
11560 \begin_inset Flex Code
11563 \begin_layout Plain Layout
11570 \begin_inset Flex Code
11573 \begin_layout Plain Layout
11580 ツールバーのレイアウト・コンボボックスで関連した様式をグループ化するのに用いられます.任意の文字列を使用することができますが,
11581 作成した様式に既存のカテゴリを使用したいと思うことが多いでしょう.
11584 \begin_layout Description
11585 \begin_inset Flex Code
11588 \begin_layout Plain Layout
11595 \begin_inset Flex Code
11598 \begin_layout Plain Layout
11605 すべての機能を現在の様式にコピーします.
11608 \begin_layout Description
11609 \begin_inset Flex Code
11612 \begin_layout Plain Layout
11613 DocBookGenerateTitle
11619 \begin_inset Flex Code
11622 \begin_layout Plain Layout
11629 \begin_inset Flex Code
11632 \begin_layout Plain Layout
11640 \begin_inset Flex Code
11643 \begin_layout Plain Layout
11649 でのみ使用してください.他の場合はタイトルは環境の中身の
11650 \begin_inset Flex 圏点
11653 \begin_layout Plain Layout
11659 出力されます.生成されるタイトルはLyXHTMLラベルと同じで,
11660 環境型とその番号の組み合わせです.主な使用法は,
11661 DocBookにLaTeX環境を閉じるマッピングがなく,
11662 LaTeXにはないタイトルが必要となる
11663 \begin_inset Flex Code
11666 \begin_layout Plain Layout
11672 のような汎用コンテナをユーザが頼らざるを得ないときに使います.この機能は,
11673 定理型の環境でたいへんよく用いられます.
11676 \begin_layout Description
11677 \begin_inset Flex Code
11680 \begin_layout Plain Layout
11687 \begin_inset Flex Code
11690 \begin_layout Plain Layout
11704 プリアンブルを出力させる様式名.マクロ定義がお互いに依存関係にある場合に,
11705 プリアンブルの断片の順序を確実にするためのものです
11709 \begin_layout Plain Layout
11711 プリアンブルの順序を確定する方法はないことに注意してください.\SpecialChar LyX
11712 の特定のバージョンで観察された順序は,
11713 将来のバージョンで警告なしに変わる可能性があります.
11721 \begin_layout Description
11722 \begin_inset Flex Code
11725 \begin_layout Plain Layout
11732 \begin_inset Flex Code
11735 \begin_layout Plain Layout
11749 \begin_inset Flex Code
11752 \begin_layout Plain Layout
11760 \begin_inset Flex Code
11763 \begin_layout Plain Layout
11770 \begin_inset Flex Code
11773 \begin_layout Plain Layout
11780 \begin_inset Flex Code
11783 \begin_layout Plain Layout
11791 \begin_inset Flex Code
11794 \begin_layout Plain Layout
11802 \begin_inset Flex Code
11805 \begin_layout Plain Layout
11812 \begin_inset Flex Code
11815 \begin_layout Plain Layout
11822 証明終了マーカ用の白い箱型(あるいは黒い箱型)を指し,
11824 \begin_inset Flex Code
11827 \begin_layout Plain Layout
11836 \begin_layout Description
11837 \begin_inset Flex Code
11840 \begin_layout Plain Layout
11847 \begin_inset Flex Code
11850 \begin_layout Plain Layout
11857 \begin_inset Flex Code
11860 \begin_layout Plain Layout
11867 \begin_inset Flex Code
11870 \begin_layout Plain Layout
11879 \begin_layout Description
11880 \begin_inset Flex Code
11883 \begin_layout Plain Layout
11894 \begin_inset CommandInset ref
11896 reference "subsec:フォント指定"
11903 \begin_inset Flex Code
11906 \begin_layout Plain Layout
11912 も同じ値で定義されることに注意してください.したがって,
11914 \begin_inset Flex Code
11917 \begin_layout Plain Layout
11927 \begin_layout Description
11928 \begin_inset Flex Code
11931 \begin_layout Plain Layout
11938 \begin_inset Flex Code
11941 \begin_layout Plain Layout
11947 ] 新しい様式を\SpecialChar LyX
11948 安定版にバックポートするのに用いられます.このタグを最初にサポートした安定版は\SpecialChar LyX
11950 0・-1・1以上の任意の数をとることができます.様式の
11951 \begin_inset Flex Code
11954 \begin_layout Plain Layout
11961 これは常に文書ヘッダに書き込まれます..lyxファイルが読み込まれると,
11962 文書ヘッダからの様式定義が文書クラスに追加されます.したがって,
11963 古い版の\SpecialChar LyX
11964 もこの様式を取り扱えるようになります.
11965 \begin_inset Flex Code
11968 \begin_layout Plain Layout
11974 の引数は版数です.様式が読み込まれたときに,
11975 文書クラス中の既存の様式の版数よりも小さいと,
11976 新しい様式は無視されます.版数が大きいと,
11977 既存の様式に代わって新しい様式が用いられます.値-1は無限大の版数を意味し,
11978 この様式が常に用いられることになります.
11981 \begin_layout Description
11982 \begin_inset Flex Code
11985 \begin_layout Plain Layout
11994 \begin_inset Flex Code
11997 \begin_layout Plain Layout
12006 \begin_inset space \thinspace{}
12010 \begin_inset Flex Code
12013 \begin_layout Plain Layout
12022 2つの単語の間の分割子として捉えているため,
12023 単語間に2つ以上の空白を入れることは,
12024 通常許可していません.これ自体はとても素晴らしいことですが,
12025 たとえばプログラムコードや生の\SpecialChar LaTeX
12027 煩わしくなることがあります.このことから,
12029 \begin_inset Flex Code
12032 \begin_layout Plain Layout
12039 \begin_inset Flex Code
12042 \begin_layout Plain Layout
12050 は2つめ以降の空白には非改行空白を生成します.
12051 \begin_inset Flex Code
12054 \begin_layout Plain Layout
12061 \begin_inset Flex Code
12064 \begin_layout Plain Layout
12073 \begin_layout Description
12074 \begin_inset Flex Code
12077 \begin_layout Plain Layout
12085 \begin_inset CommandInset ref
12087 reference "subsec:段落様式-XHTML"
12095 \begin_layout Description
12096 \begin_inset Flex Code
12099 \begin_layout Plain Layout
12108 \begin_inset Flex Code
12111 \begin_layout Plain Layout
12120 \begin_inset space \thinspace{}
12124 \begin_inset Flex Code
12127 \begin_layout Plain Layout
12134 \begin_inset Flex Code
12137 \begin_layout Plain Layout
12145 文書プリアンブルにインクルードされるようにします.これは,
12146 タイトルや著者の情報をプリアンブルで設定する必要のある文書クラスに便利です.これは,
12148 \begin_inset Flex Code
12151 \begin_layout Plain Layout
12158 \begin_inset Flex Code
12161 \begin_layout Plain Layout
12168 \begin_inset Flex Code
12171 \begin_layout Plain Layout
12180 \begin_layout Description
12181 \begin_inset Flex Code
12184 \begin_layout Plain Layout
12193 \begin_inset Flex Code
12196 \begin_layout Plain Layout
12205 \begin_inset space \thinspace{}
12209 \begin_inset Flex Code
12212 \begin_layout Plain Layout
12219 \begin_inset Flex Code
12222 \begin_layout Plain Layout
12229 このレイアウトをタイトルブロックの一部としてマークします(大域項目の
12230 \begin_inset Flex Code
12233 \begin_layout Plain Layout
12240 \begin_inset Flex Code
12243 \begin_layout Plain Layout
12252 \begin_layout Description
12253 \begin_inset Flex Code
12256 \begin_layout Plain Layout
12262 このレイアウトがネストされるべき親レイアウトのコンマ区切りリストを入れます.(環境など)ネスト可能なレイアウトでのみ意味を持ちます.「
12263 \begin_inset Flex Code
12266 \begin_layout Plain Layout
12273 \begin_inset Flex Code
12276 \begin_layout Plain Layout
12285 \begin_layout Description
12286 \begin_inset Flex Code
12289 \begin_layout Plain Layout
12296 \begin_inset Flex Code
12299 \begin_layout Plain Layout
12308 \begin_inset space \thinspace{}
12312 \begin_inset Flex Code
12315 \begin_layout Plain Layout
12324 その内容の要約を一覧表の項目に表示します.0に設定すると,
12329 \begin_layout Description
12330 \begin_inset Flex Code
12333 \begin_layout Plain Layout
12340 \begin_inset Flex Code
12343 \begin_layout Plain Layout
12349 ] 箇条書きの項目を宣言する\SpecialChar LaTeX
12351 前置されるバックスラッシュを除いた部分で定義されます(既定値は「item」です.これは,
12354 \begin_inset Flex Code
12357 \begin_layout Plain Layout
12368 \begin_layout Description
12369 \begin_inset Flex Code
12372 \begin_layout Plain Layout
12379 \begin_inset Flex Code
12382 \begin_layout Plain Layout
12389 同じレイアウトを持つ段落群の間に追加する空白を与えるものです.複数のレイアウトを一つの環境に入れると,
12392 \begin_inset Flex Code
12395 \begin_layout Plain Layout
12404 \begin_inset Flex Code
12407 \begin_layout Plain Layout
12420 \begin_layout Description
12421 \begin_inset Flex Code
12424 \begin_layout Plain Layout
12433 \begin_inset Flex Code
12436 \begin_layout Plain Layout
12445 \begin_inset space \thinspace{}
12449 \begin_inset Flex Code
12452 \begin_layout Plain Layout
12463 は段落を空にすることを許可しません.しかしながら,
12464 これを無効にすることが望ましい場合が存在します.たとえば,
12466 必須フィールドを人々が忘れないように,
12467 空のフィールドのまま提供する手もあります.特別なクラスにおいては,
12468 レイアウトを実際には文章を含まないある種の改行として使用することもあります.
12471 \begin_layout Description
12472 \begin_inset Flex Code
12475 \begin_layout Plain Layout
12482 \begin_inset Flex Code
12485 \begin_layout Plain Layout
12491 ] ラベルと本文テキストとの間の垂直余白.本文テキストの上に来るラベルにのみ使用されます(
12492 \begin_inset Flex Code
12495 \begin_layout Plain Layout
12502 \begin_inset Newline linebreak
12506 \begin_inset Flex Code
12509 \begin_layout Plain Layout
12510 Centered_Top_Environment
12518 \begin_layout Description
12519 \begin_inset Flex Code
12522 \begin_layout Plain Layout
12529 \begin_inset Flex Code
12532 \begin_layout Plain Layout
12538 ] 自動連番に使われるカウンタ名(詳しくは第
12539 \begin_inset CommandInset ref
12541 reference "subsec:カウンタ"
12549 節参照).カウンタがラベル中に表示されるようにするためには,
12551 \begin_inset Flex Code
12554 \begin_layout Plain Layout
12562 \begin_inset Flex Code
12565 \begin_layout Plain Layout
12572 \begin_inset Flex Code
12575 \begin_layout Plain Layout
12582 \begin_inset Flex Code
12585 \begin_layout Plain Layout
12592 \begin_inset Flex Code
12595 \begin_layout Plain Layout
12602 \begin_inset Newline newline
12607 \begin_inset Flex Code
12610 \begin_layout Plain Layout
12617 \begin_inset Flex Code
12620 \begin_layout Plain Layout
12628 本項目を使うことができます.たとえば,
12630 \begin_inset Flex Code
12633 \begin_layout Plain Layout
12634 LabelCounter myenum
12639 」と宣言したものとしましょう.すると,
12644 \begin_inset Flex Code
12647 \begin_layout Plain Layout
12654 \begin_inset Flex Code
12657 \begin_layout Plain Layout
12664 \begin_inset Flex Code
12667 \begin_layout Plain Layout
12674 \begin_inset Flex Code
12677 \begin_layout Plain Layout
12683 のようになります.これらのカウンタは,
12684 全て別々に宣言されなくてはなりません.
12685 \begin_inset Newline newline
12690 \begin_inset CommandInset ref
12692 reference "subsec:カウンタ"
12700 \begin_layout Description
12701 \begin_inset Flex Code
12704 \begin_layout Plain Layout
12711 \begin_inset CommandInset ref
12713 reference "subsec:フォント指定"
12721 \begin_layout Description
12722 \begin_inset Flex Code
12725 \begin_layout Plain Layout
12732 \begin_inset Flex Code
12735 \begin_layout Plain Layout
12741 ] ラベルをどれくらい行頭下げすべきかを示す文字列.
12744 \begin_layout Description
12745 \begin_inset Flex Code
12748 \begin_layout Plain Layout
12755 \begin_inset Flex Code
12758 \begin_layout Plain Layout
12764 ] ラベルと本文テキストの間の水平余白の大きさを表す文字列.本文テキストの上に来ないラベルにのみ使用されます.
12767 \begin_layout Description
12768 \begin_inset Flex Code
12771 \begin_layout Plain Layout
12778 \begin_inset Flex Code
12781 \begin_layout Plain Layout
12788 \begin_inset Flex Code
12791 \begin_layout Plain Layout
12798 \begin_inset Flex Code
12801 \begin_layout Plain Layout
12809 \begin_inset CommandInset ref
12811 reference "subsec:カウンタ"
12816 に述べられている特別な整形コマンドを含めることができます.
12819 \begin_layout Description
12820 \begin_inset Flex Code
12823 \begin_layout Plain Layout
12824 LabelStringAppendix
12830 \begin_inset Flex Code
12833 \begin_layout Plain Layout
12840 \begin_inset Flex Code
12843 \begin_layout Plain Layout
12850 \begin_inset Flex Code
12853 \begin_layout Plain Layout
12861 \begin_inset Flex Code
12864 \begin_layout Plain Layout
12865 LabelStringAppendix
12870 をもリセットすることに注意してください.
12873 \begin_layout Description
12874 \begin_inset Flex Code
12877 \begin_layout Plain Layout
12884 \begin_inset Flex Code
12887 \begin_layout Plain Layout
12896 \begin_inset Newline newline
12902 \begin_inset Newline newline
12915 \begin_layout Description
12916 \begin_inset Flex Code
12919 \begin_layout Plain Layout
12926 ラベルが最初の単語(最初の本当の空白まで)であることを示します.ラベルに2単語以上使用したいときは,
12930 \begin_layout Description
12931 \begin_inset Flex Code
12934 \begin_layout Plain Layout
12942 \begin_inset Flex Code
12945 \begin_layout Plain Layout
12951 で宣言したものであることを示します.これは段落冒頭の「行中」に表示されます.
12952 \begin_inset Flex Code
12955 \begin_layout Plain Layout
12962 \begin_inset Flex Code
12965 \begin_layout Plain Layout
12973 \begin_inset Flex Code
12976 \begin_layout Plain Layout
12986 \begin_layout Description
12987 \begin_inset Flex Code
12990 \begin_layout Plain Layout
12997 \begin_inset Flex Code
13000 \begin_layout Plain Layout
13008 \begin_inset Flex Code
13011 \begin_layout Plain Layout
13017 の特別な場合です.ラベルは段落の上部に行頭か中央揃えで印字されます.
13020 \begin_layout Description
13021 \begin_inset Flex Code
13024 \begin_layout Plain Layout
13030 はキャプションラベルの「図」や「表」の特別な場合です.
13031 \begin_inset Flex Code
13034 \begin_layout Plain Layout
13041 (ハードコードされた)ラベル文字列がフロートの種類に依存することを示します.これは,
13042 フロートに関連付けられたカウンタの値がNであるものとすると,
13043 「FloatType N」にハードコードされています.キャプションがフロートの外に挿入されると,
13045 \begin_inset Flex Code
13048 \begin_layout Plain Layout
13054 は「意味を成しません!」と表示されます.
13057 \begin_layout Description
13058 \begin_inset Flex Code
13061 \begin_layout Plain Layout
13068 通常の連番ラベルを生成します.数値型を
13073 \begin_inset CommandInset ref
13075 reference "subsec:カウンタ"
13083 \begin_layout Description
13084 \begin_inset Flex Code
13087 \begin_layout Plain Layout
13094 各階層でさまざまなブリットを生成します.表示されるブリット型は
13095 \begin_inset Flex Noun
13098 \begin_layout Plain Layout
13099 文書\SpecialChar menuseparator
13100 設定\SpecialChar menuseparator
13109 \begin_layout Description
13110 \begin_inset Flex Code
13113 \begin_layout Plain Layout
13120 \begin_inset Flex Code
13123 \begin_layout Plain Layout
13124 LatexType BibEnvironment
13133 \begin_layout Description
13134 \begin_inset Flex Code
13137 \begin_layout Plain Layout
13145 \begin_inset Flex Code
13148 \begin_layout Plain Layout
13156 注意してください.使用法についての詳細は,
13158 \begin_inset CommandInset ref
13160 reference "subsec:段落様式の国際化"
13168 \begin_layout Description
13169 \begin_inset Flex Code
13172 \begin_layout Plain Layout
13179 \begin_inset Flex Code
13182 \begin_layout Plain Layout
13188 ] 対応する\SpecialChar LaTeX
13189 の名称です.環境名かコマンド名を指します.
13192 \begin_layout Description
13193 \begin_inset Flex Code
13196 \begin_layout Plain Layout
13203 \begin_inset Flex Code
13206 \begin_layout Plain Layout
13213 \begin_inset Flex Code
13216 \begin_layout Plain Layout
13222 の非必須パラメータです.このパラメータは,
13224 内部から変更することはできません(変更可能なパラメータには
13225 \begin_inset Flex Code
13228 \begin_layout Plain Layout
13235 全ての\SpecialChar LaTeX
13237 \begin_inset Flex Code
13240 \begin_layout Plain Layout
13249 \begin_layout Description
13250 \begin_inset Flex Code
13253 \begin_layout Plain Layout
13260 \begin_inset Flex Code
13263 \begin_layout Plain Layout
13272 \begin_inset Newline newline
13281 ] レイアウトがどのように\SpecialChar LaTeX
13286 \begin_layout Plain Layout
13287 これらのルールはSGMLクラスにも適用されるので,
13289 \begin_inset Flex Code
13292 \begin_layout Plain Layout
13299 少しミスリーディングかもしれません.特定の例については,
13301 \begin_inset Flex Code
13304 \begin_layout Plain Layout
13319 \begin_layout Description
13320 \begin_inset Flex Code
13323 \begin_layout Plain Layout
13333 \begin_layout Description
13334 \begin_inset Flex Code
13337 \begin_layout Plain Layout
13345 \begin_inset Flex Code
13348 \begin_layout Plain Layout
13355 {\SpecialChar ldots
13364 \begin_layout Description
13365 \begin_inset Flex Code
13368 \begin_layout Plain Layout
13376 \begin_inset Flex Code
13379 \begin_layout Plain Layout
13386 }\SpecialChar ldots
13401 \begin_layout Description
13402 \begin_inset Flex Code
13405 \begin_layout Plain Layout
13412 \begin_inset Flex Code
13415 \begin_layout Plain Layout
13423 \begin_inset Flex Code
13426 \begin_layout Plain Layout
13434 がこの環境のすべての段落に付けられるところだけが異なっています.
13437 \begin_layout Description
13438 \begin_inset Flex Code
13441 \begin_layout Plain Layout
13448 \begin_inset Flex Code
13451 \begin_layout Plain Layout
13459 \begin_inset Flex Code
13462 \begin_layout Plain Layout
13468 が環境の引数として渡されるところだけが異なっています.
13469 \begin_inset Flex Code
13472 \begin_layout Plain Layout
13480 \begin_inset Flex MenuItem
13483 \begin_layout Plain Layout
13484 編集\SpecialChar menuseparator
13493 \begin_layout Description
13494 \begin_inset Flex Code
13497 \begin_layout Plain Layout
13504 \begin_inset Flex Code
13507 \begin_layout Plain Layout
13515 書誌情報環境のbeginステートメントに必須引数(最長ラベル)を追記します.
13516 \begin_inset Newline newline
13520 \begin_inset Flex Code
13523 \begin_layout Plain Layout
13526 begin{thebibliography}{99}
13532 \begin_inset Newline newline
13536 これは書誌情報環境にのみ有用です.既定の最長ラベル「99」は,
13541 \begin_layout Standard
13549 \begin_layout LyX-Code
13552 LatexName[LatexParam]{\SpecialChar ldots
13556 \begin_layout Standard
13561 \begin_layout LyX-Code
13564 begin{LatexName}[LatexParam] \SpecialChar ldots
13570 \begin_layout Standard
13575 \begin_layout Description
13576 \begin_inset Flex Code
13579 \begin_layout Plain Layout
13586 \begin_inset Flex Code
13589 \begin_layout Plain Layout
13595 ] 様式の内容の最初に置かれる文字列.出力中の改行は
13596 \begin_inset Flex Code
13599 \begin_layout Plain Layout
13608 \begin_layout Description
13609 \begin_inset Flex Code
13612 \begin_layout Plain Layout
13619 \begin_inset Flex Code
13622 \begin_layout Plain Layout
13628 ] レイアウトを環境の中に入れた場合,
13631 \begin_inset Formula $\frac{4}{\mathrm{depth}+4}$
13634 をかけて加えられます.このパラメータは,
13636 \begin_inset Flex Code
13639 \begin_layout Plain Layout
13646 \begin_inset Flex Code
13649 \begin_layout Plain Layout
13656 \begin_inset Flex Code
13659 \begin_layout Plain Layout
13665 に設定されているときにも用いられることに注意してください.その場合には,
13666 これは手動設定余白または動的設定余白に加えられることに注意してください.
13667 \begin_inset Newline newline
13671 \begin_inset Flex Code
13674 \begin_layout Plain Layout
13682 \begin_inset Flex Code
13685 \begin_layout Plain Layout
13691 」の幅だけ行頭下げを行います.文字列の前に「
13692 \begin_inset Flex Code
13695 \begin_layout Plain Layout
13702 負の幅を与えることができます.この方法が採用されたのは,
13703 どの画面フォントでも見かけが同じになるようにするためです.
13706 \begin_layout Description
13707 \begin_inset Flex Code
13710 \begin_layout Plain Layout
13717 \begin_inset Flex Code
13720 \begin_layout Plain Layout
13735 \begin_inset Newline newline
13742 \begin_layout Description
13743 \begin_inset Flex Code
13746 \begin_layout Plain Layout
13755 \begin_layout Description
13756 \begin_inset Flex Code
13759 \begin_layout Plain Layout
13767 \begin_inset Flex MenuItem
13770 \begin_layout Plain Layout
13771 編集\SpecialChar menuseparator
13777 ダイアログで入力した文字列によって決められることを示します.これは,
13778 タブを用いずに整った一覧表を組むのに使用されます.
13781 \begin_layout Description
13782 \begin_inset Flex Code
13785 \begin_layout Plain Layout
13792 余白がラベルの大きさに依存することを示します.これは,
13793 自動連番の見出しに使用されます.「5.4.3.2.1 非常に長い見出し」という見出し行が,
13794 「3.2 非常に長い見出し」よりも広い左余白(5.4.3.2.1足す空白と同じ幅)を必要とすることは明らかでしょう(標準的「ワープロ」はこんなことはやってくれませんが).
13797 \begin_layout Description
13798 \begin_inset Flex Code
13801 \begin_layout Plain Layout
13808 段落の最初の行だけがDynamicでその他の行はStaticです.これは,
13813 \begin_layout Description
13814 \begin_inset Flex Code
13817 \begin_layout Plain Layout
13825 最も長い行が右余白に合うように余白を選択します.これは,
13826 ページの右端に住所を組版するのに用いられます.
13830 \begin_layout Description
13831 \begin_inset Flex Code
13834 \begin_layout Plain Layout
13841 \begin_inset Flex Code
13844 \begin_layout Plain Layout
13853 \begin_inset space \thinspace{}
13857 \begin_inset Flex Code
13860 \begin_layout Plain Layout
13866 ] このレイアウト中の脆弱なコマンドが
13867 \begin_inset Flex Code
13870 \begin_layout Plain Layout
13880 \begin_inset Flex Code
13883 \begin_layout Plain Layout
13892 \begin_inset Flex 圏点
13895 \begin_layout Plain Layout
13904 \begin_layout Description
13905 \begin_inset Flex Code
13908 \begin_layout Plain Layout
13915 \begin_inset Flex Code
13918 \begin_layout Plain Layout
13927 \begin_inset space \thinspace{}
13931 \begin_inset Flex Code
13934 \begin_layout Plain Layout
13942 \begin_inset Flex Code
13945 \begin_layout Plain Layout
13958 パッケージ)を用いて保護するようにし,
13959 マクロ中でverbatimを使えるようにします.
13962 \begin_layout Description
13963 \begin_inset Flex Code
13966 \begin_layout Plain Layout
13973 \begin_inset Flex Code
13976 \begin_layout Plain Layout
13985 \begin_inset space \thinspace{}
13989 \begin_inset Flex Code
13992 \begin_layout Plain Layout
13999 \begin_inset Flex Code
14002 \begin_layout Plain Layout
14011 \begin_inset Flex Code
14014 \begin_layout Plain Layout
14023 \begin_inset Flex Code
14026 \begin_layout Plain Layout
14043 コマンドに頼る様式でとくに必要になります.
14046 \begin_layout Description
14047 \begin_inset Flex Code
14050 \begin_layout Plain Layout
14057 \begin_inset Flex Code
14060 \begin_layout Plain Layout
14067 \begin_inset space \thinspace{}
14071 \begin_inset Flex Code
14074 \begin_layout Plain Layout
14082 ] 新規行を\SpecialChar LaTeX
14084 \begin_inset Flex Code
14087 \begin_layout Plain Layout
14097 )に変換するか否か.\SpecialChar LyX
14098 中で\SpecialChar LaTeX
14103 \begin_layout Description
14104 \begin_inset Flex Code
14107 \begin_layout Plain Layout
14114 \begin_inset Flex Code
14117 \begin_layout Plain Layout
14126 \begin_inset space \thinspace{}
14130 \begin_inset Flex Code
14133 \begin_layout Plain Layout
14141 \begin_inset Flex Code
14144 \begin_layout Plain Layout
14151 \begin_inset Flex Code
14154 \begin_layout Plain Layout
14160 )段落が行頭下げになっている場合でも,
14163 既定でない段落には影響を与えません).
14166 \begin_layout Description
14167 \begin_inset Flex Code
14170 \begin_layout Plain Layout
14177 \begin_inset Flex Code
14180 \begin_layout Plain Layout
14186 ] このレイアウトが置き換えられたレイアウト名.これは,
14188 レイアウトの名称を変更するのに使用されます.
14191 \begin_layout Description
14192 \begin_inset Flex Code
14195 \begin_layout Plain Layout
14202 \begin_inset Flex Code
14205 \begin_layout Plain Layout
14212 \begin_inset space \thinspace{}
14216 \begin_inset Flex Code
14219 \begin_layout Plain Layout
14226 同じ段落として取り扱うか否かを決定します.これは,
14229 \begin_inset Flex Code
14232 \begin_layout Plain Layout
14238 が一度だけ出力される効果があります.既定では,
14240 \begin_inset Flex Code
14243 \begin_layout Plain Layout
14251 \begin_inset Flex Code
14254 \begin_layout Plain Layout
14261 \begin_inset Flex Code
14264 \begin_layout Plain Layout
14271 他の型すべてについて無効になっています.
14274 \begin_layout Description
14275 \begin_inset Flex Code
14278 \begin_layout Plain Layout
14285 \begin_inset Flex Code
14288 \begin_layout Plain Layout
14297 \begin_inset space \thinspace{}
14301 \begin_inset Flex Code
14304 \begin_layout Plain Layout
14310 ] \SpecialChar LaTeX
14314 \begin_inset Flex Code
14317 \begin_layout Plain Layout
14325 コードを使用したときのように)テキストエディタをエミュレートすることができます.
14328 \begin_layout Description
14329 \begin_inset Flex Code
14332 \begin_layout Plain Layout
14339 \begin_inset Flex Code
14342 \begin_layout Plain Layout
14348 ] 段落の最初の行の行頭下げ.レイアウトによっては
14349 \begin_inset Flex Code
14352 \begin_layout Plain Layout
14358 は固定されています.例外には標準レイアウトがあり,
14361 \begin_inset Flex Code
14364 \begin_layout Plain Layout
14370 で禁止することができるようになっています.また,
14373 \begin_inset Flex Code
14376 \begin_layout Plain Layout
14384 \begin_inset Flex Code
14387 \begin_layout Plain Layout
14398 \begin_layout Description
14399 \begin_inset Flex Code
14402 \begin_layout Plain Layout
14409 \begin_inset Flex Code
14412 \begin_layout Plain Layout
14418 ] このレイアウトの2段落間の垂直余白.
14421 \begin_layout Description
14422 \begin_inset Flex Code
14425 \begin_layout Plain Layout
14432 \begin_inset Flex Code
14435 \begin_layout Plain Layout
14444 ユーザが「行頭下げ」か「スキップ」を選ぶことができます.「行頭下げ」を選択した際には,
14445 この値は完全に無視されます.「スキップ」を選択した際には,
14448 \begin_inset Flex Code
14451 \begin_layout Plain Layout
14459 \begin_inset Flex Code
14462 \begin_layout Plain Layout
14468 引数分だけ引き離されます.垂直余白は,
14470 \begin_inset Flex Code
14473 \begin_layout Plain Layout
14479 を標準フォントでの1行の高さとすると,
14481 \begin_inset Flex Code
14484 \begin_layout Plain Layout
14491 \begin_inset Formula $\times$
14495 \begin_inset Flex Code
14498 \begin_layout Plain Layout
14504 によって計算されます.このようにして,
14505 画面フォントを変更しても同じように表示されるのです.
14508 \begin_layout Description
14509 \begin_inset Flex Code
14512 \begin_layout Plain Layout
14521 \begin_inset Flex Code
14524 \begin_layout Plain Layout
14533 \begin_inset space \thinspace{}
14537 \begin_inset Flex Code
14540 \begin_layout Plain Layout
14548 が必要とするような特別な変換を行わずに,
14552 \begin_layout Description
14553 \begin_inset Flex Code
14556 \begin_layout Plain Layout
14563 \begin_inset Flex Code
14566 \begin_layout Plain Layout
14577 が要請する特別な翻訳なしで.生の形で出力されるべき,
14581 \begin_layout Description
14582 \begin_inset Flex Code
14585 \begin_layout Plain Layout
14593 プリアンブルに付け加えるべき情報.この特定の様式が要求するマクロを定義したり,
14594 パッケージを読み込んだりと言ったことに使用します.「
14595 \begin_inset Flex Code
14598 \begin_layout Plain Layout
14607 \begin_layout Description
14608 \begin_inset Flex Code
14611 \begin_layout Plain Layout
14618 \begin_inset Flex Code
14621 \begin_layout Plain Layout
14628 生成されるラベルに使用する前置句.これによって,
14629 整形参照を使用することができるようになります.
14632 \begin_layout Description
14633 \begin_inset Flex Code
14636 \begin_layout Plain Layout
14643 \begin_inset Flex Code
14646 \begin_layout Plain Layout
14653 \begin_inset Flex Code
14656 \begin_layout Plain Layout
14662 を必要とするかどうか(機能詳細については,
14664 \begin_inset CommandInset ref
14666 reference "chap:関数一覧"
14671 節参照).特定のオプションをとるパッケージを要求する場合,
14673 \begin_inset Flex Code
14676 \begin_layout Plain Layout
14682 を汎用テキストクラスパラメータとして追加して使うことができます(
14683 \begin_inset CommandInset ref
14685 reference "subsec:汎用テキストクラスパラメータ"
14693 \begin_layout Description
14694 \begin_inset Flex Code
14697 \begin_layout Plain Layout
14704 \begin_inset Flex Code
14707 \begin_layout Plain Layout
14716 \begin_inset Flex Code
14719 \begin_layout Plain Layout
14726 \begin_inset Flex Code
14729 \begin_layout Plain Layout
14735 タグで定義された)この様式の\SpecialChar LaTeX
14738 \begin_inset Flex Code
14741 \begin_layout Plain Layout
14748 その(必須及び非必須)引数は継承したくない場合に便利です.
14751 \begin_layout Description
14752 \begin_inset Flex Code
14755 \begin_layout Plain Layout
14762 \begin_inset Flex Code
14765 \begin_layout Plain Layout
14774 \begin_inset Flex Code
14777 \begin_layout Plain Layout
14783 ] レイアウトの新しい一群で通常リセットされるカウンタを元に戻します.これは,
14785 \begin_inset Flex Code
14788 \begin_layout Plain Layout
14795 \begin_inset Flex Code
14798 \begin_layout Plain Layout
14807 \begin_layout Description
14808 \begin_inset Flex Code
14811 \begin_layout Plain Layout
14818 \begin_inset Flex Code
14821 \begin_layout Plain Layout
14827 ] 様式の内容の最後に置かれる文字列.出力中の改行は
14828 \begin_inset Flex Code
14831 \begin_layout Plain Layout
14840 \begin_layout Description
14841 \begin_inset Flex Code
14844 \begin_layout Plain Layout
14851 \begin_inset Flex Code
14854 \begin_layout Plain Layout
14861 \begin_inset Flex Code
14864 \begin_layout Plain Layout
14873 \begin_layout Description
14874 \begin_inset Flex Code
14877 \begin_layout Plain Layout
14884 \begin_inset Flex Code
14887 \begin_layout Plain Layout
14897 \begin_inset Flex Code
14900 \begin_layout Plain Layout
14908 \begin_inset Flex Code
14911 \begin_layout Plain Layout
14919 \begin_inset Flex Code
14922 \begin_layout Plain Layout
14924 \begin_inset space ~
14940 これはレイアウト中の既定の行間をどうすべきか定義するものです.引数の
14941 \begin_inset Flex Code
14944 \begin_layout Plain Layout
14951 \begin_inset Flex Code
14954 \begin_layout Plain Layout
14961 \begin_inset Flex Code
14964 \begin_layout Plain Layout
14971 それぞれ乗数1・1.25・1.667に対応します.引数
14972 \begin_inset Flex Code
14975 \begin_layout Plain Layout
14982 実際の乗数値も引数として指定しなくてはなりません.他のパラメータと違って
14983 \begin_inset Flex Code
14986 \begin_layout Plain Layout
14995 \begin_inset Flex Code
14998 \begin_layout Plain Layout
15005 限定的な\SpecialChar LaTeX
15006 コードを生成することを意味することにご注意ください.
15009 \begin_layout Description
15010 \begin_inset Flex Code
15013 \begin_layout Plain Layout
15020 \begin_inset Flex Code
15023 \begin_layout Plain Layout
15030 \begin_inset space \thinspace{}
15034 \begin_inset Flex Code
15037 \begin_layout Plain Layout
15043 ] この様式の段落をスペルチェックするか否か.既定値は真です.
15046 \begin_layout Description
15047 \begin_inset Flex Code
15050 \begin_layout Plain Layout
15057 \begin_inset Flex Code
15060 \begin_layout Plain Layout
15069 \begin_inset Flex Code
15072 \begin_layout Plain Layout
15078 ] 新しいレイアウト群を開始する際に,
15079 このカウンタの親カウンタを進めるか否か.これは,
15082 \begin_inset Flex Code
15085 \begin_layout Plain Layout
15092 \begin_inset Flex Code
15095 \begin_layout Plain Layout
15104 \begin_layout Description
15105 \begin_inset Flex Code
15108 \begin_layout Plain Layout
15115 \begin_inset CommandInset ref
15117 reference "subsec:フォント指定"
15125 \begin_layout Description
15126 \begin_inset Flex Code
15129 \begin_layout Plain Layout
15136 \begin_inset Flex Code
15139 \begin_layout Plain Layout
15145 ] 目次中でのこの様式の階層.これは,
15149 \begin_layout Description
15150 \begin_inset Flex Code
15153 \begin_layout Plain Layout
15162 \begin_inset Flex Code
15165 \begin_layout Plain Layout
15175 \begin_inset Flex Code
15178 \begin_layout Plain Layout
15186 \begin_inset Flex Code
15189 \begin_layout Plain Layout
15197 段落設定ダイアログで切り替えられるかどうかを決めます.
15198 \begin_inset Flex Code
15201 \begin_layout Plain Layout
15208 文書設定が「行頭下げ」段落様式を使用しているときに,
15210 \begin_inset Flex Code
15213 \begin_layout Plain Layout
15220 文書設定にかかわらず変更することができ,
15222 \begin_inset Flex Code
15225 \begin_layout Plain Layout
15232 どのような場合でも変更することができません.
15235 \begin_layout Description
15236 \begin_inset Flex Code
15239 \begin_layout Plain Layout
15246 \begin_inset Flex Code
15249 \begin_layout Plain Layout
15255 ] このレイアウトを持つ一連の段落群の最初の段落と,
15256 その前の段落の間の垂直余白.前の段落が別のレイアウトを持っていれば,
15261 \begin_layout Subsection
15263 \begin_inset CommandInset label
15265 name "subsec:段落様式の国際化"
15272 \begin_layout Standard
15275 長きにわたってレイアウト情報の国際化をサポートしてきましたが,
15277 これは操作画面にのみ適用されるものであって,
15278 たとえばPDF出力には適用されませんでした.たとえば,
15285 醜いハックに頼るしかありませんでした.Georg Baumのおかげで,
15289 \begin_layout Standard
15291 \begin_inset Flex MenuItem
15294 \begin_layout Plain Layout
15301 組版文書に出力される文字列を定義するのであれば,
15302 非英語文書や複数言語文書をサポートするために,
15304 \begin_inset Flex MenuItem
15307 \begin_layout Plain Layout
15314 \begin_inset Flex MenuItem
15317 \begin_layout Plain Layout
15323 を使用することができます.以下の抜粋(
15324 \begin_inset Flex MenuItem
15327 \begin_layout Plain Layout
15337 \begin_layout LyX-Code
15342 \begin_layout LyX-Code
15345 theoremstyle{remark}
15348 \begin_layout LyX-Code
15351 newtheorem{claim}[thm]{
15358 \begin_layout LyX-Code
15362 \begin_layout LyX-Code
15366 \begin_layout LyX-Code
15371 claimname}{_(Claim)}
15374 \begin_layout LyX-Code
15378 \begin_layout LyX-Code
15382 \begin_layout LyX-Code
15391 claimname}{_(Claim)}}
15394 \begin_layout LyX-Code
15399 \begin_layout Standard
15402 \begin_inset Flex MenuItem
15405 \begin_layout Plain Layout
15412 \begin_inset Flex MenuItem
15415 \begin_layout Plain Layout
15422 有効な\SpecialChar LaTeX
15423 コードはすべて用いることができますが,
15425 ここで典型的に示したような形になるでしょう.組版文字列が正しく翻訳されるための鍵となるのは,
15428 \begin_inset Flex Code
15431 \begin_layout Plain Layout
15440 \begin_inset Flex Code
15443 \begin_layout Plain Layout
15454 \begin_layout Standard
15455 \begin_inset Flex Code
15458 \begin_layout Plain Layout
15465 文書全体の言語に基づいた国際化を提供します.タグの内容は,
15467 \begin_inset Flex Code
15470 \begin_layout Plain Layout
15480 \begin_inset Flex Code
15483 \begin_layout Plain Layout
15491 が\SpecialChar LaTeX
15493 その引数を文書言語に翻訳したもので置き換えられます.
15496 \begin_layout Standard
15497 \begin_inset Flex Code
15500 \begin_layout Plain Layout
15509 \begin_inset Flex Code
15512 \begin_layout Plain Layout
15518 パッケージへのインタフェースを提供することを意図しているので,
15520 文書に現れる言語それぞれについて一度,
15521 プリアンブルに追加されます.この場合には,
15523 \begin_inset Flex Code
15526 \begin_layout Plain Layout
15535 \begin_inset Flex Code
15538 \begin_layout Plain Layout
15544 は言語名(babelパッケージで使用されるもの)で置き換えられます.
15547 \begin_layout Standard
15549 フランス語のセクションを持つドイツ語文書では,
15550 以下のような内容がプリアンブルに追加されます
15553 \begin_layout LyX-Code
15562 claimname}{Affirmation}}
15563 \begin_inset Newline newline
15574 claimname}{Behauptung}}
15575 \begin_inset Newline newline
15582 claimname}{Behauptung}
15585 \begin_layout Standard
15589 \begin_inset Flex Code
15592 \begin_layout Plain Layout
15602 \begin_layout Standard
15603 ここで注意しておくべき一つの重要な点は,
15606 \begin_inset Flex Code
15609 \begin_layout Plain Layout
15617 自身によって提供されるということです.つまり,
15618 ユーザー作成のレイアウトファイルに入力された文字列は,
15620 \begin_inset Flex Code
15623 \begin_layout Plain Layout
15629 ファイルをそれに応じて変更しない限り,
15631 の国際化ルーチンでは取り扱われないので,
15633 \begin_inset Flex MenuItem
15636 \begin_layout Plain Layout
15643 \begin_inset Flex MenuItem
15646 \begin_layout Plain Layout
15655 とともに提供されるレイアウトファイルでのみ,
15656 使うことができるということを意味します.とはいえ,
15658 将来的に\SpecialChar LyX
15659 に同梱させようという意図を以て作成されたレイアウトは,
15661 これらのタグを使用するべきです.\SpecialChar LyX
15663 マイナー更新(例えば2.1.x版から2.1.y版)では変更されないことに注意してください.しかしながら,
15664 メジャー更新(例えば2.0.x版から2.1.y版)では,
15665 新しい翻訳や修正が導入される可能性は大いにあります.
15668 \begin_layout Subsection
15670 \begin_inset CommandInset label
15679 \begin_layout Standard
15683 \begin_inset Flex MenuItem
15686 \begin_layout Plain Layout
15693 \begin_inset Flex MenuItem
15696 \begin_layout Plain Layout
15702 ・\SpecialChar ldots
15704 かつ必要となりました.標準的なフロートは
15705 \begin_inset Flex Code
15708 \begin_layout Plain Layout
15718 \begin_layout LyX-Code
15719 Input stdfloats.inc
15722 \begin_layout Standard
15723 と加えるだけで済むことも多いでしょう.\SpecialChar LyX
15724 に同梱されているAGUクラスのように,
15725 それ以外のフロート型を提供するテキストクラスを実装するには,
15729 \begin_layout Description
15730 \begin_inset Flex Code
15733 \begin_layout Plain Layout
15740 \begin_inset Flex Code
15743 \begin_layout Plain Layout
15749 =!htbpH] このフロート型に許可された配置用の選択肢.値は,
15750 配置文字からなる文字列です.使用できる文字には,
15756 \begin_inset Quotes eld
15761 \begin_inset Quotes erd
15770 \begin_inset Quotes eld
15775 \begin_inset Quotes erd
15783 \begin_inset Quotes eld
15788 \begin_inset Quotes erd
15796 \begin_inset Quotes eld
15801 \begin_inset Quotes erd
15809 \begin_inset Quotes eld
15814 \begin_inset Quotes erd
15823 \begin_inset Quotes eld
15826 ignore LaTeX rules:
15828 \begin_inset Quotes erd
15831 )があります.文字列中の文字の順序は関係ありません.配置の選択肢を与えない場合には,
15839 \begin_layout Description
15840 \begin_inset Flex Code
15843 \begin_layout Plain Layout
15850 \begin_inset Flex Code
15853 \begin_layout Plain Layout
15860 \begin_inset space \thinspace{}
15866 \begin_inset Flex Code
15869 \begin_layout Plain Layout
15883 (横向きフロート)を使って回転させることを許可するか否かを指定.フロートにこの機能をサポートさせないときには,
15885 \begin_inset Flex Code
15888 \begin_layout Plain Layout
15897 \begin_layout Description
15898 \begin_inset Flex Code
15901 \begin_layout Plain Layout
15908 \begin_inset Flex Code
15911 \begin_layout Plain Layout
15918 \begin_inset space \thinspace{}
15924 \begin_inset Flex Code
15927 \begin_layout Plain Layout
15937 星付き版があるか否かを定義.フロートにこの機能をサポートさせないときには,
15939 \begin_inset Flex Code
15942 \begin_layout Plain Layout
15951 \begin_layout Description
15952 \begin_inset Flex Code
15955 \begin_layout Plain Layout
15962 \begin_inset Flex Code
15965 \begin_layout Plain Layout
15972 \begin_inset Quotes erd
15976 \begin_inset Quotes erd
15979 ] 図などのリストを含む外部ファイルのファイル拡張子名.\SpecialChar LaTeX
15980 がキャプションを書き込むファイルです.
15983 \begin_layout Description
15984 \begin_inset Flex Code
15987 \begin_layout Plain Layout
15994 \begin_inset Flex Code
15997 \begin_layout Plain Layout
16004 \begin_inset Quotes erd
16008 \begin_inset Quotes erd
16011 ] メニューとキャプションに使用される文字列.babelが使用される場合には,
16015 \begin_layout Description
16016 \begin_inset Flex Code
16019 \begin_layout Plain Layout
16027 \begin_inset CommandInset ref
16029 reference "sec:XHTML出力のタグ"
16037 \begin_layout Description
16038 \begin_inset Flex Code
16041 \begin_layout Plain Layout
16048 \begin_inset Flex Code
16051 \begin_layout Plain Layout
16060 \begin_inset space \thinspace{}
16064 \begin_inset Flex Code
16067 \begin_layout Plain Layout
16073 ] フロートがドキュメントクラス中に既に定義されているのか,
16074 あるいは\SpecialChar LaTeX
16076 \begin_inset Flex Code
16079 \begin_layout Plain Layout
16087 オン・ザ・フライで定義するかを示します.既定は
16088 \begin_inset Flex Code
16091 \begin_layout Plain Layout
16099 \begin_inset Flex Code
16102 \begin_layout Plain Layout
16108 を使用します.\SpecialChar LaTeX
16109 ドキュメントクラス中に既に定義されているときには,
16111 \begin_inset Flex Code
16114 \begin_layout Plain Layout
16123 \begin_layout Description
16124 \begin_inset Flex Code
16127 \begin_layout Plain Layout
16134 \begin_inset Flex Code
16137 \begin_layout Plain Layout
16144 \begin_inset Quotes erd
16148 \begin_inset Quotes erd
16151 ] この型のフロートの一覧を生成するのに使用するコマンド.頭部の「
16154 \begin_inset Flex Code
16157 \begin_layout Plain Layout
16164 このコマンドを生成する標準的な方法はないので,
16170 \begin_inset Flex Code
16173 \begin_layout Plain Layout
16184 \begin_layout Description
16185 \begin_inset Flex Code
16188 \begin_layout Plain Layout
16195 \begin_inset Flex Code
16198 \begin_layout Plain Layout
16205 \begin_inset Quotes erd
16209 \begin_inset Quotes erd
16212 ] この種類のフロート一覧(図一覧・表一覧など)に使用される見出し.\SpecialChar LyX
16214 これは画面上のラベルとして使用されます.また,
16218 XHTML出力でも見出しとして使用されます.これは,
16222 \begin_layout Description
16223 \begin_inset Flex Code
16226 \begin_layout Plain Layout
16233 \begin_inset Flex Code
16236 \begin_layout Plain Layout
16243 \begin_inset Quotes erd
16247 \begin_inset Quotes erd
16251 このクラスのフロートが文書中のある節単位ごとに番号を振り直されるべきかどうかを規定します.例えば,
16253 \begin_inset Flex Code
16256 \begin_layout Plain Layout
16263 \begin_inset Flex Code
16266 \begin_layout Plain Layout
16273 フロートは章ごとに番号が振り直されます.
16276 \begin_layout Description
16277 \begin_inset Flex Code
16280 \begin_layout Plain Layout
16287 \begin_inset Flex Code
16290 \begin_layout Plain Layout
16297 \begin_inset Quotes erd
16301 \begin_inset Quotes erd
16304 ] このクラスのフロートの既定の配置法.文字列は,
16305 標準的な\SpecialChar LaTeX
16308 \begin_inset Flex Code
16311 \begin_layout Plain Layout
16319 \begin_inset Flex Code
16322 \begin_layout Plain Layout
16330 \begin_inset Flex Code
16333 \begin_layout Plain Layout
16341 \begin_inset Flex Code
16344 \begin_layout Plain Layout
16354 \begin_layout Plain Layout
16357 文字列中でのこれらの文字の順序は関係ありません.
16363 \begin_inset Flex Code
16366 \begin_layout Plain Layout
16373 これはフロートを「ここ」に置いていいけれども他の場所はだめ,
16375 本当はフロートにあるものではありません.しかし,
16377 \begin_inset Flex Code
16380 \begin_layout Plain Layout
16388 組み込み以外のフロート型では使用することができません.これが何を意味するかおわかりにならない場合には,
16390 \begin_inset Flex Code
16393 \begin_layout Plain Layout
16402 \begin_layout Description
16403 \begin_inset Flex Code
16406 \begin_layout Plain Layout
16413 \begin_inset Flex Code
16416 \begin_layout Plain Layout
16423 生成されるラベルに使用する前置句.これによって,
16424 整形参照を使用することができるようになります.コピーした様式が設定した
16425 \begin_inset Flex Code
16428 \begin_layout Plain Layout
16435 特別な文字列「OFF」(すべて大文字)を使えば,
16439 \begin_layout Description
16440 \begin_inset Flex Code
16443 \begin_layout Plain Layout
16450 \begin_inset Flex Code
16453 \begin_layout Plain Layout
16460 \begin_inset CommandInset ref
16462 reference "subsec:段落様式"
16473 \begin_layout Description
16474 \begin_inset Flex Code
16477 \begin_layout Plain Layout
16484 \begin_inset Flex Code
16487 \begin_layout Plain Layout
16494 \begin_inset Quotes erd
16498 \begin_inset Quotes erd
16502 \begin_inset Flex Code
16505 \begin_layout Plain Layout
16513 を使用してフロートを定義する際に使用される様式.
16516 \begin_layout Description
16517 \begin_inset Flex Code
16520 \begin_layout Plain Layout
16527 \begin_inset Flex Code
16530 \begin_layout Plain Layout
16537 \begin_inset Quotes erd
16541 \begin_inset Quotes erd
16544 ] プログラムやアルゴリズムのような,
16546 \begin_inset Flex Code
16549 \begin_layout Plain Layout
16559 \begin_inset Flex Code
16562 \begin_layout Plain Layout
16571 \begin_inset Flex Code
16574 \begin_layout Plain Layout
16585 \begin_layout Description
16586 \begin_inset Flex Code
16589 \begin_layout Plain Layout
16596 \begin_inset Flex Code
16599 \begin_layout Plain Layout
16606 \begin_inset space \thinspace{}
16610 \begin_inset Flex Code
16613 \begin_layout Plain Layout
16625 \begin_inset Flex Code
16628 \begin_layout Plain Layout
16634 が提供しているものを使用して定義されているのか,
16636 自身がオン・ザ・フライで定義しているのかを示します.
16639 \begin_layout Standard
16640 \begin_inset Flex Code
16643 \begin_layout Plain Layout
16657 \begin_inset Flex Code
16660 \begin_layout Plain Layout
16671 \begin_layout Subsection
16673 \begin_inset CommandInset label
16675 name "subsec:任意設定差込枠"
16682 \begin_layout Standard
16686 \begin_layout Itemize
16688 \begin_inset Flex Code
16691 \begin_layout Plain Layout
16699 \begin_inset Flex Code
16702 \begin_layout Plain Layout
16711 \begin_inset Flex Code
16714 \begin_layout Plain Layout
16722 などの\SpecialChar LaTeX
16723 コマンドに対応した意味論的マークアップを定義するものです.
16726 \begin_layout Itemize
16728 \begin_inset Flex Code
16731 \begin_layout Plain Layout
16739 コードや脚註などに似たユーザ設定の折りたたみ式差込枠を定義するのに使用することができます.わかりやすい例はendnote差込枠で,
16741 \begin_inset Flex Code
16744 \begin_layout Plain Layout
16753 \begin_layout Standard
16756 \begin_inset Flex Code
16759 \begin_layout Plain Layout
16768 \begin_layout Standard
16769 \begin_inset Flex Code
16772 \begin_layout Plain Layout
16779 もう一つ別の機能も提供します.これを使えば,
16780 いろいろな種類の差込枠全体のレイアウトを設定するのに使用することができるのです.現在のところ,
16782 \begin_inset Flex Code
16785 \begin_layout Plain Layout
16792 脚註・傍註・註釈差込枠・\SpecialChar TeX
16793 コード(ERT)差込枠・派生枝・リスト・索引・ボックス・表・アルゴリズム・URL・キャプションをユーザー定義するのに使用されます.
16796 \begin_layout Standard
16797 \begin_inset Flex Code
16800 \begin_layout Plain Layout
16806 定義は以下の形の行では始まらなくてはなりません.
16809 \begin_layout LyX-Code
16813 \begin_layout Standard
16815 \begin_inset Flex Code
16818 \begin_layout Plain Layout
16825 レイアウトを定義しようとしている差込枠を指し,
16829 \begin_layout Enumerate
16830 既存の差込枠のレイアウトを変更する場合.この場合,
16832 \begin_inset Flex Code
16835 \begin_layout Plain Layout
16843 \begin_inset Flex Code
16846 \begin_layout Plain Layout
16853 \begin_inset Flex Code
16856 \begin_layout Plain Layout
16863 \begin_inset Flex Code
16866 \begin_layout Plain Layout
16873 \begin_inset Flex Code
16876 \begin_layout Plain Layout
16883 \begin_inset Flex Code
16886 \begin_layout Plain Layout
16893 \begin_inset Flex Code
16896 \begin_layout Plain Layout
16903 \begin_inset Flex Code
16906 \begin_layout Plain Layout
16913 \begin_inset Flex Code
16916 \begin_layout Plain Layout
16923 \begin_inset Flex Code
16926 \begin_layout Plain Layout
16933 \begin_inset Flex Code
16936 \begin_layout Plain Layout
16943 \begin_inset Flex Code
16946 \begin_layout Plain Layout
16953 \begin_inset Flex Code
16956 \begin_layout Plain Layout
16963 \begin_inset Flex Code
16966 \begin_layout Plain Layout
16973 \begin_inset Flex Code
16976 \begin_layout Plain Layout
16983 \begin_inset Flex Code
16986 \begin_layout Plain Layout
16993 \begin_inset Flex Code
16996 \begin_layout Plain Layout
17003 \begin_inset Flex Code
17006 \begin_layout Plain Layout
17013 \begin_inset Flex Code
17016 \begin_layout Plain Layout
17023 \begin_inset Flex Code
17026 \begin_layout Plain Layout
17033 \begin_inset Flex Code
17036 \begin_layout Plain Layout
17045 \begin_layout Enumerate
17046 自由差込枠のレイアウトを定義する場合.この場合,
17048 \begin_inset Flex Code
17051 \begin_layout Plain Layout
17058 \begin_inset Flex Code
17061 \begin_layout Plain Layout
17069 \begin_inset Flex Code
17072 \begin_layout Plain Layout
17079 既存の自由差込枠で使用されていない有効な識別子であれば,
17080 何でも構いません.識別子には空白を入れることもできますが,
17081 この場合には全体を引用符で囲まなくてはなりません.自由差込枠の定義には,
17082 この定義がどの差込枠型なのか宣言するために,
17084 \begin_inset Flex Code
17087 \begin_layout Plain Layout
17093 項目が含まれていなくてはならないことに注意してください.
17096 \begin_layout Enumerate
17097 ユーザー定義派生枝を定義する場合.この場合,
17099 \begin_inset Flex Code
17102 \begin_layout Plain Layout
17109 \begin_inset Flex Code
17112 \begin_layout Plain Layout
17120 \begin_inset Flex Code
17123 \begin_layout Plain Layout
17130 ユーザーの文書で定義されている有効な派生枝名です.派生枝名には空白を入れても構いませんが,
17131 その場合は派生枝全体を引用符で囲まなくてはなりません.この機能の主な目的は,
17133 特定の派生枝を\SpecialChar LaTeX
17134 がくるむことができるようにすることです.
17137 \begin_layout Enumerate
17138 ユーザー(またはクラス)定義のキャプションを定義する場合.この場合,
17140 \begin_inset Flex Code
17143 \begin_layout Plain Layout
17150 \begin_inset Flex Code
17153 \begin_layout Plain Layout
17161 \begin_inset Flex Code
17164 \begin_layout Plain Layout
17171 メニューに表示されるキャプション名です.応用例については,
17173 \begin_inset Flex Code
17176 \begin_layout Plain Layout
17183 若しくはKOMA-Scriptクラスのクラス定義キャプション(
17184 \begin_inset Flex Code
17187 \begin_layout Plain Layout
17195 \begin_inset Flex Code
17198 \begin_layout Plain Layout
17210 \begin_inset Flex Code
17213 \begin_layout Plain Layout
17214 Caption:\SpecialChar allowbreak
17223 \begin_layout Standard
17224 \begin_inset Flex Code
17227 \begin_layout Plain Layout
17233 定義には以下の項目を入れることができます.
17236 \begin_layout Description
17237 \begin_inset Flex Code
17240 \begin_layout Plain Layout
17247 \begin_inset Flex Code
17250 \begin_layout Plain Layout
17257 この型の一覧表に表示されます.空の文字列を入れると無効になります.OutlinerNameコマンドとIsTocCaptionコマンドも参照してください.これは,
17258 自由差込枠にのみ実装されています.既定値:
17262 \begin_layout Description
17263 \begin_inset Flex Code
17266 \begin_layout Plain Layout
17273 \begin_inset Flex Code
17276 \begin_layout Plain Layout
17282 ] 現在のレイアウトに関連付けられたコマンドまたは環境の引数番号を定義します.定義は
17283 \begin_inset Flex Code
17286 \begin_layout Plain Layout
17293 \begin_inset CommandInset ref
17295 reference "subsec:引数"
17306 \begin_layout Description
17307 \begin_inset Flex Code
17310 \begin_layout Plain Layout
17316 言語コマンドを変更するプリアンブル.第
17317 \begin_inset CommandInset ref
17319 reference "subsec:段落様式の国際化"
17327 \begin_layout Description
17328 \begin_inset Flex Code
17331 \begin_layout Plain Layout
17338 \begin_inset Flex Code
17341 \begin_layout Plain Layout
17347 ] 差込枠の背景色.使用できる色名一覧は第
17348 \begin_inset CommandInset ref
17350 reference "chap:色名"
17358 \begin_layout Description
17359 \begin_inset Flex Code
17362 \begin_layout Plain Layout
17369 \begin_inset Flex Code
17372 \begin_layout Plain Layout
17381 \begin_inset space \thinspace{}
17385 \begin_inset Flex Code
17388 \begin_layout Plain Layout
17395 差込枠の内容をラベルとして使用するか否か.既定値は偽です.
17398 \begin_layout Description
17399 \begin_inset Flex Code
17402 \begin_layout Plain Layout
17409 \begin_inset CommandInset ref
17411 reference "subsec:段落様式"
17416 節参照のこと.完全な型を指定する必要があることに注意してください.例:
17417 \begin_inset Flex Code
17420 \begin_layout Plain Layout
17421 CopyStyle Flex:<名称>
17429 \begin_layout Description
17430 \begin_inset Flex Code
17433 \begin_layout Plain Layout
17440 \begin_inset Flex Code
17443 \begin_layout Plain Layout
17452 \begin_inset space \thinspace{}
17456 \begin_inset Flex Code
17459 \begin_layout Plain Layout
17466 段落設定ダイアログをユーザが使えるかどうかを指定します.
17469 \begin_layout Description
17470 \begin_inset Flex Code
17473 \begin_layout Plain Layout
17479 差込枠の枠とボタンをレンダリングするのに使用する様式を指定するもので,
17481 \begin_inset Flex Code
17484 \begin_layout Plain Layout
17491 \begin_inset Flex Code
17494 \begin_layout Plain Layout
17501 \begin_inset Flex Code
17504 \begin_layout Plain Layout
17510 のいずれかを指定することができます.脚註は通常
17511 \begin_inset Flex Code
17514 \begin_layout Plain Layout
17523 \begin_inset Flex Code
17526 \begin_layout Plain Layout
17534 \begin_inset Flex Code
17537 \begin_layout Plain Layout
17546 \begin_layout Description
17547 \begin_inset Flex Code
17550 \begin_layout Plain Layout
17557 \begin_inset Flex Code
17560 \begin_layout Plain Layout
17567 \begin_inset space \thinspace{}
17571 \begin_inset Flex Code
17574 \begin_layout Plain Layout
17583 \begin_inset Flex Code
17586 \begin_layout Plain Layout
17593 \begin_inset Flex Code
17596 \begin_layout Plain Layout
17604 周囲のテキストとインラインで出力させるかを示します.偽にすると,
17608 \begin_inset Flex Code
17611 \begin_layout Plain Layout
17620 \begin_inset Flex Code
17623 \begin_layout Plain Layout
17631 タグの後の空白(改行文字を含む)を無視するものと仮定します.
17634 \begin_layout Description
17635 \begin_inset Flex Code
17638 \begin_layout Plain Layout
17645 \begin_inset Flex Code
17648 \begin_layout Plain Layout
17657 \begin_inset space \thinspace{}
17661 \begin_inset Flex Code
17664 \begin_layout Plain Layout
17670 ] 差込枠の内容を外部で編集できるか否か(文書の出力形式に定義されている編集ソフトウェアを使用).
17673 \begin_layout Description
17674 \begin_inset Flex Code
17677 \begin_layout Plain Layout
17684 \begin_inset Flex Code
17687 \begin_layout Plain Layout
17696 \begin_layout Description
17697 \begin_inset Flex Code
17700 \begin_layout Plain Layout
17711 \begin_inset CommandInset ref
17713 reference "subsec:フォント指定"
17718 節を参照.このフォントを定義すると自動的に
17719 \begin_inset Flex Code
17722 \begin_layout Plain Layout
17731 \begin_inset Flex Code
17734 \begin_layout Plain Layout
17740 を定義しなくてはならないことに注意してください.
17743 \begin_layout Description
17744 \begin_inset Flex Code
17747 \begin_layout Plain Layout
17748 FixedWidthPreambleEncoding
17754 \begin_inset Flex Code
17757 \begin_layout Plain Layout
17766 \begin_inset space \thinspace{}
17770 \begin_inset Flex Code
17773 \begin_layout Plain Layout
17780 \begin_inset Flex Code
17783 \begin_layout Plain Layout
17790 \begin_inset Flex Code
17793 \begin_layout Plain Layout
17799 コードの訳出後の内容が固定幅エンコーディングを持つように強制するか否か.これは,
17809 などの可変幅エンコーディングでは機能しない特殊な\SpecialChar LaTeX
17810 パッケージのために必要です.この設定は,
17812 やLua\SpecialChar TeX
17813 のようなUnicodeを完全に解する\SpecialChar LaTeX
17818 \begin_layout Description
17819 \begin_inset Flex Code
17822 \begin_layout Plain Layout
17823 ForceLocalFontSwitch
17829 \begin_inset Flex Code
17832 \begin_layout Plain Layout
17841 \begin_inset space \thinspace{}
17845 \begin_inset Flex Code
17848 \begin_layout Plain Layout
17856 \begin_inset Flex Code
17859 \begin_layout Plain Layout
17869 \begin_inset Flex Code
17872 \begin_layout Plain Layout
17883 \begin_layout Description
17884 \begin_inset Flex Code
17887 \begin_layout Plain Layout
17894 \begin_inset Flex Code
17897 \begin_layout Plain Layout
17906 \begin_inset space \thinspace{}
17910 \begin_inset Flex Code
17913 \begin_layout Plain Layout
17919 ] たとえば\SpecialChar TeX
17920 コードやURLで「latex」言語が「左から右」(ラテン式)出力になるように強制します.うまく機能しません.
17923 \begin_layout Description
17924 \begin_inset Flex Code
17927 \begin_layout Plain Layout
17934 \begin_inset Flex Code
17937 \begin_layout Plain Layout
17946 \begin_inset space \thinspace{}
17950 \begin_inset Flex Code
17953 \begin_layout Plain Layout
17959 ] \SpecialChar LaTeX
17961 この差込枠が開始する前と終了する後に,
17964 差込枠が単独行に出力されるように保証します.
17967 \begin_layout Description
17968 \begin_inset Flex Code
17971 \begin_layout Plain Layout
17978 \begin_inset Flex Code
17981 \begin_layout Plain Layout
17990 \begin_inset space \thinspace{}
17994 \begin_inset Flex Code
17997 \begin_layout Plain Layout
18003 ] PlainLayoutを使用するべきなのか,
18004 それともユーザが差込枠で使用されている段落様式を変更できるのかを指定します.既定値は偽です.
18007 \begin_layout Description
18008 \begin_inset Flex Code
18011 \begin_layout Plain Layout
18020 \begin_inset Flex Code
18023 \begin_layout Plain Layout
18032 \begin_inset space \thinspace{}
18036 \begin_inset Flex Code
18039 \begin_layout Plain Layout
18046 \begin_inset CommandInset ref
18048 reference "subsec:段落様式"
18056 \begin_layout Description
18057 \begin_inset Flex Code
18060 \begin_layout Plain Layout
18068 \begin_inset CommandInset ref
18070 reference "sec:XHTML出力のタグ"
18078 \begin_layout Description
18079 \begin_inset Flex Code
18082 \begin_layout Plain Layout
18089 \begin_inset Flex Code
18092 \begin_layout Plain Layout
18101 \begin_inset space \thinspace{}
18105 \begin_inset Flex Code
18108 \begin_layout Plain Layout
18114 ] AddToTocの設定に関わらず,
18115 「文書構造」面用に出力される文字列に,
18116 この差込枠の内容を含めるかどうか.たとえば,
18118 文書構造の目次に表示されることは望まないでしょうが,
18120 文字様式の内容は表示されることを望むでしょう.既定値は偽,
18124 \begin_layout Description
18125 \begin_inset Flex Code
18128 \begin_layout Plain Layout
18135 \begin_inset Flex Code
18138 \begin_layout Plain Layout
18147 \begin_inset space \thinspace{}
18151 \begin_inset Flex Code
18154 \begin_layout Plain Layout
18167 \begin_layout Description
18168 \begin_inset Flex Code
18171 \begin_layout Plain Layout
18180 \begin_inset Flex Code
18183 \begin_layout Plain Layout
18192 \begin_inset space \thinspace{}
18196 \begin_inset Flex Code
18199 \begin_layout Plain Layout
18206 \begin_inset CommandInset ref
18208 reference "subsec:段落様式"
18216 \begin_layout Description
18217 \begin_inset Flex Code
18220 \begin_layout Plain Layout
18227 \begin_inset CommandInset ref
18229 reference "subsec:フォント指定"
18236 \begin_inset Flex Code
18239 \begin_layout Plain Layout
18248 \begin_layout Description
18249 \begin_inset Flex Code
18252 \begin_layout Plain Layout
18259 \begin_inset Flex Code
18262 \begin_layout Plain Layout
18269 \begin_inset Quotes erd
18273 \begin_inset Quotes erd
18280 ボタンなどに差込枠のラベルとして表示されるもの.差込枠型によっては(\SpecialChar TeX
18285 \begin_layout Description
18286 \begin_inset Flex Code
18289 \begin_layout Plain Layout
18296 \begin_inset CommandInset ref
18298 reference "subsec:段落様式の国際化"
18306 \begin_layout Description
18307 \begin_inset Flex Code
18310 \begin_layout Plain Layout
18317 \begin_inset Flex Code
18320 \begin_layout Plain Layout
18326 ] 対応する\SpecialChar LaTeX
18327 関連物の名称.環境名ないしはコマンド名.
18330 \begin_layout Description
18331 \begin_inset Flex Code
18334 \begin_layout Plain Layout
18341 \begin_inset Flex Code
18344 \begin_layout Plain Layout
18355 \begin_inset Flex Code
18358 \begin_layout Plain Layout
18365 \begin_inset Flex Code
18368 \begin_layout Plain Layout
18374 のような括弧対を含む.このパラメータは\SpecialChar LyX
18375 内部から変更することはできません(変更可能なパラメータには
18376 \begin_inset Flex Code
18379 \begin_layout Plain Layout
18386 全ての\SpecialChar LaTeX
18388 \begin_inset Flex Code
18391 \begin_layout Plain Layout
18400 \begin_layout Description
18401 \begin_inset Flex Code
18404 \begin_layout Plain Layout
18411 \begin_inset Flex Code
18414 \begin_layout Plain Layout
18422 ] 様式がどのように\SpecialChar LaTeX
18427 \begin_layout Plain Layout
18428 これらのルールはSGMLクラスにも適用されるので,
18430 \begin_inset Flex Code
18433 \begin_layout Plain Layout
18440 少しミスリーディングかもしれません.特定の例については,
18441 SGMLクラスファイルを見てください.
18450 \begin_layout Description
18451 \begin_inset Flex Code
18454 \begin_layout Plain Layout
18464 \begin_layout Description
18465 \begin_inset Flex Code
18468 \begin_layout Plain Layout
18476 \begin_inset Flex Code
18479 \begin_layout Plain Layout
18486 {\SpecialChar ldots
18495 \begin_layout Description
18496 \begin_inset Flex Code
18499 \begin_layout Plain Layout
18507 \begin_inset Flex Code
18510 \begin_layout Plain Layout
18517 }\SpecialChar ldots
18532 \begin_layout Standard
18540 \begin_layout LyX-Code
18543 LatexName[LatexParam]{\SpecialChar ldots
18547 \begin_layout Standard
18552 \begin_layout LyX-Code
18555 begin{LatexName}[LatexParam] \SpecialChar ldots
18561 \begin_layout Standard
18566 \begin_layout Description
18567 \begin_inset Flex Code
18570 \begin_layout Plain Layout
18577 \begin_inset Flex Code
18580 \begin_layout Plain Layout
18586 ] 様式の内容の最初に置かれる文字列.出力中の改行は
18587 \begin_inset Flex Code
18590 \begin_layout Plain Layout
18599 \begin_layout Description
18600 \begin_inset Flex Code
18603 \begin_layout Plain Layout
18610 \begin_inset Flex Code
18613 \begin_layout Plain Layout
18620 \begin_inset Flex Code
18623 \begin_layout Plain Layout
18630 \begin_inset Flex Code
18633 \begin_layout Plain Layout
18639 (charstyleの定義の終わりなどを示すダミー定義)の各値を取ることができます.この項目は,
18641 かつ自由差込枠でしか意味を持ちません.この項目は,
18643 差込枠がどのメニューに表示されるかを決定します.
18644 \begin_inset Flex Code
18647 \begin_layout Plain Layout
18654 \begin_inset Flex Code
18657 \begin_layout Plain Layout
18665 \begin_inset Flex Code
18668 \begin_layout Plain Layout
18676 \begin_inset Flex Code
18679 \begin_layout Plain Layout
18686 \begin_inset Flex Code
18689 \begin_layout Plain Layout
18696 \begin_inset Flex Code
18699 \begin_layout Plain Layout
18707 \begin_inset Flex Code
18710 \begin_layout Plain Layout
18718 \begin_inset Flex Code
18721 \begin_layout Plain Layout
18728 \begin_inset Flex 圏点
18731 \begin_layout Plain Layout
18740 \begin_layout Description
18741 \begin_inset Flex Code
18744 \begin_layout Plain Layout
18751 \begin_inset Flex Code
18754 \begin_layout Plain Layout
18760 メニュー用の文字列.この文字列に特定の文字を「|」で区切って追加することでアクセラレーターを定義することができます(例:
18762 \begin_inset Flex Code
18765 \begin_layout Plain Layout
18771 ).この指定は必須ではありません.指定がない場合には,
18776 \begin_layout Description
18777 \begin_inset Flex Code
18780 \begin_layout Plain Layout
18787 \begin_inset Flex Code
18790 \begin_layout Plain Layout
18799 \begin_inset space \thinspace{}
18803 \begin_inset Flex Code
18806 \begin_layout Plain Layout
18812 ] この差込枠中に複数の段落を入れることができるかどうか.これは同時に,
18814 \begin_inset Flex Code
18817 \begin_layout Plain Layout
18825 \begin_inset Flex Code
18828 \begin_layout Plain Layout
18836 \begin_inset Flex Code
18839 \begin_layout Plain Layout
18850 他の値に指定し直すことができます.既定値は真です.
18853 \begin_layout Description
18854 \begin_inset Flex Code
18857 \begin_layout Plain Layout
18864 \begin_inset Flex Code
18867 \begin_layout Plain Layout
18876 \begin_inset space \thinspace{}
18880 \begin_inset Flex Code
18883 \begin_layout Plain Layout
18890 \begin_inset Flex Code
18893 \begin_layout Plain Layout
18902 当該コマンド自身をprotectするかどうかでは
18909 \begin_layout Description
18910 \begin_inset Flex Code
18913 \begin_layout Plain Layout
18920 \begin_inset Flex Code
18923 \begin_layout Plain Layout
18932 \begin_inset space \thinspace{}
18936 \begin_inset Flex Code
18939 \begin_layout Plain Layout
18947 \begin_inset Flex Code
18950 \begin_layout Plain Layout
18963 パッケージ)を用いて保護するようにし,
18964 マクロ中でverbatimを使えるようにします.既定値は偽です.
18967 \begin_layout Description
18968 \begin_inset Flex Code
18971 \begin_layout Plain Layout
18978 \begin_inset Flex Code
18981 \begin_layout Plain Layout
18990 \begin_inset space \thinspace{}
18994 \begin_inset Flex Code
18997 \begin_layout Plain Layout
19004 \begin_inset Flex Code
19007 \begin_layout Plain Layout
19016 \begin_inset Flex Code
19019 \begin_layout Plain Layout
19028 \begin_inset Flex Code
19031 \begin_layout Plain Layout
19048 コマンドに頼る様式でとくに必要になります.既定値は偽です.
19051 \begin_layout Description
19052 \begin_inset Flex Code
19055 \begin_layout Plain Layout
19062 \begin_inset Flex Code
19065 \begin_layout Plain Layout
19072 \begin_inset Flex Code
19075 \begin_layout Plain Layout
19085 以外に)定義するオプションです.初期値のバックスラッシュは指定できません.
19088 \begin_layout Description
19089 \begin_inset Flex Code
19092 \begin_layout Plain Layout
19099 \begin_inset Flex Code
19102 \begin_layout Plain Layout
19109 \begin_inset Flex Code
19112 \begin_layout Plain Layout
19121 \begin_layout Description
19122 \begin_inset Flex Code
19125 \begin_layout Plain Layout
19132 \begin_inset Flex Code
19135 \begin_layout Plain Layout
19142 \begin_inset Flex Code
19145 \begin_layout Plain Layout
19152 \begin_inset Flex Code
19155 \begin_layout Plain Layout
19163 \begin_inset Flex Code
19166 \begin_layout Plain Layout
19173 後方互換性を維持しながら行うために用いられます.
19176 \begin_layout Description
19177 \begin_inset Flex Code
19180 \begin_layout Plain Layout
19187 \begin_inset Flex Code
19190 \begin_layout Plain Layout
19199 \begin_inset space \thinspace{}
19203 \begin_inset Flex Code
19206 \begin_layout Plain Layout
19213 \begin_inset Flex Code
19216 \begin_layout Plain Layout
19223 段落の改行は出力では無視されます.これは,
19224 内容が\SpecialChar LyX
19226 出力に影響を与えない差込枠において有用です.
19229 \begin_layout Description
19230 \begin_inset Flex Code
19233 \begin_layout Plain Layout
19240 \begin_inset Flex Code
19243 \begin_layout Plain Layout
19252 \begin_inset space \thinspace{}
19256 \begin_inset Flex Code
19259 \begin_layout Plain Layout
19266 \begin_inset CommandInset ref
19268 reference "subsec:段落様式"
19276 \begin_layout Description
19277 \begin_inset Flex Code
19280 \begin_layout Plain Layout
19289 \begin_inset Flex Code
19292 \begin_layout Plain Layout
19301 \begin_inset space \thinspace{}
19305 \begin_inset Flex Code
19308 \begin_layout Plain Layout
19315 \begin_inset CommandInset ref
19317 reference "subsec:段落様式"
19325 \begin_layout Description
19326 \begin_inset Flex Code
19329 \begin_layout Plain Layout
19336 \begin_inset CommandInset ref
19338 reference "subsec:段落様式"
19346 \begin_layout Description
19347 \begin_inset Flex Code
19350 \begin_layout Plain Layout
19357 \begin_inset Flex Code
19360 \begin_layout Plain Layout
19367 生成されるラベルに使用する前置句.これによって,
19368 整形参照を使用することができるようになります.
19371 \begin_layout Description
19372 \begin_inset Flex Code
19375 \begin_layout Plain Layout
19382 \begin_inset Flex Code
19385 \begin_layout Plain Layout
19392 \begin_inset CommandInset ref
19394 reference "subsec:段落様式"
19402 \begin_layout Description
19403 \begin_inset Flex Code
19406 \begin_layout Plain Layout
19413 \begin_inset Flex Code
19416 \begin_layout Plain Layout
19425 \begin_inset space \thinspace{}
19429 \begin_inset Flex Code
19432 \begin_layout Plain Layout
19439 \begin_inset Flex Code
19442 \begin_layout Plain Layout
19448 タグで定義された)この様式の\SpecialChar LaTeX
19451 \begin_inset Flex Code
19454 \begin_layout Plain Layout
19461 その(必須及び非必須)引数は継承したくない場合に便利です.
19464 \begin_layout Description
19465 \begin_inset Flex Code
19468 \begin_layout Plain Layout
19475 \begin_inset Flex Code
19478 \begin_layout Plain Layout
19485 \begin_inset space \thinspace{}
19489 \begin_inset Flex Code
19492 \begin_layout Plain Layout
19501 \begin_inset Flex Code
19504 \begin_layout Plain Layout
19513 差込枠がフォント変更指定の中にあるとき,
19514 各差込枠の内部で再度フォント変更指定が為されます(たとえば
19515 \begin_inset Flex Code
19518 \begin_layout Plain Layout
19523 myinset{中身}\SpecialChar ldots
19530 \begin_inset Flex Code
19533 \begin_layout Plain Layout
19540 textbf{中身}}\SpecialChar ldots
19546 ).(脚註のような)内部的にフォント設定をリセットするコマンドで意味を持ちます.これを誤って設定してしまうと,
19547 望まない結果を生むことがあります(例:
19549 \begin_inset Flex Code
19552 \begin_layout Plain Layout
19559 emph{中身t}}\SpecialChar ldots
19566 \begin_inset Flex Code
19569 \begin_layout Plain Layout
19578 中身がアップライト体になります).既定値は
19579 \begin_inset Flex Code
19582 \begin_layout Plain Layout
19589 フォント変更は差込枠内部で繰り返されません.
19592 \begin_layout Description
19593 \begin_inset Flex Code
19596 \begin_layout Plain Layout
19603 \begin_inset Flex Code
19606 \begin_layout Plain Layout
19612 ] 様式の内容の最後に置かれる文字列.出力中の改行は
19613 \begin_inset Flex Code
19616 \begin_layout Plain Layout
19625 \begin_layout Description
19626 \begin_inset Flex Code
19629 \begin_layout Plain Layout
19636 \begin_inset Flex Code
19639 \begin_layout Plain Layout
19646 \begin_inset space \thinspace{}
19650 \begin_inset Flex Code
19653 \begin_layout Plain Layout
19661 ] この差込枠の内容をスペルチェックするか否か.既定値は真です.
19664 \begin_layout Subsection
19666 \begin_inset CommandInset label
19675 \begin_layout Standard
19677 内容本体に加えて引数を取ることができます.これは,
19679 また\SpecialChar LaTeX
19680 でのみ意味を持ちます.コマンドまたは環境の引数は全て–段落の内容自身に関連付けられた必須引数を除き,
19684 \begin_inset Flex Code
19687 \begin_layout Plain Layout
19693 で閉じなくてはなりません.非必須引数が2つあるコマンドの場合は,
19697 \begin_layout Quote
19703 \begin_layout Quote
19709 \begin_layout Quote
19715 \begin_layout Quote
19721 \begin_layout Quote
19727 \begin_layout Quote
19733 \begin_layout Standard
19734 \begin_inset Flex Code
19737 \begin_layout Plain Layout
19747 \begin_layout Itemize
19748 \begin_inset Flex Code
19751 \begin_layout Plain Layout
19758 \begin_inset Flex Code
19761 \begin_layout Plain Layout
19767 この引数を挿入するメニューと引数差込枠ボタンに表示される文字列です(別に
19768 \begin_inset Flex Code
19771 \begin_layout Plain Layout
19777 を指定した場合を除く).メニューには,
19778 後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
19779 \begin_inset space \space{}
19783 \begin_inset Quotes eld
19787 \begin_inset Flex Code
19790 \begin_layout Plain Layout
19797 \begin_inset Quotes erd
19803 \begin_layout Itemize
19804 \begin_inset Flex Code
19807 \begin_layout Plain Layout
19814 \begin_inset Flex Code
19817 \begin_layout Plain Layout
19823 メニュー単独用の文字列.後ろに「|」で区切った文字を置くことでアクセラレーターを定義することができます(例:
19824 \begin_inset space \space{}
19828 \begin_inset Quotes eld
19832 \begin_inset Flex Code
19835 \begin_layout Plain Layout
19842 \begin_inset Quotes erd
19845 ).この指定は必須ではありません.指定しない場合には,
19847 \begin_inset Flex Code
19850 \begin_layout Plain Layout
19859 \begin_layout Itemize
19860 \begin_inset Flex Code
19863 \begin_layout Plain Layout
19870 \begin_inset Flex Code
19873 \begin_layout Plain Layout
19879 引数差込枠にマウスをかざしたときに現れるツールチップに表示される長めの説明文.
19882 \begin_layout Itemize
19883 \begin_inset Flex Code
19886 \begin_layout Plain Layout
19893 \begin_inset Flex Code
19896 \begin_layout Plain Layout
19905 \begin_inset space \thinspace{}
19909 \begin_inset Flex Code
19912 \begin_layout Plain Layout
19918 ] これが必須の引数なのか(1)非必須の引数なのか(0)を宣言します.必須引数は,
19919 与えられなければ空の出力を行いますが,
19920 非必須引数の場合はそもそも出力されません.既定では,
19922 \begin_inset Flex Code
19925 \begin_layout Plain Layout
19933 \begin_inset Flex Code
19936 \begin_layout Plain Layout
19945 \begin_layout Itemize
19946 \begin_inset Flex Code
19949 \begin_layout Plain Layout
19956 \begin_inset Flex Code
19959 \begin_layout Plain Layout
19966 \begin_inset Flex Code
19969 \begin_layout Plain Layout
19979 以外に)定義するオプションです.初期値のバックスラッシュは指定できません.
19982 \begin_layout Itemize
19983 \begin_inset Flex Code
19986 \begin_layout Plain Layout
19993 \begin_inset Flex Code
19996 \begin_layout Plain Layout
20003 必要となる別の引数を(番号によって)指定します.例えば,
20007 \begin_inset Flex Code
20010 \begin_layout Plain Layout
20019 前に(少なくとも空の)別の非必須引数を要求する非必須引数があります.これは,
20021 \begin_inset Flex Code
20024 \begin_layout Plain Layout
20031 \begin_inset Flex Code
20034 \begin_layout Plain Layout
20040 ステートメントを置くことで実現できます.
20043 \begin_layout Itemize
20044 \begin_inset Flex Code
20047 \begin_layout Plain Layout
20054 \begin_inset Flex Code
20057 \begin_layout Plain Layout
20064 \begin_inset Flex Code
20067 \begin_layout Plain Layout
20074 \begin_inset Flex Code
20077 \begin_layout Plain Layout
20083 ではない)ユーザー定義の左区切りを定義します.出力中の改行は
20084 \begin_inset Flex Code
20087 \begin_layout Plain Layout
20096 \begin_layout Itemize
20097 \begin_inset Flex Code
20100 \begin_layout Plain Layout
20107 \begin_inset Flex Code
20110 \begin_layout Plain Layout
20117 \begin_inset Flex Code
20120 \begin_layout Plain Layout
20127 \begin_inset Flex Code
20130 \begin_layout Plain Layout
20136 ではない)ユーザー定義の右区切りを定義します.出力中の改行は
20137 \begin_inset Flex Code
20140 \begin_layout Plain Layout
20149 \begin_layout Itemize
20150 \begin_inset Flex Code
20153 \begin_layout Plain Layout
20160 \begin_inset Flex Code
20163 \begin_layout Plain Layout
20169 ユーザー指定引数が与えられなかったとき,
20170 すなわち引数差込枠が挿入されなかったときに限り,
20171 挿入される引数を定義します(空の引数差込枠が挿入されてもDefaultArgは無効になることに注意してください).引数が複数のときはコンマで区切る必要があります.
20174 \begin_layout Itemize
20175 \begin_inset Flex Code
20178 \begin_layout Plain Layout
20185 \begin_inset Flex Code
20188 \begin_layout Plain Layout
20194 どのような場合にも(単独もしくはユーザー定義引数とともに)挿入される引数を定義します.引数が複数のときはコンマで区切る必要があります.
20197 \begin_layout Itemize
20198 \begin_inset Flex Code
20201 \begin_layout Plain Layout
20208 \begin_inset CommandInset ref
20210 reference "subsec:フォント指定"
20218 \begin_layout Itemize
20219 \begin_inset Flex Code
20222 \begin_layout Plain Layout
20231 \begin_inset Flex Code
20234 \begin_layout Plain Layout
20243 \begin_inset space \thinspace{}
20247 \begin_inset Flex Code
20250 \begin_layout Plain Layout
20257 \begin_inset CommandInset ref
20259 reference "subsec:段落様式"
20267 \begin_layout Itemize
20268 \begin_inset Flex Code
20271 \begin_layout Plain Layout
20278 \begin_inset CommandInset ref
20280 reference "subsec:フォント指定"
20288 \begin_layout Itemize
20289 \begin_inset Flex Code
20292 \begin_layout Plain Layout
20299 \begin_inset Flex Code
20302 \begin_layout Plain Layout
20314 ] 差込枠の枠とボタンに用いられる装飾様式.
20317 \begin_layout Itemize
20318 \begin_inset Flex Code
20321 \begin_layout Plain Layout
20328 \begin_inset Flex Code
20331 \begin_layout Plain Layout
20338 \begin_inset Flex Code
20341 \begin_layout Plain Layout
20352 \begin_layout Itemize
20353 \begin_inset Flex Code
20356 \begin_layout Plain Layout
20363 \begin_inset Flex Code
20366 \begin_layout Plain Layout
20373 \begin_inset Flex Code
20376 \begin_layout Plain Layout
20384 \begin_inset Flex Code
20387 \begin_layout Plain Layout
20393 時にこの変数は新規行に挿入されます(自由差込枠でのみ使用可能).
20396 \begin_layout Itemize
20397 \begin_inset Flex Code
20400 \begin_layout Plain Layout
20407 \begin_inset Flex Code
20410 \begin_layout Plain Layout
20417 \begin_inset Flex Code
20420 \begin_layout Plain Layout
20428 副文(選択した文ないしは段落全体)のコピーを内容にとって挿入されます.
20431 \begin_layout Itemize
20432 \begin_inset Flex Code
20435 \begin_layout Plain Layout
20442 \begin_inset Flex Code
20445 \begin_layout Plain Layout
20459 が要求する特別な書き換えを行うことなく,
20460 原文のまま出力されるべきかどうかを指定します.既定値では,
20462 \begin_inset Flex Code
20465 \begin_layout Plain Layout
20472 引数が属する差込枠または段落レイアウトに継承されます.trueまたはfalseは,
20476 \begin_layout Itemize
20477 \begin_inset Flex Code
20480 \begin_layout Plain Layout
20487 \begin_inset Flex Code
20490 \begin_layout Plain Layout
20502 生の形で出力されるべき各文字を定義します.PassThruとは違って,
20504 これは明示的に定義されなくてはなりません.つまり,
20506 親差込枠や親レイアウトからPassThruCharsを継承しません.
20509 \begin_layout Itemize
20510 \begin_inset Flex Code
20513 \begin_layout Plain Layout
20520 \begin_inset Flex Code
20523 \begin_layout Plain Layout
20532 \begin_inset space \thinspace{}
20536 \begin_inset Flex Code
20539 \begin_layout Plain Layout
20547 その内容を対応する一覧表の項目に出力します.AddToTocを参照.
20550 \begin_layout Standard
20553 \begin_inset Flex Code
20556 \begin_layout Plain Layout
20563 \begin_inset Flex Code
20566 \begin_layout Plain Layout
20573 各レイアウトで\SpecialChar LyX
20575 コマンドの最後の(必須)引数になります.しかしながら,
20577 \begin_inset Flex Code
20580 \begin_layout Plain Layout
20587 この作業領域引数の後に出力されます.後置引数の番号は1から振られ直されますので,
20589 \begin_inset Flex Code
20592 \begin_layout Plain Layout
20600 \begin_inset Flex Code
20603 \begin_layout Plain Layout
20610 \begin_inset Flex Code
20613 \begin_layout Plain Layout
20622 \begin_layout Standard
20624 \begin_inset Flex Code
20627 \begin_layout Plain Layout
20636 \begin_inset Flex Code
20639 \begin_layout Plain Layout
20649 \begin_inset Flex Code
20652 \begin_layout Plain Layout
20659 \begin_inset Flex Code
20662 \begin_layout Plain Layout
20671 \begin_layout Standard
20674 \begin_inset Flex Code
20677 \begin_layout Plain Layout
20683 を用いる特別な引数型があります.これは本当は引数ではありませんが,
20684 引数インタフェースを用います(したがって前置句後には数値が続きます.例:
20686 \begin_inset Flex Code
20689 \begin_layout Plain Layout
20690 Argument listpreamble:1
20712 のようなリストが対象です.その中身はリスト開始時,
20714 \begin_inset Flex Code
20717 \begin_layout Plain Layout
20725 の前に独立した行として(\SpecialChar LyX
20726 からは他の方法ではアクセス不能な場所です)出力されます.このようにして,
20727 ユーザーは各リストに(長さ等の)再定義を入れることができます.既定では,
20728 これらの引数は区切り文字を持ちません.
20731 \begin_layout Subsection
20733 \begin_inset CommandInset label
20742 \begin_layout Standard
20745 \begin_inset Flex MenuItem
20748 \begin_layout Plain Layout
20755 \begin_inset Flex MenuItem
20758 \begin_layout Plain Layout
20764 ・\SpecialChar ldots
20765 )を定義することが必要です.標準的なカウンタは
20766 \begin_inset Flex Code
20769 \begin_layout Plain Layout
20779 \begin_layout LyX-Code
20780 Input stdcounters.inc
20783 \begin_layout Standard
20784 と加えるだけで済むことも多いでしょう.しかし自製カウンタを定義したければ,
20785 そうすることもできます.カウンタ宣言は,
20789 \begin_layout LyX-Code
20793 \begin_layout Standard
20795 \begin_inset Flex Code
20798 \begin_layout Plain Layout
20805 実際のカウンタ名で置き換えます.また,
20807 \begin_inset Flex Code
20810 \begin_layout Plain Layout
20819 \begin_layout Standard
20820 以下のパラメータを使用することができます.
20823 \begin_layout Description
20824 \begin_inset Flex Code
20827 \begin_layout Plain Layout
20834 \begin_inset Flex Code
20837 \begin_layout Plain Layout
20843 ] カウンタの初期値を設定します.リセットの度にカウンタはこの値に戻ります.通常,
20847 \begin_layout Description
20848 \begin_inset Flex Code
20851 \begin_layout Plain Layout
20858 \begin_inset Flex Code
20861 \begin_layout Plain Layout
20868 ここで指定した文字列がカウンタの表示の仕方を定義します.この値を指定すると,
20870 \begin_inset Flex Code
20873 \begin_layout Plain Layout
20874 LabelStringAppendix
20879 も同じ値に設定されます.文字列中では,
20880 以下の構成要素を使用することができます.
20884 \begin_layout Itemize
20885 \begin_inset Flex Code
20888 \begin_layout Plain Layout
20898 \begin_inset Flex Code
20901 \begin_layout Plain Layout
20908 \begin_inset Flex Code
20911 \begin_layout Plain Layout
20918 \begin_inset Newline linebreak
20922 \begin_inset Flex Code
20925 \begin_layout Plain Layout
20926 LabelStringAppendix
20934 \begin_layout Itemize
20938 \begin_inset Flex Code
20941 \begin_layout Plain Layout
20957 を用いて表現することができます.ここで
20958 \begin_inset Flex Code
20961 \begin_layout Plain Layout
20970 \begin_inset Flex Code
20973 \begin_layout Plain Layout
20982 3,\SpecialChar ldots
20985 \begin_inset Flex Code
20988 \begin_layout Plain Layout
21001 \begin_inset Flex Code
21004 \begin_layout Plain Layout
21017 \begin_inset Flex Code
21020 \begin_layout Plain Layout
21033 \begin_inset Flex Code
21036 \begin_layout Plain Layout
21045 III\SpecialChar ldots
21050 \begin_layout Standard
21051 \begin_inset Flex Code
21054 \begin_layout Plain Layout
21061 既定値は以下のように組み立てられます.このカウンタに親カウンタ
21062 \begin_inset Flex Code
21065 \begin_layout Plain Layout
21072 \begin_inset Flex Code
21075 \begin_layout Plain Layout
21083 \begin_inset Newline linebreak
21087 \begin_inset Flex Code
21090 \begin_layout Plain Layout
21102 \begin_inset Flex Code
21105 \begin_layout Plain Layout
21116 \begin_layout Description
21117 \begin_inset Flex Code
21120 \begin_layout Plain Layout
21121 LabelStringAppendix
21127 \begin_inset Flex Code
21130 \begin_layout Plain Layout
21137 \begin_inset Flex Code
21140 \begin_layout Plain Layout
21150 \begin_layout Description
21151 \begin_inset Flex Code
21154 \begin_layout Plain Layout
21161 \begin_inset Flex Code
21164 \begin_layout Plain Layout
21171 \begin_inset Quotes erd
21175 \begin_inset Quotes erd
21178 ] \SpecialChar LaTeX
21179 で使用されるカウンタ名(たとえば\SpecialChar LyX
21180 では「theorem」というカウンタがありますが,
21185 \begin_layout Description
21186 \begin_inset Flex Code
21189 \begin_layout Plain Layout
21196 \begin_inset Flex Code
21199 \begin_layout Plain Layout
21206 \begin_inset Quotes erd
21210 \begin_inset Quotes erd
21213 ] このカウンタの整形参照で使用する書式.たとえば,
21215 \begin_inset space ~
21218 2.4」のように表示させたい場合には,
21220 カウンタ番号で置換されます.したがって,
21221 節の場合には「Section ##」のようにします.
21224 \begin_layout Description
21225 \begin_inset Flex Code
21228 \begin_layout Plain Layout
21235 \begin_inset Flex Code
21238 \begin_layout Plain Layout
21245 \begin_inset Quotes erd
21249 \begin_inset Quotes erd
21252 ] これを別のカウンタ名に設定すると,
21254 別のカウンタが増加する毎にリセットされます.たとえば,
21256 \begin_inset Flex Code
21259 \begin_layout Plain Layout
21266 \begin_inset Flex Code
21269 \begin_layout Plain Layout
21278 \begin_layout Subsection
21280 \begin_inset CommandInset label
21282 name "subsec:フォント指定"
21289 \begin_layout Standard
21294 \begin_layout LyX-Code
21310 \begin_layout LyX-Code
21314 \begin_layout LyX-Code
21318 \begin_layout Standard
21319 以下のコマンドを使用することができます.
21322 \begin_layout Description
21323 \begin_inset Flex Code
21326 \begin_layout Plain Layout
21333 \begin_inset Flex Code
21336 \begin_layout Plain Layout
21344 \begin_inset CommandInset ref
21346 reference "chap:色名"
21357 \begin_layout Description
21358 \begin_inset Flex Code
21361 \begin_layout Plain Layout
21370 \begin_inset Flex Code
21373 \begin_layout Plain Layout
21383 \begin_inset Flex Code
21386 \begin_layout Plain Layout
21394 \begin_inset Flex Code
21397 \begin_layout Plain Layout
21406 \begin_layout Description
21407 \begin_inset Flex Code
21410 \begin_layout Plain Layout
21417 \begin_inset Flex Code
21420 \begin_layout Plain Layout
21428 \begin_inset Flex Code
21431 \begin_layout Plain Layout
21438 \begin_inset Flex Code
21441 \begin_layout Plain Layout
21448 \begin_inset Flex Code
21451 \begin_layout Plain Layout
21458 \begin_inset Flex Code
21461 \begin_layout Plain Layout
21468 \begin_inset Flex Code
21471 \begin_layout Plain Layout
21478 \begin_inset Flex Code
21481 \begin_layout Plain Layout
21488 \begin_inset Flex Code
21491 \begin_layout Plain Layout
21498 \begin_inset Flex Code
21501 \begin_layout Plain Layout
21508 \begin_inset Flex Code
21511 \begin_layout Plain Layout
21518 \begin_inset Flex Code
21521 \begin_layout Plain Layout
21528 \begin_inset Flex Code
21531 \begin_layout Plain Layout
21538 \begin_inset Flex Code
21541 \begin_layout Plain Layout
21548 対応する属性を有効にしたり無効にしたりします.
21549 \begin_inset Newline newline
21554 \begin_inset Flex Code
21557 \begin_layout Plain Layout
21565 \begin_inset Flex Code
21568 \begin_layout Plain Layout
21574 はそれを無効にします.もし後者がわかりにくければ,
21576 一般的に周囲のコンテクストから継承していることを思い出してください.ですから
21577 \begin_inset Flex Code
21580 \begin_layout Plain Layout
21588 何をせずとも有効となっている強調を無効にするのです.
21591 \begin_layout Description
21592 \begin_inset Flex Code
21595 \begin_layout Plain Layout
21604 \begin_inset Flex Code
21607 \begin_layout Plain Layout
21617 \begin_inset Flex Code
21620 \begin_layout Plain Layout
21629 \begin_layout Description
21630 \begin_inset Flex Code
21633 \begin_layout Plain Layout
21642 \begin_inset Flex Code
21645 \begin_layout Plain Layout
21655 \begin_inset Flex Code
21658 \begin_layout Plain Layout
21666 \begin_inset Flex Code
21669 \begin_layout Plain Layout
21677 \begin_inset Flex Code
21680 \begin_layout Plain Layout
21689 \begin_layout Description
21690 \begin_inset Flex Code
21693 \begin_layout Plain Layout
21700 \begin_inset Flex Code
21703 \begin_layout Plain Layout
21711 \begin_inset Flex Code
21714 \begin_layout Plain Layout
21722 \begin_inset Flex Code
21725 \begin_layout Plain Layout
21735 \begin_inset Flex Code
21738 \begin_layout Plain Layout
21746 \begin_inset Flex Code
21749 \begin_layout Plain Layout
21757 \begin_inset Flex Code
21760 \begin_layout Plain Layout
21768 \begin_inset Flex Code
21771 \begin_layout Plain Layout
21779 \begin_inset Flex Code
21782 \begin_layout Plain Layout
21791 \begin_layout Subsection
21792 \begin_inset CommandInset label
21794 name "subsec:引用エンジンの説明"
21801 \begin_layout Standard
21803 \begin_inset CommandInset ref
21805 reference "subsec:引用エンジンファイル"
21814 \begin_inset Flex Code
21817 \begin_layout Plain Layout
21824 特定の「引用エンジン」で提供される引用コマンドを定義します.\SpecialChar LyX
21829 引用を整形する特定の方法のことを指します.\SpecialChar LyX
21831 3つのエンジンの型をサポートします.すなわち,
21835 \begin_layout Enumerate
21836 \begin_inset Flex Code
21839 \begin_layout Plain Layout
21846 既定のBib\SpecialChar TeX
21852 \begin_layout Enumerate
21853 \begin_inset Flex Code
21856 \begin_layout Plain Layout
21863 著者名と刊行年を使ったHarvard様式の引用(例:
21864 「Smith and Miller (2017b)」)
21867 \begin_layout Enumerate
21868 \begin_inset Flex Code
21871 \begin_layout Plain Layout
21878 番号に隣接して著者名やタイトルを付けることのできる拡張された番号引用(例:
21879 「Smith and Miller [1]」)
21882 \begin_layout Standard
21883 \begin_inset Flex Code
21886 \begin_layout Plain Layout
21895 \begin_layout LyX-Code
21899 \begin_layout LyX-Code
21903 \begin_layout LyX-Code
21907 \begin_layout LyX-Code
21908 citeyearpar[][]=parencite*
21911 \begin_layout LyX-Code
21915 \begin_layout LyX-Code
21919 \begin_layout Standard
21920 \begin_inset Flex Code
21923 \begin_layout Plain Layout
21929 に続くタグがエンジンを表します.各行は,
21930 このエンジンによってサポートされる引用コマンドや引用コマンドパラダイムを定義します.行は,
21932 コマンドと\SpecialChar LaTeX
21933 出力を命名するのに使われる引用コマンドのみを含むこともあれば,
21934 色々変えるために複雑なこともあります.完全な文法は
21937 \begin_layout LyX-Code
21938 LyXName|alias$*<!_stardesc!_stardesctooltip>[][]=latexcmd
21941 \begin_layout Standard
21945 \begin_layout Itemize
21946 \begin_inset Flex Code
21949 \begin_layout Plain Layout
21957 \begin_inset Flex Code
21960 \begin_layout Plain Layout
21970 \begin_layout Standard
21972 異なる引用パッケージ中の同じ形をしたコマンドには,
21973 同じ名前をつけるようにしています(したがって,
21974 多くの名前がnatbibから派生しており,
21978 \begin_inset Flex Code
21981 \begin_layout Plain Layout
21991 \begin_layout Itemize
21992 \begin_inset Flex Code
21995 \begin_layout Plain Layout
22004 \begin_inset Flex Code
22007 \begin_layout Plain Layout
22013 にフォールバックするコマンドの(コンマで区切られた)リスト.これによって,
22014 引用パッケージとエンジンを切り替えるのが楽になります.
22015 \begin_inset Flex Code
22018 \begin_layout Plain Layout
22025 \begin_inset Flex Code
22028 \begin_layout Plain Layout
22037 \begin_layout Itemize
22038 \begin_inset Flex Code
22041 \begin_layout Plain Layout
22048 出力される実際の\SpecialChar LaTeX
22052 \begin_layout Standard
22053 \begin_inset Flex Code
22056 \begin_layout Plain Layout
22063 \begin_inset Flex Code
22066 \begin_layout Plain Layout
22073 \begin_inset Flex Code
22076 \begin_layout Plain Layout
22084 \begin_inset Flex Code
22087 \begin_layout Plain Layout
22093 が\SpecialChar LaTeX
22097 \begin_layout Standard
22102 \begin_layout Itemize
22103 大文字にするとコマンドも大文字化されたものになります(
22104 \begin_inset Flex Code
22107 \begin_layout Plain Layout
22116 \begin_inset Flex Code
22119 \begin_layout Plain Layout
22128 名前の前置詞を大文字化するのを確実にします(
22133 \begin_inset Formula $\Rightarrow$
22143 \begin_layout Itemize
22145 \begin_inset Flex Code
22148 \begin_layout Plain Layout
22154 は非必須引数の数を表します(0-2をとりえます).
22157 \begin_layout Itemize
22159 \begin_inset Flex Code
22162 \begin_layout Plain Layout
22169 \begin_inset Flex Code
22172 \begin_layout Plain Layout
22181 \begin_inset Flex Code
22184 \begin_layout Plain Layout
22196 \begin_layout Standard
22200 \begin_inset Flex Code
22203 \begin_layout Plain Layout
22209 の閾値を超えたために「et al.」に省略されるべき時にも全ての著者を出力することを意味します.
22212 \begin_layout Standard
22214 当該コマンドについては別の意味を持つ場合には,
22216 \begin_inset Flex Code
22219 \begin_layout Plain Layout
22220 <!_stardesc!_stardesctooltip>
22225 のように三角括弧で指定することができます.前置詞
22226 \begin_inset Flex Code
22229 \begin_layout Plain Layout
22236 翻訳可能なキーワードを最大2つ与えることができます.最初のキーワードは,
22237 引用ダイアログ中の「Full aut&hor list」チェックボックスラベルを書き換える文字列を指し,
22239 このチェックボックスに対する非必須のツールチップの文字列を指します.
22242 \begin_layout Standard
22246 \begin_inset Flex Code
22249 \begin_layout Plain Layout
22256 \begin_inset Flex Code
22259 \begin_layout Plain Layout
22265 (次節参照)で定義されなくてはなりません.
22268 \begin_layout LyX-Code
22269 _stardesc Sta&rred command label
22272 \begin_layout LyX-Code
22273 _stardesctooltip Tooltip for the starred command checkbox.
22277 \begin_layout Itemize
22279 \begin_inset Flex Code
22282 \begin_layout Plain Layout
22289 このコマンドが「qualified citation lists」を取り扱うことを示します.これは,
22291 前置文字列と後置文字列を置くことができる,
22296 に特有の複数文献引用機能です.詳細については,
22304 \begin_layout Standard
22305 引用エンジンに引用コマンドを追加したい場合(たとえばクラスによって提供される特定のコマンドを追加するなど)には,
22307 \begin_inset Flex Code
22310 \begin_layout Plain Layout
22311 AddToCiteEngine <engine type> \SpecialChar ldots
22317 を使うことができます.まだ存在しない引用コマンドのみ追加することができます.
22320 \begin_layout Subsection
22321 \begin_inset CommandInset label
22323 name "subsec:引用書式指定"
22330 \begin_layout Standard
22331 (引用ダイアログやツールチップなどの)\SpecialChar LyX
22333 書誌情報をどのように表示するべきかの叙述には,
22335 \begin_inset Flex Code
22338 \begin_layout Plain Layout
22344 ブロックが使用されています.このブロックは,
22348 \begin_layout LyX-Code
22352 \begin_layout LyX-Code
22356 \begin_layout LyX-Code
22360 \begin_layout LyX-Code
22364 \begin_layout Standard
22368 \begin_layout LyX-Code
22372 \begin_layout LyX-Code
22376 \begin_layout LyX-Code
22380 \begin_layout LyX-Code
22384 \begin_layout Standard
22386 それぞれarticleやbookに関連付けられた書誌情報をどのように表示するべきかを定義するものですが,
22388 Bib\SpecialChar TeX
22389 ファイル中に存在しうる「項目型」すべてについて与えることができます.特定の定義が与えられなければ,
22392 ソースコード中に定義されている既定書式を使用します.\SpecialChar LyX
22395 \begin_inset Flex Code
22398 \begin_layout Plain Layout
22405 これはほとんどの\SpecialChar LyX
22406 文書クラスにインクルードされています.
22409 \begin_layout Standard
22413 \begin_inset Flex Code
22416 \begin_layout Plain Layout
22425 \begin_inset Flex Code
22428 \begin_layout Plain Layout
22439 XHTML出力でどのように表示されるべきかを定義しています.\SpecialChar LyX
22443 \begin_inset Flex Code
22446 \begin_layout Plain Layout
22455 文書\SpecialChar menuseparator
22456 設定\SpecialChar menuseparator
22457 書誌情報\SpecialChar ldots
22462 \begin_inset CommandInset ref
22464 reference "subsec:引用エンジンファイル"
22475 \begin_layout Standard
22477 Bib\SpecialChar TeX
22478 キーをその値で置換できる機能を持った,
22481 \begin_inset Flex Code
22484 \begin_layout Plain Layout
22491 \begin_inset Flex Code
22494 \begin_layout Plain Layout
22500 記号でくくらなくてはなりません.したがって,
22504 \begin_layout LyX-Code
22507 \begin_inset Quotes eld
22511 \begin_inset Quotes erd
22517 \begin_layout Standard
22519 「著者名・コンマ・引用に囲まれたタイトル・終止符」を出力します.
22522 \begin_layout Standard
22525 そのキーを出力したい時があるはずです.このようなときには
22526 \begin_inset Flex Code
22529 \begin_layout Plain Layout
22531 \begin_inset space ~
22540 条件付きの構成を使用することができます.これは,
22542 \begin_inset Flex Code
22545 \begin_layout Plain Layout
22553 \begin_inset space ~
22556 」とvolumeキーを出力するという意味です.また,
22558 \begin_inset Newline newline
22562 \begin_inset Flex Code
22565 \begin_layout Plain Layout
22566 {%author%[[%author%]][[%editor%,
22573 \begin_inset Newline newline
22577 条件の中にelse節を含めることも可能です.ここでは,
22579 \begin_inset Flex Code
22582 \begin_layout Plain Layout
22590 \begin_inset space ~
22593 ed.」が出力されます.ここでもキーは,
22595 \begin_inset Flex Code
22598 \begin_layout Plain Layout
22604 記号でくくられていることに注意してください.条件全体は,
22605 波括弧で囲まれています.if節およびelse節は,
22607 \begin_inset Flex Code
22610 \begin_layout Plain Layout
22617 \begin_inset Flex Code
22620 \begin_layout Plain Layout
22626 」の二重角括弧で囲まれています.これらすべてのあいだには,
22630 \begin_layout Standard
22631 これらの条件文に使うことができるものには,
22636 \begin_layout Itemize
22637 \begin_inset Flex Code
22640 \begin_layout Plain Layout
22641 {%dialog%[[真]][[偽]]}
22647 ダイアログとメニューに対しては「真」の部分を処理し,
22648 他の文脈(作業領域や書き出し)には「偽」の部分を処理します
22651 \begin_layout Itemize
22652 \begin_inset Flex Code
22655 \begin_layout Plain Layout
22656 {%export%[[真]][[偽]]}
22662 書き出しとメニューに対しては「真」の部分を処理し,
22663 他の文脈(作業領域やダイアログ)には「偽」の部分を処理します
22666 \begin_layout Itemize
22667 \begin_inset Flex Code
22670 \begin_layout Plain Layout
22677 他の項目が続く場合には「真」の部分を処理します(複数キーを持つ引用など)
22680 \begin_layout Itemize
22681 \begin_inset Flex Code
22684 \begin_layout Plain Layout
22685 {%second%[[真]][[偽]]}
22691 これが複数項目の2番目の場合には「真」の部分を処理し,
22692 それ以外の場合には「偽」の部分を処理します
22695 \begin_layout Itemize
22696 \begin_inset Flex Code
22699 \begin_layout Plain Layout
22700 {%ifstar%[[真]][[偽]]}
22707 \begin_inset Flex Code
22710 \begin_layout Plain Layout
22718 など)星印付き引用コマンドの場合には「真」の部分を処理し,
22719 星印付きでない場合には「偽」の部分を処理します
22722 \begin_layout Itemize
22723 \begin_inset Flex Code
22726 \begin_layout Plain Layout
22727 {%ifentrytype:<type>%[[真]][[偽]]}
22734 \begin_inset Flex Code
22737 \begin_layout Plain Layout
22743 に一致する場合には「真」の部分を処理し,
22744 それ以外の場合には「偽」の部分を処理します(例:
22746 \begin_inset Flex Code
22749 \begin_layout Plain Layout
22750 {%ifentrytype:book%[[これはbookです]][[これはbookではありません]]}
22758 \begin_layout Itemize
22759 \begin_inset Flex Code
22762 \begin_layout Plain Layout
22763 {%ifmultiple:<authortype>%[[真]][[偽]]}
22769 現行の項目が著者型(著者・編者など)が複数の著者を含む場合には「真」の部分を処理し,
22770 それ以外の場合には「偽」の部分を処理します(例:
22772 \begin_inset Flex Code
22775 \begin_layout Plain Layout
22776 {%ifmultiple:editor%[[eds.]][[ed.]]}
22784 \begin_layout Itemize
22785 \begin_inset Flex Code
22788 \begin_layout Plain Layout
22789 {%ifqualified%[[真]][[偽]]}
22795 現行の引用がqualified citation listである(複数文献引用に対する
22799 特有の形式)場合には「真」の部分を処理し,
22800 それ以外の場合には「偽」の部分を処理します
22803 \begin_layout Standard
22804 \begin_inset Flex Code
22807 \begin_layout Plain Layout
22813 は書誌情報ファイルに記録されている形のままの著者キーを出力すると述べました.これは「Miller,
22816 Jane」のような文字列に終わることがあり(Bib\SpecialChar TeX
22817 では著者を区切るのに「and」が用いられるため),
22818 望ましい結果ではありません.したがって,
22821 正しく整形された名前のリスト(これも翻訳の対象となります)を得るための方法を提供しています.以下のキーが提供されています.
22824 \begin_layout Enumerate
22825 書誌情報項目の主要著者・編者に適した,
22827 \begin_inset Flex Code
22830 \begin_layout Plain Layout
22836 部分は要請されているリスト型を表します(例:
22838 \begin_inset Flex Code
22841 \begin_layout Plain Layout
22851 \begin_layout Itemize
22852 \begin_inset Flex Code
22855 \begin_layout Plain Layout
22856 %abbrvnames:<nametype>%
22863 \begin_inset Flex Code
22866 \begin_layout Plain Layout
22872 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
22875 \begin_layout Itemize
22876 \begin_inset Flex Code
22879 \begin_layout Plain Layout
22880 %fullnames:<nametype>%
22886 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
22889 \begin_layout Itemize
22890 \begin_inset Flex Code
22893 \begin_layout Plain Layout
22894 %forceabbrvnames:<nametype>%
22901 \begin_inset Flex Code
22904 \begin_layout Plain Layout
22911 常に短縮される(「et al.」と共に供される)名前リストを提供します.
22915 \begin_layout Enumerate
22916 書誌情報項目中の姓名の順序が異なっている場合の,
22928 \begin_layout Itemize
22929 \begin_inset Flex Code
22932 \begin_layout Plain Layout
22933 %abbrvbynames:<nametype>%
22940 \begin_inset Flex Code
22943 \begin_layout Plain Layout
22949 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
22952 \begin_layout Itemize
22953 \begin_inset Flex Code
22956 \begin_layout Plain Layout
22957 %fullbynames:<nametype>%
22963 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
22966 \begin_layout Itemize
22967 \begin_inset Flex Code
22970 \begin_layout Plain Layout
22971 %forceabbrvbynames:<nametype>%
22978 \begin_inset Flex Code
22981 \begin_layout Plain Layout
22988 常に短縮される(「et al.」と共に供される)名前リストを提供します.
22992 \begin_layout Enumerate
22993 著者-発行年引用ラベルで用いられるような,
22995 \begin_inset Flex Code
22998 \begin_layout Plain Layout
23005 (著者-発行年ラベルで通例であるように)常に著者リストか,
23006 存在しない場合には編者リストを返します.
23010 \begin_layout Itemize
23011 \begin_inset Flex Code
23014 \begin_layout Plain Layout
23022 \begin_inset Flex Code
23025 \begin_layout Plain Layout
23031 に達した場合に短縮される(「et al.」と共に供される)名前リストを提供します.
23034 \begin_layout Itemize
23035 \begin_inset Flex Code
23038 \begin_layout Plain Layout
23045 完全な名前リストを提供します(「et al.」を用いて短縮されることはありません).
23048 \begin_layout Itemize
23049 \begin_inset Flex Code
23052 \begin_layout Plain Layout
23053 %forceabbrvciteauthor%
23060 \begin_inset Flex Code
23063 \begin_layout Plain Layout
23070 常に短縮される(「et al.」と共に供される)名前リストを提供します.
23074 \begin_layout Standard
23076 下記のマクロで変更することができます.
23079 \begin_layout Itemize
23080 \begin_inset Flex Code
23083 \begin_layout Plain Layout
23084 !firstnameform %surname%,
23093 \begin_layout Itemize
23094 \begin_inset Flex Code
23097 \begin_layout Plain Layout
23098 !othernameform %surname%,
23107 \begin_layout Itemize
23108 \begin_inset Flex Code
23111 \begin_layout Plain Layout
23112 !firstbynameform %prename% %surname%
23120 \begin_layout Itemize
23121 \begin_inset Flex Code
23124 \begin_layout Plain Layout
23125 !otherbynameform %prename% %surname%
23133 \begin_layout Standard
23136 Peter and Mary Smith:
23140 John Doe and Pat Green,
23141 eds.:\SpecialChar ldots
23145 \begin_layout Standard
23147 定義中で使用することのできる文法として,
23149 \begin_inset Flex Code
23152 \begin_layout Plain Layout
23158 という形をしたものがあります.これは,
23159 「リッチテキスト」を生成するときに使われる整形情報を定義するものです.当然のことながら,
23161 HTMLタグを出力させたくはありませんから,
23163 \begin_inset Flex Code
23166 \begin_layout Plain Layout
23173 \begin_inset Flex Code
23176 \begin_layout Plain Layout
23182 」でくるんでやらなくてはならないのです.
23185 \begin_layout Standard
23186 \begin_inset Flex Code
23189 \begin_layout Plain Layout
23196 他に2つの特殊な定義が可能です.一つめの例としては,
23200 \begin_layout LyX-Code
23202 \begin_inset Quotes eld
23206 \begin_inset Quotes erd
23212 \begin_layout Standard
23216 \begin_inset Flex Code
23219 \begin_layout Plain Layout
23226 これがキーであるかのように扱って使用することができます.\SpecialChar LyX
23229 \begin_inset Flex Code
23232 \begin_layout Plain Layout
23239 そこで定義されているものを扱う場合と同じように取り扱います.ですから,
23244 \begin_layout LyX-Code
23248 \begin_layout Standard
23249 のようなことはしないでください.\SpecialChar LyX
23251 無限ループに陥るようなことはありませんが,
23252 諦めるまでに時間のかかる長いループに入るかもしれません.
23255 \begin_layout Standard
23260 \begin_layout LyX-Code
23264 \begin_layout Standard
23265 のようなものです.これは翻訳対象となるテキスト部分を定義し,
23266 これによって書誌情報や引用の対応する部分が翻訳されるようになります.
23267 \begin_inset Flex Code
23270 \begin_layout Plain Layout
23278 定義の中に入れることもできます.以下の2つの翻訳パスがあることに注意してください.上記の例のように
23279 \begin_inset Flex Code
23282 \begin_layout Plain Layout
23289 すべて現在アクティブなバッファ言語に翻訳されます(したがって翻訳は生成された文書に一致します).アンダースコアだけから始まる定義は,
23290 すべてGUI言語に翻訳されます.これは
23293 \begin_layout LyX-Code
23294 _addtobib Add to bibliography only
23297 \begin_layout Standard
23299 ダイアログやボタンにのみ現れる文字列に適した翻訳です.
23302 \begin_layout Standard
23303 これらの翻訳可能な文字列のうちいくつかは,
23305 \begin_inset Flex Code
23308 \begin_layout Plain Layout
23315 \begin_inset Flex Code
23318 \begin_layout Plain Layout
23324 ファイル中に事前定義されています.これは,
23325 上記で述べたような意味でのマクロではないことに注意してください.
23328 \begin_layout Standard
23331 \begin_inset VSpace defskip
23337 \begin_layout Standard
23341 !authoredit {%author%[[%author%,
23342 ]][[{%editor%[[%editor%,
23347 \begin_layout Standard
23348 \begin_inset VSpace defskip
23353 \begin_inset Flex Code
23356 \begin_layout Plain Layout
23365 \begin_inset Flex Code
23368 \begin_layout Plain Layout
23376 \begin_inset Flex Code
23379 \begin_layout Plain Layout
23387 \begin_inset Flex Code
23390 \begin_layout Plain Layout
23396 ないしはその翻訳(既定では「ed.」)を出力します.これは実は
23397 \begin_inset Flex Code
23400 \begin_layout Plain Layout
23408 ご自身の定義ないしは再定義の中で使用することができます.
23411 \begin_layout Section
23412 \begin_inset CommandInset label
23414 name "sec:XHTML出力のタグ"
23421 \begin_layout Standard
23426 レイアウト情報によって制御することができます.一般的に,
23431 既定のCSSスタイルの構成まで行ないます.たとえば,
23432 章見出しを適切に整形するためのCSSを書き出すために,
23436 \begin_inset Flex Code
23439 \begin_layout Plain Layout
23445 宣言で提供されている情報を利用しようと試みます.
23448 \begin_layout Standard
23451 使いたい環境やユーザ設定差込枠などのために満足のいくXHTML出力を得るために,
23452 まったく何もしなくてよいことになるでしょう.しかしながら,
23456 生成されるXHTMLやCSSをカスタマイズするために使用できるレイアウトタグを,
23460 \begin_layout Standard
23461 様式宣言や差込枠宣言の外で使用することができるタグに,
23463 \begin_inset Flex Code
23466 \begin_layout Plain Layout
23473 \begin_inset Flex Code
23476 \begin_layout Plain Layout
23482 の2つがあることに注意してください.これらの詳細については,
23484 \begin_inset CommandInset ref
23486 reference "subsec:汎用テキストクラスパラメータ"
23494 \begin_layout Subsection
23495 \begin_inset CommandInset label
23497 name "subsec:段落様式-XHTML"
23504 \begin_layout Standard
23506 が段落のために出力するXHTMLの種類は,
23509 あるいは環境を取り扱っているのかに依存し,
23511 \begin_inset Flex Code
23514 \begin_layout Plain Layout
23524 \begin_layout Standard
23529 \begin_layout LyX-Code
23533 \begin_inset Quotes erd
23537 \begin_inset Quotes erd
23543 \begin_layout LyX-Code
23547 \begin_inset Quotes erd
23551 \begin_inset Quotes erd
23557 \begin_layout LyX-Code
23563 \begin_layout LyX-Code
23569 \begin_layout Standard
23575 \begin_layout Standard
23581 \begin_layout LyX-Code
23585 \begin_inset Quotes erd
23589 \begin_inset Quotes erd
23595 \begin_layout LyX-Code
23599 \begin_inset Quotes erd
23603 \begin_inset Quotes erd
23607 \begin_inset Quotes erd
23611 \begin_inset Quotes erd
23614 >環境ラベル</labeltag>最初の段落.
23617 \begin_layout LyX-Code
23623 \begin_layout LyX-Code
23626 <itemtag>二つめの段落.</itemtag>
23629 \begin_layout LyX-Code
23635 \begin_layout Standard
23637 たとえば定理の場合にそうであるように,
23638 最初の段落にだけ出力されることに注意してください.
23641 \begin_layout Standard
23646 \begin_layout LyX-Code
23650 \begin_inset Quotes erd
23654 \begin_inset Quotes erd
23660 \begin_layout LyX-Code
23664 \begin_inset Quotes erd
23668 \begin_inset Quotes erd
23672 \begin_inset Quotes erd
23676 \begin_inset Quotes erd
23679 >リストのラベル</labeltag>最初の項目.</itemtag>
23682 \begin_layout LyX-Code
23686 \begin_inset Quotes erd
23690 \begin_inset Quotes erd
23694 \begin_inset Quotes erd
23698 \begin_inset Quotes erd
23701 >リストのラベル</labeltag>二つめの項目.</itemtag>
23704 \begin_layout LyX-Code
23710 \begin_layout LyX-Code
23714 \begin_layout LyX-Code
23718 \begin_inset Quotes erd
23722 \begin_inset Quotes erd
23728 \begin_layout LyX-Code
23732 \begin_inset Quotes erd
23736 \begin_inset Quotes erd
23739 >リストのラベル</labeltag><itemtag attr=
23740 \begin_inset Quotes erd
23744 \begin_inset Quotes erd
23750 \begin_layout LyX-Code
23754 \begin_inset Quotes erd
23758 \begin_inset Quotes erd
23761 >リストのラベル</labeltag><itemtag attr=
23762 \begin_inset Quotes erd
23766 \begin_inset Quotes erd
23772 \begin_layout LyX-Code
23778 \begin_layout Standard
23780 \begin_inset Flex Code
23783 \begin_layout Plain Layout
23790 \begin_inset Flex Code
23793 \begin_layout Plain Layout
23799 の順序が違っていることに注意してください.どちらの順序になるかは,
23801 \begin_inset Flex Code
23804 \begin_layout Plain Layout
23811 \begin_inset Flex Code
23814 \begin_layout Plain Layout
23824 labelがitemの外側に来るようになります.
23827 \begin_layout Standard
23829 以下に述べるようなレイアウトタグを使って制御することができます.しかしながら,
23835 望ましいXHTML出力を得ることができるということになるはずです.ここで利用出来るタグは,
23836 自分の好みにあわせて微調整する目的でここにあるものと考えてください.
23839 \begin_layout Description
23840 \begin_inset Flex Code
23843 \begin_layout Plain Layout
23850 \begin_inset Flex Code
23853 \begin_layout Plain Layout
23859 ] 主幹タグと共に出力される属性情報を指定します.たとえば,
23861 \begin_inset Flex Code
23864 \begin_layout Plain Layout
23873 \begin_inset Flex Code
23876 \begin_layout Plain Layout
23883 \begin_inset Flex Code
23886 \begin_layout Plain Layout
23893 レイアウトの\SpecialChar LyX
23895 chapterのように小文字で記述します.
23898 \begin_layout Description
23899 \begin_inset Flex Code
23902 \begin_layout Plain Layout
23909 \begin_inset Flex Code
23912 \begin_layout Plain Layout
23918 ] この段落に使用するCSSクラス.段落が連番もしくは記号の箇条書きであるならば,
23919 既定値は「lyxenum」または「lyxitem」および階層の深さにより「i」「ii」「iii」「iv」となることに注意してください.これはここで書き換えることができます.しかしながら,
23920 その場合後置句は付け加えられません.すなわち,
23922 つねにここで宣言されたものの通りとなります.
23925 \begin_layout Description
23926 \begin_inset Flex Code
23929 \begin_layout Plain Layout
23936 \begin_inset Flex Code
23939 \begin_layout Plain Layout
23950 \begin_inset Flex Code
23953 \begin_layout Plain Layout
23959 で追加情報が明示的に与えられているときでも,
23961 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
23962 \begin_inset Flex Code
23965 \begin_layout Plain Layout
23972 生成されたCSSを完全に上書きする代わりに,
23973 変更したり追加したりすることができます.既定値は
23974 \begin_inset Flex Code
23977 \begin_layout Plain Layout
23986 \begin_layout Description
23987 \begin_inset Flex Code
23990 \begin_layout Plain Layout
23997 \begin_inset Flex Code
24000 \begin_layout Plain Layout
24010 ] この段落(通常節やその類い)をTOCに入れるか否か.既定値は真となっているので,
24011 たとえば星付きの節については偽に設定しなくてはなりません.
24014 \begin_layout Description
24015 \begin_inset Flex Code
24018 \begin_layout Plain Layout
24025 \begin_inset Flex Code
24028 \begin_layout Plain Layout
24034 ] 環境の段落に使用されるタグ.上記各例の
24035 \begin_inset Flex Code
24038 \begin_layout Plain Layout
24045 \begin_inset Flex Code
24048 \begin_layout Plain Layout
24057 \begin_layout Description
24058 \begin_inset Flex Code
24061 \begin_layout Plain Layout
24068 \begin_inset Flex Code
24071 \begin_layout Plain Layout
24078 \begin_inset Flex Code
24081 \begin_layout Plain Layout
24082 class=`レイアウト名_item'
24094 \begin_inset Flex Code
24097 \begin_layout Plain Layout
24106 \begin_layout Description
24107 \begin_inset Flex Code
24110 \begin_layout Plain Layout
24117 \begin_inset Flex Code
24120 \begin_layout Plain Layout
24126 ] 段落と項目ラベルに使用されるタグ.上記各例の
24127 \begin_inset Flex Code
24130 \begin_layout Plain Layout
24137 \begin_inset Flex Code
24140 \begin_layout Plain Layout
24147 \begin_inset Flex Code
24150 \begin_layout Plain Layout
24157 \begin_inset Flex Code
24160 \begin_layout Plain Layout
24161 Centered_Top_Environment
24168 \begin_inset Flex Code
24171 \begin_layout Plain Layout
24179 \begin_inset Flex Code
24182 \begin_layout Plain Layout
24191 \begin_layout Description
24192 \begin_inset Flex Code
24195 \begin_layout Plain Layout
24202 \begin_inset Flex Code
24205 \begin_layout Plain Layout
24212 \begin_inset Flex Code
24215 \begin_layout Plain Layout
24216 class=`レイアウト名_label'
24228 \begin_inset Flex Code
24231 \begin_layout Plain Layout
24240 \begin_layout Description
24241 \begin_inset Flex Code
24244 \begin_layout Plain Layout
24251 \begin_inset Flex Code
24254 \begin_layout Plain Layout
24268 中に出力されるかを制御します.これは,
24272 \begin_inset Flex Code
24275 \begin_layout Plain Layout
24276 `<dt>\SpecialChar ldots
24277 </dt><dd>\SpecialChar ldots
24283 という形を得るために使用されます.既定値は
24284 \begin_inset Flex Code
24287 \begin_layout Plain Layout
24294 labelタグはitemタグの中に出力されます.
24297 \begin_layout Description
24298 \begin_inset Flex Code
24301 \begin_layout Plain Layout
24309 \begin_inset Flex Code
24312 \begin_layout Plain Layout
24321 \begin_inset Flex Code
24324 \begin_layout Plain Layout
24331 \begin_inset Flex Code
24334 \begin_layout Plain Layout
24340 ブロックをインクルードするのに使用することができます.
24343 \begin_layout Description
24344 \begin_inset Flex Code
24347 \begin_layout Plain Layout
24354 インクルードするCSSスタイル情報.これは,
24356 \begin_inset Flex Code
24359 \begin_layout Plain Layout
24366 CSS自体をインクルードするだけで大丈夫です.
24367 \begin_inset Flex Code
24370 \begin_layout Plain Layout
24379 \begin_layout Description
24380 \begin_inset Flex Code
24383 \begin_layout Plain Layout
24390 \begin_inset Flex Code
24393 \begin_layout Plain Layout
24399 ] 主幹ラベルに使用されるタグ.上記各例の
24400 \begin_inset Flex Code
24403 \begin_layout Plain Layout
24410 \begin_inset Flex Code
24413 \begin_layout Plain Layout
24422 \begin_layout Description
24423 \begin_inset Flex Code
24426 \begin_layout Plain Layout
24433 \begin_inset Flex Code
24436 \begin_layout Plain Layout
24448 \begin_inset Flex Code
24451 \begin_layout Plain Layout
24457 タグを生成するのに使用する様式であるという印をつけます.既定値は偽です.
24458 \begin_inset Flex Code
24461 \begin_layout Plain Layout
24469 \begin_inset Flex Code
24472 \begin_layout Plain Layout
24481 \begin_layout Subsection
24485 \begin_layout Standard
24487 レイアウトファイル内の情報によって制御することができます
24491 \begin_layout Plain Layout
24493 これは「テキスト」差込枠(中に書き込みができる差込枠)にのみ有効で,
24494 「コマンド」差込枠(ダイアログボックスに関連付けられた差込枠)には適用されません.
24502 既定のCSS様式を構成します.しかし,
24506 \begin_layout Standard
24512 \begin_layout LyX-Code
24514 \begin_inset Quotes erd
24518 \begin_inset Quotes erd
24524 \begin_layout LyX-Code
24525 <labeltag>ラベル</labeltag>
24528 \begin_layout LyX-Code
24530 \begin_inset Quotes erd
24534 \begin_inset Quotes erd
24537 >差込枠の内容.</innertag>
24540 \begin_layout LyX-Code
24544 \begin_layout Standard
24547 \begin_inset Flex Code
24550 \begin_layout Plain Layout
24561 引用など)を用いて整形されます.もちろん,
24567 \begin_inset Flex Code
24570 \begin_layout Plain Layout
24576 が用いられます.innerタグは非必須であり,
24577 既定では出力されません.各差込枠用に出力される特定のタグや属性は,
24578 以下のレイアウトタグによって制御することができます.
24581 \begin_layout Description
24582 \begin_inset Flex Code
24585 \begin_layout Plain Layout
24592 \begin_inset Flex Code
24595 \begin_layout Plain Layout
24601 ] 主幹タグと共に出力される属性情報を指定します.たとえば,
24603 \begin_inset Flex Code
24606 \begin_layout Plain Layout
24607 class=`myinset' onclick=`\SpecialChar ldots
24616 \begin_inset Flex Code
24619 \begin_layout Plain Layout
24626 \begin_inset Flex Code
24629 \begin_layout Plain Layout
24636 差込枠の\SpecialChar LyX
24638 小文字で記述します.アルファベットや数字以外の文字は,
24639 アンダースコアに置き換えられます.例:
24643 \begin_layout Description
24644 \begin_inset Flex Code
24647 \begin_layout Plain Layout
24654 \begin_inset Flex Code
24657 \begin_layout Plain Layout
24668 \begin_inset Flex Code
24671 \begin_layout Plain Layout
24677 で追加情報が明示的に与えられているときでも,
24679 がこのレイアウト用に生成する既定CSS情報を出力するか否か.これを
24680 \begin_inset Flex Code
24683 \begin_layout Plain Layout
24690 生成されたCSSを完全に上書きする代わりに,
24691 変更したり追加したりすることができます.既定値は
24692 \begin_inset Flex Code
24695 \begin_layout Plain Layout
24704 \begin_layout Description
24705 \begin_inset Flex Code
24708 \begin_layout Plain Layout
24715 \begin_inset Flex Code
24718 \begin_layout Plain Layout
24725 \begin_inset Flex Code
24728 \begin_layout Plain Layout
24737 \begin_layout Description
24738 \begin_inset Flex Code
24741 \begin_layout Plain Layout
24748 \begin_inset Flex Code
24751 \begin_layout Plain Layout
24758 \begin_inset Flex Code
24761 \begin_layout Plain Layout
24770 \begin_layout Description
24771 \begin_inset Flex Code
24774 \begin_layout Plain Layout
24781 \begin_inset Flex Code
24784 \begin_layout Plain Layout
24792 ] この差込枠が(脚註のように)独立した文字列ブロックを表すのか,
24794 (派生枝のように)周囲の文字列の中に取り込まれる素材を表すのか.既定値は1です.
24797 \begin_layout Description
24798 \begin_inset Flex Code
24801 \begin_layout Plain Layout
24808 \begin_inset Flex Code
24811 \begin_layout Plain Layout
24821 \begin_inset Flex Code
24824 \begin_layout Plain Layout
24836 \begin_layout Description
24837 \begin_inset Flex Code
24840 \begin_layout Plain Layout
24848 \begin_inset Flex Code
24851 \begin_layout Plain Layout
24860 \begin_inset Flex Code
24863 \begin_layout Plain Layout
24870 \begin_inset Flex Code
24873 \begin_layout Plain Layout
24879 ブロックをインクルードするのに使用することができます.
24882 \begin_layout Description
24883 \begin_inset Flex Code
24886 \begin_layout Plain Layout
24893 インクルードするCSSスタイル情報.これは,
24895 \begin_inset Flex Code
24898 \begin_layout Plain Layout
24905 CSS自体をインクルードするだけで大丈夫です.
24908 \begin_layout Description
24909 \begin_inset Flex Code
24912 \begin_layout Plain Layout
24919 \begin_inset Flex Code
24922 \begin_layout Plain Layout
24928 ] 主幹ラベルに使用されるタグ.上記各例の
24929 \begin_inset Flex Code
24932 \begin_layout Plain Layout
24939 \begin_inset Flex Code
24942 \begin_layout Plain Layout
24950 \begin_inset Flex Code
24953 \begin_layout Plain Layout
24960 \begin_inset Flex Code
24963 \begin_layout Plain Layout
24971 \begin_inset Flex Code
24974 \begin_layout Plain Layout
24983 \begin_layout Subsection
24987 \begin_layout Standard
24989 レイアウトファイル内の情報によって制御することができます.出力は,
24993 \begin_layout LyX-Code
24995 \begin_inset Quotes erd
24999 \begin_inset Quotes erd
25005 \begin_layout LyX-Code
25009 \begin_layout LyX-Code
25013 \begin_layout Standard
25017 そのような形で出力されます.その外観は,
25018 キャプション差込枠のInsetLayoutで制御することができます.
25021 \begin_layout Description
25022 \begin_inset Flex Code
25025 \begin_layout Plain Layout
25032 \begin_inset Flex Code
25035 \begin_layout Plain Layout
25041 ] 主幹タグと共に出力される属性情報を指定します.たとえば,
25043 \begin_inset Flex Code
25046 \begin_layout Plain Layout
25047 class=`myfloat' onclick=`\SpecialChar ldots
25056 \begin_inset Flex Code
25059 \begin_layout Plain Layout
25060 class=`float フロート-フロート型'
25066 \begin_inset Flex Code
25069 \begin_layout Plain Layout
25077 \begin_inset CommandInset ref
25079 reference "subsec:フロート"
25085 この型のフロートの\SpecialChar LyX
25088 アルファベットや数字でない文字はアンダースコアに変換されます.例:
25092 \begin_layout Description
25093 \begin_inset Flex Code
25096 \begin_layout Plain Layout
25103 インクルードするCSSスタイル情報.これは,
25105 \begin_inset Flex Code
25108 \begin_layout Plain Layout
25115 CSS自体をインクルードするだけで大丈夫です.
25118 \begin_layout Description
25119 \begin_inset Flex Code
25122 \begin_layout Plain Layout
25129 \begin_inset Flex Code
25132 \begin_layout Plain Layout
25138 ] このフロートに使用されるタグ.上記各例の
25139 \begin_inset Flex Code
25142 \begin_layout Plain Layout
25149 \begin_inset Flex Code
25152 \begin_layout Plain Layout
25159 ほとんどの場合変更する必要はありません.
25162 \begin_layout Subsection
25166 \begin_layout Standard
25169 \begin_inset Flex Code
25172 \begin_layout Plain Layout
25178 ブロックを使用して整形することができます.詳細については,
25180 \begin_inset CommandInset ref
25182 reference "subsec:引用書式指定"
25190 \begin_layout Subsection
25195 \begin_layout Standard
25198 提供されている他のレイアウト情報に基づいて,
25199 差込枠と段落様式の両方の既定CSS様式ルールを生成ということすることを,
25200 これまでに何度か触れました.この節では,
25207 \begin_layout Standard
25212 \begin_inset Flex Code
25215 \begin_layout Plain Layout
25222 \begin_inset Flex Code
25225 \begin_layout Plain Layout
25232 \begin_inset Flex Code
25235 \begin_layout Plain Layout
25242 \begin_inset Flex Code
25245 \begin_layout Plain Layout
25252 \begin_inset Flex Code
25255 \begin_layout Plain Layout
25262 フォント情報についてのみCSSを自動生成します(
25263 \begin_inset CommandInset ref
25265 reference "subsec:フォント指定"
25271 きわめて分かりやすく自明です.たとえば,
25273 \begin_inset Flex Code
25276 \begin_layout Plain Layout
25283 \begin_inset Flex Code
25286 \begin_layout Plain Layout
25293 」になります.\SpecialChar LyX
25294 の寸法とCSSの寸法のあいだの対応は,
25296 それでも直感的に分かります.詳細については,
25298 \begin_inset Flex URL
25301 \begin_layout Plain Layout
25309 \begin_inset Flex Code
25312 \begin_layout Plain Layout
25321 \begin_layout Section
25323 \begin_inset CommandInset label
25325 name "sec:DocBook出力のタグ"
25332 \begin_layout Standard
25336 のDocBook出力の書式もレイアウト情報によって制御されています.一般的に\SpecialChar LyX
25338 DocBookは厳密にセマンティックであり,
25340 スタイリングの多くは変換の途中で失われてしまいます.可能な場合には,
25349 \begin_layout Standard
25351 設定した環境や特別差込枠等々について,
25352 納得のいくDocBook出力を得るために,
25353 何かしなくてはならないということはまったくありません.しかしながら,
25354 いくつかの場合において必要となることがあるため,
25357 生成されるDocBookを調整できるようにしています.
25360 \begin_layout Standard
25361 ラベルはDocBookでは冗長であるため,
25362 めったに出力されることはありません.この情報はタグ自身によって伝達され,
25363 (DocBookファイルを処理した後の)最終文書にラベルが現れるかどうかは,
25364 スタイルシートによって制御されます.しかしながら,
25366 ラベルが冗長な内容ではないことが時々あり,
25371 \begin_layout Subsection
25373 \begin_inset CommandInset label
25375 name "subsec:DocBook段落様式"
25382 \begin_layout Standard
25383 段落に対して\SpecialChar LyX
25386 コマンドなのか環境なのかによって変化し,
25388 \begin_inset Flex Code
25391 \begin_layout Plain Layout
25401 \begin_layout Standard
25403 DocBook出力は下記の形を取ります:
25407 \begin_layout LyX-Code
25411 \begin_layout LyX-Code
25415 \begin_layout LyX-Code
25419 \begin_layout Standard
25421 生成されるDocBookは下記の形を取ります:
25425 \begin_layout LyX-Code
25429 \begin_layout LyX-Code
25430 <itemtag>第1段落</itemtag>
25433 \begin_layout LyX-Code
25434 <itemtag>第2段落</itemtag>
25437 \begin_layout LyX-Code
25441 \begin_layout Standard
25443 DocBook出力は下記の形を取ります:
25447 \begin_layout LyX-Code
25451 \begin_layout LyX-Code
25452 <itemtag attr>第1項目</itemtag>
25455 \begin_layout LyX-Code
25456 <itemtag attr>第2項目</itemtag>
25459 \begin_layout LyX-Code
25463 \begin_layout Standard
25464 各段落型に対する特定のタグやロール出力は,
25465 これから説明するレイアウトタグによって制御することができます.まさにDocBookの性質そのものによって,
25466 妥当な既定値というものはまったく存在せず,
25467 値はつねに注意深く選ばなくてはならないと言うことに注意してください.
25470 \begin_layout Description
25471 \begin_inset Flex Code
25474 \begin_layout Plain Layout
25481 \begin_inset Flex Code
25484 \begin_layout Plain Layout
25490 ] メインタグに出力される属性情報を,
25492 \begin_inset Flex Code
25495 \begin_layout Plain Layout
25502 DocBookファイルの後処理に使用することができます.
25505 \begin_layout Description
25506 \begin_inset Flex Code
25509 \begin_layout Plain Layout
25516 \begin_inset Flex Code
25519 \begin_layout Plain Layout
25525 ] この差込枠に使用するタグ.上記の例の「
25526 \begin_inset Flex Code
25529 \begin_layout Plain Layout
25535 」の位置に出力します.既定値はフロート名で,
25536 DocBookには一般的なタグはないので,
25540 \begin_layout Description
25541 \begin_inset Flex Code
25544 \begin_layout Plain Layout
25551 \begin_inset Flex Code
25554 \begin_layout Plain Layout
25562 \begin_inset Flex Code
25565 \begin_layout Plain Layout
25573 \begin_inset Flex Code
25576 \begin_layout Plain Layout
25582 ] このタグの新規行ポリシー.詳細は第
25583 \begin_inset CommandInset ref
25585 reference "subsec:新規行ポリシー"
25596 \begin_layout Subsection
25598 \begin_inset CommandInset label
25600 name "subsec:新規行ポリシー"
25607 \begin_layout Standard
25610 \begin_inset Flex Code
25613 \begin_layout Plain Layout
25619 属性で指定される)新規行の出力ポリシーに下記の3つの選択肢があります.
25622 \begin_layout Itemize
25624 \begin_inset Flex Code
25627 \begin_layout Plain Layout
25634 開始タグと終了タグは独立した行に置きます(つまり開始タグと終了タグの前後にラインフィードします).典型的な要素はフロートです.たとえば,
25639 \begin_layout LyX-Code
25643 \begin_layout LyX-Code
25647 \begin_layout LyX-Code
25651 \begin_layout LyX-Code
25655 \begin_layout LyX-Code
25659 \begin_layout Standard
25664 \begin_layout Itemize
25666 \begin_inset Flex Code
25669 \begin_layout Plain Layout
25676 開始タグと終了タグは同じ新規行に置きます(開始タグの前と終了タグの後にラインフィードが出力されます).典型的な要素は段落と箇条書き項目です.たとえば,
25681 \begin_layout LyX-Code
25685 \begin_layout LyX-Code
25686 <paratag>段落の内容</paratag>
25689 \begin_layout LyX-Code
25693 \begin_layout Standard
25698 \begin_layout Itemize
25700 \begin_inset Flex Code
25703 \begin_layout Plain Layout
25710 開始タグと終了タグは内容と同じ行に置かれます.ラインフィードは出力されません.典型的な要素はフォントです.たとえば,
25715 \begin_layout LyX-Code
25716 前の内容<inlinetag>段落の内容</inlinetag>後の内容
25719 \begin_layout Standard
25724 \begin_layout Standard
25726 \begin_inset Flex Code
25729 \begin_layout Plain Layout
25738 \begin_layout Subsection
25739 InsetLayout DocBook
25742 \begin_layout Standard
25743 差込枠のDocBook出力もレイアウトファイルの情報によって制御されます.
25746 \begin_layout Standard
25747 差込枠に対して\SpecialChar LyX
25748 が出力するDocBookは次のような形を取ります.
25751 \begin_layout LyX-Code
25752 <wrappertag wrapperattr>
25755 \begin_layout LyX-Code
25759 \begin_layout LyX-Code
25760 <innertag innerattr>
25763 \begin_layout LyX-Code
25767 \begin_layout LyX-Code
25771 \begin_layout LyX-Code
25775 \begin_layout LyX-Code
25779 \begin_layout Standard
25784 \begin_layout LyX-Code
25785 <wrappertag wrapperattr>
25788 \begin_layout LyX-Code
25792 \begin_layout LyX-Code
25793 <innertag innerattr>
25796 \begin_layout LyX-Code
25797 <itemwrappertag itemwrapperattr>
25800 \begin_layout LyX-Code
25801 <itemlabeltag itemattr>
25804 \begin_layout LyX-Code
25808 \begin_layout LyX-Code
25812 \begin_layout LyX-Code
25816 \begin_layout LyX-Code
25820 \begin_layout LyX-Code
25824 \begin_layout LyX-Code
25828 \begin_layout LyX-Code
25832 \begin_layout LyX-Code
25836 \begin_layout LyX-Code
25837 <itemwrappertag itemwrapperattr>
25840 \begin_layout LyX-Code
25841 <itemlabeltag itemattr>
25844 \begin_layout LyX-Code
25848 \begin_layout LyX-Code
25852 \begin_layout LyX-Code
25856 \begin_layout LyX-Code
25860 \begin_layout LyX-Code
25864 \begin_layout LyX-Code
25868 \begin_layout LyX-Code
25872 \begin_layout LyX-Code
25876 \begin_layout LyX-Code
25880 \begin_layout LyX-Code
25884 \begin_layout LyX-Code
25888 \begin_layout LyX-Code
25892 \begin_layout Standard
25896 \begin_inset Flex Code
25899 \begin_layout Plain Layout
25910 引用等)にしたがって整形された段落として出力されます.内側のタグは必須ではなく,
25914 \begin_layout Standard
25915 各差込枠に出力される特定のタグと属性は,
25916 下記のようなレイアウトタグによって制御されます.
25919 \begin_layout Description
25920 \begin_inset Flex Code
25923 \begin_layout Plain Layout
25930 \begin_inset Flex Code
25933 \begin_layout Plain Layout
25939 ] メインタグに出力される属性情報を,
25941 \begin_inset Flex Code
25944 \begin_layout Plain Layout
25951 DocBookファイルの後処理に使用することができます.
25954 \begin_layout Description
25955 \begin_inset Flex Code
25958 \begin_layout Plain Layout
25965 \begin_inset Flex Code
25968 \begin_layout Plain Layout
25976 ] このタグを親レイアウトの最初にある
25977 \begin_inset Flex Code
25980 \begin_layout Plain Layout
25986 タグの中に入れるかどうかを指定します.
25987 \begin_inset Flex Code
25990 \begin_layout Plain Layout
25998 \begin_inset Flex Code
26001 \begin_layout Plain Layout
26007 の中に決して入れないことを示します(これは既定値であり通常の内容に対応します).
26008 \begin_inset Flex Code
26011 \begin_layout Plain Layout
26019 \begin_inset Flex Code
26022 \begin_layout Plain Layout
26028 の中につねに入れることを示します(これは通常のメタデータに対応します).親に
26029 \begin_inset Flex Code
26032 \begin_layout Plain Layout
26039 \begin_inset Flex 圏点
26042 \begin_layout Plain Layout
26049 \begin_inset Flex Code
26052 \begin_layout Plain Layout
26060 \begin_inset Flex Code
26063 \begin_layout Plain Layout
26069 の中に入れるかもしれないことを示します(これは表題の場合にのみ該当します).親に
26070 \begin_inset Flex Code
26073 \begin_layout Plain Layout
26080 \begin_inset Flex 圏点
26083 \begin_layout Plain Layout
26093 \begin_layout Description
26094 \begin_inset Flex Code
26097 \begin_layout Plain Layout
26104 \begin_inset Flex Code
26107 \begin_layout Plain Layout
26115 \begin_inset Flex Code
26118 \begin_layout Plain Layout
26125 DocBookファイルの後処理に使用することができます.
26128 \begin_layout Description
26129 \begin_inset Flex Code
26132 \begin_layout Plain Layout
26133 DocBookItemInnerAttr
26139 \begin_inset Flex Code
26142 \begin_layout Plain Layout
26148 ] 項目内部タグに出力される属性情報を,
26150 \begin_inset Flex Code
26153 \begin_layout Plain Layout
26160 DocBookファイルの後処理に使用することができます.
26163 \begin_layout Description
26164 \begin_inset Flex Code
26167 \begin_layout Plain Layout
26168 DocBookItemInnerTag
26174 \begin_inset Flex Code
26177 \begin_layout Plain Layout
26183 ] 差込枠内部の項目内部タグに使用するタグ.上記の例の「
26184 \begin_inset Flex Code
26187 \begin_layout Plain Layout
26194 \begin_inset Flex Code
26197 \begin_layout Plain Layout
26204 項目内部タグがないことを示します.すなわち,
26206 項目内部タグなしに中身が直接出力されます.このパラメーターは,
26208 項目立てレイアウトが使われているときのみ意味を持ちます.最もあり得る値は「
26209 \begin_inset Flex Code
26212 \begin_layout Plain Layout
26219 \begin_inset Newline newline
26222 箇条書き項目が新規行を使って分割される場合,
26224 新規行で分割される段落の各部分に対して個別に出力されます.
26227 \begin_layout Description
26228 \begin_inset Flex Code
26231 \begin_layout Plain Layout
26232 DocBookItemInnerTagType
26238 \begin_inset Flex Code
26241 \begin_layout Plain Layout
26249 \begin_inset Flex Code
26252 \begin_layout Plain Layout
26260 \begin_inset Flex Code
26263 \begin_layout Plain Layout
26269 ] このタグの新規行ポリシー.詳細は第
26270 \begin_inset CommandInset ref
26272 reference "subsec:新規行ポリシー"
26283 \begin_layout Description
26284 \begin_inset Flex Code
26287 \begin_layout Plain Layout
26288 DocBookItemLabelAttr
26294 \begin_inset Flex Code
26297 \begin_layout Plain Layout
26303 ] 項目ラベルタグに出力される属性情報を,
26305 \begin_inset Flex Code
26308 \begin_layout Plain Layout
26315 DocBookファイルの後処理に使用することができます.
26318 \begin_layout Description
26319 \begin_inset Flex Code
26322 \begin_layout Plain Layout
26323 DocBookItemLabelTag
26329 \begin_inset Flex Code
26332 \begin_layout Plain Layout
26338 ] 差込枠内部の項目ラベルタグに使用するタグ.上記の例の「
26339 \begin_inset Flex Code
26342 \begin_layout Plain Layout
26348 」の位置に出力します.このパラメーターは,
26350 ラベルの概念を伴う項目立てレイアウトが使われているときのみ意味を持ちます.
26353 \begin_layout Description
26354 \begin_inset Flex Code
26357 \begin_layout Plain Layout
26358 DocBookItemLabelTagType
26364 \begin_inset Flex Code
26367 \begin_layout Plain Layout
26375 \begin_inset Flex Code
26378 \begin_layout Plain Layout
26386 \begin_inset Flex Code
26389 \begin_layout Plain Layout
26395 ] このタグの新規行ポリシー.詳細は第
26396 \begin_inset CommandInset ref
26398 reference "subsec:新規行ポリシー"
26409 \begin_layout Description
26410 \begin_inset Flex Code
26413 \begin_layout Plain Layout
26420 \begin_inset Flex Code
26423 \begin_layout Plain Layout
26429 ] 差込枠内部の項目タグに使用するタグ.上記の例の「
26430 \begin_inset Flex Code
26433 \begin_layout Plain Layout
26440 \begin_inset Flex Code
26443 \begin_layout Plain Layout
26450 項目タグがないことを示します.このパラメーターは,
26452 項目立てレイアウトが使われているときのみ意味を持ちます.
26455 \begin_layout Description
26456 \begin_inset Flex Code
26459 \begin_layout Plain Layout
26466 \begin_inset Flex Code
26469 \begin_layout Plain Layout
26477 \begin_inset Flex Code
26480 \begin_layout Plain Layout
26488 \begin_inset Flex Code
26491 \begin_layout Plain Layout
26497 ] このタグの新規行ポリシー.詳細は第
26498 \begin_inset CommandInset ref
26500 reference "subsec:新規行ポリシー"
26511 \begin_layout Description
26512 \begin_inset Flex Code
26515 \begin_layout Plain Layout
26516 DocBookItemWrapperAttr
26522 \begin_inset Flex Code
26525 \begin_layout Plain Layout
26531 ] 項目ラッパータグに出力される属性情報を,
26533 \begin_inset Flex Code
26536 \begin_layout Plain Layout
26543 DocBookファイルの後処理に使用することができます.
26546 \begin_layout Description
26547 \begin_inset Flex Code
26550 \begin_layout Plain Layout
26551 DocBookItemWrapperTag
26557 \begin_inset Flex Code
26560 \begin_layout Plain Layout
26566 ] 差込枠内部の項目ラッパータグに使用するタグ.上記の例の「
26567 \begin_inset Flex Code
26570 \begin_layout Plain Layout
26577 \begin_inset Flex Code
26580 \begin_layout Plain Layout
26587 項目ラッパータグがないことを示します.すなわち,
26589 項目ラッパータグなしにタグと中身が直接出力されます.このパラメーターは,
26591 項目立てレイアウトが使われているときのみ意味を持ちます.
26594 \begin_layout Description
26595 \begin_inset Flex Code
26598 \begin_layout Plain Layout
26599 DocBookItemWrapperTagType
26605 \begin_inset Flex Code
26608 \begin_layout Plain Layout
26616 \begin_inset Flex Code
26619 \begin_layout Plain Layout
26627 \begin_inset Flex Code
26630 \begin_layout Plain Layout
26636 ] このタグの新規行ポリシー.詳細は第
26637 \begin_inset CommandInset ref
26639 reference "subsec:新規行ポリシー"
26650 \begin_layout Description
26651 \begin_inset Flex Code
26654 \begin_layout Plain Layout
26661 \begin_inset Flex Code
26664 \begin_layout Plain Layout
26672 \begin_inset Flex Code
26675 \begin_layout Plain Layout
26682 DocBookファイルの後処理に使用することができます.
26685 \begin_layout Description
26686 \begin_inset Flex Code
26689 \begin_layout Plain Layout
26696 \begin_inset Flex Code
26699 \begin_layout Plain Layout
26705 ] 差込枠内部の内部タグに使用するタグ.上記の例の「
26706 \begin_inset Flex Code
26709 \begin_layout Plain Layout
26716 \begin_inset Flex Code
26719 \begin_layout Plain Layout
26726 内部タグがないことを示します.すなわち,
26727 内部タグなしに中身が直接出力されます.
26730 \begin_layout Description
26731 \begin_inset Flex Code
26734 \begin_layout Plain Layout
26735 DocBookInnerTagType
26741 \begin_inset Flex Code
26744 \begin_layout Plain Layout
26752 \begin_inset Flex Code
26755 \begin_layout Plain Layout
26763 \begin_inset Flex Code
26766 \begin_layout Plain Layout
26772 ] このタグの新規行ポリシー.詳細は第
26773 \begin_inset CommandInset ref
26775 reference "subsec:新規行ポリシー"
26786 \begin_layout Description
26787 \begin_inset Flex Code
26790 \begin_layout Plain Layout
26797 \begin_inset Flex Code
26800 \begin_layout Plain Layout
26806 ] このタイプのセクションに対応するタグを指定します.このパラメーターは,
26807 セクショニング要素(部・章・節等)にのみ意味を持ちます.既定値は
26808 \begin_inset Flex Code
26811 \begin_layout Plain Layout
26818 DocBookがセクショニングに他のものを使うときのみ上書きされます(典型的にはbookの部や章).
26821 \begin_layout Description
26822 \begin_inset Flex Code
26825 \begin_layout Plain Layout
26832 \begin_inset Flex Code
26835 \begin_layout Plain Layout
26841 ] この差込枠に使用するタグ.上記の例の「
26842 \begin_inset Flex Code
26845 \begin_layout Plain Layout
26851 」の位置に出力します.既定値はフロート名で,
26852 DocBookには一般的なタグはないので,
26856 \begin_layout Description
26857 \begin_inset Flex Code
26860 \begin_layout Plain Layout
26867 \begin_inset Flex Code
26870 \begin_layout Plain Layout
26878 \begin_inset Flex Code
26881 \begin_layout Plain Layout
26889 \begin_inset Flex Code
26892 \begin_layout Plain Layout
26898 ] このタグの新規行ポリシー.詳細は第
26899 \begin_inset CommandInset ref
26901 reference "subsec:新規行ポリシー"
26912 \begin_layout Description
26913 \begin_inset Flex Code
26916 \begin_layout Plain Layout
26923 \begin_inset Flex Code
26926 \begin_layout Plain Layout
26932 ] 外部ラッパータグに出力される属性情報を,
26934 \begin_inset Flex Code
26937 \begin_layout Plain Layout
26944 DocBookファイルの後処理に使用することができます.
26947 \begin_layout Description
26948 \begin_inset Flex Code
26951 \begin_layout Plain Layout
26958 \begin_inset Flex Code
26961 \begin_layout Plain Layout
26967 ] 差込枠の周りのラッパータグに使用するタグ.上記の例の「
26968 \begin_inset Flex Code
26971 \begin_layout Plain Layout
26978 \begin_inset Flex Code
26981 \begin_layout Plain Layout
26988 ラッパータグがないことを示します.すなわち,
26989 ラッパータグなしにタグと中身が直接出力されます.
26992 \begin_layout Description
26993 \begin_inset Flex Code
26996 \begin_layout Plain Layout
26997 DocBookWrapperTagType
27003 \begin_inset Flex Code
27006 \begin_layout Plain Layout
27014 \begin_inset Flex Code
27017 \begin_layout Plain Layout
27025 \begin_inset Flex Code
27028 \begin_layout Plain Layout
27034 ] このタグの新規行ポリシー.詳細は第
27035 \begin_inset CommandInset ref
27037 reference "subsec:新規行ポリシー"
27048 \begin_layout Subsection
27052 \begin_layout Standard
27053 フロートのDocBook出力もレイアウトファイルの情報によって制御されます.出力は以下の形を取ります.
27056 \begin_layout LyX-Code
27060 \begin_layout LyX-Code
27064 \begin_layout LyX-Code
27068 \begin_layout Standard
27074 \begin_layout Description
27075 \begin_inset Flex Code
27078 \begin_layout Plain Layout
27085 \begin_inset Flex Code
27088 \begin_layout Plain Layout
27094 ] メインタグに出力される属性情報を,
27096 \begin_inset Flex Code
27099 \begin_layout Plain Layout
27106 DocBookファイルの後処理に使用することができます.
27109 \begin_layout Description
27110 \begin_inset Flex Code
27113 \begin_layout Plain Layout
27120 \begin_inset Flex Code
27123 \begin_layout Plain Layout
27129 ] このフロートに使用するタグ.上記の例の「
27130 \begin_inset Flex Code
27133 \begin_layout Plain Layout
27139 」の位置に出力します.既定値はフロート名で,
27140 DocBookには一般的なタグはないので,
27144 \begin_layout Subsection
27148 \begin_layout Standard
27149 読み込んだ書誌情報は整形することができません.すなわち,
27152 \begin_inset Flex Code
27155 \begin_layout Plain Layout
27161 タグを使用して(BibTeXファイルと同等な)データベース型のDocBook形式でつねに出力されます.
27164 \begin_layout Standard
27167 文書に書誌情報項目として手動で挿入されると,
27168 ユーザーはその整形を担当します.すなわち,
27169 ユーザーが書いたことを解析することは為されず,
27171 \begin_inset Flex Code
27174 \begin_layout Plain Layout
27183 \begin_layout Chapter
27185 \begin_inset CommandInset label
27187 name "chap:外部素材を取り込む"
27194 \begin_layout Standard
27195 \begin_inset Box Shadowbox
27205 height_special "totalheight"
27210 backgroundcolor "none"
27213 \begin_layout Plain Layout
27215 しばらく更新されていません.もちろんまだ正確であることを期待していますが,
27224 \begin_layout Standard
27226 外部のソースから素材を使用する方法は,
27231 』で詳細にカバーされています.本章は,
27233 舞台裏で何をする必要があるかをカバーします.
27236 \begin_layout Section
27240 \begin_layout Standard
27242 ひな型の概念に基づいています.ひな型は,
27244 がある型の素材とどのように橋渡しをするべきかを指定するものです.同梱物として,
27250 LilyPond楽譜用のひな型を事前に定義されたものとして含んでいます.実際に何が入っているかは,
27252 \begin_inset Flex MenuItem
27255 \begin_layout Plain Layout
27256 挿入\SpecialChar menuseparator
27257 ファイル\SpecialChar menuseparator
27263 メニューで見ることができます.さらに,
27265 自分自身のひな型を作成することも可能です.後でどのようなことをすればいいか詳細に説明しますが,
27266 できればあなたが作ったすべてのひな型を投稿して,
27267 我々が\SpecialChar LyX
27268 の後の版に取り込むことができるようにしてくださることを希望します.
27271 \begin_layout Standard
27272 外部素材の機能におけるもう一つの基本的な発想は,
27273 最終素材の元となるオリジナルファイルと,
27274 書き出された文書や印刷された文書に取り込むための生成ファイルとを区別していることです.たとえば,
27276 \begin_inset Flex Code
27279 \begin_layout Plain Layout
27285 で作成した図の場合を考えてみましょう.Xfigアプリケーション自体は,
27287 \begin_inset Flex Code
27290 \begin_layout Plain Layout
27296 拡張子を持つオリジナルファイルを操作します.Xfigで図を作成したり変更したりして,
27298 \begin_inset Flex Code
27301 \begin_layout Plain Layout
27307 ファイルに保存します.この図をお使いの文書に取り込みたいときには,
27309 ファイルにそのままインクルードできるように,
27311 \begin_inset Flex Code
27314 \begin_layout Plain Layout
27320 を呼び出してPostScriptファイルを生成します.この場合には,
27322 \begin_inset Flex Code
27325 \begin_layout Plain Layout
27332 PostScriptファイルが生成ファイルになります.
27335 \begin_layout Standard
27338 素材を更新することができるようにするために重要です.さらに,
27340 複数の書き出し書式をサポートするために必要な柔軟性が提供されます.たとえば,
27342 図を生のPostScriptファイルとして取り込むのは,
27343 とても褒められた発想とはいえません.むしろ,
27345 最終出力が実際の画像に近いものとなるように画像からASCIIへの変換子を呼び出したいと考えることでしょう.\SpecialChar LyX
27348 がサポートする各書き出し書式別に仕分けしているので,
27349 ユーザがこれを行うことが可能となっています.
27352 \begin_layout Standard
27355 書き出し書式によって異なる生成物をサポートすることの他に,
27356 編集・閲覧アプリケーションを緊密に統合することもサポートします.Xfigの図の場合には,
27358 の外部素材ダイアログからシングルクリックでオリジナルファイルをXfigで開くことができ,
27359 ダブルクリックすることで生成されたPostScriptファイルをGhostviewで閲覧することができます.もうコマンドラインをもてあそんだり,
27360 オリジナルファイルや生成ファイルがどこにあるか探したり変更を加えるためにファイルブラウザをいじくり回す必要はないのです.このようにして,
27361 文書を執筆する際に必要となる多くのアプリケーションを最大限に利用し,
27362 最終的により生産性を上げることができるようになるのです.
27365 \begin_layout Section
27369 \begin_layout Standard
27375 簡単に濫用されてしまうようなセキュリティホールを作ってしまいがちであることを心に留めておいてください.したがって,
27378 \begin_inset CommandInset ref
27380 reference "sec:セキュリティに関する論点"
27385 のセキュリティに関する議論を読んでおいてください.
27388 \begin_layout Standard
27394 \begin_layout Standard
27397 \begin_inset Flex Code
27400 \begin_layout Plain Layout
27401 LyXDir/lib/xtemplates/
27407 \begin_inset Flex Code
27410 \begin_layout Plain Layout
27416 ファイルに定義されています.各ひな型は,
27417 そのファイル完結で定義されています.自分専用のひな型を
27418 \begin_inset Flex Code
27421 \begin_layout Plain Layout
27422 UserDir/xtemplates/
27428 既存のひな型をそのデイレク取りにコピーして修正を加えることもできます.
27431 \begin_layout Standard
27432 典型的なひな型は以下のようになります.
27435 \begin_layout LyX-Code
27439 \begin_layout LyX-Code
27441 $$AbsOrRelPathParent$$Basename"
27444 \begin_layout LyX-Code
27448 \begin_layout LyX-Code
27452 \begin_layout LyX-Code
27456 \begin_layout LyX-Code
27460 \begin_layout LyX-Code
27464 \begin_layout LyX-Code
27465 AutomaticProduction true
27468 \begin_layout LyX-Code
27472 \begin_layout LyX-Code
27476 \begin_layout LyX-Code
27480 \begin_layout LyX-Code
27481 TransformCommand Rotate RotationLatexCommand
27484 \begin_layout LyX-Code
27485 TransformCommand Resize ResizeLatexCommand
27488 \begin_layout LyX-Code
27489 Product "$$RotateFront$$ResizeFront
27492 \begin_layout LyX-Code
27497 input{$$AbsOrRelPathMaster$$Basename.pstex_t}
27500 \begin_layout LyX-Code
27501 $$ResizeBack$$RotateBack"
27504 \begin_layout LyX-Code
27508 \begin_layout LyX-Code
27509 UpdateResult "$$AbsPath$$Basename.pstex_t"
27512 \begin_layout LyX-Code
27513 Requirement "graphicx"
27516 \begin_layout LyX-Code
27517 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
27520 \begin_layout LyX-Code
27521 ReferencedFile latex "$$AbsPath$$Basename.eps"
27524 \begin_layout LyX-Code
27525 ReferencedFile dvi "$$AbsPath$$Basename.eps"
27528 \begin_layout LyX-Code
27532 \begin_layout LyX-Code
27536 \begin_layout LyX-Code
27537 TransformCommand Rotate RotationLatexCommand
27540 \begin_layout LyX-Code
27541 TransformCommand Resize ResizeLatexCommand
27544 \begin_layout LyX-Code
27545 Product "$$RotateFront$$ResizeFront
27548 \begin_layout LyX-Code
27553 input{$$AbsOrRelPathMaster$$Basename.pdftex_t}
27556 \begin_layout LyX-Code
27557 $$ResizeBack$$RotateBack"
27560 \begin_layout LyX-Code
27561 UpdateFormat pdftex
27564 \begin_layout LyX-Code
27565 UpdateResult "$$AbsPath$$Basename.pdftex_t"
27568 \begin_layout LyX-Code
27569 Requirement "graphicx"
27572 \begin_layout LyX-Code
27573 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pdftex_t"
27576 \begin_layout LyX-Code
27577 ReferencedFile latex "$$AbsPath$$Basename.pdf"
27580 \begin_layout LyX-Code
27584 \begin_layout LyX-Code
27588 \begin_layout LyX-Code
27589 Product "$$Contents(
27591 "$$AbsPath$$Basename.asc
27596 \begin_layout LyX-Code
27597 UpdateFormat asciixfig
27600 \begin_layout LyX-Code
27601 UpdateResult "$$AbsPath$$Basename.asc"
27604 \begin_layout LyX-Code
27608 \begin_layout LyX-Code
27612 \begin_layout LyX-Code
27613 Product "<graphic fileref=
27615 "$$AbsOrRelPathMaster$$Basename.eps
27620 \begin_layout LyX-Code
27624 \begin_layout LyX-Code
27628 \begin_layout LyX-Code
27629 UpdateResult "$$AbsPath$$Basename.eps"
27632 \begin_layout LyX-Code
27633 ReferencedFile docbook "$$AbsPath$$Basename.eps"
27636 \begin_layout LyX-Code
27637 ReferencedFile docbook-xml "$$AbsPath$$Basename.eps"
27640 \begin_layout LyX-Code
27644 \begin_layout LyX-Code
27649 \begin_layout LyX-Code
27653 \begin_layout LyX-Code
27657 \begin_layout Standard
27660 \begin_inset Flex Code
27663 \begin_layout Plain Layout
27671 \begin_inset Flex Code
27674 \begin_layout Plain Layout
27682 サポートされている主要な文書ファイル形式の設定を行う
27683 \begin_inset Flex Code
27686 \begin_layout Plain Layout
27694 \begin_inset Flex Code
27697 \begin_layout Plain Layout
27706 \begin_layout Subsection
27710 \begin_layout Description
27711 \begin_inset Flex Code
27714 \begin_layout Plain Layout
27715 AutomaticProduction
27716 \begin_inset space ~
27724 このひな型で扱うファイルを\SpecialChar LyX
27725 が生成しなくてはならないか否か.このコマンドは,
27729 \begin_layout Description
27730 \begin_inset Flex Code
27733 \begin_layout Plain Layout
27735 \begin_inset space ~
27744 ファイルダイアログで使用するフィルタ用globパターン.2つ以上のファイル拡張子があり得る場合(たとえば,
27746 \begin_inset Flex Code
27749 \begin_layout Plain Layout
27756 \begin_inset Flex Code
27759 \begin_layout Plain Layout
27767 \begin_inset Flex Code
27770 \begin_layout Plain Layout
27776 」の様なパターンを使用してください.このコマンドは,
27780 \begin_layout Description
27781 \begin_inset Flex Code
27784 \begin_layout Plain Layout
27786 \begin_inset space ~
27794 この文字列はボタン上に表示されます.このコマンドは,
27798 \begin_layout Description
27799 \begin_inset Flex Code
27802 \begin_layout Plain Layout
27804 \begin_inset space ~
27808 \begin_inset space ~
27816 外部素材ダイアログで使用されるヘルプ文.このひな型がユーザに何を提供できるのか,
27817 ユーザに説明するのに十分な情報を盛り込んでください.このコマンドは,
27821 \begin_layout Description
27822 \begin_inset Flex Code
27825 \begin_layout Plain Layout
27827 \begin_inset space ~
27835 オリジナルファイルのファイル形式.これは,
27837 が知っている書式名でなくてはなりません(
27838 \begin_inset CommandInset ref
27840 reference "sec:ファイル形式"
27846 2つ以上の書式のオリジナルファイルを取り扱える場合は,
27848 \begin_inset Flex Code
27851 \begin_layout Plain Layout
27860 ファイル自体に詮索を試みます.このコマンドは,
27864 \begin_layout Description
27865 \begin_inset Flex Code
27868 \begin_layout Plain Layout
27870 \begin_inset space ~
27878 このひな型の(他と重複しない)名称.代入マクロを含めてはなりません(下記参照).
27881 \begin_layout Description
27882 \begin_inset Flex Code
27885 \begin_layout Plain Layout
27887 \begin_inset space ~
27890 Rotate|Resize|Clip|Extra
27896 このひな型がどのような変換をサポートしているかを指定します.これは全く登場しなくても1回以上現れても構いません.このコマンドは,
27897 外部素材ダイアログ中の対応するタブを使用可能にします.
27898 \begin_inset Flex Code
27901 \begin_layout Plain Layout
27909 \begin_inset Flex Code
27912 \begin_layout Plain Layout
27920 \begin_inset Flex Code
27923 \begin_layout Plain Layout
27930 \begin_inset Flex Code
27933 \begin_layout Plain Layout
27939 コマンドを置かなくてはなりません.これを行わないと,
27940 この書式での変換はサポートされません.
27943 \begin_layout Subsection
27944 \begin_inset Flex Code
27947 \begin_layout Plain Layout
27956 \begin_layout Description
27957 \begin_inset Flex Code
27960 \begin_layout Plain Layout
27962 \begin_inset space ~
27965 LaTeX|PDFLaTeX|PlainText|DocBook|XHTML
27970 この書式定義が定める主要な文書ファイル形式.すべてのひな型が,
27971 全文書ファイル形式に対して意味のある表示ができるわけではありません.それでも,
27973 \begin_inset Flex Code
27976 \begin_layout Plain Layout
27982 部を定義してください.表示する方法がないときは,
27983 ダミーテキストを使用してください.これによって,
27985 少なくとも外部素材への参照を見ることができるようになります.
27988 \begin_layout Description
27989 \begin_inset Flex Code
27992 \begin_layout Plain Layout
27994 \begin_inset space ~
27998 \begin_inset space ~
28008 \begin_inset Flex Code
28011 \begin_layout Plain Layout
28018 \begin_inset Flex Code
28021 \begin_layout Plain Layout
28028 \begin_inset Flex Code
28031 \begin_layout Plain Layout
28037 自体にも代入マクロを使うことができます.
28038 \begin_inset Flex Code
28041 \begin_layout Plain Layout
28048 \begin_inset Flex Code
28051 \begin_layout Plain Layout
28059 \begin_inset Flex Code
28062 \begin_layout Plain Layout
28069 その文書書式で有効な非必須引数となるように健全化されることです.このコマンドは全く登場しなくても1回以上現れても構いません.
28072 \begin_layout Description
28073 \begin_inset Flex Code
28076 \begin_layout Plain Layout
28078 \begin_inset space ~
28086 書き出された文書に挿入される文.実のところ,
28088 とても複雑になることがあります.このコマンドは,
28092 \begin_layout Description
28093 \begin_inset Flex Code
28096 \begin_layout Plain Layout
28098 \begin_inset space ~
28108 プリアンブルに入れるプリアンブル片を指定します.これは
28109 \begin_inset Flex Code
28112 \begin_layout Plain Layout
28120 \begin_inset Flex Code
28123 \begin_layout Plain Layout
28129 を使用して定義しなくてはなりません.このコマンドは全く登場しなくても1回以上現れても構いません.
28132 \begin_layout Description
28133 \begin_inset Flex Code
28136 \begin_layout Plain Layout
28138 \begin_inset space ~
28142 \begin_inset space ~
28152 特定の書き出し書式に必要とされるファイルを示します.ファイル名が相対パスである場合には,
28153 親文書に対する相対パスとして解釈されます.このコマンドは全く登場しなくても1回以上現れても構いません.
28156 \begin_layout Description
28157 \begin_inset Flex Code
28160 \begin_layout Plain Layout
28162 \begin_inset space ~
28170 必要とされる\SpecialChar LaTeX
28174 \begin_inset Flex Code
28177 \begin_layout Plain Layout
28185 を使って取り込まれます.このコマンドは全く登場しなくても1回以上現れても構いません.
28188 \begin_layout Description
28189 \begin_inset Flex Code
28192 \begin_layout Plain Layout
28194 \begin_inset space ~
28198 \begin_inset space ~
28201 RotationLatexCommand
28208 組み込みの\SpecialChar LaTeX
28209 コマンドを使用するように指定します.このコマンドは,
28210 1回現れても全く現れなくても構いません.
28213 \begin_layout Description
28214 \begin_inset Flex Code
28217 \begin_layout Plain Layout
28219 \begin_inset space ~
28223 \begin_inset space ~
28233 組み込みの\SpecialChar LaTeX
28234 コマンドを使用するように指定します.このコマンドは,
28235 1回現れても全く現れなくても構いません.
28238 \begin_layout Description
28239 \begin_inset Flex Code
28242 \begin_layout Plain Layout
28244 \begin_inset space ~
28248 \begin_inset space ~
28251 RotationLatexOption
28257 回転が非必須引数を通じて行われるように指定します.このコマンドは,
28258 1回現れても全く現れなくても構いません.
28261 \begin_layout Description
28262 \begin_inset Flex Code
28265 \begin_layout Plain Layout
28267 \begin_inset space ~
28271 \begin_inset space ~
28280 伸縮が非必須引数を通じて行われるように指定します.このコマンドは,
28281 1回現れても全く現れなくても構いません.
28284 \begin_layout Description
28285 \begin_inset Flex Code
28288 \begin_layout Plain Layout
28290 \begin_inset space ~
28294 \begin_inset space ~
28303 切り抜きが非必須引数を通じて行われるように指定します.このコマンドは,
28304 1回現れても全く現れなくても構いません.
28307 \begin_layout Description
28308 \begin_inset Flex Code
28311 \begin_layout Plain Layout
28313 \begin_inset space ~
28317 \begin_inset space ~
28326 追加の非必須引数を使用することを指定します.このコマンドは,
28327 1回現れても全く現れなくても構いません.
28330 \begin_layout Description
28331 \begin_inset Flex Code
28334 \begin_layout Plain Layout
28336 \begin_inset space ~
28344 変換されたファイルのファイル形式.これは,
28346 が知っている書式名でなくてはなりません(
28347 \begin_inset Flex MenuItem
28350 \begin_layout Plain Layout
28351 ツール\SpecialChar menuseparator
28352 設定\SpecialChar menuseparator
28353 ファイル処理\SpecialChar menuseparator
28360 一度だけ必ず現れなくてはなりません.得られるファイル形式がPDFの場合,
28362 \begin_inset Flex Code
28365 \begin_layout Plain Layout
28371 を指定する必要があります.これは画像取り込みに用いられるPDF計四機です.他の定義済みPDF形式は文書書き出し用のものです.
28374 \begin_layout Description
28375 \begin_inset Flex Code
28378 \begin_layout Plain Layout
28380 \begin_inset space ~
28388 変換されたファイルのファイル名.ファイル名は絶対パスでなくてはなりません.このコマンドは,
28392 \begin_layout Subsection
28396 \begin_layout Standard
28399 \begin_inset Flex Code
28402 \begin_layout Plain Layout
28410 \begin_inset Flex Code
28413 \begin_layout Plain Layout
28419 で囲んだプリアンブル定義を追加することができます.これらの定義は,
28421 \begin_inset Flex Code
28424 \begin_layout Plain Layout
28433 \begin_layout Section
28437 \begin_layout Standard
28438 外部素材機構が外部プログラムを呼び出すときには,
28439 ひな型設定ファイルで定義されたコマンドにしたがって行われます.これらのコマンドには,
28440 実行前に展開されるマクロをいろいろ入れることができます.実行は,
28441 つねに元の文書があるディレクトリで行われます.
28444 \begin_layout Standard
28446 外部素材が表示されるときにはいつでも,
28447 その名称は代入機構によって組み立てられ,
28448 ひな型定義中の他のほとんどのコマンドも代入をサポートしています.
28451 \begin_layout Standard
28455 \begin_layout Description
28456 \begin_inset Flex Code
28459 \begin_layout Plain Layout
28460 $$AbsOrRelPathMaster
28466 親文書への絶対ファイルパスないしは相対ファイルパス
28469 \begin_layout Description
28470 \begin_inset Flex Code
28473 \begin_layout Plain Layout
28474 $$AbsOrRelPathParent
28480 文書への絶対ファイルパスないしは相対ファイルパス
28483 \begin_layout Description
28484 \begin_inset Flex Code
28487 \begin_layout Plain Layout
28496 \begin_layout Description
28497 \begin_inset Flex Code
28500 \begin_layout Plain Layout
28509 \begin_layout Description
28510 \begin_inset Flex Code
28513 \begin_layout Plain Layout
28515 \begin_inset Quotes eld
28519 \begin_inset Quotes erd
28529 \begin_inset Flex Code
28532 \begin_layout Plain Layout
28538 と云う名のファイルの中身を展開します.
28541 \begin_layout Description
28542 \begin_inset Flex Code
28545 \begin_layout Plain Layout
28554 \begin_layout Description
28555 \begin_inset Flex Code
28558 \begin_layout Plain Layout
28567 それ以外では文字列「png」となります.これは,
28568 PNG形式とJPEG形式の両方をサポートする出力形式に対して,
28569 不必要な変換を行うことを避けるのに役立ちます.事前設定されているラスター画像ひな形は,
28570 pdf\SpecialChar TeX
28571 出力形式に対してこのマクロを使用します.
28574 \begin_layout Description
28575 \begin_inset Flex Code
28578 \begin_layout Plain Layout
28584 外部素材ダイアログで指定されたファイルのファイル名.これは\SpecialChar LyX
28589 \begin_layout Description
28590 \begin_inset Flex Code
28593 \begin_layout Plain Layout
28600 \begin_inset Flex Code
28603 \begin_layout Plain Layout
28609 のパス部分(\SpecialChar LyX
28613 \begin_layout Description
28614 \begin_inset Flex Code
28617 \begin_layout Plain Layout
28627 \begin_layout Description
28628 \begin_inset Flex Code
28631 \begin_layout Plain Layout
28641 \begin_layout Description
28642 \begin_inset Flex Code
28645 \begin_layout Plain Layout
28652 システムディレクトリの絶対パスを展開します.これは,
28655 に同梱されているヘルパースクリプト群を示したりするのに使用されます.
28658 \begin_layout Description
28659 \begin_inset Flex Code
28662 \begin_layout Plain Layout
28669 挿入されていた外部素材が削除されたりすると自動的に削除される一時ファイルのフルパスとファイル名.
28672 \begin_layout Standard
28673 パスを示すマクロはすべて最後のディレクトリ区切りも含んでいますので,
28675 \begin_inset Flex Code
28678 \begin_layout Plain Layout
28679 $$AbsPath$$Basename$$Extension
28687 \begin_layout Standard
28689 特記しない限りはすべてのコマンドで代入が行われます.
28690 \begin_inset Flex Code
28693 \begin_layout Plain Layout
28700 \begin_inset Flex Code
28703 \begin_layout Plain Layout
28711 \begin_inset Flex Code
28714 \begin_layout Plain Layout
28721 これらに加えて以下の代入もサポートします.
28724 \begin_layout Description
28725 \begin_inset Flex Code
28728 \begin_layout Plain Layout
28737 \begin_layout Description
28738 \begin_inset Flex Code
28741 \begin_layout Plain Layout
28750 \begin_layout Description
28751 \begin_inset Flex Code
28754 \begin_layout Plain Layout
28763 \begin_layout Description
28764 \begin_inset Flex Code
28767 \begin_layout Plain Layout
28776 \begin_layout Standard
28777 \begin_inset Flex Code
28780 \begin_layout Plain Layout
28788 \begin_inset Flex Code
28791 \begin_layout Plain Layout
28798 \begin_inset Flex Code
28801 \begin_layout Plain Layout
28811 \begin_layout Description
28812 \begin_inset Flex Code
28815 \begin_layout Plain Layout
28824 \begin_layout Description
28825 \begin_inset Flex Code
28828 \begin_layout Plain Layout
28837 \begin_layout Description
28838 \begin_inset Flex Code
28841 \begin_layout Plain Layout
28850 \begin_layout Description
28851 \begin_inset Flex Code
28854 \begin_layout Plain Layout
28863 \begin_layout Standard
28864 どうしてこんなに多くのパス関連マクロがあるのか不思議に思われるかもしれません.主に以下の二つの理由があります.
28867 \begin_layout Enumerate
28869 それぞれ相対的あるいは絶対的なままで維持されなくてはなりません.ユーザにはどちらかの形を好む理由があるのかもしれません.たとえば相対名は,
28870 いろいろなマシンで作業をする持ち運び用の文書で役立ちます.絶対名は,
28871 プログラムによっては必要とされることがあり得ます.
28874 \begin_layout Enumerate
28879 や入れ子にした取り込みファイル中の他のプログラムとは異なった取り扱いを行います.\SpecialChar LyX
28881 常にこのファイル名が書かれている文書に対して相対的なものになります.\SpecialChar LaTeX
28883 常に親文書に対するものになります.これら二つの定義は,
28884 一つの文書しかないときには同じですが,
28885 部分文書を含む親文書があるときには異なったものとなってきます.つまり,
28888 に提示されるときに変換されなくてはならないのです.幸い,
28890 これは\SpecialChar LyX
28894 \begin_layout Standard
28897 どのパス関連マクロを使うべきでしょうか.このルールは難しくありません.つまり,
28901 \begin_layout Itemize
28903 \begin_inset Flex Code
28906 \begin_layout Plain Layout
28915 \begin_layout Itemize
28920 \begin_inset Flex Code
28923 \begin_layout Plain Layout
28924 $$AbsOrRelPathMaster
28932 \begin_layout Itemize
28935 \begin_inset Flex Code
28938 \begin_layout Plain Layout
28939 $$AbsOrRelPathParent
28947 \begin_layout Standard
28949 たとえば相対名が必要となる特殊な場合もありますが,
28951 上記でうまく動作します.特殊例の例としては,
28953 \begin_inset Flex Code
28956 \begin_layout Plain Layout
28957 ReferencedFile latex "$$AbsOrRelPathMaster$$Basename.pstex_t"
28964 \begin_inset Flex Code
28967 \begin_layout Plain Layout
28974 ファイル内容を書き換えるのに相対名を必要とするために,
28975 絶対名を使用することができないのです.
28978 \begin_layout Section
28980 \begin_inset CommandInset label
28982 name "sec:セキュリティに関する論点"
28989 \begin_layout Standard
28993 そのセキュリティ面での帰結を考慮しなくてはなりません.特に,
28994 ユーザは好きなファイル名やパラメータ文字列を含めることが許されていて,
28995 しかもそれらがコマンドに展開されるので,
28996 ユーザが文書を閲覧したり印刷したりしたときに,
28997 任意のコマンドを実行することができるような悪意ある文書を作成することが可能となりましょう.これは,
29001 \begin_layout Standard
29003 外部プログラムコマンドはひな型設定ファイルでのみ指定されているので,
29005 が安全なひな型でのみ適切に設定されているならば,
29006 セキュリティ上の問題は発生しません.これは,
29008 \begin_inset Flex Code
29011 \begin_layout Plain Layout
29019 \begin_inset Flex Code
29022 \begin_layout Plain Layout
29028 システムコールで呼び出されているため,
29029 ファイル名やパラメータ部からシェル経由で任意のコマンドを実行することはできないためです.
29032 \begin_layout Standard
29034 外部素材ひな型でどのようなコマンド文字列を使用することのできるかについて,
29036 パイプやリダイレクトはそのまま使用することはできません.これは,
29038 の安全性を維持するためにそうしなくてはならないのです.もしシェル機能の一部を使用したいとすると,
29039 これを完全に統御の下においたまま行う安全なスクリプトを書いた上で,
29040 このスクリプトをコマンド文字列から呼び出すようにしなくてはなりません.
29043 \begin_layout Standard
29044 シェルと直接やりとりするひな型を設計することは可能ではありますが,
29045 悪意のあるユーザが狡猾なファイル名やパラメータを書くことによって,
29046 任意のコマンドを実行できるようになるため,
29049 \begin_inset Flex Code
29052 \begin_layout Plain Layout
29058 システムコールを使用する安全なスクリプトのみを使用することをお勧めします.確かに,
29060 通常のシェルスクリプトを使用する方に流れる誘惑はあります.そうした場合には,
29061 お使いのシステムに簡単に濫用することのできるセキュリティホールを,
29066 導入することを理解しておいてください.オープンソースの伝統に従って,
29067 私たちは人々に新しいひな型を投稿してくれるよう促していますが,
29068 そのような安全でないひな型はLyXの標準頒布版には取り入れるべきでないとすることには当然の正当性があります.公式の頒布チャンネルから出荷されている\SpecialChar LyX
29070 安全でないひな型は決して入っていません.
29073 \begin_layout Standard
29074 外部素材を含めることで強力な力を手に入れることができますが,
29075 この力とともにセキュリティ上の危険を導入してしまわないように気をつける必要があります.無防備なスクリプトのたった一行に入り込んだ,
29077 巨大なセキュリティ上の問題に扉を開きうるのです.したがって,
29078 もしこの問題を完全に理解していないならば,
29079 特定のひな型が安全であるかどうか疑問がある際には,
29082 開発チームに相談してみてください.そしてこの相談は,
29083 管理されていない環境下でこれを使用する前に,
29087 \begin_layout Chapter
29089 サポートされているレイアウト用\SpecialChar LyX
29091 \begin_inset CommandInset label
29100 \begin_layout Standard
29102 \begin_inset Tabular
29103 <lyxtabular version="3" rows="11" columns="8">
29104 <features tabularvalignment="middle">
29105 <column alignment="left" valignment="top">
29106 <column alignment="left" valignment="top">
29107 <column alignment="left" valignment="top">
29108 <column alignment="left" valignment="top">
29109 <column alignment="left" valignment="top">
29110 <column alignment="left" valignment="top">
29111 <column alignment="left" valignment="top">
29112 <column alignment="left" valignment="top">
29114 <cell alignment="left" valignment="top" usebox="none">
29117 \begin_layout Plain Layout
29123 <cell alignment="left" valignment="top" usebox="none">
29126 \begin_layout Plain Layout
29132 <cell alignment="left" valignment="top" usebox="none">
29135 \begin_layout Plain Layout
29141 <cell alignment="left" valignment="top" usebox="none">
29144 \begin_layout Plain Layout
29150 <cell alignment="center" valignment="top" usebox="none">
29153 \begin_layout Plain Layout
29159 <cell alignment="center" valignment="top" usebox="none">
29162 \begin_layout Plain Layout
29168 <cell alignment="center" valignment="top" usebox="none">
29171 \begin_layout Plain Layout
29177 <cell alignment="center" valignment="top" usebox="none">
29180 \begin_layout Plain Layout
29188 <cell alignment="left" valignment="top" usebox="none">
29191 \begin_layout Plain Layout
29197 <cell alignment="left" valignment="top" usebox="none">
29200 \begin_layout Plain Layout
29206 <cell alignment="left" valignment="top" usebox="none">
29209 \begin_layout Plain Layout
29215 <cell alignment="left" valignment="top" usebox="none">
29218 \begin_layout Plain Layout
29224 <cell alignment="center" valignment="top" usebox="none">
29227 \begin_layout Plain Layout
29233 <cell alignment="center" valignment="top" usebox="none">
29236 \begin_layout Plain Layout
29242 <cell alignment="center" valignment="top" usebox="none">
29245 \begin_layout Plain Layout
29251 <cell alignment="center" valignment="top" usebox="none">
29254 \begin_layout Plain Layout
29262 <cell alignment="left" valignment="top" usebox="none">
29265 \begin_layout Plain Layout
29271 <cell alignment="left" valignment="top" usebox="none">
29274 \begin_layout Plain Layout
29280 <cell alignment="left" valignment="top" usebox="none">
29283 \begin_layout Plain Layout
29289 <cell alignment="left" valignment="top" usebox="none">
29292 \begin_layout Plain Layout
29298 <cell alignment="center" valignment="top" usebox="none">
29301 \begin_layout Plain Layout
29307 <cell alignment="center" valignment="top" usebox="none">
29310 \begin_layout Plain Layout
29316 <cell alignment="center" valignment="top" usebox="none">
29319 \begin_layout Plain Layout
29325 <cell alignment="center" valignment="top" usebox="none">
29328 \begin_layout Plain Layout
29336 <cell alignment="left" valignment="top" usebox="none">
29339 \begin_layout Plain Layout
29345 <cell alignment="left" valignment="top" usebox="none">
29348 \begin_layout Plain Layout
29354 <cell alignment="left" valignment="top" usebox="none">
29357 \begin_layout Plain Layout
29363 <cell alignment="left" valignment="top" usebox="none">
29366 \begin_layout Plain Layout
29372 <cell alignment="center" valignment="top" usebox="none">
29375 \begin_layout Plain Layout
29381 <cell alignment="center" valignment="top" usebox="none">
29384 \begin_layout Plain Layout
29390 <cell alignment="center" valignment="top" usebox="none">
29393 \begin_layout Plain Layout
29399 <cell alignment="center" valignment="top" usebox="none">
29402 \begin_layout Plain Layout
29410 <cell alignment="left" valignment="top" usebox="none">
29413 \begin_layout Plain Layout
29419 <cell alignment="left" valignment="top" usebox="none">
29422 \begin_layout Plain Layout
29428 <cell alignment="left" valignment="top" usebox="none">
29431 \begin_layout Plain Layout
29437 <cell alignment="left" valignment="top" usebox="none">
29440 \begin_layout Plain Layout
29446 <cell alignment="center" valignment="top" usebox="none">
29449 \begin_layout Plain Layout
29455 <cell alignment="center" valignment="top" usebox="none">
29458 \begin_layout Plain Layout
29464 <cell alignment="center" valignment="top" usebox="none">
29467 \begin_layout Plain Layout
29473 <cell alignment="center" valignment="top" usebox="none">
29476 \begin_layout Plain Layout
29484 <cell alignment="left" valignment="top" usebox="none">
29487 \begin_layout Plain Layout
29493 <cell alignment="left" valignment="top" usebox="none">
29496 \begin_layout Plain Layout
29502 <cell alignment="left" valignment="top" usebox="none">
29505 \begin_layout Plain Layout
29511 <cell alignment="left" valignment="top" usebox="none">
29514 \begin_layout Plain Layout
29520 <cell alignment="center" valignment="top" usebox="none">
29523 \begin_layout Plain Layout
29529 <cell alignment="center" valignment="top" usebox="none">
29532 \begin_layout Plain Layout
29538 <cell alignment="center" valignment="top" usebox="none">
29541 \begin_layout Plain Layout
29547 <cell alignment="center" valignment="top" usebox="none">
29550 \begin_layout Plain Layout
29558 <cell alignment="left" valignment="top" usebox="none">
29561 \begin_layout Plain Layout
29567 <cell alignment="left" valignment="top" usebox="none">
29570 \begin_layout Plain Layout
29576 <cell alignment="left" valignment="top" usebox="none">
29579 \begin_layout Plain Layout
29585 <cell alignment="left" valignment="top" usebox="none">
29588 \begin_layout Plain Layout
29594 <cell alignment="center" valignment="top" usebox="none">
29597 \begin_layout Plain Layout
29603 <cell alignment="center" valignment="top" usebox="none">
29606 \begin_layout Plain Layout
29612 <cell alignment="center" valignment="top" usebox="none">
29615 \begin_layout Plain Layout
29621 <cell alignment="center" valignment="top" usebox="none">
29624 \begin_layout Plain Layout
29632 <cell alignment="left" valignment="top" usebox="none">
29635 \begin_layout Plain Layout
29641 <cell alignment="left" valignment="top" usebox="none">
29644 \begin_layout Plain Layout
29650 <cell alignment="left" valignment="top" usebox="none">
29653 \begin_layout Plain Layout
29659 <cell alignment="left" valignment="top" usebox="none">
29662 \begin_layout Plain Layout
29668 <cell alignment="center" valignment="top" usebox="none">
29671 \begin_layout Plain Layout
29677 <cell alignment="center" valignment="top" usebox="none">
29680 \begin_layout Plain Layout
29686 <cell alignment="center" valignment="top" usebox="none">
29689 \begin_layout Plain Layout
29695 <cell alignment="center" valignment="top" usebox="none">
29698 \begin_layout Plain Layout
29706 <cell alignment="left" valignment="top" usebox="none">
29709 \begin_layout Plain Layout
29715 <cell alignment="left" valignment="top" usebox="none">
29718 \begin_layout Plain Layout
29724 <cell alignment="left" valignment="top" usebox="none">
29727 \begin_layout Plain Layout
29733 <cell alignment="left" valignment="top" usebox="none">
29736 \begin_layout Plain Layout
29742 <cell alignment="center" valignment="top" usebox="none">
29745 \begin_layout Plain Layout
29751 <cell alignment="center" valignment="top" usebox="none">
29754 \begin_layout Plain Layout
29760 <cell alignment="center" valignment="top" usebox="none">
29763 \begin_layout Plain Layout
29769 <cell alignment="center" valignment="top" usebox="none">
29772 \begin_layout Plain Layout
29780 <cell alignment="left" valignment="top" usebox="none">
29783 \begin_layout Plain Layout
29789 <cell alignment="left" valignment="top" usebox="none">
29792 \begin_layout Plain Layout
29798 <cell alignment="left" valignment="top" usebox="none">
29801 \begin_layout Plain Layout
29807 <cell alignment="left" valignment="top" usebox="none">
29810 \begin_layout Plain Layout
29816 <cell alignment="center" valignment="top" usebox="none">
29819 \begin_layout Plain Layout
29825 <cell alignment="center" valignment="top" usebox="none">
29828 \begin_layout Plain Layout
29834 <cell alignment="center" valignment="top" usebox="none">
29837 \begin_layout Plain Layout
29843 <cell alignment="center" valignment="top" usebox="none">
29846 \begin_layout Plain Layout
29854 <cell alignment="center" valignment="top" usebox="none">
29857 \begin_layout Plain Layout
29863 <cell alignment="center" valignment="top" usebox="none">
29866 \begin_layout Plain Layout
29872 <cell alignment="center" valignment="top" usebox="none">
29875 \begin_layout Plain Layout
29881 <cell alignment="center" valignment="top" usebox="none">
29884 \begin_layout Plain Layout
29890 <cell alignment="center" valignment="top" usebox="none">
29893 \begin_layout Plain Layout
29899 <cell alignment="center" valignment="top" usebox="none">
29902 \begin_layout Plain Layout
29908 <cell alignment="center" valignment="top" usebox="none">
29911 \begin_layout Plain Layout
29917 <cell alignment="center" valignment="top" usebox="none">
29920 \begin_layout Plain Layout
29934 \begin_layout Chapter
29936 \begin_inset CommandInset label
29945 \begin_layout Standard
29946 ここに列挙されている色は標準色であり,
29951 \begin_layout Section
29955 \begin_layout Standard
29962 \begin_layout Description
29966 \begin_layout Description
29970 \begin_layout Description
29975 特定の色ではありません – 透明か既定色です
29978 \begin_layout Section
29982 \begin_layout Standard
29983 これらは固定された色名で変更することはできません.これらの色は,
29984 (ダークテーマ等)一部の色テーマでうまく動作しないので,
29985 レイアウト定義の中では用いないでください:
29989 \begin_layout Description
29993 \begin_layout Description
29997 \begin_layout Description
30001 \begin_layout Description
30005 \begin_layout Description
30009 \begin_layout Description
30013 \begin_layout Description
30017 \begin_layout Description
30021 \begin_layout Description
30025 \begin_layout Description
30029 \begin_layout Description
30033 \begin_layout Description
30037 \begin_layout Description
30041 \begin_layout Description
30045 \begin_layout Description
30049 \begin_layout Description
30053 \begin_layout Description
30057 \begin_layout Description
30061 \begin_layout Description
30065 \begin_layout Section
30069 \begin_layout Standard
30073 arg "dialog-show prefs"
30080 \begin_layout Description
30084 \begin_layout Description
30088 \begin_layout Description
30092 \begin_layout Description
30096 \begin_layout Description
30100 \begin_layout Description
30101 branchlabel 派生枝ラベル色
30104 \begin_layout Description
30108 \begin_layout Description
30112 \begin_layout Description
30113 buttonhoverbg フォーカスを得ているボタンの背景色
30116 \begin_layout Description
30120 \begin_layout Description
30121 changedtextauthor1 変更された文章:第1著者の色
30124 \begin_layout Description
30125 changedtextauthor2 変更された文章:第2著者の色
30128 \begin_layout Description
30129 changedtextauthor3 変更された文章:第3著者の色
30132 \begin_layout Description
30133 changedtextauthor4 変更された文章:第4著者の色
30136 \begin_layout Description
30137 changedtextauthor5 変更された文章:第5著者の色
30140 \begin_layout Description
30141 collapsibletext 畳み込み可能枠の文字色
30144 \begin_layout Description
30145 collapsibleframe 畳み込み可能枠の縁色
30148 \begin_layout Description
30149 command コマンド差込枠の文字色
30152 \begin_layout Description
30153 commandbg コマンド差込枠の背景色
30156 \begin_layout Description
30157 commandframe コマンド差込枠の縁色
30160 \begin_layout Description
30164 \begin_layout Description
30168 \begin_layout Description
30172 \begin_layout Description
30173 deletedtext 削除された文章の色
30176 \begin_layout Description
30177 deletedtextmodifier 削除された文章の修飾子の色
30180 \begin_layout Description
30181 depthbar 余白部の階層表示線の色
30184 \begin_layout Description
30188 \begin_layout Description
30189 error \SpecialChar LaTeX
30193 \begin_layout Description
30197 \begin_layout Description
30201 \begin_layout Description
30202 graphicsbg 画像差込枠の背景色
30205 \begin_layout Description
30206 greyedoutbg 淡色表示差込枠の背景色
30209 \begin_layout Description
30210 greyedoutlabel 淡色表示差込枠のラベル色
30213 \begin_layout Description
30214 greyedouttext 淡色表示差込枠の文字色
30217 \begin_layout Description
30218 indexlabel 索引差込枠のラベル色
30221 \begin_layout Description
30222 inlinecompletion 行内補完色
30225 \begin_layout Description
30229 \begin_layout Description
30233 \begin_layout Description
30234 language 外国語の単語を標識するための色
30237 \begin_layout Description
30238 latex \SpecialChar LaTeX
30242 \begin_layout Description
30243 listingsbg プログラムリスト差込枠の背景色
30246 \begin_layout Description
30247 marginlabel 傍註のラベル色
30250 \begin_layout Description
30254 \begin_layout Description
30258 \begin_layout Description
30259 mathcorners フォーカスを得ていない数式差込枠の縁色
30262 \begin_layout Description
30263 mathframe フォーカスを得ている数式差込枠の縁色
30266 \begin_layout Description
30270 \begin_layout Description
30271 mathmacrobg 数式マクロ差込枠の背景色
30274 \begin_layout Description
30275 mathmacroblend 数式マクロ差込枠の混ぜ合わせ色
30278 \begin_layout Description
30279 mathmacroframe 数式マクロ差込枠の縁色
30282 \begin_layout Description
30283 mathmacrohoverbg マウスを置いたときの数式マクロ差込枠の背景色
30286 \begin_layout Description
30287 mathmacrolabel 数式マクロ差込枠のラベル色
30290 \begin_layout Description
30291 mathmacronewarg 数式マクロ新パラメーターのひな型色
30294 \begin_layout Description
30295 mathmacrooldarg 数式マクロ旧パラメーターのひな型色
30298 \begin_layout Description
30302 \begin_layout Description
30303 nonunique_inlinecompletion 行内補完の一意でない部分の色
30306 \begin_layout Description
30310 \begin_layout Description
30314 \begin_layout Description
30318 \begin_layout Description
30319 paragraphmarker 段落末を標識するための段落標の色
30322 \begin_layout Description
30323 phantomtext 埋め草差込枠の文字色
30326 \begin_layout Description
30327 preview プレビューに用いられる色
30330 \begin_layout Description
30331 previewframe プレビュー縁色
30334 \begin_layout Description
30335 regexpframe 正規表現枠の色
30338 \begin_layout Description
30339 scroll 行をスクロールすることができることを示す色
30342 \begin_layout Description
30343 selection 文章選択部の背景色
30346 \begin_layout Description
30347 selectiontext 文章選択部の前景色
30350 \begin_layout Description
30351 shadedbg 影付きボックスの背景色
30354 \begin_layout Description
30358 \begin_layout Description
30362 \begin_layout Description
30363 tabularonoffline 罫線色
30366 \begin_layout Description
30367 textlabel1 レイアウトと特殊差込枠ラベルの色1
30370 \begin_layout Description
30371 textlabel2 レイアウトと特殊差込枠ラベルの色2
30374 \begin_layout Description
30375 textlabel3 レイアウトと特殊差込枠ラベルの色3
30378 \begin_layout Description
30379 urllabel URL差込枠のラベル色
30382 \begin_layout Description