yatex
diff docs/yatexj.tex @ 49:eb0512bfcb7f
Abolish user-article table.
Use normal read-string instead.
Supply smart add-in function for documentstyle.
Update user dictionary whenever new words entered.
Enhance [prefix] c.
Allow user defined sectioning commands in yatexsec.
author | yuuji |
---|---|
date | Fri, 25 Nov 1994 08:26:13 +0000 |
parents | a0640ff3f72f |
children | b0371b6ed799 |
line diff
1.1 --- a/docs/yatexj.tex Mon Oct 31 17:49:43 1994 +0000 1.2 +++ b/docs/yatexj.tex Fri Nov 25 08:26:13 1994 +0000 1.3 @@ -25,15 +25,15 @@ 1.4 * Main features:: 主な機能 1.5 * Installation:: インストール 1.6 * Invocation:: 外部コマンドの起動 1.7 -* %#記法:: 1.8 +* %#notation :: %#記法 1.9 * Completion:: 補完入力 1.10 +* Local dictionary:: ローカル辞書 1.11 * Commenting out:: コメントアウト 1.12 * Cursor jump:: カーソルジャンプ 1.13 * Modifying/Deleting:: 変更/削除 1.14 * Filling item:: itemの桁揃え 1.15 -* Local dictionary:: ローカル辞書 1.16 * Includeonly:: 勝手にincludeonly 1.17 -* Where am I?:: 1.18 +* What column:: ここはどこ? 1.19 * Intelligent newline:: おまかせ改行 1.20 * Online help:: オンラインヘルプ 1.21 * Cooperation with other packages:: 他パッケージとの連携 1.22 @@ -57,6 +57,7 @@ 1.23 ストの編集を支援します。さらに La@TeX{} コマンドのオンラインヘルプに 1.24 よりマニュアルを調べる手間を軽減します。 1.25 1.26 + English manual @xref{Top, , , yatexe,YaTeX English info} 1.27 1.28 @node Main features, Installation, Intro, Top 1.29 @comment node-name, next, previous, up 1.30 @@ -71,7 +72,8 @@ 1.31 コマンドの補完入力 1.32 (@kbd{C-c b}, @kbd{C-c s}, @kbd{C-c l}, @kbd{C-c m}) 1.33 @item 既に入力したテキストを環境やコマンド引数の中に取り込む括り補完 1.34 -(@kbd{C-u} 通常補完キー) 1.35 +(@kbd{C-u} +通常補完キー) 1.36 +@item セクション区切り入力時の文書構造アウトライン表示 1.37 @item 補完辞書の学習 1.38 @item La@TeX{} の環境やコマンドに応じたガイド付き引数入力 1.39 @item 野鳥にないガイド付き引数入力関数の自動生成(@file{yatexgen.el}) 1.40 @@ -119,7 +121,7 @@ 1.41 に変わります。 1.42 1.43 1.44 -@node Invocation, %#記法, Installation, Top 1.45 +@node Invocation, %#notation , Installation, Top 1.46 @comment node-name, next, previous, up 1.47 @chapter latexコマンド起動 1.48 @cindex prefix key 1.49 @@ -164,9 +166,9 @@ 1.50 タイプセッタを起動すると、編集ウィンドウが2つに分割され、片方のウィンド 1.51 ウにタイプセット画面が表示されます。出力されるメッセージと連動しタイプセッ 1.52 トバッファは自動的にスクロールします。もし、途中でエラーが起こって止まって 1.53 -しまった場合にはタイプセットバッファに移り、(@kbd{^Xo}) タイプセッタの出し 1.54 -ている ? プロンプトに対して、@kbd{x} (処理の中断)などの指示を送ることがで 1.55 -きます。エラーを修正する場合は、 1.56 +しまった場合にはタイプセットバッファに移り、(@kbd{C-x o}) タイプセッタの出 1.57 +している ? プロンプトに対して、@kbd{x} (処理の中断)などの指示を送ることが 1.58 +できます。エラーを修正する場合は、 1.59 1.60 @table @kbd 1.61 @item [prefix] ' 1.62 @@ -207,7 +209,7 @@ 1.63 @end table 1.64 @cindex ページ確認省略lpr起動[へえしかくにんしようりやくlprきとう] 1.65 1.66 -@node %#記法, Completion, Invocation, Top 1.67 +@node %#notation , Completion, Invocation, Top 1.68 @comment node-name, next, previous, up 1.69 @chapter %#記法 1.70 1.71 @@ -222,7 +224,7 @@ 1.72 * Editing %# notation:: %#記法の編集 1.73 @end menu 1.74 1.75 -@node Changing typesetter, Splitting input files, %#記法, %#記法 1.76 +@node Changing typesetter, Splitting input files, %#notation , %#notation 1.77 @comment node-name, next, previous, up 1.78 @section タイプセット用コマンド変更 1.79 1.80 @@ -238,7 +240,7 @@ 1.81 1.82 @cindex タイプセッタの使い分け[たいふせつたのつかいわけ] 1.83 1.84 -@node Splitting input files, Fix region for typesetting, Changing typesetter, %#記法 1.85 +@node Splitting input files, Fix region for typesetting, Changing typesetter, %#notation 1.86 @comment node-name, next, previous, up 1.87 @section 入力ファイル分割 1.88 1.89 @@ -259,7 +261,7 @@ 1.90 @cindex ghostview 1.91 1.92 @example 1.93 - %#!jlatex main ; dvi2ps main.dvi > main 1.94 + %#!jlatex main ; dvi2ps main.dvi > main 1.95 @end example 1.96 1.97 なお、この行の最後の単語のピリオド以前を「メインファイル」のベース 1.98 @@ -284,7 +286,7 @@ 1.99 1.100 1.101 1.102 -@node Fix region for typesetting, lpr format, Splitting input files, %#記法 1.103 +@node Fix region for typesetting, lpr format, Splitting input files, %#notation 1.104 @comment node-name, next, previous, up 1.105 @section 領域の固定 1.106 @cindex 固定領域のタイプセット[こていりよういきのたいふせつと] 1.107 @@ -296,9 +298,9 @@ 1.108 すが、必ず決まった領域をタイプセットしたい場合は、その領域を 1.109 1.110 @example 1.111 - %#BEGIN 1.112 - <渡したい領域> 1.113 - %#END 1.114 + %#BEGIN 1.115 + <渡したい領域> 1.116 + %#END 1.117 @end example 1.118 1.119 @noindent 1.120 @@ -335,10 +337,10 @@ 1.121 の消し忘れには十分ご注意下さい。 1.122 @cindex 長いファイルの編集[なかいふあいるのへんしゆう] 1.123 1.124 -@node Require, lpr format, Fix region for typesetting, %#記法 1.125 +@node Require, lpr format, Fix region for typesetting, %#notation 1.126 @comment node-name, next, previous, up 1.127 1.128 -@node lpr format, Editing %# notation, Fix region for typesetting, %#記法 1.129 +@node lpr format, Editing %# notation, Fix region for typesetting, %#notation 1.130 @comment node-name, next, previous, up 1.131 @section lprフォーマット 1.132 @cindex lprふぉーまっと[lprふおおまつと] 1.133 @@ -383,7 +385,7 @@ 1.134 @noindent 1.135 などとするのも便利かもしれません。 1.136 1.137 -@node Editing %# notation, , lpr format, %#記法 1.138 +@node Editing %# notation, , lpr format, %#notation 1.139 @comment node-name, next, previous, up 1.140 @section %#記法自体の編集 1.141 @cindex %#きほうじたいのへんしゅう[%#きほうしたいのへんしゆう] 1.142 @@ -410,7 +412,7 @@ 1.143 @code{%#BEGIN}, @code{%#END} が自動的に消去されます。 1.144 @cindex lprフォーマットの変更[lprふおおまつとのへんこう] 1.145 1.146 -@node Completion, Commenting out, %#記法, Top 1.147 +@node Completion, Local dictionary, %#notation , Top 1.148 @comment node-name, next, previous, up 1.149 @chapter 補完入力 1.150 1.151 @@ -552,7 +554,7 @@ 1.152 で実行します。@kbd{[prefix] s} を入力するとミニバッファに、 1.153 1.154 @example 1.155 - (C-v for view) \???@{@} (default documentstyle): 1.156 + (C-v for view-section) \???@{@} (default documentstyle): 1.157 @end example 1.158 1.159 @noindent 1.160 @@ -562,7 +564,7 @@ 1.161 る補完機能が有効です。 次に、@{@}の中身の入力を促す、 1.162 1.163 @example 1.164 - \section@{???@}: 1.165 + \section@{???@}: 1.166 @end example 1.167 1.168 @noindent 1.169 @@ -570,30 +572,30 @@ 1.170 たとえば、 1.171 1.172 @example 1.173 - (C-v for view) \???@{@} (default documentstyle): section 1.174 - \section@{???@}: 目的 1.175 + (C-v for view-section) \???@{@} (default documentstyle): section 1.176 + \section@{???@}: 目的 1.177 @end example 1.178 1.179 @noindent 1.180 のように入力した場合は、文章中に 1.181 1.182 @example 1.183 - \section@{目的@} 1.184 + \section@{目的@} 1.185 @end example 1.186 1.187 @noindent 1.188 が挿入され、 1.189 1.190 @example 1.191 - (C-v for view) \???@{@} (default section): vspace* 1.192 - \vspace*@{???@}: 1.193 + (C-v for view-section) \???@{@} (default section): vspace* 1.194 + \vspace*@{???@}: 1.195 @end example 1.196 1.197 @noindent 1.198 のように@{@}の中身を省略したときは、 1.199 1.200 @example 1.201 - \vspace*@{@} 1.202 + \vspace*@{@} 1.203 @end example 1.204 1.205 @noindent 1.206 @@ -601,13 +603,12 @@ 1.207 1.208 @menu 1.209 * 2個以上の引数をとる section型コマンド:: 1.210 -* Input argument without copletion:: 引数入力時に補完しない 1.211 * Enclose region-type command:: 1.212 * Recursive completion:: 再帰補完 1.213 * view-sectioning:: セクション区切りのアウトライン表示 1.214 @end menu 1.215 1.216 -@node 2個以上の引数をとる section型コマンド, Input argument without copletion, section型補完, section型補完 1.217 +@node 2個以上の引数をとる section型コマンド, Enclose region-type command, section型補完, section型補完 1.218 @comment node-name, next, previous, up 1.219 @subsection 2個以上の引数をとる section型コマンド 1.220 @cindex 引数[ひきすう] 1.221 @@ -625,7 +626,7 @@ 1.222 と section 型補完を呼び出した後、 1.223 1.224 @example 1.225 - (Ctrl-v for view) \???@{@} (default vspace*): addtolength 1.226 + (Ctrl-v for view-section) \???@{@} (default vspace*): addtolength 1.227 \addtolength@{???@}: \topmargin 1.228 Argument 2: 8mm 1.229 @end example 1.230 @@ -640,19 +641,8 @@ 1.231 す。 1.232 @cindex 引数の個数を変える[ひきすうのこすうをかえる] 1.233 1.234 -@node Input argument without copletion, Enclose region-type command, 2個以上の引数をとる section型コマンド, section型補完 1.235 -@comment node-name, next, previous, up 1.236 -@subsection 引数入力時に補完しない 1.237 -@cindex 引数入力時に補完しない[ひきすうにゆうりよくしにほかんしない] 1.238 1.239 - なお、特別な例として引数0を指定すると、第一引数の入力時に補完入力ではな 1.240 -く、単純な文字列入力を使用するようになります。段落を指定する@samp{chapter} 1.241 -や @samp{section}などは第一引数の段落タイトル入力時に、スペースを含めるこ 1.242 -とがあるので、補完入力は却ってじゃまになります。標準設定では、これらの段落 1.243 -指定コマンド(chapter, section, paragraph など)に引数0の指定が埋め込まれて 1.244 -います。 1.245 - 1.246 -@node Enclose region-type command, Recursive completion, Input argument without copletion, section型補完 1.247 +@node Enclose region-type command, Recursive completion, 2個以上の引数をとる section型コマンド, section型補完 1.248 @comment node-name, next, previous, up 1.249 @subsection 既に書いたテキストを括る 1.250 @cindex 括る[くくる] 1.251 @@ -705,7 +695,7 @@ 1.252 がlarge型補完の開始です。@kbd{[prefix] l} を押すと、ミニバッファに 1.253 1.254 @example 1.255 - @{\??? @} (default large): 1.256 + @{\??? @} (default large): 1.257 @end example 1.258 1.259 @noindent 1.260 @@ -796,7 +786,7 @@ 1.261 を押すと、ミニバッファに 1.262 1.263 @example 1.264 - 1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b 1.265 + 1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b 1.266 @end example 1.267 1.268 @noindent 1.269 @@ -804,14 +794,14 @@ 1.270 して下さい。すると編集バッファに、 1.271 1.272 @example 1.273 - \`@{@} 1.274 + \`@{@} 1.275 @end example 1.276 1.277 @noindent 1.278 があらわれ、カーソルが@{@}内に位置するので、さらに一文字入力する事で、 1.279 1.280 @example 1.281 - \`@{o@} 1.282 + \`@{o@} 1.283 @end example 1.284 1.285 @noindent 1.286 @@ -859,15 +849,15 @@ 1.287 に表示されたなら、そこでイメージ入力を止めて次の編集動作に移っても 1.288 構いません。 1.289 1.290 - 数式環境中で@samp{;}自身を入力するには@kbd{};;」のようにします。イメージ 1.291 +@cindex ;自身[;ししん] 1.292 + 数式環境中で@samp{;}自身を入力するには@kbd{;;}のようにします。イメージ 1.293 入力の途中でTABを押すと、それまで入力した文字で始まるもの一覧が表示されま 1.294 す。ここで目的の La@TeX{} コマンドまでカーソルを移動し再度TABを押すことで 1.295 その La@TeX{} コマンドがバッファに挿入されます。 1.296 -@cindex ;自身[;ししん] 1.297 1.298 どのキー入力にどの記号が対応しているか全て知りたい時は、@kbd{;}を押した 1.299 -直後にリターンキーを押してください。以下の例は、@kbd{;<}と押した後にTAB 1.300 -を押したものです。 1.301 +直後にTABを押してください。以下の例は、@kbd{;<}と押した後にTABを押したもの 1.302 +です。 1.303 1.304 @example 1.305 KEY LaTeX sequence sign 1.306 @@ -900,8 +890,8 @@ 1.307 もう一つ、数式環境中で@kbd{/}を押すとギリシャ文字入力モードに入ります。 1.308 @kbd{/}を押した直後に@kbd{a}を押すと@code{\alpha}が、@kbd{g} を押すと 1.309 @code{\gamma}が、などアルファベットに対応したギリシャ文字が挿入されます。 1.310 -操作方法は;の数式記号補完とまったく同じです。まずは@kbd{/}の直後にリターン 1.311 -キーを押してどのアルファベットにどのギリシャ文字が対応しているか調べてみて 1.312 +操作方法は;の数式記号補完とまったく同じです。まずは@kbd{/}の直後に 1.313 +TABを押してどのアルファベットにどのギリシャ文字が対応しているか調べてみて 1.314 ください。 1.315 1.316 @kbd{;}と@kbd{/}を数式環境中で押しているにもかかわらず、イメージ補完が働 1.317 @@ -909,7 +899,42 @@ 1.318 とにより、強制的にイメージ補完に入ることができます。また、この時にどのよう 1.319 な状態で数式環境内判定に失敗したかをご連絡下さい。 1.320 1.321 -@node Commenting out, Cursor jump, Completion, Top 1.322 +@node Local dictionary, Commenting out, Completion, Top 1.323 +@comment node-name, next, previous, up 1.324 +@chapter ローカル辞書 1.325 +@cindex ローカル辞書[ろおかるししよ] 1.326 +@cindex .yatexrc 1.327 +@cindex 変な単語[へんなたんこ] 1.328 + 1.329 + 補完入力用の候補は三種類の辞書から構成されています。一つは 1.330 +@file{yatex.el}に組み込まれた「標準辞書」、もう一つはユーザが個人的に常用 1.331 +するコマンドを保存する「ユーザ辞書」、そしてもうひとつはあるディレクトリで 1.332 +のみ有効なコマンドを保存する「ローカル辞書」です。 1.333 + 1.334 + 補完入力時に新しい単語を入れた場合に、その単語をどの辞書に入れるか聞いて 1.335 +来ます。 1.336 + 1.337 +@example 1.338 + `foo' is not in table. Register into: U)serTable L)ocal N)one 1.339 +@end example 1.340 + 1.341 +@noindent 1.342 +というプロンプトに対し、@kbd{u}と答えると「ユーザ辞書」を、@kbd{l}と答える 1.343 +とローカル辞書を更新することになり、@kbd{n}と答えると新たな単語を学習せず 1.344 +に捨てることになります。 1.345 + 1.346 + もし、ローカル辞書の機能はいらず、全てユーザ辞書の更新のみでよいと言う場 1.347 +合には@file{~/.emacs}などで、 1.348 +@cindex YaTeX-nervous 1.349 + 1.350 +@lisp 1.351 + (setq YaTeX-nervous nil) 1.352 +@end lisp 1.353 + 1.354 +@noindent 1.355 +として下さい。 1.356 + 1.357 +@node Commenting out, Cursor jump, Local dictionary, Top 1.358 @comment node-name, next, previous, up 1.359 @chapter コメントアウト 1.360 @cindex コメントアウト[こめんとあうと] 1.361 @@ -990,18 +1015,20 @@ 1.362 を押すことにより、カーソル位置のLa@TeX{}コマンドに対応する場所にジャンプ 1.363 します。対応関係が存在すると解釈されるコマンドには以下のものがあります。 1.364 1.365 -@table 1.366 +@itemize @bullet 1.367 @item @code{\begin@{@}}←→@code{\end@{@}} 1.368 @item @code{%#BEGIN}←→@code{%#END} 1.369 @item @code{\label@{@}}←→@code{\ref@{@}} 1.370 @item @code{\include(\input)}→対応するファイル 1.371 @item @code{\bibitem@{@}}←→@code{\cite@{@}} 1.372 -@end table 1.373 +@end itemize 1.374 1.375 - @code{\begin@{@}} か @code{\end@{@}} の行で@kbd{[prefix] g} 1.376 -を押すことにより、対応する@code{end/begin}の行にジャンプします。もちろん対 1.377 -応するものがない場合はエラーになります。またこれは、領域固定のための 1.378 -@code{%#BEGIN} と @code{%#END} のペアに対しても同様に動作します。 1.379 + @code{\begin@{@}} か @code{\end@{@}} の行で@kbd{[prefix] g}を押すことに 1.380 +より、対応する@code{end/begin}の行にジャンプします。もちろん対応するものが 1.381 +ない場合はエラーになります。またこれは、領域固定のための @code{%#BEGIN} と 1.382 +@code{%#END} のペアに対しても同様に動作します。なお、@code{label/ref}や 1.383 +@code{cite/bibitem}対応するものが別ファイルにある時は、ジャンプ先となるファ 1.384 +イルがオープンされていなければなりません。 1.385 @xref{%#記法} 1.386 1.387 メインの .tex ファイルの @code{\include{chap1}} などにカーソルを合わせ、 1.388 @@ -1020,6 +1047,12 @@ 1.389 オープンしていない場合は、カレントディレクトリから探して自動的にオープンし 1.390 ます。さらに現在の環境を単位として機能するコマンドに以下のものがあります。 1.391 1.392 +@cindex 環境の先頭へ[かんきようのせんとうへ] 1.393 +@cindex 環境の末尾へ[かんきようのまつひへ] 1.394 +@cindex 環境をマーク[かんきようをまあく] 1.395 +@cindex M-C-a 1.396 +@cindex M-C-e 1.397 +@cindex M-C-@@ 1.398 @table @kbd 1.399 @item M-C-a 1.400 @dots{} 環境の先頭(@code{\begin})へジャンプ 1.401 @@ -1028,12 +1061,6 @@ 1.402 @item M-C-@@ 1.403 @dots{} 環境全体をマーク 1.404 @end table 1.405 -@cindex 環境の先頭へ[かんきようのせんとうへ] 1.406 -@cindex 環境の末尾へ[かんきようのまつひへ] 1.407 -@cindex 環境をマーク[かんきようをまあく] 1.408 -@cindex M-C-a 1.409 -@cindex M-C-e 1.410 -@cindex M-C-@@ 1.411 1.412 上記のコマンドは通常の@kbd{[prefix]}キーではなく@kbd{META}キーをプリフィク 1.413 スとして機能するのでご注意下さい。 1.414 @@ -1061,23 +1088,56 @@ 1.415 これらのコマンドは、コマンドを起動する場所によって動作を決定するので注意し 1.416 て下さい。 1.417 1.418 -@kbd{[prefix] c} は、@code{\begin@{@}} または @code{\end@{@}} のある場所で 1.419 -起動すると、環境名の変更を行います。@kbd{[prefix] k} は起動する位置により 1.420 +@menu 1.421 +* Changing LaTeX command:: La@TeX{} コマンドの変更 1.422 +* Killing LaTeX command:: La@TeX{} コマンドの削除 1.423 +@end menu 1.424 + 1.425 +@node Changing LaTeX command, Killing LaTeX command, Modifying/Deleting, Modifying/Deleting 1.426 +@comment node-name, next, previous, up 1.427 +@section La@TeX{} コマンドの変更 1.428 + 1.429 +変更したい La@TeX{} コマンドにカーソルを合わせて @kbd{[prefix] c} 1.430 +を押すとそのコマンドを補完入力などを用いて手軽に変えることができます。 1.431 +@kbd{[prefix] c} で変更できるコマンドには以下のものがあります。 1.432 + 1.433 +@itemize 1.434 +@item @code{begin/end} の環境名 1.435 +@item section型コマンドのコマンド名 1.436 +@item section型コマンドの引数 1.437 +@item section型コマンドのオプションパラメータ([]で囲まれたもの) 1.438 +@item large型コマンド 1.439 +@end itemize 1.440 + 1.441 + 変えたいsection型コマンドの引数がさらに La@TeX{} コマンドを含む場合は、 1.442 +その引数を囲む中括弧の上で @kbd{[prefix] c} を押すことで中のコマンドを変更 1.443 +対象判定から除外することができます。 1.444 + 1.445 +@cindex 環境名の変更[かんきようめいのへんこう] 1.446 + 1.447 +@node Killing LaTeX command, , Changing LaTeX command, Modifying/Deleting 1.448 +@comment node-name, next, previous, up 1.449 +@section La@TeX{} コマンドの削除 1.450 + 1.451 +@kbd{[prefix] k} は起動する位置により 1.452 次のような動作を行います。 1.453 -@cindex 環境名の変更[かんきようめいのへんこう] 1.454 @cindex 環境の削除[かんきようのさくしよ] 1.455 1.456 1.457 @example 1.458 起動位置 動作 1.459 -\begin\endの行 @code{\begin\end}ペアの削除 1.460 -%BEGIN, %END の行 %BEGIN,%ENDペアの削除 1.461 +\begin, \endの行 @code{\begin\end}ペアの削除 1.462 +%#BEGIN, %#END の行 %#BEGIN,%#ENDペアの削除 1.463 section型コマンドの上(中) section型コマンドの削除 1.464 フォント指定括弧の上 フォント指定の削除 1.465 括弧の上 対をなす括弧の削除 1.466 @end example 1.467 1.468 @noindent 1.469 +@code{\begin, \end} および @code{%#BEGIN, %#END} を削除する場合、 1.470 +@code{\begin, \end} や @code{%#BEGIN, %#END} の存在する行は 1.471 +まるごと削除されるので、それらの一行に @code{\begin} などを二つ以上連ねて 1.472 +書かないように注意してください。 1.473 上記のものはすべて本文を囲う「容器」を削除するように働きますが、 1.474 universal-argument (@kbd{C-u}) を打った後で@kbd{[prefix] k}をタイプすると、 1.475 それぞれの「容器」に含まれる「中身」も一気に削除します。以下の例を参考にし 1.476 @@ -1089,7 +1149,7 @@ 1.477 ↑(カーソル位置) 1.478 @end example 1.479 1.480 -@node Filling item, Local dictionary, Modifying/Deleting, Top 1.481 +@node Filling item, Includeonly, Modifying/Deleting, Top 1.482 @comment node-name, next, previous, up 1.483 @chapter itemの桁揃え 1.484 @cindex itemの桁揃え[itemのけたそろえ] 1.485 @@ -1103,17 +1163,17 @@ 1.486 @dots{} itemの桁揃え 1.487 @end table 1.488 1.489 +@cindex NTT-jTeX[えぬていいていいしえいてつく] 1.490 @noindent 1.491 によって、その item のインデントの深さに応じて fill されます。なお、NTT 1.492 jTeX を使用している場合には、Lisp 変数@code{NTT-jTeX}を@code{t}にセットし 1.493 て下さい。 1.494 -@cindex NTT-jTeX[えぬていいていいしえいてつく] 1.495 1.496 +@cindex YaTeX-item-regexp 1.497 このとき、変数@code{YaTeX-item-regexp}の値(標準では @code{"\\\\item"})を 1.498 項目指定コマンドの正規表現として検索に使用します。itemize 環境で、独自のコ 1.499 マンドを定義して項目を列挙している場合(例えば@code{\underlineitem})は、 1.500 @file{~/.emacs} で次のように指定して下さい。 1.501 -@cindex YaTeX-item-regexp 1.502 1.503 @lisp 1.504 (setq YaTeX-item-regexp 1.505 @@ -1124,42 +1184,7 @@ 1.506 この変数の指定の仕方がよく分からない場合は、独自の項目列挙コマンドの名前を 1.507 @code{@code{"\item"}で始まるものにして下さい(例えば"\itembf"})。 1.508 1.509 -@node Local dictionary, Includeonly, Filling item, Top 1.510 -@comment node-name, next, previous, up 1.511 -@chapter ローカル辞書 1.512 -@cindex ローカル辞書[ろおかるししよ] 1.513 -@cindex .yatexrc 1.514 -@cindex 変な単語[へんなたんこ] 1.515 - 1.516 - 補完入力用の候補は三種類の辞書から構成されています。一つは 1.517 -@file{yatex.el}に組み込まれた「標準辞書」、もう一つはユーザが個人的に常用 1.518 -するコマンドを保存する「ユーザ辞書」、そしてもうひとつはあるディレクトリで 1.519 -のみ有効なコマンドを保存する「ローカル辞書」です。 1.520 - 1.521 - 補完入力時に新しい単語を入れた場合に、その単語をどの辞書に入れるか聞いて 1.522 -来ます。 1.523 - 1.524 -@example 1.525 - `foo' is not in table. Register into: U)serTable L)ocal N)one 1.526 -@end example 1.527 - 1.528 -@noindent 1.529 -というプロンプトに対し、@kbd{u}と答えると「ユーザ辞書」を、@kbd{l}と答える 1.530 -とローカル辞書を更新することになり、@kbd{n}と答えると新たな単語を学習せず 1.531 -に捨てることになります。 1.532 - 1.533 - もし、ローカル辞書の機能はいらず、全てユーザ辞書の更新のみでよいと言う場 1.534 -合には@file{~/.emacs}などで、 1.535 - 1.536 -@lisp 1.537 - (setq YaTeX-nervous nil) 1.538 -@end lisp 1.539 -@cindex YaTeX-nervous 1.540 - 1.541 -@noindent 1.542 -として下さい。 1.543 - 1.544 -@node Includeonly, Where am I?, Local dictionary, Top 1.545 +@node Includeonly, What column, Filling item, Top 1.546 @comment node-name, next, previous, up 1.547 @chapter 勝手にincludeonly 1.548 @cindex 勝手にincludeonly[かつてにincludeonly] 1.549 @@ -1181,9 +1206,9 @@ 1.550 @end example 1.551 1.552 @noindent 1.553 -と書き直さなければなりませんが、野鳥では現在編集しているファイル名がメイン 1.554 -ファイルの@code{\includeonly}にない場合には自動的にこれを検出し、次の指示 1.555 -を仰ぎます。 1.556 +と書き直さなければならず手間がかかります。野鳥では現在編集しているファイル 1.557 +名がメインファイルの@code{\includeonly}にない場合には自動的にこれを検出し、 1.558 +次の指示を仰ぎます。 1.559 1.560 @example 1.561 A)dd R)eplace %)comment? 1.562 @@ -1195,10 +1220,10 @@ 1.563 @code{\includeonly} の行をコメントアウトして無効化したい時には、@kbd{%}を 1.564 それぞれ押して下さい。 1.565 1.566 -@node Where am I?, Intelligent newline, Includeonly, Top 1.567 +@node What column, Intelligent newline, Includeonly, Top 1.568 @comment node-name, next, previous, up 1.569 -@chapter 今はどこ? 1.570 -@cindex 今はどこ?[いまはとこ] 1.571 +@chapter ここはどこ? 1.572 +@cindex ここどこ?[ここはとこ] 1.573 @cindex prefix & 1.574 @cindex 複雑なtabular[ふくさつなtabular] 1.575 1.576 @@ -1228,10 +1253,10 @@ 1.577 1.578 を押すとカーソル位置のカラムがどの項目に該当するかをミニバッファに表示しま 1.579 す。tabular/array環境の第1行目を項目名の並びとみなして対応するものを探しま 1.580 -す。もし項目名として別のものを与えたい場合は、行頭を@code{%}にしてダミーの 1.581 -項目並びを作っておくと良いでしょう。 1.582 +す。もし項目名として別のものを表示して欲しい場合は、行頭を@code{%}にしてダ 1.583 +ミーの項目並びを作っておくと良いでしょう。 1.584 1.585 -@node Intelligent newline, Online help, Where am I?, Top 1.586 +@node Intelligent newline, Online help, What column, Top 1.587 @comment node-name, next, previous, up 1.588 @chapter おまかせ改行 1.589 @cindex おまかせ改行[おまかせかいぎょう] 1.590 @@ -1247,7 +1272,7 @@ 1.591 1.592 @noindent 1.593 を押すと、その環境に応じた行エントリを次の行に挿入します。例えば、tabular 1.594 -環境では、その環境のカラム数に対応した個数の @code{&} にくわえ、行末の 1.595 +環境では、その環境のカラム数に対応した個数の @code{&} に加え、行末の 1.596 @code{\\} を入れます。この時それ以前に @code{\hline} があればそれも付け加 1.597 えます。環境とそれに応じて自動入力するものの対応は以下のようになります。 1.598 1.599 @@ -1298,6 +1323,8 @@ 1.600 @section オンラインヘルプ 1.601 @cindex グローバルヘルプ[くろおはるへるふ] 1.602 @cindex プライベートヘルプ[ふらいへえとへるふ] 1.603 +@cindex YaTeX-help-file 1.604 +@cindex YaTeX-help-file-private 1.605 1.606 「オンラインヘルプ」は、一般的な La@TeX{} コマンド(デフォルトでカーソル 1.607 位置のコマンド)に対する説明を隣のバッファに表示します。この時参照されるヘ 1.608 @@ -1309,8 +1336,6 @@ 1.609 クロ定義に関する説明が書かれているファイルで、変数 1.610 @code{YaTeX-help-file-private}の値で指定されます。こちらはユーザのホームディ 1.611 レクトリの下などに置かれます。 1.612 -@cindex YaTeX-help-file 1.613 -@cindex YaTeX-help-file-private 1.614 1.615 @section オンラインapropos 1.616 1.617 @@ -1387,7 +1412,8 @@ 1.618 1.619 yatex-mode における次の変数がカスタマイズ可能です。@file{~/.emacs} で 1.620 @code{setq} しておけば、そちらの定義が優先されます。括弧の中はデフォルト値 1.621 -です。 1.622 +です。実際に変数の値を変更する場合は @kbd{M-x describe-variable} で 1.623 +変数の詳細な説明を参照してください。 1.624 1.625 @defvar YaTeX-prefix 1.626 yatex-mode 中のプリフィクスキー(@kbd{C-c}) 1.627 @@ -1529,6 +1555,14 @@ 1.628 入力に入る(@kbd{nil}) 1.629 @end defvar 1.630 1.631 +@defvar YaTeX-hilit-pattern-adjustment-private 1.632 +正規表現とそれにマッチするものの論理的意味をシンボルであらわしたものの 1.633 +リスト…のリスト。hilit19 を組み込んでいる時のみ有効。 1.634 +詳しくは @code{(assq 'yatex-mode hilit-patterns-alist)} 1.635 +した結果と、変数 @code{YaTeX-hilit-pattern-adjustment-default} の値(と場合 1.636 +によっては hilit19 のドキュメント)を参照せよ。 1.637 +@end defvar 1.638 + 1.639 @node Sample definitions, Hook variables, All customizable variables, Lisp variables 1.640 @comment node-name, next, previous, up 1.641 @subsection カスタマイズ変数設定例 1.642 @@ -1619,8 +1653,8 @@ 1.643 しません。常識的に扱ってください。また、使用している旨をメイルでお知らせい 1.644 ただくと、作者は喜んでサポートに励むことでしょう(ほんとか)。 1.645 1.646 - 苦情、希望、バグ報告、感想等、作者が本プログラムに興味を持ってい 1.647 -る間に限り受け付けます。連絡は pcs39334@@asciinet.or.jp または、 1.648 + 苦情、希望、バグ報告、感想等は歓迎いたします。 1.649 +連絡は pcs39334@@asciinet.or.jp または、 1.650 yuuji@@ae.keio.ac.jpまで(1995年3月現在)。 1.651 1.652 仕様は、予告なく確実に(気分次第で)変更されます:-p。