yatex

changeset 242:cb4449ecb9f3 dev

Refer to %#MAKEINDEX and %#BIBTEX.
author yuuji@gentei.org
date Sun, 29 Jan 2012 23:01:57 +0900
parents 3d077fc07d9d
children 74229d191b17
files docs/yatexe.tex docs/yatexj.tex
diffstat 2 files changed, 50 insertions(+), 9 deletions(-) [+]
line diff
     1.1 --- a/docs/yatexe.tex	Sun Jan 29 23:01:32 2012 +0900
     1.2 +++ b/docs/yatexe.tex	Sun Jan 29 23:01:57 2012 +0900
     1.3 @@ -5,7 +5,7 @@
     1.4  
     1.5  @iftex
     1.6  @c @syncodeindex fn cp
     1.7 -@c Last modified Thu May 27 18:04:10 2010 on firestorm
     1.8 +@c Last modified Sun Jan 29 22:55:53 2012 on firestorm
     1.9  @syncodeindex vr cp
    1.10  @end iftex
    1.11  
    1.12 @@ -148,6 +148,8 @@
    1.13  @item [prefix] t e
    1.14          @dots{} invoke latex on current environment or whole
    1.15           portion of current formulas in math-mode.
    1.16 +@item [prefix] t d
    1.17 +	@dots{} invoke dvipdfmx after successful typesetting
    1.18  @item [prefix] t k
    1.19          @dots{} kill current typesetting process
    1.20  @item [prefix] t b
    1.21 @@ -287,7 +289,7 @@
    1.22  description makes it convenient to use ghostview as dvi-previewer.
    1.23  
    1.24  @example
    1.25 -        %#!latex main ; dvi2ps main.dvi > main
    1.26 +        %#!latex main && dvi2ps main.dvi > main
    1.27  @end example
    1.28  
    1.29  @noindent
    1.30 @@ -400,6 +402,28 @@
    1.31          %#LPR dvi2ps %s | lpr
    1.32  @end example
    1.33  
    1.34 +@node Controlling which command to invoke, Editing %# notation, lpr format, %#notation
    1.35 +@comment  node-name,  next,  previous,  up
    1.36 +@section Controlling which command to invoke
    1.37 +
    1.38 +These %# notation below can control which command to invoke for
    1.39 +La@TeX{} related process.
    1.40 +
    1.41 +@table @code
    1.42 + @item %#BIBTEX
    1.43 +	@dots{} Command line for makeindex ([prefix] t i)
    1.44 + @item %#MAKEINDEX
    1.45 +	@dots{} Command line for bibtex ([prefix] t b)
    1.46 +@end table
    1.47 +
    1.48 +If you want to invoke ``makeidx hogehoge'' to update index,
    1.49 +put the next line some upper place in the source, for example.
    1.50 +
    1.51 +@example
    1.52 +%#MAKEINDEX makeidx hogehoge
    1.53 +@end example
    1.54 +
    1.55 +
    1.56  @node Editing %# notation,  , Lpr format, %#notation
    1.57  @comment  node-name,  next,  previous,  up
    1.58  @section Editing %# notation
     2.1 --- a/docs/yatexj.tex	Sun Jan 29 23:01:32 2012 +0900
     2.2 +++ b/docs/yatexj.tex	Sun Jan 29 23:01:57 2012 +0900
     2.3 @@ -10,7 +10,7 @@
     2.4  @c ノードいじったら C-l C-u C-n 全部のノード更新 C-l C-u C-e
     2.5  @c メニュー増やしたら C-l C-u C-m 全部のメニュー更新 C-l C-u C-a
     2.6  @c フォーマットするときは C-l C-e C-b
     2.7 -@c Last modified Thu May 27 18:24:30 2010 on firestorm
     2.8 +@c Last modified Sun Jan 29 22:56:44 2012 on firestorm
     2.9  @syncodeindex vr cp
    2.10  @end iftex
    2.11  
    2.12 @@ -199,7 +199,7 @@
    2.13  
    2.14  これらを変更する場合は、やはり@file{~/.emacs}にて、たとえば
    2.15  @lisp
    2.16 -(setq tex-command "bigjlatex")
    2.17 +(setq tex-command "pdflatex")
    2.18  @end lisp
    2.19  のようにしてください。どのような値をセットすれば良いかについては、
    2.20  @ref{All customizable variables}を参照してください。
    2.21 @@ -226,7 +226,7 @@
    2.22          @dots{} タイプセッタ起動(領域指定)
    2.23  @item [prefix] t e
    2.24          @dots{} タイプセッタ起動
    2.25 -        (ポイント位置の環境または数式モードのみ対称)
    2.26 +        (ポイント位置の環境または数式モードのみ対象)
    2.27  @item [prefix] t k
    2.28          @dots{} 動作中のタイプセッタの停止
    2.29  @item [prefix] t b
    2.30 @@ -234,7 +234,7 @@
    2.31  @item [prefix] t i
    2.32          @dots{} makeindex起動
    2.33  @item [prefix] t d
    2.34 -        @dots{} タイプセッタとdvipdfmx起動
    2.35 +	@dots{} タイプセット完了後dvipdfmx起動
    2.36  @item [prefix] t p
    2.37          @dots{} プレヴューア起動
    2.38  @item [prefix] t l
    2.39 @@ -384,7 +384,7 @@
    2.40  @cindex ghostview
    2.41  
    2.42  @example
    2.43 -        %#!platex main ; dvi2ps main.dvi > main
    2.44 +        %#!platex main && dvi2ps main.dvi > main
    2.45  @end example
    2.46  
    2.47  なお、この行の最後の単語のピリオド以前を「メインファイル」のベース
    2.48 @@ -467,7 +467,7 @@
    2.49  @c @node  Require, lpr format, Fix region for typesetting, %#notation
    2.50  @comment  node-name,  next,  previous,  up
    2.51  
    2.52 -@node lpr format, Editing %# notation, Fix region for typesetting, %#notation
    2.53 +@node lpr format, Controlling which command to invoke, Fix region for typesetting, %#notation
    2.54  @comment  node-name,  next,  previous,  up
    2.55  @section lprフォーマット
    2.56  @cindex lprふぉーまっと[lprふおおまつと]
    2.57 @@ -512,7 +512,24 @@
    2.58  @noindent 
    2.59  などとするのも便利かもしれません。
    2.60  
    2.61 -@node Editing %# notation,  , lpr format, %#notation
    2.62 +@node Controlling which command to invoke, Editing %# notation, lpr format, %#notation
    2.63 +@comment  node-name,  next,  previous,  up
    2.64 +@section その他の起動コマンド制御
    2.65 +@cindex その他のコマンド制御[そのたのこまんとせいきよ]
    2.66 +
    2.67 +La@TeX{} 文書に関連するコマンドは以下の %# 記法で指定することができます。
    2.68 +
    2.69 +@table @code
    2.70 + @item %#BIBTEX
    2.71 +	@dots{} makeindexを行なうコマンドライン([prefix] t b)
    2.72 + @item %#MAKEINDEX
    2.73 +	@dots{} bibtexを行なうコマンドライン([prefix] t i)
    2.74 +@end table
    2.75 +
    2.76 +行頭がこれらのキーワードで始まる行をLa@TeX{}文書の先頭付近に書いておけば、
    2.77 +それで指定したコマンドを起動できます。
    2.78 +
    2.79 +@node Editing %# notation,  , Controlling which command to invoke, %#notation
    2.80  @comment  node-name,  next,  previous,  up
    2.81  @section %#記法自体の編集
    2.82  @cindex %#記法自体の編集[%#きほうしたいのへんしゆう]