# HG changeset patch # User yuuji@gentei.org # Date 1327845717 -32400 # Node ID cb4449ecb9f32a41f0017ac8a4a69c375912c189 # Parent 3d077fc07d9de44e20f087d230ff85b393664f18 Refer to %#MAKEINDEX and %#BIBTEX. diff -r 3d077fc07d9d -r cb4449ecb9f3 docs/yatexe.tex --- a/docs/yatexe.tex Sun Jan 29 23:01:32 2012 +0900 +++ b/docs/yatexe.tex Sun Jan 29 23:01:57 2012 +0900 @@ -5,7 +5,7 @@ @iftex @c @syncodeindex fn cp -@c Last modified Thu May 27 18:04:10 2010 on firestorm +@c Last modified Sun Jan 29 22:55:53 2012 on firestorm @syncodeindex vr cp @end iftex @@ -148,6 +148,8 @@ @item [prefix] t e @dots{} invoke latex on current environment or whole portion of current formulas in math-mode. +@item [prefix] t d + @dots{} invoke dvipdfmx after successful typesetting @item [prefix] t k @dots{} kill current typesetting process @item [prefix] t b @@ -287,7 +289,7 @@ description makes it convenient to use ghostview as dvi-previewer. @example - %#!latex main ; dvi2ps main.dvi > main + %#!latex main && dvi2ps main.dvi > main @end example @noindent @@ -400,6 +402,28 @@ %#LPR dvi2ps %s | lpr @end example +@node Controlling which command to invoke, Editing %# notation, lpr format, %#notation +@comment node-name, next, previous, up +@section Controlling which command to invoke + +These %# notation below can control which command to invoke for +La@TeX{} related process. + +@table @code + @item %#BIBTEX + @dots{} Command line for makeindex ([prefix] t i) + @item %#MAKEINDEX + @dots{} Command line for bibtex ([prefix] t b) +@end table + +If you want to invoke ``makeidx hogehoge'' to update index, +put the next line some upper place in the source, for example. + +@example +%#MAKEINDEX makeidx hogehoge +@end example + + @node Editing %# notation, , Lpr format, %#notation @comment node-name, next, previous, up @section Editing %# notation diff -r 3d077fc07d9d -r cb4449ecb9f3 docs/yatexj.tex --- a/docs/yatexj.tex Sun Jan 29 23:01:32 2012 +0900 +++ b/docs/yatexj.tex Sun Jan 29 23:01:57 2012 +0900 @@ -10,7 +10,7 @@ @c ノードいじったら C-l C-u C-n 全部のノード更新 C-l C-u C-e @c メニュー増やしたら C-l C-u C-m 全部のメニュー更新 C-l C-u C-a @c フォーマットするときは C-l C-e C-b -@c Last modified Thu May 27 18:24:30 2010 on firestorm +@c Last modified Sun Jan 29 22:56:44 2012 on firestorm @syncodeindex vr cp @end iftex @@ -199,7 +199,7 @@ これらを変更する場合は、やはり@file{~/.emacs}にて、たとえば @lisp -(setq tex-command "bigjlatex") +(setq tex-command "pdflatex") @end lisp のようにしてください。どのような値をセットすれば良いかについては、 @ref{All customizable variables}を参照してください。 @@ -226,7 +226,7 @@ @dots{} タイプセッタ起動(領域指定) @item [prefix] t e @dots{} タイプセッタ起動 - (ポイント位置の環境または数式モードのみ対称) + (ポイント位置の環境または数式モードのみ対象) @item [prefix] t k @dots{} 動作中のタイプセッタの停止 @item [prefix] t b @@ -234,7 +234,7 @@ @item [prefix] t i @dots{} makeindex起動 @item [prefix] t d - @dots{} タイプセッタとdvipdfmx起動 + @dots{} タイプセット完了後dvipdfmx起動 @item [prefix] t p @dots{} プレヴューア起動 @item [prefix] t l @@ -384,7 +384,7 @@ @cindex ghostview @example - %#!platex main ; dvi2ps main.dvi > main + %#!platex main && dvi2ps main.dvi > main @end example なお、この行の最後の単語のピリオド以前を「メインファイル」のベース @@ -467,7 +467,7 @@ @c @node Require, lpr format, Fix region for typesetting, %#notation @comment node-name, next, previous, up -@node lpr format, Editing %# notation, Fix region for typesetting, %#notation +@node lpr format, Controlling which command to invoke, Fix region for typesetting, %#notation @comment node-name, next, previous, up @section lprフォーマット @cindex lprふぉーまっと[lprふおおまつと] @@ -512,7 +512,24 @@ @noindent などとするのも便利かもしれません。 -@node Editing %# notation, , lpr format, %#notation +@node Controlling which command to invoke, Editing %# notation, lpr format, %#notation +@comment node-name, next, previous, up +@section その他の起動コマンド制御 +@cindex その他のコマンド制御[そのたのこまんとせいきよ] + +La@TeX{} 文書に関連するコマンドは以下の %# 記法で指定することができます。 + +@table @code + @item %#BIBTEX + @dots{} makeindexを行なうコマンドライン([prefix] t b) + @item %#MAKEINDEX + @dots{} bibtexを行なうコマンドライン([prefix] t i) +@end table + +行頭がこれらのキーワードで始まる行をLa@TeX{}文書の先頭付近に書いておけば、 +それで指定したコマンドを起動できます。 + +@node Editing %# notation, , Controlling which command to invoke, %#notation @comment node-name, next, previous, up @section %#記法自体の編集 @cindex %#記法自体の編集[%#きほうしたいのへんしゆう]