# HG changeset patch # User yuuji@gentei.org # Date 1274923493 -32400 # Node ID 6d682b9d4bc8af07c987fc32af76f23405d86132 # Parent 590fc51462c70f5261cb73eb9990606323480a50 Info remade with mule. diff -r 590fc51462c7 -r 6d682b9d4bc8 docs/yahtmle --- a/docs/yahtmle Thu May 27 10:16:56 2010 +0900 +++ b/docs/yahtmle Thu May 27 10:24:53 2010 +0900 @@ -1,7 +1,10 @@ Info file: yahtmle, -*-Text-*- produced by `texinfo-format-buffer' from file `yahtmle.tex' -using `texinfmt.el' version 2.42 of 7 Jul 2006. +using `texinfmt.el' version 2.32 of 19 November 1993. + + +  File: yahtmle, Node: Top, Next: Intro, Prev: (dir), Up: (dir) @@ -19,7 +22,6 @@ * Copying:: Copyright * Concept Index:: Index -  File: yahtmle, Node: Intro, Next: Installation, Prev: Top, Up: Top @@ -33,7 +35,6 @@ (This Info is still incomplete) -  File: yahtmle, Node: Installation, Next: Command Invocation, Prev: Intro, Up: Top @@ -41,10 +42,9 @@ ***************** * Menu: -* Setting up yahtml:: -* Setting environments for weblint browsers and image viewers:: -* Setting environment variables for WWW pages:: - +* Setting up yahtml:: +* Setting environments for weblint browsers and image viewers:: +* Setting environment variables for WWW pages::  File: yahtmle, Node: Setting up yahtml, Next: Setting environments for weblint browsers and image viewers, Prev: Installation, Up: Installation @@ -71,7 +71,6 @@ extensions. "yahtml" will be displayed on the mode line if no errors occurred. -  File: yahtmle, Node: Setting environments for weblint browsers and image viewers, Next: Setting environment variables for WWW pages, Prev: Setting up yahtml, Up: Installation @@ -90,7 +89,6 @@ `yahtml-kanji-code' ... kanji code for HTML files -  File: yahtmle, Node: Setting environment variables for WWW pages, Prev: Setting environments for weblint browsers and image viewers, Up: Installation @@ -102,7 +100,8 @@ ... list of matching path name on file system and URLs `yahtml-directory-index' ... index file displayed when none is given in URL. Usually - `index.html' on NCSA type httpd and `Welcome.html' on CERN types. + `index.html' on NCSA type httpd and `Welcome.html' on + CERN types. Examples for `yahtml-path-url-alist'. If `/home/yuuji/http/' is `http://localhost/~yuuji' at home and `/usr/home/yuuji/www/' is @@ -114,7 +113,6 @@ Any number of additions can be made to this list. -  File: yahtmle, Node: Command Invocation, Next: Completion, Prev: Installation, Up: Top @@ -129,7 +127,6 @@ `[prefix] t r' ... Reload current page if browser is already running -  File: yahtmle, Node: Completion, Next: Jump, Prev: Command Invocation, Up: Top @@ -160,7 +157,7 @@ attributes. Possible completions are, , . `[prefix] l (YaTeX large-type completion)' - ... + ... $B!A(B @@ -177,7 +174,6 @@ for < (<), > (>), & (&), " ("), ' ('), blank ( ) is possible. -  File: yahtmle, Node: Jump, Next: Changing and Deleting, Prev: Completion, Up: Top @@ -196,7 +192,6 @@ * `' -> move cursor to linked target * `' -> open Java source -  File: yahtmle, Node: Changing and Deleting, Next: CSS Support, Prev: Jump, Up: Top @@ -205,10 +200,9 @@ * Menu: -* Changing tags in pairs:: -* Changing entities:: -* URLencoding of strings within region:: - +* Changing tags in pairs:: +* Changing entities:: +* URLencoding of strings within region::  File: yahtmle, Node: Changing tags in pairs, Next: Changing entities, Prev: Changing and Deleting, Up: Changing and Deleting @@ -228,7 +222,6 @@ * attributes such as `photo' ... change attributes -  File: yahtmle, Node: Changing entities, Next: URLencoding of strings within region, Prev: Changing tags in pairs, Up: Changing and Deleting @@ -243,8 +236,7 @@ ... convert char to special entity in marked region `[prefix] :' ... convert special entity to original char in marked region - (reverse of [prefix] ;) - + (reverse of [prefix] ;)  @@ -254,8 +246,7 @@ ==================================== `[prefix] #' - ... encode chars that needs to be URLencoded within region - + ... encode chars that needs to be URLencoded within region  File: yahtmle, Node: CSS Support, Next: Customizations, Prev: Changing and Deleting, Up: Top @@ -265,9 +256,8 @@ * Menu: -* CSS-class completion:: -* Reread CSS definition:: - +* CSS-class completion:: +* Reread CSS definition::  File: yahtmle, Node: CSS-class completion, Next: Reread CSS definition, Prev: CSS Support, Up: CSS Support @@ -288,9 +278,8 @@ .caution { font-size: 120%; background-color: 0xc00000;} when you input any tags via completing-read, yahtml prompts you to input -class name. If this is bothering, typing `C-j' instead of -`RET' (or `C-m') cancels the next prompt to class name completion. - +class name. If this is bothering, typing `C-j' instead of `RET' (or +`C-m') cancels the next prompt to class name completion.  File: yahtmle, Node: Reread CSS definition, Prev: CSS-class completion, Up: CSS Support @@ -300,7 +289,6 @@ If you add some class to your CSS file and you want yahtml to load new definitions, type `M-x yahtml-mode RET' to make yahtml do. -  File: yahtmle, Node: Customizations, Next: Copying, Prev: CSS Support, Up: Top @@ -314,7 +302,6 @@ * All customizable variables:: List of customizable variables * Hook variables:: hook variables -  File: yahtmle, Node: All customizable variables, Next: Hook variables, Prev: Customizations, Up: Customizations @@ -331,9 +318,9 @@ Browser to view external pages with `[prefix]g'. (netscape) -- Variable: yahtml-kanji-code - Default kanji code. 1=sjis, 2=jis, 3=euc, 4=utf-8 (2) If AddType - text/html; charset=xxx" .html is written in .htaccess, this will - override yahtml-kanji-code. + Default kanji code. 1=sjis, 2=jis, 3=euc, 4=utf-8 (2) If + AddType "text/html; charset=xxx" .html is written in .htaccess, + this will override yahtml-kanji-code. -- Variable: yahtml-fill-column Columns to auto-fill (72) @@ -423,7 +410,6 @@ -- Variable: yahtml-indentation-boundary Boundary regexp for indentation calculation. (`"^\\s *"') -  File: yahtmle, Node: Hook variables, Prev: All customizable variables, Up: Customizations @@ -431,7 +417,6 @@ ============== -  File: yahtmle, Node: Copying, Next: Concept Index, Prev: Customizations, Up: Top @@ -455,7 +440,6 @@ HIROSE, Yuuji -  File: yahtmle, Node: Concept Index, Prev: Copying, Up: Top @@ -464,34 +448,12 @@ * Menu: -* Customize: Customizations. (line 5) -* Demacs: Intro. (line 5) -* Key Assign: Customizations. (line 5) -* LaTeX: Intro. (line 5) -* Mule: Intro. (line 5) -* yahtml: Intro. (line 5) - -Tag table: -Node: Top147 -Node: Intro724 -Node: Installation1122 -Node: Setting up yahtml1388 -Node: Setting environments for weblint browsers and image viewers2179 -Node: Setting environment variables for WWW pages2875 -Node: Command Invocation3846 -Node: Completion4274 -Node: Jump5790 -Node: Changing and Deleting6270 -Node: Changing tags in pairs6502 -Node: Changing entities6997 -Node: URLencoding of strings within region7533 -Node: CSS Support7803 -Node: CSS-class completion8014 -Node: Reread CSS definition8867 -Node: Customizations9142 -Node: All customizable variables9418 -Node: Hook variables13185 -Node: Copying13311 -Node: Concept Index14102 - -End tag table +* Customize: Customizations. 4. +* Demacs: Intro. 4. +* Key Assign: Customizations. 4. +* LaTeX: Intro. 4. +* Mule: Intro. 4. +* yahtml: Intro. 4. + + + diff -r 590fc51462c7 -r 6d682b9d4bc8 docs/yahtmlj --- a/docs/yahtmlj Thu May 27 10:16:56 2010 +0900 +++ b/docs/yahtmlj Thu May 27 10:24:53 2010 +0900 @@ -1,516 +1,469 @@ Info file: yahtmlj, -*-Text-*- produced by `texinfo-format-buffer' from file `yahtmlj.tex' -using `texinfmt.el' version 2.42 of 7 Jul 2006. +using `texinfmt.el' version 2.32 of 19 November 1993. + + +  File: yahtmlj, Node: Top, Next: Intro, Prev: (dir), Up: (dir) * Menu: -* Intro:: はじめに -* Installation:: インストール -* Command Invocation:: 外部コマンド起動 -* Completion:: 補完入力 -* Jump:: カーソルジャンプ -* Changing and Deleting:: 変更と削除 -* CSS Support:: スタイルシート補完 -* Customizations:: カスタマイズ変数一覧 -* Copying:: とりあつかい -* Concept Index:: 索引 - +* Intro:: はじめに +* Installation:: インストール +* Command Invocation:: 外部コマンド起動 +* Completion:: 補完入力 +* Jump:: カーソルジャンプ +* Changing and Deleting:: 変更と削除 +* CSS Support:: スタイルシート補完 +* Customizations:: カスタマイズ変数一覧 +* Copying:: とりあつかい +* Concept Index:: 索引  File: yahtmlj, Node: Intro, Next: Installation, Prev: Top, Up: Top -はじめに +はじめに ******** -yahtmlは GNU Emacs 上で HTML文書を作成する時に、繁雑なHTMLタグの入力を -補完機能によってスムーズに行えるようにするだけでなく、weblintなどの構文 -チェックプログラム、カーソル位置のURLやファイル名に依存したブラウザ/イ -メージヴューアの起動などを Emacs 編集画面中から行えるようにするパッケー -ジです。 +yahtmlは GNU Emacs 上で HTML文書を作成する時に、繁雑なHTMLタグの入力を補完 +機能によってスムーズに行えるようにするだけでなく、weblintなどの構文チェッ +クプログラム、カーソル位置のURLやファイル名に依存したブラウザ/イメージヴュー +アの起動などを Emacs 編集画面中から行えるようにするパッケージです。 -(このInfoは未完成です(__)…) - +(このInfoは未完成です(__)…)  File: yahtmlj, Node: Installation, Next: Command Invocation, Prev: Intro, Up: Top -インストール +インストール ************ * Menu: -* yahtml起動のための設定:: -* lintプログラム/ブラウザ/イメージヴューア環境等の設定:: -* WWWページ環境用変数の設定:: - +* yahtml起動のための設定:: +* lintプログラム/ブラウザ/イメージヴューア環境等の設定:: +* WWWページ環境用変数の設定::  -File: yahtmlj, Node: yahtml起動のための設定, Next: lintプログラム/ブラウザ/イメージヴューア環境等の設定, Prev: Installation, Up: Installation +File: yahtmlj, Node: yahtml起動のための設定, Next: lintプログラム/ブラウザ/イメージヴューア環境等の設定, Prev: Installation, Up: Installation -yahtml起動のための設定 +yahtml起動のための設定 ====================== -`~/.emacs'に下の2項目を加えます。 +`~/.emacs'に下の2項目を加えます。 (setq auto-mode-alist (cons (cons "\\.html$" 'yahtml-mode) auto-mode-alist)) (autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t) -次にyahtmlに必要なファイル(`yahtml.el', `yatexlib.el', -`yatexprc.el') を置くディレクトリを load-path に加えます。たとえば、 -`~/src/emacs/yahtml'に置くのであれば、 +次にyahtmlに必要なファイル(`yahtml.el', `yatexlib.el', `yatexprc.el') を置 +くディレクトリを load-path に加えます。たとえば、 `~/src/emacs/yahtml'に置 +くのであれば、 (setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path)) -などとします。 +などとします。 - 以上の設定により、拡張子が .html であるファイルを編集すると自動的に -yahtml がロードされます。yahtmlが正常に起動できたときはモードラインの表 -示が「yahtml」に変わります。 - + 以上の設定により、拡張子が .html であるファイルを編集すると自動的に +yahtml がロードされます。yahtmlが正常に起動できたときはモードラインの表示 +が「yahtml」に変わります。  -File: yahtmlj, Node: lintプログラム/ブラウザ/イメージヴューア環境等の設定, Next: WWWページ環境用変数の設定, Prev: yahtml起動のための設定, Up: Installation +File: yahtmlj, Node: lintプログラム/ブラウザ/イメージヴューア環境等の設定, Next: WWWページ環境用変数の設定, Prev: yahtml起動のための設定, Up: Installation -lintプログラム/ブラウザ/イメージヴューア環境等の設定 +lintプログラム/ブラウザ/イメージヴューア環境等の設定 ==================================================== -利用する外部プログラムなどに関する以下の変数を確認し、必要なら正しい値 -に変更します(括弧内はデフォルト値)。 +利用する外部プログラムなどに関する以下の変数を確認し、必要なら正しい値に変 +更します(括弧内はデフォルト値)。 `yahtml-www-browser' - ... 起動するブラウザのコマンド名(netscape) + ... 起動するブラウザのコマンド名(netscape) `yahtml-image-viewer' - ... 起動する画像ビューアのコマンド名(xv) + ... 起動する画像ビューアのコマンド名(xv) `yahtml-lint-program' - ... 構文チェックプログラムのコマンド名(jweblint) + ... 構文チェックプログラムのコマンド名(jweblint) `yahtml-kanji-code' - ... htmlファイルの漢字コード - + ... htmlファイルの漢字コード  -File: yahtmlj, Node: WWWページ環境用変数の設定, Prev: lintプログラム/ブラウザ/イメージヴューア環境等の設定, Up: Installation +File: yahtmlj, Node: WWWページ環境用変数の設定, Prev: lintプログラム/ブラウザ/イメージヴューア環境等の設定, Up: Installation -WWWページ環境用変数の設定 +WWWページ環境用変数の設定 ========================= -ホームページとなるファイルが存在するPATH名に関する変数を設定します。 +ホームページとなるファイルが存在するPATH名に関する変数を設定します。 `yahtml-path-url-alist' - ... ファイルシステム上のPATH名と、URLの対応表 + ... ファイルシステム上のPATH名と、URLの対応表 `yahtml-directory-index' - ... URL指定でファイル名を省略したときに表示されるインデックス - ファイル名(NCSA系httpdなら `index.html', CERN系なら - `Welcome.html'が一般的) + ... URL指定でファイル名を省略したときに表示されるインデックス + ファイル名(NCSA系httpdなら `index.html', CERN系なら + `Welcome.html'が一般的) -変数 `yahtml-path-url-alist' の設定例を示します。例えば、自宅では、 -`/home/yuuji/http/' が `http://localhost/~yuuji' で参照でき、職場では -`/usr/home/yuuji/www/' が`http://www.keio.ac.jp/~yuuji/' で参照できるよ -うになっている場合は以下のように設定します。 +変数 `yahtml-path-url-alist' の設定例を示します。例えば、自宅では、 +`/home/yuuji/http/' が `http://localhost/~yuuji' で参照でき、職場では +`/usr/home/yuuji/www/' が`http://www.keio.ac.jp/~yuuji/' で参照できるよう +になっている場合は以下のように設定します。 (setq yahtml-path-url-alist '(("/home/yuuj/http" . "http://localhost/~yuuji") ("/usr/home/yuuj/www" . "http://www.keio.ac.jp/~yuuji"))) -この対応組はいくらでも設定することができます。 - +この対応組はいくらでも設定することができます。  File: yahtmlj, Node: Command Invocation, Next: Completion, Prev: Installation, Up: Top -外部コマンド起動 +外部コマンド起動 **************** -HTMLファイル編集にかかわるいくつかのコマンドを即座に呼ぶことができます。 +HTMLファイル編集にかかわるいくつかのコマンドを即座に呼ぶことができます。 `[prefix] t j' - ... HTML構文チェッカ(jweblint)起動 + ... HTML構文チェッカ(jweblint)起動 `[prefix] t p' - ... 現在のページを対象としたブラウザ起動 + ... 現在のページを対象としたブラウザ起動 `[prefix] t r' - ... 現在のページがブラウザに表示されているときのreload指定 - + ... 現在のページがブラウザに表示されているときのreload指定  File: yahtmlj, Node: Completion, Next: Jump, Prev: Command Invocation, Up: Top -補完入力 +補完入力 ******** -「野鳥」で利用できる、「begin型補完」、「section型補完」、「large型補 -完」、「maketitle型補完」、「アクセント補完」と全く同じキー操作で対応す -るHTMLタグの補完入力ができます。それぞれの型の補完は順に、「複数行に渡 -るタグ入力」、「空要素タグ(imgなど)の補完」、「一行内での開始/終了タグ -の入力」、「空要素空属性タグの入力」、「文字参照入力」に対応しています。 -具体的には +「野鳥」で利用できる、「begin型補完」、「section型補完」、「large型補完」、 +「maketitle型補完」、「アクセント補完」と全く同じキー操作で対応するHTMLタ +グの補完入力ができます。それぞれの型の補完は順に、「複数行に渡るタグ入力」、 +「空要素タグ(imgなど)の補完」、「一行内での開始/終了タグの入力」、「空要素 +空属性タグの入力」、「文字参照入力」に対応しています。具体的には -`[prefix] b (野鳥のbegin補完に対応)' +`[prefix] b (野鳥のbegin補完に対応)' ...
- のように開始タグと終了タグを二行に渡って書きたい場合の補完を指しま - す。おもにブロック型タグが補完候補に含まれます。 + のように開始タグと終了タグを二行に渡って書きたい場合の補完を指します。 + おもにブロック型タグが補完候補に含まれます。 -`[prefix] s (野鳥のsection型補完に対応)' +`[prefix] s (野鳥のsection型補完に対応)' ... photo - のように終了タグを持たず、かつ属性値のみで機能を指定するタグを補完 - します。補完候補としては、img, input が存在します。 + のように終了タグを持たず、かつ属性値のみで機能を指定するタグを補完し + ます。補完候補としては、img, input が存在します。 -`[prefix] l (野鳥のlarge型補完に対応)' - ... begin型補完とほぼ同じですが、 +`[prefix] l (野鳥のlarge型補完に対応)' + ... begin型補完とほぼ同じですが、 - + - のように一行内に開始/終了タグを入れたいときに利用します。 + のように一行内に開始/終了タグを入れたいときに利用します。 -`[prefix] m (野鳥のmaketitle型補完に対応)' - ... 要素も属性値も持たないタグを補完入力します。
- などが補完候補に相当します。 +`[prefix] m (野鳥のmaketitle型補完に対応)' + ... 要素も属性値も持たないタグを補完入力します。
+ などが補完候補に相当します。 -`[prefix] a (野鳥のアクセント補完に対応)' - ... エンティティ参照による文字表記を入力するときに用います。 - デフォルトでは < (<), > (>), & (&), " ("), ' - ('),ブランク ( ) の補完入力が行えます。 - +`[prefix] a (野鳥のアクセント補完に対応)' + ... エンティティ参照による文字表記を入力するときに用います。 + デフォルトでは < (<), > (>), & (&), " ("), ' ('), + ブランク ( ) の補完入力が行えます。  File: yahtmlj, Node: Jump, Next: Changing and Deleting, Prev: Completion, Up: Top -カーソルジャンプ +カーソルジャンプ **************** -文書中のいろいろな場所で +文書中のいろいろな場所で `[prefix] g' - ... 対応するオブジェクトにジャンプ + ... 対応するオブジェクトにジャンプ -を押すことにより、カーソル位置のHTML構文に対応する場所にジャンプします。 -対応関係が存在すると解釈されるコマンドには以下のものがあります。 +を押すことにより、カーソル位置のHTML構文に対応する場所にジャンプします。対 +応関係が存在すると解釈されるコマンドには以下のものがあります。 - * `' ←→ `' - * `' → 対応するviewer起動 - * `' → リンク先へのポイント移動 - * `' → Javaソースプログラムへの移動 - + * `' ←→ `' + * `' → 対応するviewer起動 + * `' → リンク先へのポイント移動 + * `' → Javaソースプログラムへの移動  File: yahtmlj, Node: Changing and Deleting, Next: CSS Support, Prev: Jump, Up: Top -変更/削除 +変更/削除 ********* * Menu: -* 対タグの変更:: -* 文字参照への変更:: -* リジョン内文字のURLencode:: - +* 対タグの変更:: +* 文字参照への変更:: +* リジョン内文字のURLencode::  -File: yahtmlj, Node: 対タグの変更, Next: 文字参照への変更, Prev: Changing and Deleting, Up: Changing and Deleting +File: yahtmlj, Node: 対タグの変更, Next: 文字参照への変更, Prev: Changing and Deleting, Up: Changing and Deleting -対タグの変更 +対タグの変更 ============ -文書中のいろいろな場所で +文書中のいろいろな場所で `[prefix] c' - ... 対応するタグ等を変更 + ... 対応するタグ等を変更 -を押すことにより、カーソル位置のHTML構文に応じた記述内容の変更を行いま -す。カーソル位置と変更する内容の対応は以下の通りです。 +を押すことにより、カーソル位置のHTML構文に応じた記述内容の変更を行います。 +カーソル位置と変更する内容の対応は以下の通りです。 - * `'〜`' - ... `TAG' の変更 - * `photo' などの属性値 - ... 属性値の変更 - + * `'〜`' + ... `TAG' の変更 + * `photo' などの属性値 + ... 属性値の変更  -File: yahtmlj, Node: 文字参照への変更, Next: リジョン内文字のURLencode, Prev: 対タグの変更, Up: Changing and Deleting +File: yahtmlj, Node: 文字参照への変更, Next: リジョン内文字のURLencode, Prev: 対タグの変更, Up: Changing and Deleting -文字参照への変更 +文字参照への変更 ================ -文字としての < や > を表現するときは、文字参照を用いて< や > と表 -記する必要がありますが、HTML以外のファイルからこれらの文字を含むテキス -トを張り込んだ場合などに、これらの文字を一括して文字参照形式に変換でき -ます。 +文字としての < や > を表現するときは、文字参照を用いて< や > と表記 +する必要がありますが、HTML以外のファイルからこれらの文字を含むテキストを張 +り込んだ場合などに、これらの文字を一括して文字参照形式に変換できます。 `[prefix] ;' - ... 指定した領域の文字参照に置き換えるべき文字の置換 + ... 指定した領域の文字参照に置き換えるべき文字の置換 `[prefix] :' - ... 指定した領域の文字参照を参照文字そのものに置換 - ([prefix] ; の逆変換) - + ... 指定した領域の文字参照を参照文字そのものに置換 + ([prefix] ; の逆変換)  -File: yahtmlj, Node: リジョン内文字のURLencode, Prev: 文字参照への変更, Up: Changing and Deleting +File: yahtmlj, Node: リジョン内文字のURLencode, Prev: 文字参照への変更, Up: Changing and Deleting -リジョン内文字のURLencode +リジョン内文字のURLencode ========================= [prefix] # - - ... 指定した領域内に URLencode すべき文字があればそれらを - エンコード表記に置換。 - + + ... 指定した領域内に URLencode すべき文字があればそれらを + エンコード表記に置換。  File: yahtmlj, Node: CSS Support, Next: Customizations, Prev: Changing and Deleting, Up: Top -CSS(スタイルシート)サポート +CSS(スタイルシート)サポート *************************** * Menu: -* CSS-class completion:: -* Reread CSS file:: - +* CSS-class completion:: +* Reread CSS file::  File: yahtmlj, Node: CSS-class completion, Next: Reread CSS file, Prev: CSS Support, Up: CSS Support -CSSクラス名補完 +CSSクラス名補完 =============== -HTML屋はCSS(Cascading Style Sheets)のクラス名を補完入力することができま -す。スタイル定義として +HTML屋はCSS(Cascading Style Sheets)のクラス名を補完入力することができます。 +スタイル定義として h1.foo, h2.foo { background-color: 0xffffff; } h1.bar, h2.bar { font-size: 120%; } -のようなものがあった場合に、h1またはh2タグを [prefix] b や [prefix] l -で補完入力した場合に、それらに有効な class 名である foo, bar を候補とし -て補完入力することが可能です。また +のようなものがあった場合に、h1またはh2タグを [prefix] b や [prefix] l で補 +完入力した場合に、それらに有効な class 名である foo, bar を候補として補完 +入力することが可能です。また .caution { font-size: 120%; background-color: 0xc00000;} -のような全てのエレメントに働くclassが定義されていた場合は、全てのタグの -補完入力時にclass参照入力を求められます。これが煩わしい場合はエレメント -名入力確定のときにリターンキー(またはC-m)ではなく、C-jを押せばclass補完 -入力をキャンセルできます。たとえば +のような全てのエレメントに働くclassが定義されていた場合は、全てのタグの補 +完入力時にclass参照入力を求められます。これが煩わしい場合はエレメント名入 +力確定のときにリターンキー(またはC-m)ではなく、C-jを押せばclass補完入力を +キャンセルできます。たとえば - [prefix] l 行内タグ補完を起動 - (または[prefix] l SPC) - tt をいれたいのでttと入力 - C-m + `[prefix] l' 行内タグ補完を起動 + (または`[prefix] l SPC') + tt をいれたいのでttと入力 + `C-m' -とした場合は続いて class= と補完プロンプトが出ますが、 +とした場合は続いて class= と補完プロンプトが出ますが、 - [prefix] l 行内タグ補完を起動 - (または[prefix] l SPC) - tt をいれたいのでttと入力 - C-j + `[prefix] l' 行内タグ補完を起動 + (または`[prefix] l SPC') + tt をいれたいのでttと入力 + `C-j' -と最後を `C-j' で入力した場合は class 補完プロンプトは出ません。 - +と最後を `C-j' で入力した場合は class 補完プロンプトは出ません。  File: yahtmlj, Node: Reread CSS file, Prev: CSS-class completion, Up: CSS Support -CSS定義ファイルの読み直し +CSS定義ファイルの読み直し ========================= -htmlファイルを編集中にCSS定義ファイルを修正し、追加した -classを補完候補として直ちに読み込ませたい場合は、 -`M-x yahtml-mode' として再起動を行ってください。 - +htmlファイルを編集中にCSS定義ファイルを修正し、追加したclassを補完候補とし +て直ちに読み込ませたい場合は、`M-x yahtml-mode' として再起動を行ってくださ +い。  File: yahtmlj, Node: Customizations, Next: Copying, Prev: CSS Support, Up: Top -カスタマイズ +カスタマイズ ************ -yahtmlの動作を制御する変数について説明します。 +yahtmlの動作を制御する変数について説明します。 * Menu: -* All customizable variables:: カスタマイズ変数一覧 -* Hook variables:: hook変数 - +* All customizable variables:: カスタマイズ変数一覧 +* Hook variables:: hook変数  File: yahtmlj, Node: All customizable variables, Next: Hook variables, Prev: Customizations, Up: Customizations -カスタマイズ変数一覧 +カスタマイズ変数一覧 ==================== -- Variable: yahtml-prefix - yahtml-mode 中のプリフィクスキー (`\C-c') + yahtml-mode 中のプリフィクスキー (`\C-c') -- Variable: yahtml-image-viewer - imgで参照している画像ファイルを表示するときに起動するコマンド - (xv) + imgで参照している画像ファイルを表示するときに起動するコマンド (xv) -- Variable: yahtml-www-browser - `[prefix]g' で外部ページを表示するときに起動するブラウザ (netscape) + `[prefix]g' で外部ページを表示するときに起動するブラウザ (netscape) -- Variable: yahtml-kanji-code - デフォルトの漢字コード。1=sjis, 2=jis, 3=euc, 4=utf-8 (2) - .htaccess ファイルに - AddType "text/html; charset=xxx" .htmlの記述があった場合はそ - れに従う + デフォルトの漢字コード。1=sjis, 2=jis, 3=euc, 4=utf-8 (2) + .htaccess ファイルに + AddType "text/html; charset=xxx" .htmlの記述があった場合はそれ + に従う -- Variable: yahtml-fill-column - auto-fillするときのカラム数 (72) + auto-fillするときのカラム数 (72) -- Variable: yahtml-fill-prefix - yahtml-mode 固有のfill-prefix (`nil') + yahtml-mode 固有のfill-prefix (`nil') -- Variable: yahtml-path-url-alist - OSのファイルシステム上でのフルパス名と、その外部公開時のURLの対応 - 表。 + OSのファイルシステム上でのフルパス名と、その外部公開時のURLの対応表。 -- Variable: yahtml-directory-index - サーバアクセス時ファイル名を省略したときにデフォルトで開かれるイン - デックスファイルの名前。多くの場合 index.html。(`"index.html"') + サーバアクセス時ファイル名を省略したときにデフォルトで開かれるインデッ + クスファイルの名前。多くの場合 index.html。(`"index.html"') -- Variable: yahtml-lint-program - HTML構文チェックプログラム。(`"jweblint"') + HTML構文チェックプログラム。(`"jweblint"') -- Variable: yahtml-hate-too-deep-indentation - ネストした列挙系環境でのインデントが深すぎるときにtにする。 - (`nil') + ネストした列挙系環境でのインデントが深すぎるときにtにする。(`nil') -- Variable: yahtml-always-/p - `

' をいれたら必ず `

' したい人向け。`nil' + `

' をいれたら必ず `

' したい人向け。`nil' -- Variable: yahtml-p-prefered-env-regexp - 自動的に `

' を入れて欲しい環境。 + 自動的に `

' を入れて欲しい環境。 (`"^\\(body\\|dl\\|blockquote\\)"') -- Variable: yahtml-template-file - 新規HTMLファイル作成時に自動的に挿入して欲しいファイル名。 + 新規HTMLファイル作成時に自動的に挿入して欲しいファイル名。 `"~/http/template.html"' -- Variable: yahtml-prefer-upcases - タグに大文字を使いたい。`nil' + タグに大文字を使いたい。`nil' -- Variable: yahtml-prefer-upcase-attributes - 属性指定子に大文字を使いたい。`nil' + 属性指定子に大文字を使いたい。`nil' -- Variable: yahtml-server-type - Apache系のサーバを利用している場合は 'apache をセットする。 - ./.htaccess を参照するかどうかを決定する。`'apache' + Apache系のサーバを利用している場合は 'apache をセットする。 + ./.htaccess を参照するかどうかを決定する。`'apache' -- Variable: yahtml-apache-access-file - `yahtml-server-type' が `'apache' のときにアクセス制限ファイル名を - 指定。`".htaccess"' + `yahtml-server-type' が `'apache' のときにアクセス制限ファイル名を指 + 定。`".htaccess"' -- Variable: yahtml-shell-command-option - シェルで別コマンドを起動するときのオプション。 + シェルで別コマンドを起動するときのオプション。 -- Variable: yahtml-translate-hyphens-when-comment-region - 領域コメントアウトをするときに既に存在するハイフンを `-' に変 - 更するかどうか。(`t') + 領域コメントアウトをするときに既に存在するハイフンを `-' に変更す + るかどうか。(`t') -- Variable: yahtml-entity-reference-chars-alist - エンティティ参照(Entity Reference)で記述すべき文字群を`'(?文 - 字 . "エンティティ表記")' という形式を列挙したalistで並べる。デフォ - ルトで `<', `>', `&', `'', `"' に対するalistが設定されているので、 - 追加したい分だけを記述すれば良い。cdr部 `"エンティティ表記"' は、 - 先頭の `&' と 末尾の`;'は含めずに書く。 + エンティティ参照(Entity Reference)で記述すべき文字群を + `'(?文字 . "エンティティ表記")' という形式を列挙したalistで並べる。 + デフォルトで `<', `>', `&', `'', `"' に対するalistが設定されているの + で、追加したい分だけを記述すれば良い。cdr部 `"エンティティ表記"' は、 + 先頭の `&' と 末尾の`;'は含めずに書く。 -- Variable: yahtml-faithful-to-htmllint - 構文チェッカとして htmllint を利用する場合ちょっとした余計な空白な - どに対しても警告を示すので、これを回避するときにはこの変数を`t'に - する。 + 構文チェッカとして htmllint を利用する場合ちょっとした余計な空白など + に対しても警告を示すので、これを回避するときにはこの変数を`t'にする。 -- Variable: yahtml-use-css - CSSの補完機能を使うかどうか (`t') + CSSの補完機能を使うかどうか (`t') -- Variable: yahtml-image-inspection-bytes - 画像ファイルのサイズを調べるときに読み込むバイト数 (`10000') + 画像ファイルのサイズを調べるときに読み込むバイト数 (`10000') -- Variable: yahtml:img-default-alt-format - のALT属性のデフォルト文字列の書式。%xは画像の幅、%yは - 画像の高さ、%sはファイルサイズに置換される (`"%xx%y(%sbytes)"') + のALT属性のデフォルト文字列の書式。%xは画像の幅、%yは画像 + の高さ、%sはファイルサイズに置換される (`"%xx%y(%sbytes)"') -- Variable: yahtml-escape-chars - href補完などのときに予約文字をURLエンコードするか; 'askのときは確 - 認してから置換する (`'ask') + href補完などのときに予約文字をURLエンコードするか; 'askのときは確認し + てから置換する (`'ask') -- Variable: yahtml-use-font-lock - ソースの色づけパッケージとして font-lock を利用するか(`(featurep - 'font-lock)') + ソースの色づけパッケージとして font-lock を利用するか(`(featurep ' + font-lock)') -- Variable: yahtml-use-hilit19 - ソースの色づけパッケージとして hilit19 を利用するか(`(featurep - 'hilit19)') + ソースの色づけパッケージとして hilit19 を利用するか(`(featurep ' + hilit19)') -- Variable: yahtml-indentation-boundary - インデント計算を打ち切ってよい境界となる正規表現(`"^\\s - *"') - + インデント計算を打ち切ってよい境界となる正規表現(`"^\\s *"')  File: yahtmlj, Node: Hook variables, Prev: All customizable variables, Up: Customizations -hook変数 +hook変数 ======== -  File: yahtmlj, Node: Copying, Next: Concept Index, Prev: Customizations, Up: Top -取り扱い +取り扱い ******** - 本プログラムはフリーソフトウェアです。本プログラムを使用して生じたい -かなる結果に対しても作者は責任を負わないこととします。転載等に関しては -制限いたしません。常識的に扱ってください。また、使用している旨をメイル -でお知らせいただくと、作者は喜んでサポートに励むことでしょう。 + 本プログラムはフリーソフトウェアです。本プログラムを使用して生じたいかな +る結果に対しても作者は責任を負わないこととします。転載等に関しては制限いた +しません。常識的に扱ってください。また、使用している旨をメイルでお知らせい +ただくと、作者は喜んでサポートに励むことでしょう。 - 苦情、希望、バグ報告、感想等は歓迎いたします。連絡は yuuji@yatex.org -まで(2000年12月現在)。継続的に使用してくださる方はメイリングリスト「fj -野鳥の会」に是非加入してください。加入方法については本パッケージの -`docs/htmlqa'ファイルの「その他」の章を御覧ください。 + 苦情、希望、バグ報告、感想等は歓迎いたします。連絡は yuuji@yatex.org ま +で(2000年12月現在)。継続的に使用してくださる方はメイリングリスト「fj野鳥の +会」に是非加入してください。加入方法については本パッケージの `docs/htmlqa' +ファイルの「その他」の章を御覧ください。 -仕様は、予告なく確実に(気分次第で)変更されます:-p。 +仕様は、予告なく確実に(気分次第で)変更されます:-p。 - 広瀬雄二 - + 広瀬雄二  File: yahtmlj, Node: Concept Index, Prev: Copying, Up: Top -索引 +索引 **** * Menu: -* Demacs: Intro. (line 5) -* HTML[HTML]: Intro. (line 5) -* JX^}CY[]: Customizations. (line 5) -* L[ATC[]: Customizations. (line 5) -* LaTeX: Intro. (line 5) -* Mule: Intro. (line 5) - -Tag table: -Node: Top147 -Node: Intro616 -Node: Installation896 -Node: yahtml起動のための設定1084 -Node: lintプログラム/ブラウザ/イメージヴューア環境等の設定1736 -Node: WWWページ環境用変数の設定2236 -Node: Command Invocation3038 -Node: Completion3365 -Node: Jump4347 -Node: Changing and Deleting4746 -Node: 対タグの変更4906 -Node: 文字参照への変更5256 -Node: リジョン内文字のURLencode5640 -Node: CSS Support5852 -Node: CSS-class completion6050 -Node: Reread CSS file7033 -Node: Customizations7255 -Node: All customizable variables7479 -Node: Hook variables10503 -Node: Copying10615 -Node: Concept Index11111 - -End tag table +* 徴徴徴徴徴徴[彫彫彫彫彫彫]: Customizations. 4. +* 徴庁徴徴徴徴彫彫彫彫彫彫: Customizations. 4. +* Demacs: Intro. 4. +* HTML調[HTML彫臂: Intro. 4. +* LaTeX: Intro. 4. +* Mule: Intro. 4. + + + diff -r 590fc51462c7 -r 6d682b9d4bc8 docs/yatexe --- a/docs/yatexe Thu May 27 10:16:56 2010 +0900 +++ b/docs/yatexe Thu May 27 10:24:53 2010 +0900 @@ -1,14 +1,17 @@ Info file: yatexe, -*-Text-*- produced by `texinfo-format-buffer' from file `yatexe.tex' -using `texinfmt.el' version 2.42 of 7 Jul 2006. +using `texinfmt.el' version 2.32 of 19 November 1993. + + +  File: yatexe, Node: Top, Next: What is YaTeX?, Prev: (dir), Up: (dir) * Menu: -* What is YaTeX?:: +* What is YaTeX?:: * Main features:: What YaTeX can do * Installation:: Guide to install * Typesetting:: Call typesetting processes @@ -31,7 +34,6 @@ * Copying:: Redistribution -  File: yatexe, Node: What is YaTeX?, Next: Main features, Prev: Top, Up: Top @@ -45,7 +47,6 @@ YaTeX also supports Demacs which runs on MS-DOS(386), Mule (Multi Language Enhancement to GNU Emacs), and latex on DOS. -  File: yatexe, Node: Main features, Next: Installation, Prev: What is YaTeX?, Up: Top @@ -57,7 +58,7 @@ * Semiautomatic replacing of `\includeonly' * Jumping to error line(`C-c '') * Completing-read of LaTeX commands such as `\begin{}', - `\section' etc. + `\section' etc. (`C-c b', `C-c s', `C-c l', `C-c m') * Enclosing text into LaTeX environments or commands (`C-u' ABOVEKEYSTROKES) @@ -80,7 +81,6 @@ * Allow you to forget creating \label{}s, \ref or \cite completion automatically generate labels. -  File: yatexe, Node: Installation, Next: Typesetting, Prev: Main features, Up: Top @@ -106,7 +106,6 @@ loaded, mode string on mode line will be turned to "YaTeX". -  File: yatexe, Node: Typesetting, Next: %#notation, Prev: Installation, Up: Top @@ -135,10 +134,9 @@ * Menu: -* Calling typesetter:: -* Calling previewer:: -* Printing out:: - +* Calling typesetter:: +* Calling previewer:: +* Printing out::  File: yatexe, Node: Calling typesetter, Next: Calling previewer, Prev: Typesetting, Up: Typesetting @@ -173,7 +171,6 @@ if you edit one file, and is the same as main file's if you edit splitting files. -  File: yatexe, Node: Calling previewer, Next: Printing out, Prev: Calling typesetter, Up: Typesetting @@ -185,7 +182,6 @@ enables you to search current string at the cursor on the running xdvi window. -  File: yatexe, Node: Printing out, Prev: Calling previewer, Up: Typesetting @@ -198,7 +194,6 @@ C-u [prefix] tl -  File: yatexe, Node: %#notation, Next: Completion, Prev: Typesetting, Up: Top @@ -210,12 +205,11 @@ * Menu: -* Changing typesetter:: -* Splitting input files:: -* Static region for typesetting:: -* Lpr format:: -* Editing %# notation:: - +* Changing typesetter:: +* Splitting input files:: +* Static region for typesetting:: +* Lpr format:: +* Editing %# notation::  File: yatexe, Node: Changing typesetter, Next: Splitting input files, Prev: %#notation, Up: %#notation @@ -229,7 +223,6 @@ anywhere in the source text. This is useful for changing typesetter. -  File: yatexe, Node: Splitting input files, Next: Static region for typesetting, Prev: Changing typesetter, Up: %#notation @@ -256,14 +249,13 @@ To make best use of the feature of inter-file jumping by `[prefix] g' (see *Note Cursor jump::), take described below into consideration. - * You can put split texts in sub directory, but not in sub directory of - sub directory. + * You can put split texts in sub directory, but not in + sub directory of sub directory. * In the main text, specify the child file name with relative path name - such as \include{chap1/sub}, when you include the file in a - sub-directory. - * In a sub-text, write `%#!latex main.tex' even if `main.tex' is in the - parent directory(not %#!latex ../main.tex). - + such as \include{chap1/sub}, when you include the file in + a sub-directory. + * In a sub-text, write `%#!latex main.tex' even if `main.tex' + is in the parent directory(not %#!latex ../main.tex).  File: yatexe, Node: Static region for typesetting, Next: Lpr format, Prev: Splitting input files, Up: %#notation @@ -298,7 +290,6 @@ the middle of very long text. Do not forget to erase `%#BEGIN' `%#END' pair. -  File: yatexe, Node: Lpr format, Next: Editing %# notation, Prev: Static region for typesetting, Up: %#notation @@ -331,7 +322,6 @@ %#LPR dvi2ps %s | lpr -  File: yatexe, Node: Editing %# notation, Prev: Lpr format, Up: %#notation @@ -351,7 +341,6 @@ `%#END', and `l' to edit `%#LPR' entry. When you type `b', all `%#BEGIN' and `%#END' are automatically erased. -  File: yatexe, Node: Completion, Next: Local dictionaries, Prev: %#notation, Up: Top @@ -363,16 +352,15 @@ * Menu: -* Begin-type completion:: -* Section-type completion:: -* Large-type completion:: -* Maketitle-type completion:: -* Arbitrary completion:: -* End completion:: -* Accent completion:: -* Image completion:: -* Greek letters completion:: - +* Begin-type completion:: +* Section-type completion:: +* Large-type completion:: +* Maketitle-type completion:: +* Arbitrary completion:: +* End completion:: +* Accent completion:: +* Image completion:: +* Greek letters completion::  File: yatexe, Node: Begin-type completion, Next: Section-type completion, Prev: Completion, Up: Completion @@ -380,7 +368,7 @@ Begin-type completion ===================== - "Begin-type completion" completes commands of `\begin{env}' ... + "Begin-type completion" completes commands of `\begin{env}' ... `\end{env}'. All of the begin-type completions begin with this key sequence. @@ -433,7 +421,7 @@ The next message will show up in the minibuffer - Begin environment(default document): + Begin environment(default document): by typing `[prefix] b'. Put the wishing environment with completion in the minibuffer, and `\begin{env}'...\`\end{env}' will be inserted in the @@ -462,7 +450,6 @@ `[prefix] B SPC' enclose a region with the environment selected by completing-read. -  File: yatexe, Node: Section-type completion, Next: Large-type completion, Prev: Begin-type completion, Up: Completion @@ -501,7 +488,7 @@ in your LaTeX source. When you neglect argument such as (C-v for view) \???{} (default section): vspace* - \vspace*{???}: + \vspace*{???}: YaTeX puts @@ -540,8 +527,7 @@ * Menu: -* view-sectioning:: - +* view-sectioning::  File: yatexe, Node: view-sectioning, Prev: Section-type completion, Up: Section-type completion @@ -563,12 +549,12 @@ `M-x YaTeX-section-overview' ... Generate *Sectioning Lines* buffer -from the LaTeX source buffer. In this listing buffer, typing `u' on -the sectioning command shifts up the corresponding sectioning command in +from the LaTeX source buffer. In this listing buffer, typing `u' on the +sectioning command shifts up the corresponding sectioning command in source text and `d' shifts down. After marking lines in the listing -buffer, typing `U' shifts up all sectioning commands in the region, -and `U' shifts down. Here are all the key bindings of -`*Sectioning Lines*' buffer. +buffer, typing `U' shifts up all sectioning commands in the region, and +`U' shifts down. Here are all the key bindings of `*Sectioning Lines*' +buffer. `SPC' ... Jump to corresponding source line @@ -586,7 +572,6 @@ ... Hide sectioning commands whose level is lower than n -  File: yatexe, Node: Large-type completion, Next: Maketitle-type completion, Prev: Section-type completion, Up: Completion @@ -601,7 +586,7 @@ the message in the minibuffer - {\??? } (default large): + {\??? } (default large): prompts prompts you large-type command with completing-read. There are TeX commands to change fonts or sizes, `it', `huge' and so on, in the @@ -611,7 +596,6 @@ prefix key stroke as `[prefix] L'. It encloses the region by braces with large-type command. -  File: yatexe, Node: Maketitle-type completion, Next: Arbitrary completion, Prev: Large-type completion, Up: Completion @@ -629,7 +613,6 @@ maketitle-completion, and there are LaTeX commands with no arguments in completion table. -  File: yatexe, Node: Arbitrary completion, Next: End completion, Prev: Maketitle-type completion, Up: Completion @@ -644,7 +627,6 @@ after the initial string of LaTeX command that is preceded by `\'. -  File: yatexe, Node: End completion, Next: Accent completion, Prev: Arbitrary completion, Up: Completion @@ -652,7 +634,7 @@ ============== YaTeX automatically detects the opened environment and close it with -`\end{environment}'. Though proficient YaTeX users never fail to make +\`\end{environment}'. Though proficient YaTeX users never fail to make environment with begin-type completion, some may begin an environment manually. In that case, type @@ -661,7 +643,6 @@ at the end of the opened environment. -  File: yatexe, Node: Accent completion, Next: Image completion, Prev: End completion, Up: Completion @@ -689,7 +670,6 @@ will be completed, and the cursor gets out from braces. -  File: yatexe, Node: Image completion, Next: Greek letters completion, Prev: Accent completion, Up: Completion @@ -703,11 +683,10 @@ or not, and change the behavior of key strokes `;' and `:'. By the way, we often express the leftarrow mark by `<-' for example. -Considering such image, you can write `\leftarrow' by typing `<-' -after `;' (semicolon) as a prefix. In the same way, -`\longleftarrow' (`<--') is completed by typing `;<--', -infinity mark which is imitated by `oo' is completed by typing -`;oo'. +Considering such image, you can write `\leftarrow' by typing `<-' after +`;' (semicolon) as a prefix. In the same way, `\longleftarrow' (`<--') is +completed by typing `;<--', infinity mark which is imitated by `oo' is +completed by typing `;oo'. Here are the sample operations in YaTeX math-mode. @@ -721,11 +700,11 @@ In any case, you can quit from image completion and can move to the next editing operation if the LaTeX command you want is shown in the buffer. - `;' itself in math-environment is inserted by `;;'. Typing -`TAB' in the midst of image completion shows all of the LaTeX -commands that start with the same name as string you previously typed in. -In this menu buffer, press `RET' after moving the cursor (by `n', -`p', `b', `f') to insert the LaTeX command. + `;' itself in math-environment is inserted by `;;'. Typing `TAB' in the +midst of image completion shows all of the LaTeX commands that start with +the same name as string you previously typed in. In this menu buffer, +press `RET' after moving the cursor (by `n', `p', `b', `f') to insert the +LaTeX command. To know all of the completion table, type `TAB' just after `;'. And here is the sample menu by `TAB' after `;<'. @@ -733,7 +712,7 @@ KEY LaTeX sequence sign < \leq < ~ - << \ll << + << \ll << <- \leftarrow <- <= \Leftarrow <= @@ -741,7 +720,6 @@ Emacs-Lisp variable `YaTeX-math-sign-alist-private'. See also `yatexmth.el' for the information of the structure of this variable. -  File: yatexe, Node: Greek letters completion, Prev: Image completion, Up: Completion @@ -753,12 +731,11 @@ `\alpha', `b' makes `\beta' and `g' makes `\gamma' and so on. First, type `:TAB' to know all the correspondence of alphabets vs. Greek letters. - If you will find `;' or `:' doesn't work in correct position of -math environment, it may be a bug of YaTeX. Please send me a bug report -with the configuration of your text, and avoid it temporarily by typing -`;' or `:' after universal-argument(`C-u') which forces -`;' and `:' to work as math-prefix. - + If you will find `;' or `:' doesn't work in correct position of math +environment, it may be a bug of YaTeX. Please send me a bug report with +the configuration of your text, and avoid it temporarily by typing `;' or +`:' after universal-argument(`C-u') which forces `;' and `:' to work as +math-prefix.  File: yatexe, Node: Local dictionaries, Next: Commenting out, Prev: Completion, Up: Top @@ -785,7 +762,6 @@ (setq YaTeX-nervous nil) -  File: yatexe, Node: Commenting out, Next: Cursor jump, Prev: Local dictionaries, Up: Top @@ -811,10 +787,9 @@ to `ESC h' by default. It is NOT predictable what will happen when you continuously comment out some paragraph many times. - You can also comment out an environment between `\begin' and -`\end', or a `\begin'-\`\end' pair themselves, by making the -following key strokes on the line where `\begin{}' or -`\end{}' exists. + You can also comment out an environment between `\begin' and `\end', or +a `\begin'-\`\end' pair themselves, by making the following key strokes on +the line where `\begin{}' or `\end{}' exists. `[prefix] >' ... comment out from \begin to \`end' @@ -834,7 +809,6 @@ out from `\begin' to `\end'' mode. -  File: yatexe, Node: Cursor jump, Next: Changing and Deleting, Prev: Commenting out, Up: Top @@ -844,12 +818,11 @@ * Menu: -* Jump to corresponding object:: -* Invoking image processor:: -* Jump to main file:: -* Jumping around the environment:: -* Jumping to last completion position:: - +* Jump to corresponding object:: +* Invoking image processor:: +* Jump to main file:: +* Jumping around the environment:: +* Jumping to last completion position::  File: yatexe, Node: Jump to corresponding object, Next: Invoking image processor, Prev: Cursor jump, Up: Cursor jump @@ -886,10 +859,9 @@ `[prefix] 4 g' ... go to corresponding object in other window -do the same job as `[prefix] g' except it's done in other window. -Note that this function doesn't work on `begin/end', -`%#BEGIN/%#END' pairs because it is meaningless. - +do the same job as `[prefix] g' except it's done in other window. Note +that this function doesn't work on `begin/end', `%#BEGIN/%#END' pairs +because it is meaningless.  File: yatexe, Node: Invoking image processor, Next: Jump to main file, Prev: Jump to corresponding object, Up: Cursor jump @@ -918,7 +890,6 @@ `YaTeX-file-processor-alist'. If any, call the corresponding image viewer or drawing tool. -  File: yatexe, Node: Jump to main file, Next: Jumping around the environment, Prev: Invoking image processor, Up: Cursor jump @@ -932,9 +903,8 @@ `[prefix] 4^' ... visit main file in other buffer -in a sub text switch the buffer to the main text specified by -`%#!' notation. - +in a sub text switch the buffer to the main text specified by `%#!' +notation.  File: yatexe, Node: Jumping around the environment, Next: Jumping to last completion position, Prev: Jump to main file, Up: Cursor jump @@ -951,7 +921,6 @@ `M-C-@' ... mark environment -  File: yatexe, Node: Jumping to last completion position, Prev: Jumping around the environment, Up: Cursor jump @@ -964,7 +933,6 @@ register-to-point with argument YaTeX-current-position-register, which is achieved by typing `C-x j 3'(by default). -  File: yatexe, Node: Changing and Deleting, Next: Filling, Prev: Cursor jump, Up: Top @@ -981,9 +949,8 @@ * Menu: -* Changing LaTeX commands:: -* Killing LaTeX commands:: - +* Changing LaTeX commands:: +* Killing LaTeX commands::  File: yatexe, Node: Changing LaTeX commands, Next: Killing LaTeX commands, Prev: Changing and Deleting, Up: Changing and Deleting @@ -1011,7 +978,6 @@ freely emerge. So keep it mind to put the cursor on a brace when you are thinking of changing a complicated argument. -  File: yatexe, Node: Killing LaTeX commands, Prev: Changing LaTeX commands, Up: Changing and Deleting @@ -1040,7 +1006,6 @@ Main \footnote{note} here. Main note here. Main here. ~(cursor) -  File: yatexe, Node: Filling, Next: Updation of includeonly, Prev: Changing and Deleting, Up: Top @@ -1065,9 +1030,9 @@ (setq YaTeX-item-regexp "\\(\\\\\\(sub\\)*item\\)\\|\\(\\\\underlineitem\\)") -in your `~/.emacs'. If you are not familiar with regular expression -for Emacs-Lisp, name a newcommand for `itemize' beginning with -`\item' such as `\itembf', not `\bfitem'. +in your `~/.emacs'. If you are not familiar with regular expression for +Emacs-Lisp, name a newcommand for `itemize' beginning with `\item' such as +`\itembf', not `\bfitem'. This function reformats the `\item' into `hang-indented' style. For example: @@ -1096,7 +1061,6 @@ putting cursor on the first occurrence of non-whitespace character on a line changes the fill-prefix temporarily to the depth of the line. -  File: yatexe, Node: Updation of includeonly, Next: What column, Prev: Filling, Up: Top @@ -1117,11 +1081,9 @@ A)dd R)eplace %)comment? -in the minibuffer. Type `a' if you want to add the current file name -to `\includeonly' list, `r' to replace \`includeonly' list -with the current file, and type `%' to comment out the -`\includeonly' line. - +in the minibuffer. Type `a' if you want to add the current file name to +`\includeonly' list, `r' to replace \`includeonly' list with the current +file, and type `%' to comment out the `\includeonly' line.  File: yatexe, Node: What column, Next: Intelligent newline, Prev: Updation of includeonly, Up: Top @@ -1153,7 +1115,6 @@ column headers, you can create a row of virtual column headers by putting them in the first line and commenting that line with `%'. -  File: yatexe, Node: Intelligent newline, Next: Usepackage checker, Prev: What column, Up: Top @@ -1175,8 +1136,8 @@ * `tabular', `tabular*', `array' - Corresponding number of `&' and `\\'. And `\hline' if - needed. + Corresponding number of `&' and `\\'. + And `\hline' if needed. * `tabbing' @@ -1191,15 +1152,14 @@ If you want to apply these trick to other environments, `foo' environment for example, define the function named -`YaTeX-intelligent-newline-foo' to insert corresponding contents. -That function will be called at the beginning of the next line after the +`YaTeX-intelligent-newline-foo' to insert corresponding contents. That +function will be called at the beginning of the next line after the newline is inserted to the current line. Since the function `YaTeX-indent-line' is designed to indent the current line properly, calling this function before your code to insert certain contents must be useful. See the definition of the function `YaTeX-intelligent-newline-itemize' as an example. -  File: yatexe, Node: Usepackage checker, Next: Online help, Prev: Intelligent newline, Up: Top @@ -1215,7 +1175,6 @@ variable `YaTeX-package-alist-private' correctly. Please refere the value of `YaTeX-package-alist-default' as an example. -  File: yatexe, Node: Online help, Next: Browsing file hierarchy, Prev: Usepackage checker, Up: Top @@ -1265,7 +1224,6 @@ you describe the help on some standard commands. I might want to include it in the next distribution. -  File: yatexe, Node: Browsing file hierarchy, Next: Cooperation with other packages, Prev: Online help, Up: Top @@ -1327,7 +1285,6 @@ Note that operations on the file contents in the next window do not work correctly when you close the corresponding file. -  File: yatexe, Node: Cooperation with other packages, Next: Customizations, Prev: Browsing file hierarchy, Up: Top @@ -1353,7 +1310,6 @@ If you want to use it with YaTeX, please refer the file `yatexm-o.el' as an example. -  File: yatexe, Node: Customizations, Next: Etcetera, Prev: Cooperation with other packages, Up: Top @@ -1365,10 +1321,9 @@ * Menu: -* Lisp variables:: -* Add-in functions:: -* Add-in generator:: - +* Lisp variables:: +* Add-in functions:: +* Add-in generator::  File: yatexe, Node: Lisp variables, Next: Add-in functions, Prev: Customizations, Up: Customizations @@ -1391,11 +1346,10 @@ * Menu: -* All customizable variables:: -* Sample definitions:: -* Hook variables:: -* Hook file:: - +* All customizable variables:: +* Sample definitions:: +* Hook variables:: +* Hook file::  File: yatexe, Node: All customizable variables, Next: Sample definitions, Prev: Lisp variables, Up: Lisp variables @@ -1415,8 +1369,8 @@ -- Variable: YaTeX-kanji-code Default buffer-file-coding-system for YaTeX modes' buffer. Set this - 0 to no language conversion. Nil to preserve original - coding-system. 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (`1 or 2') + 0 to no language conversion. Nil to preserve original coding-system. + 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (`1 or 2') -- Variable: YaTeX-prefix Prefix key stroke (`C-c') @@ -1429,7 +1383,7 @@ -- Variable: YaTeX-user-completion-table Name of user dictionary where learned completion table will be - stored. (`"~/.yatexrc"') + stored. (`"~/.yatexrc"') -- Variable: tex-command LaTeX typesetter command (`"latex"') @@ -1478,8 +1432,8 @@ -- Variable: YaTeX-fill-inhibit-environments Inhibit fill in these environments (`'("tabular" "tabular*" "array" - picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" - verbatim" "verbatim*")') + "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" + "verbatim" "verbatim*")') -- Variable: YaTeX-uncomment-once T for deleting all preceding `%' (`nil') @@ -1525,7 +1479,7 @@ `YaTeX-display-hierarchy' searches for sectioning command first, and comment line secondary as a file headings. In latter case, ignore lines that match with regular expression of this variable. Default value of - this variable is RCS header expressions and mode specifying line `-*- xxxx + this variable is RCS header expressions and mode specifying line `-*- xxxx -*'. -- Variable: YaTeX-skip-default-reader @@ -1579,8 +1533,8 @@ (`(featurep 'hilit19)' -- Variable: YaTeX-singlecmd-suffix - Suffix which is always inserted after maketitle-type macros. - `"{}"' is recommended. + Suffix which is always inserted after maketitle-type macros. `"{}"' + is recommended. -- Variable: YaTeX-package-alist-private Alist of LaTeX2e-package name vs. lists of macros in it. Set this @@ -1588,10 +1542,13 @@ `usepackage' for corresponding macro, when you input that macro with completion. If required `usepackage' is not found, YaTeX also automatically inserts `\usepackage'. Alist is as follows; - '((PackageName1 (completionType ListOfMacro) (completionType - ListOfMacro)) (PackageName2 (completionType ListOfMacro) - (completionType ListOfMacro...))....) completionType is one of `env, - section, maketitle'. Consult the value of + '((PackageName1 + (completionType ListOfMacro) + (completionType ListOfMacro)) + (PackageName2 + (completionType ListOfMacro) + (completionType ListOfMacro...))....) completionType is + one of `env, section, maketitle'. Consult the value of `YaTeX-package-alist-default' as an example. -- Variable: YaTeX-tabular-indentation @@ -1634,7 +1591,6 @@ (YaTeX::ref-generate-label nil nil)))) -  File: yatexe, Node: Sample definitions, Next: Hook variables, Prev: All customizable variables, Up: Lisp variables @@ -1649,7 +1605,6 @@ YaTeX-user-completion-table "~/src/emacs/yatexrc" YaTeX-fill-prefix " ") -  File: yatexe, Node: Hook variables, Next: Hook file, Prev: Sample definitions, Up: Lisp variables @@ -1668,7 +1623,6 @@ You should use functions `YaTeX-define-key', or `YaTeX-define-begend-key' to define all the key sequences of yatex-mode. -  File: yatexe, Node: Hook file, Prev: Hook variables, Up: Lisp variables @@ -1680,7 +1634,6 @@ file at the initialization of itself. Using `yatexhks.el' makes `yatex-mode-load-hook' unnecessary. -  File: yatexe, Node: Add-in functions, Next: Add-in generator, Prev: Lisp variables, Up: Customizations @@ -1709,11 +1662,10 @@ * Menu: -* How the add-in function works:: -* How the function is called:: -* Useful functions for creating add-in:: -* Contribution:: - +* How the add-in function works:: +* How the function is called:: +* Useful functions for creating add-in:: +* Contribution::  File: yatexe, Node: How the add-in function works, Next: How the function is called, Prev: Add-in functions, Up: Add-in functions @@ -1770,16 +1722,14 @@ \frac{a/c} -Normally, the expression `a/c' is translated to -`\frac{a}{c}'. An enclosing add-in is useful for modifying -`/' to `}{'. +Normally, the expression `a/c' is translated to `\frac{a}{c}'. An +enclosing add-in is useful for modifying `/' to `}{'. * Menu: -* Defining option-add-in:: -* Defining argument-add-in:: -* Defining enclosing-add-in:: - +* Defining option-add-in:: +* Defining argument-add-in:: +* Defining enclosing-add-in::  File: yatexe, Node: Defining option-add-in, Next: Defining argument-add-in, Prev: How the add-in function works, Up: How the add-in function works @@ -1802,7 +1752,6 @@ (defun YaTeX:tabular () (concat "{" (read-string "Rule: ") "}")) -  File: yatexe, Node: Defining argument-add-in, Next: Defining enclosing-add-in, Prev: Defining option-add-in, Up: How the add-in function works @@ -1819,14 +1768,13 @@ (defun YaTeX::newcommand (n) ;n is argument position (cond ((= n 1) ;1st argument is macro name - (read-string "Command: " "\\")) ;initial input `\' + (read-string "Command: " "\\")) ;initial input `\' ((= n 2) "") ;do nothing when reading arg#2 (t nil))) Note that when the `argument add-in' function return `nil', normal argument reader will be called. -  File: yatexe, Node: Defining enclosing-add-in, Prev: Defining argument-add-in, Up: How the add-in function works @@ -1847,10 +1795,9 @@ (while (search-forward "/" end t) (goto-char (match-beginning 0)) (if (y-or-n-p "Replace this slash(/) with `}{'") - (throw 'done (replace-match "}{"))) + (throw 'done (replace-match "}{"))) (goto-char (match-end 0))))) -  File: yatexe, Node: How the function is called, Next: Useful functions for creating add-in, Prev: How the add-in function works, Up: Add-in functions @@ -1865,7 +1812,6 @@ been inserted. `Argument add-in' functions are called at each entry of arguments for section-type commands. -  File: yatexe, Node: Useful functions for creating add-in, Next: Contribution, Prev: How the function is called, Up: Add-in functions @@ -1882,10 +1828,9 @@ `[A]' Character list which can show up in the brackets `[D]' - Return the location specifier such as `[htb]'. When - nothing is entered, omit [] itself. If the possible characters - are "htbp", call this function as - `(YaTeX:read-position "htbp")' + Return the location specifier such as `[htb]'. When nothing is + entered, omit [] itself. If the possible characters are "htbp", call + this function as `(YaTeX:read-position "htbp")' `[F]' YaTeX:read-coordinates @@ -1893,9 +1838,9 @@ Base prompt, X-axis prompt, Y-axis prompt (each optional) `[D]' Read the coordinates with the prompt "BasePrompt X-axisPrompt:" for - X-axis, "BasePrompt Y-axisPrompt:" for Y-axis, and return it in the form - of "(X,Y)". The default prompts are `Dimension', `X', - `Y' respectively. + X-axis, "BasePrompt Y-axisPrompt:" for Y-axis, and return it in the + form of "(X,Y)". The default prompts are `Dimension', `X', `Y' + respectively. `[F]' YaTeX:check-completion-type @@ -1906,7 +1851,6 @@ if not. The variable `YaTeX-current-completion-type' holds the symbol according to the current completion type. -  File: yatexe, Node: Contribution, Prev: Useful functions for creating add-in, Up: Add-in functions @@ -1916,7 +1860,6 @@ If you make your own pretty function and you let it be in public, please send me the function. I'm going to include it in the next release. -  File: yatexe, Node: Add-in generator, Prev: Add-in functions, Up: Customizations @@ -1947,26 +1890,27 @@ Simple generator ---------------- - The latter generator is invoked by the next sequence. `M-x -YaTeX-generate-simple' This generator can make both "option add-in" and -argument add-in" (*refer the section add-in functions* *Note How the -add-in function works::), whereas `YaTeX-generate' cannot make "argument -addin". + The latter generator is invoked by the next sequence. + `M-x YaTeX-generate-simple' +This generator can make both "option add-in" and "argument add-in" +(*refer the section add-in functions* +*Note How the add-in function works::), whereas `YaTeX-generate' +cannot make "argument addin". For example, assume you have the LaTeX command as follows. - \epsinput[t](250,50){hoge.eps}{plain}{Picture of foo} - (A) (B) (1) (2) (3) - (A)Optional parameter to specify the position - One of t(top), b(bottom), l(left), r(right) - (B)Maximum size of frame - (1)1st argument is filename of EPS file - (2)2nd argument indicates - plain do nothing - frame make frame around image - dframe make double-frame around image - for included EPS file. - (3)Caption for the picture + \epsinput[t](250,50){hoge.eps}{plain}{Picture of foo} + (A) (B) (1) (2) (3) + (A)Optional parameter to specify the position + One of t(top), b(bottom), l(left), r(right) + (B)Maximum size of frame + (1)1st argument is filename of EPS file + (2)2nd argument indicates + plain do nothing + frame make frame around image + dframe make double-frame around image + for included EPS file. + (3)Caption for the picture Now get start with generation. Typing `M-x YaTeX-generate-simple' brings the prompt: @@ -2011,7 +1955,7 @@ are t, b, l, and r. To tell these information to generator, operate as follows. - Read type(1).... p + Read type(1).... p Acceptable characters: tblr RET (B) is coordinate. So its completion style is coOrd. We want a prompt @@ -2058,10 +2002,10 @@ Then all the candidates ready to be read. Type single RET after entering all. - Item[1](RET to exit): plain RET - Item[2](RET to exit): frame RET - Item[3](RET to exit): dframe RET - Item[4](RET to exit): RET + Item[1](RET to exit): plain RET + Item[2](RET to exit): frame RET + Item[3](RET to exit): dframe RET + Item[4](RET to exit): RET The following prompt asks whether the entered string must belong to candidates or not. In this case, since the argument must be one of @@ -2086,7 +2030,6 @@ steel yourself in the happy atmosphere and do not send me the function. I do know it is not fine because it is generated by yatexgen:-p. -  File: yatexe, Node: Etcetera, Next: Copying, Prev: Customizations, Up: Top @@ -2103,7 +2046,6 @@ The package name `Wild Bird' is the English translation of Japanese title `Yachou', which is a trick on words of Japanese. -  File: yatexe, Node: Copying, Prev: Etcetera, Up: Top @@ -2130,66 +2072,66 @@ HIROSE Yuuji  Tag table: -Node: Top145 -Node: What is YaTeX?1472 -Node: Main features1845 -Node: Installation3436 -Node: Typesetting4213 -Node: Calling typesetter5006 -Node: Calling previewer6352 -Node: Printing out6713 -Node: %#notation7005 -Node: Changing typesetter7336 -Node: Splitting input files7700 -Node: Static region for typesetting9124 -Node: Lpr format10253 -Node: Editing %# notation11310 -Node: Completion11829 -Node: Begin-type completion12318 -Node: Section-type completion15360 -Node: view-sectioning17781 -Node: Large-type completion19361 -Node: Maketitle-type completion20091 -Node: Arbitrary completion20643 -Node: End completion21033 -Node: Accent completion21502 -Node: Image completion22119 -Node: Greek letters completion24374 -Node: Local dictionaries25101 -Node: Commenting out26038 -Node: Cursor jump27497 -Node: Jump to corresponding object27788 -Node: Invoking image processor29188 -Node: Jump to main file30531 -Node: Jumping around the environment30897 -Node: Jumping to last completion position31315 -Node: Changing and Deleting31824 -Node: Changing LaTeX commands32205 -Node: Killing LaTeX commands33382 -Node: Filling34567 -Node: Updation of includeonly36422 -Node: What column37219 -Node: Intelligent newline38304 -Node: Usepackage checker39957 -Node: Online help40548 -Node: Browsing file hierarchy42223 -Node: Cooperation with other packages43960 -Node: Customizations44665 -Node: Lisp variables44961 -Node: All customizable variables45920 -Node: Sample definitions55615 -Node: Hook variables56128 -Node: Hook file56832 -Node: Add-in functions57171 -Node: How the add-in function works58009 -Node: Defining option-add-in60195 -Node: Defining argument-add-in60917 -Node: Defining enclosing-add-in61798 -Node: How the function is called62654 -Node: Useful functions for creating add-in63330 -Node: Contribution64740 -Node: Add-in generator65014 -Node: Etcetera70474 -Node: Copying71079 +Node: Top153 +Node: What is YaTeX?1493 +Node: Main features1865 +Node: Installation3456 +Node: Typesetting4232 +Node: Calling typesetter5061 +Node: Calling previewer6406 +Node: Printing out6766 +Node: %#notation7057 +Node: Changing typesetter7432 +Node: Splitting input files7795 +Node: Static region for typesetting9222 +Node: Lpr format10350 +Node: Editing %# notation11406 +Node: Completion11924 +Node: Begin-type completion12483 +Node: Section-type completion15526 +Node: view-sectioning17960 +Node: Large-type completion19539 +Node: Maketitle-type completion20269 +Node: Arbitrary completion20820 +Node: End completion21209 +Node: Accent completion21678 +Node: Image completion22294 +Node: Greek letters completion24550 +Node: Local dictionaries25276 +Node: Commenting out26212 +Node: Cursor jump27670 +Node: Jump to corresponding object27981 +Node: Invoking image processor29381 +Node: Jump to main file30723 +Node: Jumping around the environment31087 +Node: Jumping to last completion position31504 +Node: Changing and Deleting32012 +Node: Changing LaTeX commands32403 +Node: Killing LaTeX commands33579 +Node: Filling34763 +Node: Updation of includeonly36613 +Node: What column37409 +Node: Intelligent newline38493 +Node: Usepackage checker40153 +Node: Online help40743 +Node: Browsing file hierarchy42417 +Node: Cooperation with other packages44153 +Node: Customizations44857 +Node: Lisp variables45190 +Node: All customizable variables46193 +Node: Sample definitions55976 +Node: Hook variables56488 +Node: Hook file57191 +Node: Add-in functions57529 +Node: How the add-in function works58388 +Node: Defining option-add-in60586 +Node: Defining argument-add-in61307 +Node: Defining enclosing-add-in62188 +Node: How the function is called63041 +Node: Useful functions for creating add-in63716 +Node: Contribution65120 +Node: Add-in generator65393 +Node: Etcetera70786 +Node: Copying71390  End tag table diff -r 590fc51462c7 -r 6d682b9d4bc8 docs/yatexj --- a/docs/yatexj Thu May 27 10:16:56 2010 +0900 +++ b/docs/yatexj Thu May 27 10:24:53 2010 +0900 @@ -1,401 +1,388 @@ Info file: yatexj, -*-Text-*- produced by `texinfo-format-buffer' from file `yatexj.tex' -using `texinfmt.el' version 2.42 of 7 Jul 2006. +using `texinfmt.el' version 2.32 of 19 November 1993. + + +  File: yatexj, Node: Top, Next: Intro, Prev: (dir), Up: (dir) * Menu: -* Intro:: はじめに -* Terminology:: マニュアル参照上の注意 -* Main features:: 主な機能 -* Installation:: インストール -* Invocation:: プロセス起動 -* %#notation :: %#記法 -* Completion:: 補完入力 -* Local dictionary:: ローカル辞書 -* Commenting out:: コメントアウト -* Cursor jump:: カーソルジャンプ -* Modifying/Deleting:: LaTeXコマンドの変更/削除 -* Filling:: 桁揃え -* Includeonly:: 勝手に includeonly -* What column:: カラム位置ガイド -* Intelligent newline:: おまかせ改行 -* Usepackage cheker:: 先回りusepackage -* Changing mode of YaTeX:: 野鳥動作モード変更 -* Online help:: LaTeXオンラインヘルプ -* Inclusion hierarchy browser:: ファイル分割階層構造の表示 -* Cooperation with other packages:: 他パッケージとの連携 -* Customizations:: カスタマイズ -* Etc:: その他 -* Copying:: 取り扱い -* Concept Index:: 索引 - +* Intro:: $B$O$8$a$K(B +* Terminology:: $B%^%K%e%"%k;2>H>e$NCm0U(B +* Main features:: $B!%Q%C%1!<%8$H$NO"7H(B +* Customizations:: $B%+%9%?%^%$%:(B +* Etc:: $B$=$NB>(B +* Copying:: $BH>e$NCm0U(B ************************ - 本マニュアルでは以下の表記を用います。 - - * begin型コマンド - - `\begin{環境} 〜 \end{環境}'という形式のLaTeXコマンドを指します。 - begin型コマンドを補完入力することをbegin型補完と呼びます。 - - * section型コマンド - - `\section{タイトル}'や`\mbox{内容}'のように引数を取るLaTeXコマンド - を指します。 - - * maketitle型コマンド - - `\maketitle'や`\tableofcontents'のように引数を取らないLaTeXコマン - ドを指します。 - - * large型コマンド - - `{\large ...}' や `{\tt ...}' のようなフォント/サイズ指定子を指し - ます。 + $BK\%^%K%e%"%k$G$O0J2<$NI=5-$rMQ$$$^$9!#(B + + * begin$B7?%3%^%s%I(B + + `\begin{$B4D6-(B} $B!A(B \end{$B4D6-(B}'$B$H$$$&7A<0$N(BLaTeX$B%3%^%s%I$r;X$7$^$9!#(B + begin$B7?%3%^%s%I$rJd40F~NO$9$k$3$H$r(Bbegin$B7?Jd40$H8F$S$^$9!#(B + + * section$B7?%3%^%s%I(B + + `\section{$B%?%$%H%k(B}'$B$d(B`\mbox{$BFbMF(B}'$B$N$h$&$K0z?t$rl9gK\%^%K%e%"%k$N(B `[prefix]' + $B$H$$$&I=5-$O!"(B`C-c' $B$HFI$_49$($F$/$@$5$$!#(B  File: yatexj, Node: Main features, Next: Installation, Prev: Terminology, Up: Top -主な機能 +$B`\end'間、 - `\ref'<->`\label'間、 - `\cite'<->`\bibitem'ジャンプ(`C-c g') - * 一括コメントアウト/アンコメントアウト(`C-c >', `C-c <', `C-c ,', - `C-c .') - * アクセント記号/数式環境用コマンド/ギリシャ文字の入力支援(`C-c a', - `;', `/') - * tabular/array環境のカラム位置ガイド - * 標準的 LaTeX コマンドのオンラインヘルプ(`C-c ?', `C-c /') - * ドキュメントのインクルード構造の視覚的表示とバッファ切り替え(`C-c - d') - * 補完入力したマクロに応じて必要な \userpackage を入れてくれる先回り + * $B%?%$%W%;%C%?$d%W%l%t%e!<%"$J$I$NJT=82hLL$+$i$N5/F0(B(`C-c t') + * $B%+!<%=%k0LCV$K$h$i$J$$8GDj%j%8%g%s$NItJ,%?%$%W%;%C%H(B + * \includeonly$B$N%o%s%?%C%A99?7(B + * $B%(%i!<2U=j$X$N<+F0%8%c%s%W(B(`C-c '') + * `\begin{}, \end{}, \section...' $B$J$I$N(B LaTeX$B%3%^%s%I$NJd40F~NO(B(`C-c + b', `C-c s', `C-c l', `C-c m') + * $B4{$KF~NO$7$?%F%-%9%H$r4D6-$d%3%^%s%I0z?t$NCf$KoJd40%-!<(B) + * $B%;%/%7%g%s6h@Z$jF~NO;~$NJ8=q9=B$%"%&%H%i%$%sI=<((B + * $B%;%/%7%g%s%3%^%s%I$N0l3g%7%U%H(B (*Note view-sectioning::) + * $BJd40<-=q$N3X=,(B + * LaTeX $B$N4D6-$d%3%^%s%I$K1~$8$?%,%$%IIU$-0z?tF~NO(B + * $BLnD;$K$J$$%,%$%IIU$-0z?tF~NO4X?t$N<+F0@8@.(B(`yatexgen.el') + * LaTeX $B%3%^%s%I$N:o=|(B/$BJQ99(B(`C-c k', `C-c c') + * $B%U%!%$%k4V!"(B`\begin'<->`\end'$B4V!"(B + `\ref'<->`\label'$B4V!"(B + `\cite'<->`\bibitem'$B%8%c%s%W(B(`C-c g') + * $B0l3g%3%a%s%H%"%&%H(B/$B%"%s%3%a%s%H%"%&%H(B + (`C-c >', `C-c <', `C-c ,', `C-c .') + * $B%"%/%;%s%H5-9f(B/$B?t<04D6-MQ%3%^%s%I(B/$B%.%j%7%cJ8;z$NF~NO;Y1g(B + (`C-c a', `;', `/') + * tabular/array$B4D6-$N%+%i%`0LCV%,%$%I(B + * $BI8=`E*(B LaTeX $B%3%^%s%I$N%*%s%i%$%s%X%k%W(B(`C-c ?', `C-c /') + * $B%I%-%e%a%s%H$N%$%s%/%k!<%I9=B$$N;k3PE*I=<($H%P%C%U%!@Z$jBX$((B(`C-c d') + * $BJd40F~NO$7$?%^%/%m$K1~$8$FI,MW$J(B \userpackage $B$rF~$l$F$/$l$k@h2s$j(B userpackage - * \labelを打つことはもう忘れよう! refやcite補完入力で自動生成します - + * \label$B$rBG$D$3$H$O$b$&K:$l$h$&(B! ref$B$d(Bcite$BJd40F~NO$G<+F0@8@.$7$^$9(B  File: yatexj, Node: Installation, Next: Invocation, Prev: Main features, Up: Top -起動法 +$B5/F0K!(B ****** -野鳥起動のための設定 +$BLnD;5/F0$N$?$a$N@_Dj(B ==================== - ~/.emacsに下の2項目を加えます。 + ~/.emacs$B$K2<$N(B2$B9`L\$r2C$($^$9!#(B (setq auto-mode-alist (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist)) (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) -次に野鳥の emacs-lisp ファイル群を置くディレクトリを load-path に加えま -す。たとえば、 `~/src/emacs/yatex'に置くのであれば、 +$Be$N@_Dj$K$h$j!"3HD%;R$,(B .tex $B$G$"$k%U%!%$%k$rJT=8$9$k$H<+F0E*$KLnD;$,(B +$B%m!<%I$5$l$^$9!#LnD;$,@5>o$K5/F0$G$-$?$H$-$O%b!<%I%i%$%s$NI=<($,!V$d$F$U!W(B +$B$KJQ$o$j$^$9!#(B + + +$B%?%$%W%;%C%?(B/$B%W%l%t%e!<%"4D6-$N@_Dj(B =================================== - 利用する外部プログラムに関する以下の変数を確認し、必要なら正しい値に -変更します。 + $BMxMQ$9$k30It%W%m%0%i%`$K4X$9$k0J2<$NJQ?t$r3NG'$7!"I,MW$J$i@5$7$$CM$KJQ99(B +$B$7$^$9!#(B `tex-command' - ... 起動するタイプセッタのコマンド名 + ... $B5/F0$9$k%?%$%W%;%C%?$N%3%^%s%IL>(B `dvi2-command' - ... 起動するプレヴューアのコマンド名 + ... $B5/F0$9$k%W%l%t%e!<%"$N%3%^%s%IL>(B `NTT-jTeX' - ... 改行+インデントによって、タイプセット後の字間が空いて - しまうのを抑制する場合にtにする(古いNTT-jTeXで顕著に現れる)。具体 - 的には、fillするときに各行の終わりに%を付加するようになる。 + ... $B2~9T(B+$B%$%s%G%s%H$K$h$C$F!"%?%$%W%;%C%H8e$N;z4V$,6u$$$F$7$^(B + $B$&$N$rM^@)$9$k>l9g$K(Bt$B$K$9$k(B($B8E$$(BNTT-jTeX$B$G82Cx$K8=$l$k(B)$B!#6qBN(B + $BE*$K$O!"(B + fill$B$9$k$H$-$K3F9T$N=*$o$j$K(B%$B$rIU2C$9$k$h$&$K$J$k!#(B `YaTeX-kanji-code' - ... 文書を作成する時の漢字コード + ... $BJ8=q$r:n@.$9$k;~$N4A;z%3!<%I(B `dviprint-command-format' - ... ファイルの印刷に使われるコマンド列の書式 + ... $B%U%!%$%k$N0u:~$K;H$o$l$k%3%^%s%INs$N=q<0(B `makeindex-command' - ... makeindexコマンド - -これらを変更する場合は、やはり`~/.emacs'にて、たとえば + ... makeindex$B%3%^%s%I(B + +$B$3$l$i$rJQ99$9$k>l9g$O!"$d$O$j(B`~/.emacs'$B$K$F!"$?$H$($P(B (setq tex-command "bigjlatex") -のようにしてください。どのような値をセットすれば良いかについては、 -*Note All customizable variables::を参照してください。 - +$B$N$h$&$K$7$F$/$@$5$$!#$I$N$h$&$JCM$r%;%C%H$9$l$PNI$$$+$K$D$$$F$O!"(B +*Note All customizable variables::$B$r;2>H$7$F$/$@$5$$!#(B  File: yatexj, Node: Invocation, Next: %#notation, Prev: Installation, Up: Top -latexコマンド起動 +latex$B%3%^%s%I5/F0(B ***************** -LaTeXソースの編集中、次のキー入力により、platex などのタイプセットプロ -グラム(以後タイプセッタと呼ぶ)、プレヴューアなどの起動ができます。 +LaTeX$B%=!<%9$NJT=8Cf!"l9g$K$O%?%$%W%;%C%H%P%C%U%!$K0\$j!"(B(`C-x o') $B%?%$%W%;%C%?$N=P$7$F(B +$B$$$k(B ? $B%W%m%s%W%H$KBP$7$F!"(B`x' ($B=hM}$NCfCG(B)$B$J$I$N;X<($rAw$k$3$H$,$G$-$^$9!#(B +$B%(%i!<$r=$@5$9$k>l9g$O!"(B `[prefix] '' -`(prefix+アポストロフィ)' - ... 直前のエラー発生行へジャンプ - -を入力することにより、タイプセッタがエラーを発生した行に移ることができ -ます。また、タイプセッタの出力する overfull hbox などのウォーニング行に -も対応していますので、順次 `[prefix] '' を押すことにより、一つ前のウォー -ニング発生行にジャンプしていきます。 - - もし、気になるエラー行があった場合は、タイプセットバッファで、エラー -の表示されている行にカーソルを合わせスペースキーを押すと LaTeX ソースの -対応する行にジャンプします。 - - -領域タイプセット +`(prefix+$B%"%]%9%H%m%U%#(B)' + ... $BD>A0$N%(%i!l9g$O!"%?%$%W%;%C%H%P%C%U%!$G!"%(%i!<$NI=(B +$B<($5$l$F$$$k9T$K%+!<%=%k$r9g$o$;%9%Z!<%9%-!<$r2!$9$H(B LaTeX $B%=!<%9$NBP1~$9(B +$B$k9T$K%8%c%s%W$7$^$9!#(B + + +$BNN0h%?%$%W%;%C%H(B ---------------- - ポイントとマークの間、あるいはテキスト中に埋め込んだ `%#BEGIN' と -`%#END'の間の領域(*Note %#notation::)だけを切り取ってタイプセットするこ -とができます。この場合の documentclass は、単一ファイルの LaTeX ソース -の編集時にはそのファイルの documentclass が、別ファイルから include し -ている場合にはメインファイルの documentclass が自動的に選択されます。指 -定領域は、メインファイルのあるディレクトリの`texput.tex'という臨時ファ -イルに出力されますので、上書きには注意してください。 - + $B%]%$%s%H$H%^!<%/$N4V!"$"$k$$$O%F%-%9%HCf$KKd$a9~$s$@(B `%#BEGIN' $B$H(B`%#END' +$B$N4V$NNN0h(B(*Note %#notation::)$B$@$1$r@Z$jl9g$N(B documentclass $B$O!"C10l%U%!%$%k$N(B LaTeX $B%=!<%9$NJT=8;~$K$O$=(B +$B$N%U%!%$%k$N(B documentclass $B$,!"JL%U%!%$%k$+$i(B include $B$7$F$$$k>l9g$K$O%a%$(B +$B%s%U%!%$%k$N(B documentclass $B$,<+F0E*$KA*Br$5$l$^$9!#;XDjNN0h$O!"%a%$%s%U%!(B +$B%$%k$N$"$k%G%#%l%/%H%j$N(B`texput.tex'$B$H$$$&NW;~%U%!%$%k$K=PNO$5$l$^$9$N$G!"(B +$B>e=q$-$K$OCm0U$7$F$/$@$5$$!#(B  File: yatexj, Node: Calling previewer, Next: Print out, Prev: Calling typesetter, Up: Invocation -プレヴューア起動 +$B%W%l%t%e!<%"5/F0(B ================ - `[prefix] t p' によりプレヴューアの起動ができます。さらに、もしあなた -が、-remote 機能つきのxdviを利用している場合は `[prefix] t s' を押すこ -とによりカーソル位置の文字列を検索してそのページを表示するようにすでに -起動中のxdviに命令を送ります。これにより、現在編集中の箇所のタイプセッ -ト結果を即座に見ることができます。 - + `[prefix] t p' $B$K$h$j%W%l%t%e!<%"$N5/F0$,$G$-$^$9!#$5$i$K!"$b$7$"$J$?$,!"(B- +remote $B5!G=$D$-$N(Bxdvi$B$rMxMQ$7$F$$$k>l9g$O(B `[prefix] t s' $B$r2!$9$3$H$K$h$j(B +$B%+!<%=%k0LCV$NJ8;zNs$r8!:w$7$F$=$N%Z!<%8$rI=<($9$k$h$&$K$9$G$K5/F0Cf$N(Bxdvi +$B$KL?Na$rAw$j$^$9!#$3$l$K$h$j!"8=:_JT=8Cf$N2U=j$N%?%$%W%;%C%H7k2L$rB(:B$K8+(B +$B$k$3$H$,$G$-$^$9!#(B  File: yatexj, Node: Print out, Prev: Calling previewer, Up: Invocation -プリントアウト +$B%W%j%s%H%"%&%H(B ============== - `[prefix] t l'を押してプリントアウトを指示すると、出力開始/終了ページ -を聞いてくるので、それぞれに答えます。これを省略したい時は、 -universal-argument をつけ、 + `[prefix] t l'$B$r2!$7$F%W%j%s%H%"%&%H$r;X<($9$k$H!"=PNO3+;O(B/$B=*N;%Z!<%8$r(B +$BJ9$$$F$/$k$N$G!"$=$l$>$l$KEz$($^$9!#$3$l$r>JN,$7$?$$;~$O!"(B +universal-argument $B$r$D$1!"(B `C-u [prefix] t l' - ... ページ確認省略lpr起動 - -のように起動してください。 - + ... $B%Z!<%83NG'>JN,(Blpr$B5/F0(B + +$B$N$h$&$K5/F0$7$F$/$@$5$$!#(B  File: yatexj, Node: %#notation, Next: Completion, Prev: Invocation, Up: Top -%#記法 +%#$B5-K!(B ****** - 本文中に`%#'ではじまるキーワードを埋め込むことでタイプセッタ起動等の -制御をすることができます。 + $BK\J8Cf$K(B`%#'$B$G$O$8$^$k%-!<%o!<%I$rKd$a9~$`$3$H$G%?%$%W%;%C%?5/F0Ey$N@)8f(B +$B$r$9$k$3$H$,$G$-$^$9!#(B * Menu: -* Changing typesetter:: タイプセット用コマンドの変更 -* Splitting input files:: 入力ファイル分割 -* Fix region for typesetting:: 領域の固定 -* lpr format:: プリントアウトコマンド用フォーマット -* Editing %# notation:: %#記法の編集 - +* Changing typesetter:: $B%?%$%W%;%C%HMQ%3%^%s%I$NJQ99(B +* Splitting input files:: $BF~NO%U%!%$%kJ,3d(B +* Fix region for typesetting:: $BNN0h$N8GDj(B +* lpr format:: $B%W%j%s%H%"%&%H%3%^%s%IMQ%U%)!<%^%C%H(B +* Editing %# notation:: %#$B5-K!$NJT=8(B  File: yatexj, Node: Changing typesetter, Next: Splitting input files, Prev: %#notation, Up: %#notation -タイプセット用コマンド変更 +$B%?%$%W%;%C%HMQ%3%^%s%IJQ99(B ========================== - 起動するコマンドを変えたい時は本文中に次のような行を書きます。 + $B5/F0$9$k%3%^%s%I$rJQ$($?$$;~$OK\J8Cf$Kl9g$KJXMx$G$7$g$&!#(B  File: yatexj, Node: Splitting input files, Next: Fix region for typesetting, Prev: Changing typesetter, Up: %#notation -入力ファイル分割 +$BF~NO%U%!%$%kJ,3d(B ================ -また、章毎に別ファイルの .tex を作成している場合で、`main.tex'から -`sub.tex'を `\include'しているような時は、`sub.tex'の任意の位置に次のよ -うな行を埋め込みます。 +$B$^$?!">OKh$KJL%U%!%$%k$N(B .tex $B$r:n@.$7$F$$$k>l9g$G!"(B`main.tex'$B$+$i(B +`sub.tex'$B$r(B `\include'$B$7$F$$$k$h$&$J;~$O!"(B`sub.tex'$B$NG$0U$N0LCV$Ke$NNc$N$h$&$K%3%^%s%IL>$@$1$G$J$/0z?t$b=q$$$?>l9g$K$O!"A4$F$r$=$N$^$^(B +shell $B$KEO$9$N$G main -なお、この行の最後の単語のピリオド以前を「メインファイル」のベースネー -ムであると仮定します(上の2つの場合どちらも`main')。この行に記述した、 -`%f'はメインファイル名に、`%r' はメインファイルの拡張子を取り除いた部分 -に置換されます。ただし、`%f,%r'を利用した場合、初回タイプセット時に必ず -メインファイル名の入力を促されます。 - - `[prefix] g' (*Note Cursor jump::参照) でのファイル間ジャンプを有効に -機能させるため、入力ファイル分割時には次のことに注意して下さい。 - - 1. サブディレクトリを作って、その中にサブファイルを置くことはできるが - サブディレクトリのサブディレクトリには置けない。 - 2. メインファイルからサブディレクトリ内のファイルを include - する時には、相対パス指定を用いて、 - `\include{chap1/sub}'のように記述。 - 3. メインファイルが一つ上のディレクトリにある場合も、サブファイルには - %#!platex main.tex のように記述する(../mainではない)。 - +$B$J$*!"$3$N9T$N:G8e$NC18l$N%T%j%*%I0JA0$r!V%a%$%s%U%!%$%k!W$N%Y!<%9%M!<%`$G(B +$B$"$k$H2>Dj$7$^$9(B($B>e$N(B2$B$D$N>l9g$I$A$i$b(B`main')$B!#$3$N9T$K5-=R$7$?!"(B`%f'$B$O%a(B +$B%$%s%U%!%$%kL>$K!"(B`%r' $B$O%a%$%s%U%!%$%k$N3HD%;R$rl9g!"=i2s%?%$%W%;%C%H;~$KI,$:%a%$%s%U%!%$(B +$B%kL>$NF~NO$rB%$5$l$^$9!#(B + + `[prefix] g' (*Note Cursor jump::$B;2>H(B) $B$G$N%U%!%$%k4V%8%c%s%W$rM-8z$K5!(B +$BG=$5$;$k$?$a!"F~NO%U%!%$%kJ,3d;~$K$Oe$N%G%#%l%/%H%j$K$"$k>l9g$b!"%5%V%U%!%$%k$K$O(B + %#!platex main.tex $B$N$h$&$K5-=R$9$k(B(../main$B$G$O$J$$(B)$B!#(B  File: yatexj, Node: Fix region for typesetting, Next: lpr format, Prev: Splitting input files, Up: %#notation -領域の固定 +$BNN0h$N8GDj(B ========== - `[prefix] tr' の領域指定のタイプセットでは、とくに指定のないかぎり、 -`C-SPC'でマークした位置と、ポイント(カーソル位置)の間を領域とみなします -が、必ず決まった領域をタイプセットしたい場合は、その領域を + `[prefix] tr' $B$NNN0h;XDj$N%?%$%W%;%C%H$G$O!"$H$/$K;XDj$N$J$$$+$.$j!"(B +`C-SPC'$B$G%^!<%/$7$?0LCV$H!"%]%$%s%H(B($B%+!<%=%k0LCV(B)$B$N4V$rNN0h$H$_$J$7$^$9$,!"(B +$BI,$:7h$^$C$?NN0h$r%?%$%W%;%C%H$7$?$$>l9g$O!"$=$NNN0h$r(B %#BEGIN - <渡したい領域> + <$BEO$7$?$$NN0h(B> %#END -のように`%#BEGIN'と`%#END'で囲み、カーソルを「`%#BEGIN'以降」に置いてく -ださい。この時の領域決定規則をまとめると次のようになります。 - - - 1. カーソル位置よりバッファの先頭方向に`%#BEGIN'というキーワードがあ - る場合 - - 1. `%#BEGIN'よりバッファの末尾方向に`%#END'というキーワードが見つかっ - た場合。 - =>`%#BEGIN' から、その `%#END' のある位置まで。 - 2. `%#END' が見つからなかった場合。 - =>バッファの最後尾まで。 - - 2. カーソル位置よりバッファの先頭方向に `%#BEGIN' というキーワードが - 見つからなかった場合。 - =>マーク(`C-SPC'位置)とポイント(カーソル位置)の間の領域。 - - tabular 環境を何度も試行錯誤しているような場合は、`\begin'の前の行に -`%#BEGIN' と書き、`\end' の次の行に `%#END' と書いておくと簡単に作表結 -果をテストすることができます。また、長い .tex ファイルの後半に -`%#BEGIN' を書いておけば、前半の部分は無視できます。このBEGINとENDの消 -し忘れには十分ご注意下さい。 - +$B$N$h$&$K(B`%#BEGIN'$B$H(B`%#END'$B$G0O$_!"%+!<%=%k$r!V(B`%#BEGIN'$B0J9_!W$KCV$$$F$/$@(B +$B$5$$!#$3$N;~$NNN0h7hDj5,B'$r$^$H$a$k$Hl(B + $B9g(B + + 1. `%#BEGIN'$B$h$j%P%C%U%!$NKvHxJ}8~$K(B`%#END'$B$H$$$&%-!<%o!<%I$,8+$D$+$C(B + $B$?>l9g!#(B + =>`%#BEGIN' $B$+$i!"$=$N(B `%#END' $B$N$"$k0LCV$^$G!#(B + 2. `%#END' $B$,8+$D$+$i$J$+$C$?>l9g!#(B=>$B%P%C%U%!$N:G8eHx$^$G!#(B + + 2. $B%+!<%=%k0LCV$h$j%P%C%U%!$N@hF,J}8~$K(B `%#BEGIN' $B$H$$$&%-!<%o!<%I$,(B + $B8+$D$+$i$J$+$C$?>l9g!#(B + =>$B%^!<%/(B(`C-SPC'$B0LCV(B)$B$H%]%$%s%H(B($B%+!<%=%k0LCV(B)$B$N4V$NNN0h!#(B + + tabular $B4D6-$r2?EY$b;n9T:x8m$7$F$$$k$h$&$J>l9g$O!"(B`\begin'$B$NA0$N9T$K(B +`%#BEGIN' $B$H=q$-!"(B`\end' $B$N$K(B `%#BEGIN' $B$r=q(B +$B$$$F$*$1$P!"A0H>$NItJ,$OL5;k$G$-$^$9!#$3$N(BBEGIN$B$H(BEND$B$N>C$7K:$l$K$O==J,$4Cm(B +$B0U2<$5$$!#(B  File: yatexj, Node: lpr format, Next: Editing %# notation, Prev: Fix region for typesetting, Up: %#notation -lprフォーマット +lpr$B%U%)!<%^%C%H(B =============== - まず、プリントアウト用コマンド列のフォーマットについて説明します。コ -マンド列フォーマットは、3つの Lisp 変数によって表現されます。デフォルト -の dvi2ps 用のフォーマットを例に説明します。 + $B$^$:!"%W%j%s%H%"%&%HMQ%3%^%s%INs$N%U%)!<%^%C%H$K$D$$$F@bL@$7$^$9!#%3%^%s(B +$B%INs%U%)!<%^%C%H$O!"(B3$B$D$N(B Lisp $BJQ?t$K$h$C$FI=8=$5$l$^$9!#%G%U%)%k%H$N(B +dvi2ps $BMQ$N%U%)!<%^%C%H$rNc$K@bL@$7$^$9!#(B `(1)dviprint-command-format' `"dvi2ps %f %t %s | lpr"' @@ -406,83 +393,78 @@ `(3)dviprint-to-format' `"-t %e"' -実際にプリントアウトする時は、(1)中の %s がファイル名に置き換えられ、 -%f が(2)の内容、%t が(3)の内容に置き換えられます。その際に(2)の文字列中 -の %b は「出力開始ページ」、(3)の文字列中の %e は「出力終了ページ」に置 -き換えられます。もし、ページを指定しない時には、%f, %t 両方とも無視され -ます。 - - この、dviprint-command-format を臨時に変えたい時は、LaTeX のソーステ -キスト中の任意の場所に、 +$B$KCV$-49$($i$l!"(B%f $B$,(B +(2)$B$NFbMF!"(B%t $B$,(B(3)$B$NFbMF$KCV$-49$($i$l$^$9!#$=$N:]$K(B(2)$B$NJ8;zNsCf$N(B %b $B$O(B +$B!V=PNO3+;O%Z!<%8!W!"(B(3)$B$NJ8;zNsCf$N(B %e $B$O!V=PNO=*N;%Z!<%8!W$KCV$-49$($i$l(B +$B$^$9!#$b$7!"%Z!<%8$r;XDj$7$J$$;~$K$O!"(B%f, %t $BN>J}$H$bL5;k$5$l$^$9!#(B + + $B$3$N!"(Bdviprint-command-format $B$rNW;~$KJQ$($?$$;~$O!"(BLaTeX $B$N%=!<%9%F%-%9(B +$B%HCf$NG$0U$N>l=j$K!"(B %#LPR dvi2ps %f %t %s | 4up -page 4 | texfix | lpr -Plp2 -のように書いて下さい。プリントアウトするページ範囲をいちいち聞かせない -ようにする時に +$B$N$h$&$K=q$$$F2<$5$$!#%W%j%s%H%"%&%H$9$k%Z!<%8HO0O$r$$$A$$$AJ9$+$;$J$$$h$&(B +$B$K$9$k;~$K(B %#LPR dvi2ps %s | lpr -などとするのも便利かもしれません。 - +$B$J$I$H$9$k$N$bJXMx$+$b$7$l$^$;$s!#(B  File: yatexj, Node: Editing %# notation, Prev: lpr format, Up: %#notation -%#記法自体の編集 +%#$B5-K!<+BN$NJT=8(B ================ -以上のような`%#'で始まる各種制御記法を編集するためには +$B0J>e$N$h$&$J(B`%#'$B$G;O$^$k3FC5n$5$l$^$9!#(B  File: yatexj, Node: Completion, Next: Local dictionary, Prev: %#notation, Up: Top -補完入力 +$BJd40F~NO(B ******** - LaTeX での環境名などは、野鳥の補完機能を利用して能率的に入力すること -ができます。 + LaTeX $B$G$N4D6-L>$J$I$O!"LnD;$NJd405!G=$rMxMQ$7$FG=N(E*$KF~NO$9$k$3$H$,$G(B +$B$-$^$9!#(B * Menu: -* begin型補完:: -* section型補完:: -* large型補完:: -* maketitle型補完:: -* Arbitrary completion:: 随時補完 -* end補完:: -* Accent mark completion:: アクセント記号補完 -* Image completion:: 数式記号イメージ補完 -* Greek letter completion:: ギリシャ文字補完 - +* begin$B7?Jd40(B:: +* section$B7?Jd40(B:: +* large$B7?Jd40(B:: +* maketitle$B7?Jd40(B:: +* Arbitrary completion:: $B?o;~Jd40(B +* end$BJd40(B:: +* Accent mark completion:: $B%"%/%;%s%H5-9fJd40(B +* Image completion:: $B?t<05-9f%$%a!<%8Jd40(B +* Greek letter completion:: $B%.%j%7%cJ8;zJd40(B  -File: yatexj, Node: begin型補完, Next: section型補完, Prev: Completion, Up: Completion - -begin型補完 +File: yatexj, Node: begin$B7?Jd40(B, Next: section$B7?Jd40(B, Prev: Completion, Up: Completion + +begin$B7?Jd40(B =========== - `\begin{env}...\end{env}'の様な形式の入力の補完をbegin型補完と呼ぶこ -とにします。begin 型補完は、 + `\begin{env}...\end{env}'$B$NMM$J7A<0$NF~NO$NJd40$r(Bbegin$B7?Jd40$H8F$V$3$H$K(B +$B$7$^$9!#(Bbegin $B7?Jd40$O!"(B `[prefix] b' - ... begin 型補完開始(標準では `C-c b') - -で始まります。頻繁に用いられる次の LaTeX 環境の補完は、[prefix] `b'に続 -く次の1文字を入力するだけで、`\begin{xxx}...\end{xxx}'を完成させます。 + ... begin $B7?Jd403+;O(B($BI8=`$G$O(B `C-c b') + +$B$G;O$^$j$^$9!#IQHK$KMQ$$$i$l$ke5-$N$b$N0J30$N4D6-L>$O(B Emacs $B$N;}$D%$%s%/%j%a%s%?%k$JJd405!G=$rMQ$$$F(B +$BF~NO$7$^$9(B($B>e5-$N4D6-L>$b0J2<$NJd40F~NO2DG=(B)$B!#(B `[prefix] b SPC' - ... begin 型補完入力 - -`[prefix] b SPC' と入力すると、最下行のミニバッファに - - Begin environment(default document): - -と表示されます。ここで、何も入れずにリターンキーのみ押すと、括弧内に出 -ているデフォルトの環境名が入力されますが、適当な環境名を入力すると、 -`\begin{環境名} … \end{環境名}'が文書中に挿入されます。ミニバッファで -環境名を入力するときに、環境名の頭文字を入力し「スペース」をたたくと、 -一致する環境名が内部テーブルに存在した場合、正しい環境名に補完されるの -で、入力の手間が省けます。内部テーブルに存在しない環境名を入力した時は -ユーザ専用のテーブルに登録され、さらにそのテーブルを自動的に、ユーザ辞 -書(デフォルトでは `~/.yatexrc')に保存します。 - -さらに、特定の環境を補完入力した時にはその環境で必ず用いられるエントリ -を自動挿入します(例: `itemize'環境における`\item'など)。挿入されたエン -トリが不要な場合にはundoによって消去して下さい。 - - -既に書いたテキストを環境で括る + ... begin $B7?Jd40F~NO(B + +`[prefix] b SPC' $B$HF~NO$9$k$H!":G2<9T$N%_%K%P%C%U%!$K(B + + Begin environment(default document): + +$B$HI=<($5$l$^$9!#$3$3$G!"2?$bF~$l$:$K%j%?!<%s%-!<$N$_2!$9$H!"3g8LFb$K=P$F$$(B +$B$k%G%U%)%k%H$N4D6-L>$,F~NO$5$l$^$9$,!"E,Ev$J4D6-L>$rF~NO$9$k$H!"(B`\begin{$B4D(B +$B6-L>(B} $B!D(B \end{$B4D6-L>(B}'$B$,J8=qCf$KA^F~$5$l$^$9!#%_%K%P%C%U%!$G4D6-L>$rF~NO$9(B +$B$k$H$-$K!"4D6-L>$NF,J8;z$rF~NO$7!V%9%Z!<%9!W$r$?$?$/$H!"0lCW$9$k4D6-L>$,Fb(B +$BIt%F!<%V%k$KB8:_$7$?>l9g!"@5$7$$4D6-L>$KJd40$5$l$k$N$G!"F~NO$NJ$1$^(B +$B$9!#FbIt%F!<%V%k$KB8:_$7$J$$4D6-L>$rF~NO$7$?;~$O%f!<%6@lMQ$N%F!<%V%k$KEPO?(B +$B$5$l!"$5$i$K$=$N%F!<%V%k$r<+F0E*$K!"%f!<%6<-=q(B($B%G%U%)%k%H$G$O(B +`~/.yatexrc')$B$KJ]B8$7$^$9!#(B + +$B$5$i$K!"FCDj$N4D6-$rJd40F~NO$7$?;~$K$O$=$N4D6-$GI,$:MQ$$$i$l$k%(%s%H%j$r<+(B +$BF0A^F~$7$^$9(B($BNc(B: `itemize'$B4D6-$K$*$1$k(B`\item'$B$J$I(B)$B!#A^F~$5$l$?%(%s%H%j$,IT(B +$BMW$J>l9g$K$O(Bundo$B$K$h$C$F>C5n$7$F2<$5$$!#(B + + +$B4{$K=q$$$?%F%-%9%H$r4D6-$G3g$k(B ------------------------------ - ところで、最初に書いてしまったブロックを後から、itemize 環境の中 -に閉じこめたいと思うことがありますが、そのようなときは、あらかじめ -閉じこめたい段落をマークして、begin 型補完の各コマンドの `[prefix]' -の次の『小文字の 'b'』 を『大文字』に変えて起動して下さい。(または、 -`C-u' を先に打ち、universal argument をつけても可能です) - - 例えばあるパラグラフを description 環境の中に入れたいときは、そのパラ -グラフをマークしてから、 + $B$H$3$m$G!":G=i$K=q$$$F$7$^$C$?%V%m%C%/$r8e$+$i!"(Bitemize $B4D6-$NCf$KJD$8$3(B +$B$a$?$$$H;W$&$3$H$,$"$j$^$9$,!"$=$N$h$&$J$H$-$O!"$"$i$+$8$aJD$8$3$a$?$$CJMn(B +$B$r%^!<%/$7$F!"(Bbegin $B7?Jd40$N3F%3%^%s%I$N(B `[prefix]'$B$N.J8;z$N(B 'b'$B!Y(B +$B$r!XBgJ8;z!Y$KJQ$($F5/F0$7$F2<$5$$!#(B($B$^$?$O!"(B`C-u' $B$r@h$KBG$A!"(Buniversal +argument $B$r$D$1$F$b2DG=$G$9(B) + + $BNc$($P$"$k%Q%i%0%i%U$r(B description $B4D6-$NCf$KF~$l$?$$$H$-$O!"$=$N%Q%i%0(B +$B%i%U$r%^!<%/$7$F$+$i!"(B `[prefix] B D' -`(または ESC 1 [prefix] b D)' -`(または C-u [prefix] b D など)' - -とタイプしてください。これは、`[prefix] b SPC'の補完入力にもあてはまり、 -`b' を大文字に変えて、`[prefix] B SPC' とタイプすれば、あらかじめマーク -しておいたリジョンを、begin と end の環境で括ります。 - +`($B$^$?$O(B ESC 1 [prefix] b D)' +`($B$^$?$O(B C-u [prefix] b D $B$J$I(B)' + +$B$H%?%$%W$7$F$/$@$5$$!#$3$l$O!"(B`[prefix] b SPC'$B$NJd40F~NO$K$b$"$F$O$^$j!"(B +`b' $B$rBgJ8;z$KJQ$($F!"(B`[prefix] B SPC' $B$H%?%$%W$9$l$P!"$"$i$+$8$a%^!<%/$7(B +$B$F$*$$$?%j%8%g%s$r!"(Bbegin $B$H(B end $B$N4D6-$G3g$j$^$9!#(B  -File: yatexj, Node: section型補完, Next: large型補完, Prev: begin型補完, Up: Completion - -section型補完 +File: yatexj, Node: section$B7?Jd40(B, Next: large$B7?Jd40(B, Prev: begin$B7?Jd40(B, Up: Completion + +section$B7?Jd40(B ============= - `\section{目的}' のような形式の入力の補完を section 型補完と呼ぶこと -にします。section 型補完は、 + `\section{$BL\E*(B}' $B$N$h$&$J7A<0$NF~NO$NJd40$r(B section $B7?Jd40$H8F$V$3$H$K$7(B +$B$^$9!#(Bsection $B7?Jd40$O!"(B `[prefix] s' - ... section 型補完 - -で実行します。`[prefix] s' を入力するとミニバッファに、 + ... section $B7?Jd40(B + +$B$G$r(B +$BF~NO$7$^$9!#$3$3$G$b%j%?!<%s%-!<$N$_$G3g8LFb$N%G%U%)%k%HCM$,A*Br$5$l$k$[$+!"(B +`chapter'$B$J$I$N$h$&$JIQEY$N9b$$L>>NF~NO$K$O%9%Z!<%9%-!<$K$h$kJd405!G=$,M-(B +$B8z$G$9!#(B $Bl9g$O!"J8>OCf$K(B + + \section{$BL\E*(B} + +$B$,A^F~$5$l!"(B (C-v for view-section) \???{} (default section): vspace* - \vspace*{???}: - -のように{}の中身を省略したときは、 + \vspace*{???}: + +$B$N$h$&$K(B{}$B$NCf?H$r>JN,$7$?$H$-$O!"(B \vspace*{} -だけが挿入され、改行はせずカーソルは自動的に中括弧の内側に移動します。 +$B$@$1$,A^F~$5$l!"2~9T$O$;$:%+!<%=%k$O<+F0E*$KCf3g8L$NFbB&$K0\F0$7$^$9!#(B * Menu: -* 2個以上の引数をとる section型コマンド:: -* Enclose section-type command:: 括り補完 -* Recursive completion:: 再帰補完 -* view-sectioning:: セクション区切りのアウトライン表示 -* label-generation:: ラベル自動生成 - +* 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B:: +* Enclose section-type command:: $B3g$jJd40(B +* Recursive completion:: $B:F5"Jd40(B +* view-sectioning:: $B%;%/%7%g%s6h@Z$j$N%"%&%H%i%$%sI=<((B +* label-generation:: $B%i%Y%k<+F0@8@.(B  -File: yatexj, Node: 2個以上の引数をとる section型コマンド, Next: Enclose section-type command, Prev: section型補完, Up: section型補完 - -2個以上の引数をとる section型コマンド +File: yatexj, Node: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B, Next: Enclose section-type command, Prev: section$B7?Jd40(B, Up: section$B7?Jd40(B + +2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B ------------------------------------- - ところで、`\addtolength{\topmargin}{8mm}' などのように、引数を二つ以 -上取る LaTeX コマンドがあります。このようなコマンドの補完入力には、 -section 型補完呼び出しに引数を付けてください。例えば上の`addtolength' -の例であれば、引数2を指定します。つまり、 - - C-u 2 [prefix] s (または、ESC 2 [prefix] s) - -と section 型補完を呼び出した後、 + $B$H$3$m$G!"(B`\addtolength{\topmargin}{8mm}' $B$J$I$N$h$&$K!"0z?t$rFs$D0J>ee$N(B`addtolength' $B$NNc$G$"$l$P!"(B +$B0z?t(B2$B$r;XDj$7$^$9!#$D$^$j!"(B + + C-u 2 [prefix] s ($B$^$?$O!"(BESC 2 [prefix] s) + +$B$H(B section $B7?Jd40$r8F$S=P$7$?8e!"(B (Ctrl-v for view-section) \???{} (default vspace*): addtolength \addtolength{???}: \topmargin Argument 2: 8mm -のように入力してください。最初の addtolength の部分と、第一引数である -topmargin の入力は当然スペースによる補完入力が可能です。ユーザ辞書に登 -録される LaTeX コマンドには、この引数の数も学習されるので、最初の補完の -時引数の数を指定して起動しておけば、以後の補完時には、記憶された個数だ -け引数を聞いて来るようになります。あとで引数の個数を変えたい時は、再び -`C-u' を用いて個数を指定し直すことで、自動的に辞書中の引数の個数の部分 -を更新します。 - +$B$N$h$&$KF~NO$7$F$/$@$5$$!#:G=i$N(B addtolength $B$NItJ,$H!"Bh0l0z?t$G$"$k(B +\topmargin $B$NF~NO$OEvA3%9%Z!<%9$K$h$kJd40F~NO$,2DG=$G$9!#%f!<%6<-=q$KEPO?(B +$B$5$l$k(B LaTeX $B%3%^%s%I$K$O!"$3$N0z?t$N?t$b3X=,$5$l$k$N$G!":G=i$NJd40$N;~0z(B +$B?t$N?t$r;XDj$7$F5/F0$7$F$*$1$P!"0J8e$NJd40;~$K$O!"5-21$5$l$?8D?t$@$10z?t$r(B +$BJ9$$$FMh$k$h$&$K$J$j$^$9!#$"$H$G0z?t$N8D?t$rJQ$($?$$;~$O!":F$S(B `C-u' $B$rMQ(B +$B$$$F8D?t$r;XDj$7D>$9$3$H$G!"<+F0E*$K<-=qCf$N0z?t$N8D?t$NItJ,$r99?7$7$^$9!#(B  -File: yatexj, Node: Enclose section-type command, Next: Recursive completion, Prev: 2個以上の引数をとる section型コマンド, Up: section型補完 - -既に書いたテキストを括る +File: yatexj, Node: Enclose section-type command, Next: Recursive completion, Prev: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B, Up: section$B7?Jd40(B + +$B4{$K=q$$$?%F%-%9%H$r3g$k(B ------------------------ - また、起動コマンドの`s'を大文字に変えて起動すると、あらかじめ書いた文 -章を section 型コマンドの第一引数として括ります。 - + $B$^$?!"5/F0%3%^%s%I$N(B`s'$B$rBgJ8;z$KJQ$($F5/F0$9$k$H!"$"$i$+$8$a=q$$$?J8>O(B +$B$r(B section $B7?%3%^%s%I$NBh0l0z?t$H$7$F3g$j$^$9!#(B  -File: yatexj, Node: Recursive completion, Next: view-sectioning, Prev: Enclose section-type command, Up: section型補完 - -再帰補完 +File: yatexj, Node: Recursive completion, Next: view-sectioning, Prev: Enclose section-type command, Up: section$B7?Jd40(B + +$B:F5"Jd40(B -------- - 高度な使い方になるかもしれませんが、section型補完の引数の入力時にさら -に補完入力を利用することができます(section/large/maketitle型に限る)。 -section型コマンドの引数に更に LaTeX コマンドが来る場合にはミニバッファ -で野鳥の補完キーを再帰的に入力することで引数の入力も効率的に行なえます。 - + $B9bEY$J;H$$J}$K$J$k$+$b$7$l$^$;$s$,!"(Bsection$B7?Jd40$N0z?t$NF~NO;~$K$5$i$K(B +$BJd40F~NO$rMxMQ$9$k$3$H$,$G$-$^$9(B(section/large/maketitle$B7?$K8B$k(B)$B!#(Bsection +$B7?%3%^%s%I$N0z?t$K99$K(B LaTeX $B%3%^%s%I$,Mh$k>l9g$K$O%_%K%P%C%U%!$GLnD;$NJd(B +$B40%-!<$r:F5"E*$KF~NO$9$k$3$H$G0z?t$NF~NO$b8zN(E*$K9T$J$($^$9!#(B  -File: yatexj, Node: view-sectioning, Next: label-generation, Prev: Recursive completion, Up: section型補完 - -セクション区切りのアウトライン表示 +File: yatexj, Node: view-sectioning, Next: label-generation, Prev: Recursive completion, Up: section$B7?Jd40(B + +$B%;%/%7%g%s6h@Z$j$N%"%&%H%i%$%sI=<((B ---------------------------------- - 通常のsection型補完の時にミニバッファで`C-v'を押すと現在存在するセク -ション区切りコマンド全てを `*Sectioning Lines*'というバッファに一覧表示 -します(「<<--」のついている行がもっとも近いセクション区切り)。この時ミ -ニバッファで`C-p', `C-n' を押すと`part', `chapter', ..., -`subparagraph' のコマンドが論理階層の高さにしたがって上下します。また、 -`C-v', `M-v' を押すとセクション区切り一覧バッファがスクロールし、数字の -`0'〜`7'を押すとある高さ以上のセクション区切りだけを選んで表示します(実 -際にやって見れば分かります)。 - -`*Sectioning Lines*'バッファは、 + $BDL>o$N(Bsection$B7?Jd40$N;~$K%_%K%P%C%U%!$G(B`C-v'$B$r2!$9$H8=:_B8:_$9$k%;%/%7%g(B +$B%s6h@Z$j%3%^%s%IA4$F$r(B `*Sectioning Lines*'$B$H$$$&%P%C%U%!$K0lMwI=<($7$^$9(B +($B!V(B<<--$B!W$N$D$$$F$$$k9T$,$b$C$H$b6a$$%;%/%7%g%s6h@Z$j(B)$B!#$3$N;~%_%K%P%C%U%!(B +$B$G(B`C-p', `C-n' $B$r2!$9$H(B`part', `chapter', ..., `subparagraph' $B$N%3%^%s%I$,(B +$BO@M}3,AX$N9b$5$K$7$?$,$C$F>e2<$7$^$9!#$^$?!"(B`C-v', `M-v' $B$r2!$9$H%;%/%7%g(B +$B%s6h@Z$j0lMw%P%C%U%!$,%9%/%m!<%k$7!"?t;z$N(B`0'$B!A(B`7'$B$r2!$9$H$"$k9b$50J>e$N%;(B +$B%/%7%g%s6h@Z$j$@$1$rA*$s$GI=<($7$^$9(B($Bl=j$K%8%c%s%W$7$^$9!#$5$i$K!"F1%P%C(B +$B%U%!$G(B `u' $B$r2!$9$H!"%=!<%9%F%-%9%H$NBP1~$9$k%;%/%7%g%s%3%^%s%I$,0l3,AX>e(B +$B$,$j(B($BNc(B: subsection $B$,(B section $B$KJQ$o$k(B)$B!"(B`d'$B$r2!$9$H0l3,AX2<$,$j$^$9!#(B +`*Sectioning Lines*'$B%P%C%U%!$K$"$k%;%/%7%g%s6h@Z$j$N9T$r%^!<%/$7$F$*$$$F(B +`U'$B$r2!$9$H%j%8%g%sFb$N$b$N$KBP1~$9$k%=!<%9%F%-%9%H$N%;%/%7%g%s%3%^%s%I$9(B +$B$Y$F$,0l3,AX>e$,$j!"(B`D'$B$r2!$9$H2<$,$j$^$9!#%;%/%7%g%s6h@Z$j0lMw%P%C%U%!$G(B +$BMxMQ$G$-$k%-!<%3%^%s%I$K$O0J2<$N$b$N$,$"$j$^$9!#(B `SPC' - ... 対応するソース行へジャンプ + ... $BBP1~$9$k%=!<%99T$X%8%c%s%W(B `.' - ... 対応するソース行を表示 + ... $BBP1~$9$k%=!<%99T$rI=<((B `u' - ... カーソル位置に対応するセクションコマンドを一階層上げる + ... $B%+!<%=%k0LCV$KBP1~$9$k%;%/%7%g%s%3%^%s%I$r0l3,AX>e$2$k(B `d' - ... カーソル位置に対応するセクションコマンドを一階層下げる + ... $B%+!<%=%k0LCV$KBP1~$9$k%;%/%7%g%s%3%^%s%I$r0l3,AX2<$2$k(B `U' - ... マークしたセクションコマンドを一階層上げる + ... $B%^!<%/$7$?%;%/%7%g%s%3%^%s%I$r0l3,AX>e$2$k(B `D' - ... マークしたセクションコマンドを一階層上げる -`0〜6' - ... レベル n 以下のセクションコマンドを隠して表示 - + ... $B%^!<%/$7$?%;%/%7%g%s%3%^%s%I$r0l3,AX>e$2$k(B +`0$B!A(B6' + ... $B%l%Y%k(B n $B0J2<$N%;%/%7%g%s%3%^%s%I$r1#$7$FI=<((B  -File: yatexj, Node: label-generation, Prev: view-sectioning, Up: section型補完 - -ラベル自動生成 +File: yatexj, Node: label-generation, Prev: view-sectioning, Up: section$B7?Jd40(B + +$B%i%Y%k<+F0@8@.(B -------------- - `\ref{}' や `\cite{@}' マクロをsection型補完で入れた場合参照先となり -得るものを全て探してメニューにして選択できます。参照先には`\label{}'を -つけておく必要はありません。もしあれば、そのラベルを使い、なければその -場で参照先に`\label{}'を作らせてくれます。ラベル名を考えるのは苦痛に感 -じるものです。全てのカウンタにラベルをつけるのもたいへんです。もうラベ -ル名に何をつけるか、ラベルをつけるかつけまいか、などということは忘れま -しょう! - + `\ref{}' $B$d(B `\cite{@}' $B%^%/%m$r(Bsection$B7?Jd40$GF~$l$?>l9g;2>H@h$H$J$jF@$k(B +$B$b$N$rA4$FC5$7$F%a%K%e!<$K$7$FA*Br$G$-$^$9!#;2>H@h$K$O(B`\label{}'$B$r$D$1$F$*(B +$B$/I,MW$O$"$j$^$;$s!#$b$7$"$l$P!"$=$N%i%Y%k$r;H$$!"$J$1$l$P$=$N>l$G;2>H@h$K(B +`\label{}'$B$r:n$i$;$F$/$l$^$9!#%i%Y%kL>$r9M$($k$N$O6lDK$K46$8$k$b$N$G$9!#A4(B +$B$F$N%+%&%s%?$K%i%Y%k$r$D$1$k$N$b$?$$$X$s$G$9!#$b$&%i%Y%kL>$K2?$r$D$1$k$+!"(B +$B%i%Y%k$r$D$1$k$+$D$1$^$$$+!"$J$I$H$$$&$3$H$OK:$l$^$7$g$&(B!  -File: yatexj, Node: large型補完, Next: maketitle型補完, Prev: section型補完, Up: Completion - -large型補完 +File: yatexj, Node: large$B7?Jd40(B, Next: maketitle$B7?Jd40(B, Prev: section$B7?Jd40(B, Up: Completion + +large$B7?Jd40(B =========== - `{\large }' のような形式の補完を large 型補完と呼ぶことにします。 + `{\large }' $B$N$h$&$J7A<0$NJd40$r(B large $B7?Jd40$H8F$V$3$H$K$7$^$9!#(B `[prefix] l' - ... large 型補完開始 - -がlarge型補完の開始です。`[prefix] l' を押すと、ミニバッファに - - {\??? } (default large): - -と表示されるので、上記のものと同じ要領で補完入力して下さい。補完候補に -用意されているのは、`footnotesize' や `huge' のような文字サイズ指定子と、 -`bf'や`dg'のようなフォント指定子です。 - - -既に書いた文字を括る + ... large $B7?Jd403+;O(B + +$B$,(Blarge$B7?Jd40$N3+;O$G$9!#(B`[prefix] l' $B$r2!$9$H!"%_%K%P%C%U%!$K(B + + {\??? } (default large): + +$B$HI=<($5$l$k$N$G!">e5-$N$b$N$HF1$8MWNN$GJd40F~NO$7$F2<$5$$!#Jd408uJd$KMQ0U(B +$B$5$l$F$$$k$N$O!"(B`footnotesize' $B$d(B `huge' $B$N$h$&$JJ8;z%5%$%:;XDj;R$H!"(B`bf' +$B$d(B`dg'$B$N$h$&$J%U%)%s%H;XDj;R$G$9!#(B + + +$B4{$K=q$$$?J8;z$r3g$k(B -------------------- - また、begin型補完の時と同様、先に書いてしまった一連の文章の文字のサイ -ズを変えたいと思う時がありますが、そのような時は、サイズや大きさを変え -たい文字の範囲をマークしてから、呼び出しキーを `[prefix] L' と、大文字 -の L に変えて呼び出せば、そのリジョン全体が、ブレースで囲まれます。 - + $B$^$?!"(Bbegin$B7?Jd40$N;~$HF1MM!"@h$K=q$$$F$7$^$C$?0lO"$NJ8>O$NJ8;z$N%5%$%:(B +$B$rJQ$($?$$$H;W$&;~$,$"$j$^$9$,!"$=$N$h$&$J;~$O!"%5%$%:$dBg$-$5$rJQ$($?$$J8(B +$B;z$NHO0O$r%^!<%/$7$F$+$i!"8F$S=P$7%-!<$r(B `[prefix] L' $B$H!"BgJ8;z$N(B L $B$KJQ(B +$B$($F8F$S=P$;$P!"$=$N%j%8%g%sA4BN$,!"%V%l!<%9$G0O$^$l$^$9!#(B  -File: yatexj, Node: maketitle型補完, Next: Arbitrary completion, Prev: large型補完, Up: Completion - -maketitle型補完 +File: yatexj, Node: maketitle$B7?Jd40(B, Next: Arbitrary completion, Prev: large$B7?Jd40(B, Up: Completion + +maketitle$B7?Jd40(B =============== - `\maketitle' の形式の補完を maketitle 型補完と呼ぶことにします。 + `\maketitle' $B$N7A<0$NJd40$r(B maketitle $B7?Jd40$H8F$V$3$H$K$7$^$9!#(B `[prefix] m' - ... maketitle 型補完開始 - -で、maketitle 型補完を開始します。補完の要領は今までのものとまったく同 -じです。LaTeX 用のコマンド名が補完候補として用意されています。 - + ... maketitle $B7?Jd403+;O(B + +$B$G!"(Bmaketitle $B7?Jd40$r3+;O$7$^$9!#Jd40$NMWNN$O:#$^$G$N$b$N$H$^$C$?$/F1$8$G(B +$B$9!#(BLaTeX $BMQ$N%3%^%s%IL>$,Jd408uJd$H$7$FMQ0U$5$l$F$$$^$9!#(B  -File: yatexj, Node: Arbitrary completion, Next: end補完, Prev: maketitle型補完, Up: Completion - -随時補完 +File: yatexj, Node: Arbitrary completion, Next: end$BJd40(B, Prev: maketitle$B7?Jd40(B, Up: Completion + +$B?o;~Jd40(B ======== - さて、今まで述べた典型的な LaTeX コマンド形式の補完入力を用いずに、今 -入力しようとしている LaTeX コマンドを文書中の任意の位置で随時補完するこ -ともできます。LaTeX コマンド(先頭が\で始まる)を入力している途中で、 + $B$5$F!":#$^$G=R$Y$?E57?E*$J(B LaTeX $B%3%^%s%I7A<0$NJd40F~NO$rMQ$$$:$K!":#F~(B +$BNO$7$h$&$H$7$F$$$k(B LaTeX $B%3%^%s%I$rJ8=qCf$NG$0U$N0LCV$G?o;~Jd40$9$k$3$H$b(B +$B$G$-$^$9!#(BLaTeX $B%3%^%s%I(B($B@hF,$,(B\$B$G;O$^$k(B)$B$rF~NO$7$F$$$kESCf$G!"(B `[prefix] SPC' - ... 随時補完 - -を入力すれば、全ての補完候補の中から一致するものが選ばれカーソル位置に -挿入されます。 - + ... $B?o;~Jd40(B + +$B$rF~NO$9$l$P!"A4$F$NJd408uJd$NCf$+$i0lCW$9$k$b$N$,A*$P$l%+!<%=%k0LCV$KA^F~(B +$B$5$l$^$9!#(B  -File: yatexj, Node: end補完, Next: Accent mark completion, Prev: Arbitrary completion, Up: Completion - -end補完 +File: yatexj, Node: end$BJd40(B, Next: Accent mark completion, Prev: Arbitrary completion, Up: Completion + +end$BJd40(B ======= - 現在開いたままの環境名を自動的に検出し、`\end{環境名}'を挿入します。 -begin 型補完を用いれば環境の閉じ忘れはないのですが、時にはついつい手で -`\begin{環境名}' を入れてしまい、悲しい思いをすることがあります。そのよ -うな時には気にせず続けて文章を入力し、しかるのちに + $B8=:_3+$$$?$^$^$N4D6-L>$r<+F0E*$K8!=P$7!"(B`\end{$B4D6-L>(B}'$B$rA^F~$7$^$9!#(B +begin $B7?Jd40$rMQ$$$l$P4D6-$NJD$8K:$l$O$J$$$N$G$9$,!";~$K$O$D$$$D$$(B}' $B$rF~$l$F$7$^$$!"Ha$7$$;W$$$r$9$k$3$H$,$"$j$^$9!#$=$N$h$&(B +$B$J;~$K$O5$$K$;$:B3$1$FJ8>O$rF~NO$7!"$7$+$k$N$A$K(B `[prefix] e' - ... end 補完 - -とすることで、現在開いている環境名で \end{} が補われます。 - + ... end $BJd40(B + +$B$H$9$k$3$H$G!"8=:_3+$$$F$$$k4D6-L>$G(B \end{} $B$,Jd$o$l$^$9!#(B  -File: yatexj, Node: Accent mark completion, Next: Image completion, Prev: end補完, Up: Completion - -アクセント記号補完 +File: yatexj, Node: Accent mark completion, Next: Image completion, Prev: end$BJd40(B, Up: Completion + +$B%"%/%;%s%H5-9fJd40(B ================== - 欧文のアクセント記号(`\`{o}'など)を入力する時は、 + $B2$J8$N%"%/%;%s%H5-9f(B(`\`{o}'$B$J$I(B)$B$rF~NO$9$k;~$O!"(B `[prefix] a' - ... アクセント記号入力 - -を押すと、ミニバッファに + ... $B%"%/%;%s%H5-9fF~NO(B + +$B$r2!$9$H!"%_%K%P%C%U%!$K(B 1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b -というメニューが出て来るので、数字、または対応する記号/英字を入力して下 -さい。すると編集バッファに、 +$B$H$$$&%a%K%e!<$,=P$FMh$k$N$G!"?t;z!"$^$?$OBP1~$9$k5-9f(B/$B1Q;z$rF~NO$7$F2<$5(B +$B$$!#$9$k$HJT=8%P%C%U%!$K!"(B \`{} -があらわれ、カーソルが{}内に位置するので、さらに一文字入力する事で、 +$B$,$"$i$o$l!"%+!<%=%k$,(B{}$BFb$K0LCV$9$k$N$G!"$5$i$K0lJ8;zF~NO$9$k;v$G!"(B \`{o} -が完成され、カーソルは{}の外に戻ります。 - +$B$,40@.$5$l!"%+!<%=%k$O(B{}$B$N30$KLa$j$^$9!#(B  File: yatexj, Node: Image completion, Next: Greek letter completion, Prev: Accent mark completion, Up: Completion -数式記号イメージ補完 +$B?t<05-9f%$%a!<%8Jd40(B ==================== - 主に数式モードで使用される、矢印やΣなどの記号を擬似的に表現するキー入力 -で、LaTeX コマンドを入力できます。これは野鳥自身の「数式モード」でのみ -動作します。野鳥はカーソルがTeXの数式環境の中にある時に`;'や、 -`:'に特殊な機能を持たせます。 - - さて、例えば、←(leftarrow)をASCII文字だけで表現する場合、一般的には -「<-」のようにしますが、これを利用して、数式記号イメージ入力モードで -`\leftarrow'を入力するには、`;'(セミコロン)を打ってから`<-'と入力します。 -同様に、長い矢印←-(long-leftarrow) をASCII文字だけで表現する場合「<--」 -とするので、`\longleftarrow'を入力するためには、`;<--'と入力します。あ -るいは無限大記号をASCII文字だけで表現する時は「oo」のようにすることから、 -`\infty' を入力する時は、`;oo'とキー入力します。 - - これらの操作をまとめると次のようになります。 - - INPUT 入力される LaTeX コマンド + $Bl9g!"0lHLE*$K$O!V(B<-$B!W(B +$B$N$h$&$K$7$^$9$,!"$3$l$rMxMQ$7$F!"?t<05-9f%$%a!<%8F~NO%b!<%I$G(B +`\leftarrow'$B$rF~NO$9$k$K$O!"(B`;'($B%;%_%3%m%s(B)$B$rBG$C$F$+$i(B`<-'$B$HF~NO$7$^$9!#(B +$BF1MM$K!"D9$$Lp0u"+(B-(long-leftarrow) $B$r(BASCII$BJ8;z$@$1$GI=8=$9$k>l9g!V(B<--$B!W$H(B +$B$9$k$N$G!"(B`\longleftarrow'$B$rF~NO$9$k$?$a$K$O!"(B`;<--'$B$HF~NO$7$^$9!#$"$k$$$O(B +$BL58BBg5-9f$r(BASCII$BJ8;z$@$1$GI=8=$9$k;~$O!V(Boo$B!W$N$h$&$K$9$k$3$H$+$i!"(B +`\infty' $B$rF~NO$9$k;~$O!"(B`;oo'$B$H%-! `\longleftrightarrow' @@ -863,934 +830,893 @@ ; o o `\infty' - いずれの場合も、イメージ入力を行っている途中で望みのものがバッファに -表示されたなら、そこでイメージ入力を止めて次の編集動作に移っても構いま -せん。 - - 数式環境中で`;'自身を入力するには`;;'のようにします。イメージ入力の途 -中でTABを押すと、それまで入力した文字で始まるもの一覧が表示されます。こ -こで目的の LaTeX コマンドまでカーソルを移動し再度TABを押すことでその -LaTeX コマンドがバッファに挿入されます。 - - どのキー入力にどの記号が対応しているか全て知りたい時は、`;'を押した直 -後にTABを押してください。以下の例は、`;<'と押した後にTABを押したもので -す。 + $B$$$:$l$N>l9g$b!"%$%a!<%8F~NO$r9T$C$F$$$kESCf$GK>$_$N$b$N$,%P%C%U%!$KI=<((B +$B$5$l$?$J$i!"$=$3$G%$%a!<%8F~NO$r;_$a$F8e(B +$B$K(BTAB$B$r2!$7$F$/$@$5$$!#0J2<$NNc$O!"(B`;<'$B$H2!$7$?8e$K(BTAB$B$r2!$7$?$b$N$G$9!#(B KEY LaTeX sequence sign - < \leq ≦ - << \ll 《 - <- \leftarrow ← + < \leq $B!e(B + << \ll $B!T(B + <- \leftarrow $B"+(B <= \Leftarrow <= -左から[入力キー]、[対応する LaTeX コマンド]、[(擬似)記号図示]、という順 -でメニューが出て来るので、よく使うものを覚えておくと良いでしょう。もの -によってはASCII文字で表現することが困難なので、あまり覚えやすいキー並び -ではないものがあるでしょうから、そのような場合は \maketitle 型補完で入 -力するか、以下に述べる対応表の設定を行って単純なキー並びのものを設定す -ると良いでしょう。 - - 入力キーと LaTeX コマンド、記号の対応表を個人的に設定したい場合は -Emacs-Lisp 変数 `YaTeX-math-sign-alist-private' に定義してください。そ -の内容とデフォルトのものを合わせたものが対応表として使用されます -(privateの方が優先される)。なお、この変数の構造については -`yatexmth.el' を参照してください。 - +$B:8$+$i(B[$BF~NO%-!<(B]$B!"(B[$BBP1~$9$k(B LaTeX $B%3%^%s%I(B]$B!"(B[($B5<;w(B)$B5-9f?^<((B]$B!"$H$$$&=g$G(B +$B%a%K%e!<$,=P$FMh$k$N$G!"$h$/;H$&$b$N$r3P$($F$*$/$HNI$$$G$7$g$&!#$b$N$K$h$C(B +$B$F$O(BASCII$BJ8;z$GI=8=$9$k$3$H$,:$Fq$J$N$G!"$"$^$j3P$($d$9$$%-!l9g$O(B \maketitle $B7?Jd40$GF~NO$9$k$+!"0J(B +$B2<$K=R$Y$kBP1~I=$N@_Dj$r9T$C$FC1=c$J%-!l9g$O(B +Emacs-Lisp $BJQ?t(B `YaTeX-math-sign-alist-private' $B$KDj5A$7$F$/$@$5$$!#$=$NFb(B +$BMF$H%G%U%)%k%H$N$b$N$r9g$o$;$?$b$N$,BP1~I=$H$7$F;HMQ$5$l$^$9(B(private$B$NJ}$,(B +$BM%@h$5$l$k(B)$B!#$J$*!"$3$NJQ?t$N9=B$$K$D$$$F$O(B `yatexmth.el' $B$r;2>H$7$F$/$@$5(B +$B$$!#(B  File: yatexj, Node: Greek letter completion, Prev: Image completion, Up: Completion -ギリシャ文字補完 +$B%.%j%7%cJ8;zJd40(B ================ - もう一つ、数式環境中で`:'を押すとギリシャ文字入力モードに入ります。 -`:'を押した直後に`a'を押すと`\alpha'が、`g' を押すと `\gamma'が、などア -ルファベットに対応したギリシャ文字が挿入されます。操作方法は;の数式記号 -補完とまったく同じです。まずは`:'の直後にTABを押してどのアルファベット -にどのギリシャ文字が対応しているか調べてみてください。 - - `;'と`:'を数式環境中で押しているにもかかわらず、イメージ補完が働かな -い場合は、`C-u ;'のように universal-argument をつけてキーを押すことによ -り、強制的にイメージ補完に入ることができます。また、この時にどのような -状態で数式環境内判定に失敗したかをご連絡下さい。 - + $B$b$&0l$D!"?t<04D6-Cf$G(B`:'$B$r2!$9$H%.%j%7%cJ8;zF~NO%b!<%I$KF~$j$^$9!#(B`:'$B$r(B +$B2!$7$?D>8e$K(B`a'$B$r2!$9$H(B`\alpha'$B$,!"(B`g' $B$r2!$9$H(B `\gamma'$B$,!"$J$I%"%k%U%!%Y%C(B +$B%H$KBP1~$7$?%.%j%7%cJ8;z$,A^F~$5$l$^$9!#A`:nJ}K!$O(B;$B$N?t<05-9fJd40$H$^$C$?(B +$B$/F1$8$G$9!#$^$:$O(B`:'$B$ND>8e$K(BTAB$B$r2!$7$F$I$N%"%k%U%!%Y%C%H$K$I$N%.%j%7%cJ8(B +$B;z$,BP1~$7$F$$$k$+D4$Y$F$_$F$/$@$5$$!#(B + + `;'$B$H(B`:'$B$r?t<04D6-Cf$G2!$7$F$$$k$K$b$+$+$o$i$:!"%$%a!<%8Jd40$,F/$+$J$$>l(B +$B9g$O!"(B`C-u ;'$B$N$h$&$K(B universal-argument $B$r$D$1$F%-!<$r2!$9$3$H$K$h$j!"6/(B +$B@)E*$K%$%a!<%8Jd40$KF~$k$3$H$,$G$-$^$9!#$^$?!"$3$N;~$K$I$N$h$&$J>uBV$G?t<0(B +$B4D6-FbH=Dj$K<:GT$7$?$+$r$4O"Mm2<$5$$!#(B  File: yatexj, Node: Local dictionary, Next: Commenting out, Prev: Completion, Up: Top -ローカル辞書 +$B%m!<%+%k<-=q(B ************ - 補完入力用の候補は三種類の辞書から構成されています。一つは`yatex.el' -に組み込まれた「標準辞書」、もう一つはユーザが個人的に常用するコマンド -を保存する「ユーザ辞書」、そしてもうひとつはあるディレクトリでのみ有効 -なコマンドを保存する「ローカル辞書」です。 - - 補完入力時に新しい単語を入れた場合に、その単語をどの辞書に入れるか聞 -いて来ます。 + $BJd40F~NOMQ$N8uJd$O;0oMQ$9$k%3%^%s%I$rJ]B8$9(B +$B$k!V%f!<%6<-=q!W!"$=$7$F$b$&$R$H$D$O$"$k%G%#%l%/%H%j$G$N$_M-8z$J%3%^%s%I$r(B +$BJ]B8$9$k!V%m!<%+%k<-=q!W$G$9!#(B + + $BJd40F~NO;~$K?7$7$$C18l$rF~$l$?>l9g$K!"$=$NC18l$r$I$N<-=q$KF~$l$k$+J9$$$F(B +$BMh$^$9!#(B `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscard -というプロンプトに対し、`u'と答えると「ユーザ辞書」を、`l'と答えるとロー -カル辞書を更新し、`n'と答えると辞書ファイルは更新せず現在のEmacsセッショ -ンのみ有効な単語とし、`d'と答えると新たな単語を学習せずに捨てることにな -ります。 - - もし、ローカル辞書の機能はいらず、全てユーザ辞書の更新のみでよいと言 -う場合には`~/.emacs'などで、 +$B$H$$$&%W%m%s%W%H$KBP$7!"(B`u'$B$HEz$($k$H!V%f!<%6<-=q!W$r!"(B`l'$B$HEz$($k$H%m!<%+(B +$B%k<-=q$r99?7$7!"(B`n'$B$HEz$($k$H<-=q%U%!%$%k$O99?7$;$:8=:_$N(BEmacs$B%;%C%7%g%s$N(B +$B$_M-8z$JC18l$H$7!"(B`d'$B$HEz$($k$H?7$?$JC18l$r3X=,$;$:$Kl(B +$B9g$K$O(B`~/.emacs'$B$J$I$G!"(B (setq YaTeX-nervous nil) -として下さい。 - +$B$H$7$F2<$5$$!#(B  File: yatexj, Node: Commenting out, Next: Cursor jump, Prev: Local dictionary, Up: Top -コメントアウト +$B%3%a%s%H%"%&%H(B ************** - LaTeXの編集には試行錯誤がつきものです。ある部分を一括でコメントアウト -したり、コメントを外したりしたいことがあります。 + LaTeX$B$NJT=8$K$O;n9T:x8m$,$D$-$b$N$G$9!#$"$kItJ,$r0l3g$G%3%a%s%H%"%&%H$7(B +$B$?$j!"%3%a%s%H$r30$7$?$j$7$?$$$3$H$,$"$j$^$9!#(B `[prefix] >' - ... リジョンを % でコメントアウト + ... $B%j%8%g%s$r(B % $B$G%3%a%s%H%"%&%H(B `[prefix] <' - ... リジョンの % のコメントを外す - -は、あらかじめ設定したリジョンに対しての操作、 + ... $B%j%8%g%s$N(B % $B$N%3%a%s%H$r30$9(B + +$B$O!"$"$i$+$8$a@_Dj$7$?%j%8%g%s$KBP$7$F$NA`:n!"(B `[prefix] .' - ... 現在のパラグラフをコメントアウト + ... $B8=:_$N%Q%i%0%i%U$r%3%a%s%H%"%&%H(B `[prefix] ,' - ... 現在のパラグラフのコメントを外す - -は、カーソルの位置するパラグラフ全体に対しての操作です。なお、ここでい -う「パラグラフ」は (`mark-paragraph') 関数によりマークされる範囲を指し -ます(標準設定で`ESC h'にバインドされている)。なお、既に`%'でコメントア -ウトされているパラグラフに対して繰り返しパラグラフのコメントを使用した -場合の動作は保証しませんので御注意ください。 - - さて、文章に対してだけでなく、時には`\begin', `\end' 自体に対 -してもコメントアウトの操作をしたいときがあります。このようなときは、 -`\begin{}' あるいは `\end{}' の行にカーソルを合わせ、 + ... $B8=:_$N%Q%i%0%i%U$N%3%a%s%H$r30$9(B + +$B$O!"%+!<%=%k$N0LCV$9$k%Q%i%0%i%UA4BN$KBP$7$F$NA`:n$G$9!#$J$*!"$3$3$G$$$&(B +$B!V%Q%i%0%i%U!W$O(B (`mark-paragraph') $B4X?t$K$h$j%^!<%/$5$l$kHO0O$r;X$7$^$9(B +($BI8=`@_Dj$G(B`ESC h'$B$K%P%$%s%I$5$l$F$$$k(B)$B!#$J$*!"4{$K(B`%'$B$G%3%a%s%H%"%&%H$5$l(B +$B$F$$$k%Q%i%0%i%U$KBP$7$F7+$jJV$7%Q%i%0%i%U$N%3%a%s%H$r;HMQ$7$?>l9g$NF0:n$O(B +$BJ]>Z$7$^$;$s$N$G8fCm0U$/$@$5$$!#(B + + $B$5$F!"J8>O$KBP$7$F$@$1$G$J$/!";~$K$O(B`\begin', `\end' $B<+BN$KBP$7$F$b%3%a(B +$B%s%H%"%&%H$NA`:n$r$7$?$$$H$-$,$"$j$^$9!#$3$N$h$&$J$H$-$O!"(B`\begin{}' $B$"$k(B +$B$$$O(B `\end{}' $B$N9T$K%+!<%=%k$r9g$o$;!"(B `[prefix] >' - ... `\begin{}'〜`\end{}' 全てコメントアウト + ... `\begin{}'$B!A(B`\end{}' $BA4$F%3%a%s%H%"%&%H(B `[prefix] <' - ... `\begin{}'〜`\end{}' 全てコメントを外す - -とすることで、`\begin〜\end'で囲まれる環境全てに対してコメント操作し、 + ... `\begin{}'$B!A(B`\end{}' $BA4$F%3%a%s%H$r30$9(B + +$B$H$9$k$3$H$G!"(B`\begin$B!A(B\end'$B$G0O$^$l$k4D6-A4$F$KBP$7$F%3%a%s%HA`:n$7!"(B `[prefix] .' - ... `\begin{}' と `\end{}' をコメントアウト + ... `\begin{}' $B$H(B `\end{}' $B$r%3%a%s%H%"%&%H(B `[prefix] ,' - ... `\begin{}' と `\end{}' のコメントを外す - -は、対応する `\begin' と `\end' 2行だけを、コメント操作の対象とします。 -リジョンをコメントアウトしようとして、マークを設定したのちにカーソルを -移動し`[preifx] >' を押してもカーソルが `\begin{}' の上にあると -`\begin{}'〜`\end{}'モードでコメント機能が働いてしまうので注意して下さ -い。 - + ... `\begin{}' $B$H(B `\end{}' $B$N%3%a%s%H$r30$9(B + +$B$O!"BP1~$9$k(B `\begin' $B$H(B `\end' 2$B9T$@$1$r!"%3%a%s%HA`:n$NBP>]$H$7$^$9!#%j(B +$B%8%g%s$r%3%a%s%H%"%&%H$7$h$&$H$7$F!"%^!<%/$r@_Dj$7$?$N$A$K%+!<%=%k$r0\F0$7(B +`[preifx] >' $B$r2!$7$F$b%+!<%=%k$,(B `\begin{}' $B$N>e$K$"$k$H(B`\begin{}'$B!A(B +`\end{}'$B%b!<%I$G%3%a%s%H5!G=$,F/$$$F$7$^$&$N$GCm0U$7$F2<$5$$!#(B  File: yatexj, Node: Cursor jump, Next: Modifying/Deleting, Prev: Commenting out, Up: Top -カーソルジャンプ +$B%+!<%=%k%8%c%s%W(B **************** * Menu: -* 対応オブジェクトへのジャンプ:: -* お絵描きツール起動:: -* メインファイルへのジャンプ:: -* 環境を単位としたジャンプ:: -* 最後の補完位置へのジャンプ:: - +* $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B:: +* $B$*3(IA$-%D!<%k5/F0(B:: +* $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B:: +* $B4D6-$rC10L$H$7$?%8%c%s%W(B:: +* $B:G8e$NJd400LCV$X$N%8%c%s%W(B::  -File: yatexj, Node: 対応オブジェクトへのジャンプ, Next: お絵描きツール起動, Prev: Cursor jump, Up: Cursor jump - -対応オブジェクトへのジャンプ +File: yatexj, Node: $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B, Next: $B$*3(IA$-%D!<%k5/F0(B, Prev: Cursor jump, Up: Cursor jump + +$BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B ============================ - 文書中のいろいろな場所で + $BJ8=qCf$N$$$m$$$m$J>l=j$G(B `[prefix] g' - ... 対応するオブジェクトにジャンプ - -を押すことにより、カーソル位置のLaTeXコマンドに対応する場所にジャンプし -ます。対応関係が存在すると解釈されるコマンドには以下のものがあります。 - - * `\begin{}' ←→ `\end{}' - * `%#BEGIN' ←→ `%#END' - * 画像ファイルの取り込みマクロ → 対応するviewer/お絵かきツール起動 - * `\label{}' ←→ `\ref{}' - * `\include(\input)' → 対応するファイル - * `\bibitem{}' ←→ `\cite{}' - - `\begin{}' か `\end{}' の行で`[prefix] g'を押すことに -より、対応する`end/begin'の行にジャンプします。もちろん対応するものが -ない場合はエラーになります。またこれは、領域固定のための `%#BEGIN' と -`%#END' のペアに対しても同様に動作します。なお、`label/ref'や -`cite/bibitem'対応するものが別ファイルにある時は、ジャンプ先となるファ -イルがオープンされていなければなりません。*Note %#notation::. -メインの .tex ファイルの `\include{chap1}' などにカーソルを合わせ、 -`[prefix] g' を押すと、`chap1.tex' にジャンプします。 - -また、 + ... $BBP1~$9$k%*%V%8%'%/%H$K%8%c%s%W(B + +$B$r2!$9$3$H$K$h$j!"%+!<%=%k0LCV$N(BLaTeX$B%3%^%s%I$KBP1~$9$k>l=j$K%8%c%s%W$7$^(B +$B$9!#BP1~4X78$,B8:_$9$k$H2rl9g$O%(%i!<$K(B +$B$J$j$^$9!#$^$?$3$l$O!"NN0h8GDj$N$?$a$N(B `%#BEGIN' $B$H(B `%#END' $B$N%Z%"$KBP$7$F(B +$B$bF1MM$KF0:n$7$^$9!#$J$*!"(B`label/ref'$B$d(B`cite/bibitem'$BBP1~$9$k$b$N$,JL%U%!(B +$B%$%k$K$"$k;~$O!"%8%c%s%W@h$H$J$k%U%!%$%k$,%*!<%W%s$5$l$F$$$J$1$l$P$J$j$^$;(B +$B$s!#(B*Note %#notation::. $B%a%$%s$N(B .tex $B%U%!%$%k$N(B `\include{chap1}' $B$J$I$K(B +$B%+!<%=%k$r9g$o$;!"(B`[prefix] g' $B$r2!$9$H!"(B`chap1.tex' $B$K%8%c%s%W$7$^$9!#(B + +$B$^$?!"(B `[prefix] 4 g' - ... 別ウィンドウで対応オブジェクトにジャンプ - -を押すと、対応するオブジェクトへのジャンプを別ウィンドウで行います。た -だし、この機能は `begin/end', `%#BEGIN/%#END' 間のジャンプに対しては(意 -味がないと思われるので)機能しないので注意してください。 - + ... $BJL%&%#%s%I%&$GBP1~%*%V%8%'%/%H$K%8%c%s%W(B + +$B$r2!$9$H!"BP1~$9$k%*%V%8%'%/%H$X$N%8%c%s%W$rJL%&%#%s%I%&$G9T$$$^$9!#$?$@$7!"(B +$B$3$N5!G=$O(B `begin/end', `%#BEGIN/%#END' $B4V$N%8%c%s%W$KBP$7$F$O(B($B0UL#$,$J$$(B +$B$H;W$o$l$k$N$G(B)$B5!G=$7$J$$$N$GCm0U$7$F$/$@$5$$!#(B  -File: yatexj, Node: お絵描きツール起動, Next: メインファイルへのジャンプ, Prev: 対応オブジェクトへのジャンプ, Up: Cursor jump - -お絵描きツール起動 +File: yatexj, Node: $B$*3(IA$-%D!<%k5/F0(B, Next: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B, Prev: $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B, Up: Cursor jump + +$B$*3(IA$-%D!<%k5/F0(B ================== -上記の「画像ファイルの取り込みマクロ」とは、例えば -`\epsfile{file=foo}' のような挿絵取り込みコマンドのことで、この行にカー -ソルを合わせて`[prefix] g'を押すとその画像ファイルの元となったファイル -を対応するお絵描きツールを起動してオープンします。起動するツールの判定 -は以下のようになされます。 - - 1. カレント行が変数 `YaTeX-processed-file-regexp-alist' に定義されて - いる正規表現のいずれかとマッチしたら、ファイル名に相当する部分を - (\\)から抜き出して覚えておく(何番目の\\(\\)かは変数の各リストの - cdr 部に入れておく)。マッチしなければ何もしない。 - 2. 行末に、変数 `YaTeX-file-processor-alist' に登録されているコマンド - が「%コマンド」 のように書いてあれば強制的に「コマンド ファイル - 名.拡張子」を起動。 - 3. なければ、変数 `YaTeX-file-processor-alist' の各リストのcdr部に入っ - ている拡張子を「ファイル名」の後ろに足したファイルが存在するか順次 - 調べて、存在した場合car部に入っているコマンドを起動する。 - 4. 以上どれかにマッチしなければあきらめる。 - - -変数 `YaTeX-file-processor-alist' と変数 `YaTeX-file-processor-alist' -の設定方法についてはそれぞれの変数について describe-variable して説明を -読んで下さい。うまく設定すると、画像ファイルにかぎらず、任意の形式のファ -イルを任意のプロセッサで処理するコマンドを簡単に呼び出すことができます。 - +$B>e5-$N!V2hA|%U%!%$%k$N$KAjEv$9$kItJ,$r(B \\(\\)$B$+(B + $B$iH4$-=P$7$F3P$($F$*$/(B($B2?HVL\$N(B\\(\\)$B$+$OJQ?t$N3F%j%9%H$N(B cdr $BIt$KF~(B + $B$l$F$*$/(B)$B!#%^%C%A$7$J$1$l$P2?$b$7$J$$!#(B + 2. $B9TKv$K!"JQ?t(B `YaTeX-file-processor-alist' $B$KEPO?$5$l$F$$$k%3%^%s%I$,(B + $B!V(B%$B%3%^%s%I!W(B $B$N$h$&$K=q$$$F$"$l$P6/@)E*$K!V%3%^%s%I(B $B%U%!%$%kL>(B.$B3HD%(B + $B;R!W$r5/F0!#(B + 3. $B$J$1$l$P!"JQ?t(B `YaTeX-file-processor-alist' $B$N3F%j%9%H$N(Bcdr$BIt$KF~$C$F(B + $B$$$k3HD%;R$r!V%U%!%$%kL>!W$N8e$m$KB-$7$?%U%!%$%k$,B8:_$9$k$+=gl9g(Bcar$BIt$KF~$C$F$$$k%3%^%s%I$r5/F0$9$k!#(B + 4. $B0J>e$I$l$+$K%^%C%A$7$J$1$l$P$"$-$i$a$k!#(B + + +$BJQ?t(B `YaTeX-file-processor-alist' $B$HJQ?t(B `YaTeX-file-processor-alist' $B$N@_(B +$BDjJ}K!$K$D$$$F$O$=$l$>$l$NJQ?t$K$D$$$F(B describe-variable $B$7$F@bL@$rFI$s$G(B +$B2<$5$$!#$&$^$/@_Dj$9$k$H!"2hA|%U%!%$%k$K$+$.$i$:!"G$0U$N7A<0$N%U%!%$%k$rG$(B +$B0U$N%W%m%;%C%5$G=hM}$9$k%3%^%s%I$r4JC1$K8F$S=P$9$3$H$,$G$-$^$9!#(B  -File: yatexj, Node: メインファイルへのジャンプ, Next: 環境を単位としたジャンプ, Prev: お絵描きツール起動, Up: Cursor jump - -メインファイルへのジャンプ +File: yatexj, Node: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B, Next: $B4D6-$rC10L$H$7$?%8%c%s%W(B, Prev: $B$*3(IA$-%D!<%k5/F0(B, Up: Cursor jump + +$B%a%$%s%U%!%$%k$X$N%8%c%s%W(B ========================== -`chap1.tex'のようなサブファイルで、 +`chap1.tex'$B$N$h$&$J%5%V%U%!%$%k$G!"(B `[prefix] ^' - ... メインファイルにジャンプ + ... $B%a%$%s%U%!%$%k$K%8%c%s%W(B `[prefix] 4 ^' - ... 別ウィンドウでメインファイルにジャンプ - -を押すと、メインファイルの編集バッファに切替えます。もし、メインファイ -ルをオープンしていない場合は、カレントディレクトリから探して自動的にオー -プンします。 - + ... $BJL%&%#%s%I%&$G%a%$%s%U%!%$%k$K%8%c%s%W(B + +$B$r2!$9$H!"%a%$%s%U%!%$%k$NJT=8%P%C%U%!$K@ZBX$($^$9!#$b$7!"%a%$%s%U%!%$%k$r(B +$B%*!<%W%s$7$F$$$J$$>l9g$O!"%+%l%s%H%G%#%l%/%H%j$+$iC5$7$F<+F0E*$K%*!<%W%s$7(B +$B$^$9!#(B  -File: yatexj, Node: 環境を単位としたジャンプ, Next: 最後の補完位置へのジャンプ, Prev: メインファイルへのジャンプ, Up: Cursor jump - -環境を単位としたジャンプ +File: yatexj, Node: $B4D6-$rC10L$H$7$?%8%c%s%W(B, Next: $B:G8e$NJd400LCV$X$N%8%c%s%W(B, Prev: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B, Up: Cursor jump + +$B4D6-$rC10L$H$7$?%8%c%s%W(B ======================== -さらに現在の環境を単位として機能するコマンドに以下のものがあります。 +$B$5$i$K8=:_$N4D6-$rC10L$H$7$F5!G=$9$k%3%^%s%I$K0J2<$N$b$N$,$"$j$^$9!#(B `M-C-a' - ... 環境の先頭(`\begin')へジャンプ + ... $B4D6-$N@hF,(B(`\begin')$B$X%8%c%s%W(B `M-C-e' - ... 環境の末尾(`\end')へジャンプ + ... $B4D6-$NKvHx(B(`\end')$B$X%8%c%s%W(B `M-C-@' - ... 環境全体をマーク - -上記のコマンドは通常の`[prefix]'キーではなく`META'キーをプリフィクスと -して機能するのでご注意下さい。 - + ... $B4D6-A4BN$r%^!<%/(B + +$B>e5-$N%3%^%s%I$ODL>o$N(B`[prefix]'$B%-!<$G$O$J$/(B`META'$B%-!<$r%W%j%U%#%/%9$H$7$F(B +$B5!G=$9$k$N$G$4Cm0U2<$5$$!#(B  -File: yatexj, Node: 最後の補完位置へのジャンプ, Prev: 環境を単位としたジャンプ, Up: Cursor jump - -最後の補完位置へのジャンプ +File: yatexj, Node: $B:G8e$NJd400LCV$X$N%8%c%s%W(B, Prev: $B4D6-$rC10L$H$7$?%8%c%s%W(B, Up: Cursor jump + +$B:G8e$NJd400LCV$X$N%8%c%s%W(B ========================== -野鳥は補完入力した位置を常にレジスタ `3'に保存しています。入力途中で如 -何なるファイルの如何なる位置に行ったとしても、`C-x j -3'(`jump-to-register')を使って直ちに最後の補完入力位置に戻ることができ -ます。 - +$BLnD;$OJd40F~NO$7$?0LCV$r>o$K%l%8%9%?(B `3'$B$KJ]B8$7$F$$$^$9!#F~NOESCf$GG!2?$J(B +$B$k%U%!%$%k$NG!2?$J$k0LCV$K9T$C$?$H$7$F$b!"(B`C-x j 3'(`jump-to-register')$B$r(B +$B;H$C$FD>$A$K:G8e$NJd40F~NO0LCV$KLa$k$3$H$,$G$-$^$9!#(B  File: yatexj, Node: Modifying/Deleting, Next: Filling, Prev: Cursor jump, Up: Top -変更/削除 +$BJQ99(B/$B:o=|(B ********* - 既に入力されている LaTeX コマンドの変更/削除のために以下の機能が用意 -されています。 + $B4{$KF~NO$5$l$F$$$k(B LaTeX $B%3%^%s%I$NJQ99(B/$B:o=|$N$?$a$K0J2<$N5!G=$,MQ0U$5$l(B +$B$F$$$^$9!#(B `[prefix] c' - ... カーソル位置の LaTeX コマンドの変更 + ... $B%+!<%=%k0LCV$N(B LaTeX $B%3%^%s%I$NJQ99(B `[prefix] k' - ... カーソル位置の LaTeX コマンドの削除 - -これらのコマンドは、コマンドを起動する場所によって動作を決定するので注 -意して下さい。 + ... $B%+!<%=%k0LCV$N(B LaTeX $B%3%^%s%I$N:o=|(B + +$B$3$l$i$N%3%^%s%I$O!"%3%^%s%I$r5/F0$9$k>l=j$K$h$C$FF0:n$r7hDj$9$k$N$GCm0U$7(B +$B$F2<$5$$!#(B * Menu: -* Changing LaTeX command:: LaTeX コマンドの変更 -* Killing LaTeX command:: LaTeX コマンドの削除 - +* Changing LaTeX command:: LaTeX $B%3%^%s%I$NJQ99(B +* Killing LaTeX command:: LaTeX $B%3%^%s%I$N:o=|(B  File: yatexj, Node: Changing LaTeX command, Next: Killing LaTeX command, Prev: Modifying/Deleting, Up: Modifying/Deleting -LaTeX コマンドの変更 +LaTeX $B%3%^%s%I$NJQ99(B ==================== -変更したい LaTeX コマンドにカーソルを合わせて `[prefix] c' -を押すとそのコマンドを補完入力などを用いて手軽に変えることができます。 -`[prefix] c' で変更できるコマンドには以下のものがあります。 - - * `begin/end' の環境名 - * section型コマンドのコマンド名 - * section型コマンドの引数 - * section型コマンドのオプションパラメータ([]で囲まれたもの) - * large型コマンド - * (イメージ補完で入力可能な)数式モード専用のmaketitle型コマンド - - 変えたいsection型コマンドの引数がさらに LaTeX コマンドを含む場合は、 -その引数を囲む中括弧の上で `[prefix] c' を押すことで中のコマンドを変更 -対象判定から除外することができます。 - +$BJQ99$7$?$$(B LaTeX $B%3%^%s%I$K%+!<%=%k$r9g$o$;$F(B `[prefix] c' $B$r2!$9$H$=$N%3(B +$B%^%s%I$rJd40F~NO$J$I$rMQ$$$F(B + * section$B7?%3%^%s%I$N%3%^%s%IL>(B + * section$B7?%3%^%s%I$N0z?t(B + * section$B7?%3%^%s%I$N%*%W%7%g%s%Q%i%a!<%?(B([]$B$G0O$^$l$?$b$N(B) + * large$B7?%3%^%s%I(B + * ($B%$%a!<%8Jd40$GF~NO2DG=$J(B)$B?t<0%b!<%I@lMQ$N(Bmaketitle$B7?%3%^%s%I(B + + $BJQ$($?$$(Bsection$B7?%3%^%s%I$N0z?t$,$5$i$K(B LaTeX $B%3%^%s%I$r4^$`>l9g$O!"$=$N(B +$B0z?t$r0O$`Cf3g8L$N>e$G(B `[prefix] c' $B$r2!$9$3$H$GCf$N%3%^%s%I$rJQ99BP>]H=Dj(B +$B$+$i=|30$9$k$3$H$,$G$-$^$9!#(B  File: yatexj, Node: Killing LaTeX command, Prev: Changing LaTeX command, Up: Modifying/Deleting -LaTeX コマンドの削除 +LaTeX $B%3%^%s%I$N:o=|(B ==================== -`[prefix] k' は起動する位置により次のような動作を行います。 - - - 起動位置 動作 - \begin, \endの行 `\begin\end'ペアの削除 - %#BEGIN, %#END の行 %#BEGIN,%#ENDペアの削除 - section型コマンドの上(中) section型コマンドの削除 - フォント指定括弧の上 フォント指定の削除 - 括弧の上 対をなす括弧の削除 - -`\begin, \end' および `%#BEGIN, %#END' を削除する場合、`\begin, \end' -や `%#BEGIN, %#END' の存在する行はまるごと削除されるので、それらの一行 -に `\begin' などを二つ以上連ねて書かないように注意してください。上記の -ものはすべて本文を囲う「容器」を削除するように働きますが、 -universal-argument (`C-u') を打った後で`[prefix] k'をタイプすると、それ -ぞれの「容器」に含まれる「中身」も一気に削除します。以下の例を参考にし -て下さい。 - - 元のテキスト: [prefix] k C-u [prefix] k - 本文\footnote{脚注}です。 本文脚注です。 本文です。 - ↑(カーソル位置) - +`[prefix] k' $B$O5/F0$9$k0LCV$K$h$je(B($BCf(B) section$B7?%3%^%s%I$N:o=|(B + $B%U%)%s%H;XDj3g8L$N>e(B $B%U%)%s%H;XDj$N:o=|(B + $B3g8L$N>e(B $BBP$r$J$93g8L$N:o=|(B + +`\begin, \end' $B$*$h$S(B `%#BEGIN, %#END' $B$r:o=|$9$k>l9g!"(B`\begin, \end' $B$d(B +`%#BEGIN, %#END' $B$NB8:_$9$k9T$O$^$k$4$H:o=|$5$l$k$N$G!"$=$l$i$N0l9T$K(B +`\begin' $B$J$I$rFs$D0J>eO"$M$F=q$+$J$$$h$&$KCm0U$7$F$/$@$5$$!#>e5-$N$b$N$O(B +$B$9$Y$FK\J8$r0O$&!VMF4o!W$r:o=|$9$k$h$&$KF/$-$^$9$,!"(Buniversal-argument +(`C-u') $B$rBG$C$?8e$G(B`[prefix] k'$B$r%?%$%W$9$k$H!"$=$l$>$l$N!VMF4o!W$K4^$^$l(B +$B$k!VCf?H!W$b0l5$$K:o=|$7$^$9!#0J2<$NNc$r;29M$K$7$F2<$5$$!#(B + + $B85$N%F%-%9%H(B: [prefix] k C-u [prefix] k + $BK\J8(B\footnote{$B5SCm(B}$B$G$9!#(B $BK\J85SCm$G$9!#(B $BK\J8$G$9!#(B + $B",(B($B%+!<%=%k0LCV(B)  File: yatexj, Node: Filling, Next: Includeonly, Prev: Modifying/Deleting, Up: Top -桁揃え +$B7eB7$((B ****** -itemの桁揃え +item$B$N7eB7$((B ============ - itemize 環境中にある`\item'の項目(文章)が複数行に渡る場合に、項目の先 -頭を桁揃えしたい場合には、 + itemize $B4D6-Cf$K$"$k(B`\item'$B$N9`L\(B($BJ8>O(B)$B$,J#?t9T$KEO$k>l9g$K!"9`L\$N@hF,(B +$B$r7eB7$($7$?$$>l9g$K$O!"(B `M-q' - ... 桁揃え - -によって、その item のインデントの深さに応じて fill されます。なお、古 -いNTT jTeX を使用している場合には、Lisp 変数`NTT-jTeX'を`t'にセットして -下さい。 - - このとき、変数`YaTeX-item-regexp'の値(標準では `"\\\\item"')を -項目指定コマンドの正規表現として検索に使用します。itemize 環境で、独自のコ -マンドを定義して項目を列挙している場合(例えば`\underlineitem')は、 -`~/.emacs' で次のように指定して下さい。 + ... $B7eB7$((B + +$B$K$h$C$F!"$=$N(B item $B$N%$%s%G%s%H$N?<$5$K1~$8$F(B fill $B$5$l$^$9!#$J$*!"8E$$(B +NTT jTeX $B$r;HMQ$7$F$$$k>l9g$K$O!"(BLisp $BJQ?t(B`NTT-jTeX'$B$r(B`t'$B$K%;%C%H$7$F2<$5(B +$B$$!#(B + + $B$3$N$H$-!"JQ?t(B`YaTeX-item-regexp'$B$NCM(B($BI8=`$G$O(B `"\\\\item"')$B$r9`L\;XDj%3(B +$B%^%s%I$N@55,I=8=$H$7$F8!:w$K;HMQ$7$^$9!#(Bitemize $B4D6-$G!"FH<+$N%3%^%s%I$rDj(B +$B5A$7$F9`L\$rNs5s$7$F$$$k>l9g(B($BNc$($P(B`\underlineitem')$B$O!"(B`~/.emacs' $B$G\item[ほげほげ] 英語では、特に意味のない単語を `foo' であらわしま - > すが、これの日本語版ともいえる単語が「ほげほげ」 - > です。 - description環境: - > \item[へろへろ] 「ほげほげ」をでたらめが単語として使った時に、第 - > 2のでたらめな単語として「へろへろ」が使われることが多 - > いようです。 - - -パラグラフの桁揃え +$B$3$NJQ?t$N;XDj$N;EJ}$,$h$/J,$+$i$J$$>l9g$O!"FH<+$N9`L\Ns5s%3%^%s%I$NL>A0$r(B +``"\item"'$B$G;O$^$k$b$N$K$7$F2<$5$$(B($BNc$($P(B"\itembf"')$B!#(B + +$BLnD;$N(B `M-q' $B$G$O(B `\item' $B$r4D6-$K1~$8$F0J2<$N$h$&$K!V%O%s%0%$%s%G%s%H!W$7(B +$B$^$9!#(B + + itemize, enumerate$B4D6-(B: + >\item[$B$[$2$[$2(B] $B1Q8l$G$O!"FC$K0UL#$N$J$$C18l$r(B `foo' $B$G$"$i$o$7$^(B + > $B$9$,!"$3$l$NF|K\8lHG$H$b$$$($kC18l$,!V$[$2$[$2!W(B + > $B$G$9!#(B + description$B4D6-(B: + > \item[$B$X$m$X$m(B] $B!V$[$2$[$2!W$r$G$?$i$a$,C18l$H$7$F;H$C$?;~$K!"Bh(B + > 2$B$N$G$?$i$a$JC18l$H$7$F!V$X$m$X$m!W$,;H$o$l$k$3$H$,B?(B + > $B$$$h$&$G$9!#(B + + +$B%Q%i%0%i%U$N7eB7$((B ================== - itemize環境以外でのパラグラフの桁揃え(fill)は、基本的に他のモードと同 -じように機能しますが、verbatim環境や、tabular環境など桁揃えをすると悲惨 -な状況になるような環境中では機能しません。また、\verb で括ってあるもの -は決して行分割されません(変数 `YaTeX-verb-regexp' で制御) )。さらに、一 -時的にインデントの深さを変えてある箇所では、そのインデントの先頭で -`M-q'を押すことにより fill-prefix をいちいち変更しなくて桁揃えができま -す。 - + itemize$B4D6-0J30$G$N%Q%i%0%i%U$N7eB7$((B(fill)$B$O!"4pK\E*$KB>$N%b!<%I$HF1$8(B +$B$h$&$K5!G=$7$^$9$,!"(Bverbatim$B4D6-$d!"(Btabular$B4D6-$J$I7eB7$($r$9$k$HHa;4$J>u(B +$B67$K$J$k$h$&$J4D6-Cf$G$O5!G=$7$^$;$s!#$^$?!"(B\verb $B$G3g$C$F$"$k$b$N$O7h$7$F(B +$B9TJ,3d$5$l$^$;$s(B($BJQ?t(B `YaTeX-verb-regexp' $B$G@)8f(B) )$B!#$5$i$K!"0l;~E*$K%$%s(B +$B%G%s%H$N?<$5$rJQ$($F$"$k2U=j$G$O!"$=$N%$%s%G%s%H$N@hF,$G(B`M-q'$B$r2!$9$3$H$K(B +$B$h$j(B fill-prefix $B$r$$$A$$$AJQ99$7$J$/$F7eB7$($,$G$-$^$9!#(B  File: yatexj, Node: Includeonly, Next: What column, Prev: Filling, Up: Top -勝手にincludeonly +$B>!O$rF~NO$7$F$$$k;~$K$O!"%a%$%s%U%!%$%kCf$K(B + + \includeonly{$B8=:_JT=8Cf$N%U%!%$%kL>(B} + +$B$N$h$&$K=q$$$F$*$/$3$H$G!"%?%$%W%;%C%H$N;~4V$r@aLs$G$-$^$9$,!"$A$g$C$HB>$N(B +$B%U%!%$%k$r$7$7$?$$;~$K$O(B + + \includeonly{$B$A$g$C$H$7$7$?$$%U%!%$%kL>(B} + +$B$H=q$-D>$5$J$1$l$P$J$i$:$,%a%$%s%U%!%$%k$N(B`\includeonly'$B$K$J$$>l9g$K$O<+F0E*$K$3$l$r8!=P$7!"$l2!$7$F2<$5$$!#(B  File: yatexj, Node: What column, Next: Intelligent newline, Prev: Includeonly, Up: Top -ここはどこ? +$B$3$3$O$I$3(B? *********** - 項目数の多い tabular などをたくさん書いていると下の方の行で、いま書い -ている桁がどこに対応するのかわからなくなってしまうことがあります。例え -ば、以下のような tabular において、 + $B9`L\?t$NB?$$(B tabular $B$J$I$r$?$/$5$s=q$$$F$$$k$H2<$NJ}$N9T$G!"$$$^=q$$$F(B +$B$$$k7e$,$I$3$KBP1~$9$k$N$+$o$+$i$J$/$J$C$F$7$^$&$3$H$,$"$j$^$9!#Nc$($P!"0J(B +$B2<$N$h$&$J(B tabular $B$K$*$$$F!"(B \begin{tabular}{|c|c|c|c|c|c|c|c|}\hline - 氏名&所属&〒&住所&電話&FAX&帰省先&帰省先電話\\ \hline - 矢上二郎 & 6 & 223 & 横浜市港北区日吉 & xxx-yyy & - zzz-www & トンガ & 9876-54321 \\ - 日吉小僧 & 2 & \multicolumn{2}{c|}{教えない} + $B;aL>(B&$B=jB0(B&$B")(B&$B=;=j(B&$BEEOC(B&FAX&$B5">J@h(B&$B5">J@hEEOC(B\\ \hline + $BLp>eFsO:(B & 6 & 223 & $B2#IM;T9AKL6hF|5H(B & xxx-yyy & + zzz-www & $B%H%s%,(B & 9876-54321 \\ + $BF|5H>.AN(B & 2 & \multicolumn{2}{c|}{$B65$($J$$(B} &&&(???) \\ \hline \end{tabular} -(???)の部分がどの項目なのかすぐに判断するのは難しいでしょう。こんな時は、 +(???)$B$NItJ,$,$I$N9`L\$J$N$+$9$0$KH=CG$9$k$N$OFq$7$$$G$7$g$&!#$3$s$J;~$O!"(B `[prefix] &' - ... 現在のカラム表示 - -を押すとカーソル位置のカラムがどの項目に該当するかをミニバッファに表示 -します。tabular/array環境の第1行目を項目名の並びとみなして対応するもの -を探します。もし項目名として別のものを表示して欲しい場合は、行頭を`%'に -してダミーの項目並びを作っておくと良いでしょう。 - + ... $B8=:_$N%+%i%`I=<((B + +$B$r2!$9$H%+!<%=%k0LCV$N%+%i%`$,$I$N9`L\$K3:Ev$9$k$+$r%_%K%P%C%U%!$KI=<($7$^(B +$B$9!#(Btabular/array$B4D6-$NBh(B1$B9TL\$r9`L\L>$NJB$S$H$_$J$7$FBP1~$9$k$b$N$rC5$7$^(B +$B$9!#$b$79`L\L>$H$7$FJL$N$b$N$rI=<($7$FM_$7$$>l9g$O!"9TF,$r(B`%'$B$K$7$F%@%_!<(B +$B$N9`L\JB$S$r:n$C$F$*$/$HNI$$$G$7$g$&!#(B  File: yatexj, Node: Intelligent newline, Next: Usepackage cheker, Prev: What column, Up: Top -おまかせ改行 +$B$*$^$+$;2~9T(B ************ - tabular[*], array, itemize, enumerate, tabbing 環境をbegin型補完で入 -力した時、または各環境内で + tabular[*], array, itemize, enumerate, tabbing $B4D6-$r(Bbegin$B7?Jd40$GF~NO$7(B +$B$?;~!"$^$?$O3F4D6-Fb$G(B `ESC RET' - ... おまかせ改行 - -を押すと、その環境に応じた行エントリを次の行に挿入します(begin型補完時 -に自動挿入されたエントリが不要な場合は undo によって消去できます)。例え -ば、tabular環境では、その環境のカラム数に対応した個数の `&' に加え、行 -末の `\\' を入れます。この時それ以前に `\hline' があればそれも付け加え -ます。環境とそれに応じて自動入力するものの対応は以下のようになります。 + ... $B$*$^$+$;2~9T(B + +$B$r2!$9$H!"$=$N4D6-$K1~$8$?9T%(%s%H%j$rl9g$O(B undo $B$K$h$C$F>C5n$G$-$^$9(B)$B!#Nc$($P!"(B +tabular$B4D6-$G$O!"$=$N4D6-$N%+%i%`?t$KBP1~$7$?8D?t$N(B `&' $B$K2C$(!"9TKv$N(B +`\\' $B$rF~$l$^$9!#$3$N;~$=$l0JA0$K(B `\hline' $B$,$"$l$P$=$l$bIU$12C$($^$9!#4D(B +$B6-$H$=$l$K1~$8$F<+F0F~NO$9$k$b$N$NBP1~$O0J2<$N$h$&$K$J$j$^$9!#(B * `tabular', `tabular*', `array' - カラム数-1 だけの `&' と `\\'。必要に応じて `\hline' + $B%+%i%`?t(B-1 $B$@$1$N(B `&' $B$H(B `\\'$B!#I,MW$K1~$8$F(B `\hline' * `tabbing' - 一行目で定義している `\=' と同じ個数の `\>'。 + $B0l9TL\$GDj5A$7$F$$$k(B `\=' $B$HF1$88D?t$N(B `\>'$B!#(B * `itemize', `enumerate', `description', `list' - `\item' または `item[]' - - tabular 環境の例のように、本機能は各環境の一行目の内容を参考にして動 -作するので、なるべく二行目以降で呼び出すようにしてください。 - - もし、その他の環境、例えば `foo'、に対して`おまかせ改行'を動作 -させたい時は、`YaTeX-intelligent-newline-foo' という名前の関数を定義 -します。定義した関数は、現在の行に改行を挿入した直後の行頭の位置で呼ばれま -す。関数 `YaTeX-indent-line' を呼ぶと現在の環境のネストに応じた深さに -インデントされるので、これを呼んでから何かを挿入するようなコードを書くとよ -いでしょう。`yatexenv.el'内の関数 -`YaTeX-intelligent-newline-itemize' の定義などを参考にしてください。 - + `\item' $B$^$?$O(B `item[]' + + tabular $B4D6-$NNc$N$h$&$K!"K\5!G=$O3F4D6-$N0l9TL\$NFbMF$r;29M$K$7$FF0:n$9(B +$B$k$N$G!"$J$k$Y$/Fs9TL\0J9_$G8F$S=P$9$h$&$K$7$F$/$@$5$$!#(B + + $B$b$7!"$=$NB>$N4D6-!"Nc$($P(B `foo'$B!"$KBP$7$F(B`$B$*$^$+$;2~9T(B'$B$rF0:n$5$;$?$$;~(B +$B$O!"(B`YaTeX-intelligent-newline-foo' $B$H$$$&L>A0$N4X?t$rDj5A$7$^$9!#Dj5A$7$?(B +$B4X?t$O!"8=:_$N9T$K2~9T$rA^F~$7$?D>8e$N9TF,$N0LCV$G8F$P$l$^$9!#4X?t(B +`YaTeX-indent-line' $B$r8F$V$H8=:_$N4D6-$N%M%9%H$K1~$8$??<$5$K%$%s%G%s%H$5$l(B +$B$k$N$G!"$3$l$r8F$s$G$+$i2?$+$rA^F~$9$k$h$&$J%3!<%I$r=q$/$H$h$$$G$7$g$&!#(B +`yatexenv.el'$BFb$N4X?t(B `YaTeX-intelligent-newline-itemize' $B$NDj5A$J$I$r;29M(B +$B$K$7$F$/$@$5$$!#(B  File: yatexj, Node: Usepackage cheker, Next: Changing mode of YaTeX, Prev: Intelligent newline, Up: Top -先回りusepackage +$B@h2s$j(Busepackage **************** - begin型、section型、maketitle型、いずれかのLaTeX2eマクロを補完入力す -ると、そのマクロの利用に外部パッケージを必要とする場合、そのパッケージ -を本文中で `\usepackage{}' しているかどうかを調査し、もししていなければ -プリアンブルに対応するパッケージを引数にした `\usepackage' 文を(確認後 -に)挿入します。 - - ただしこの機能が働くためには、パッケージ名とその中で定義されているマ -クロ群をalistの形式で変数 `YaTeX-package-alist-private' に設定しておく -必要があります。 - + begin$B7?!"(Bsection$B7?!"(Bmaketitle$B7?!"$$$:$l$+$N(BLaTeX2e$B%^%/%m$rJd40F~NO$9$k$H!"(B +$B$=$N%^%/%m$NMxMQ$K30It%Q%C%1!<%8$rI,MW$H$9$k>l9g!"$=$N%Q%C%1!<%8$rK\J8Cf$G(B +`\usepackage{}' $B$7$F$$$k$+$I$&$+$rD4::$7!"$b$7$7$F$$$J$1$l$P%W%j%"%s%V%k$K(B +$BBP1~$9$k%Q%C%1!<%8$r0z?t$K$7$?(B `\usepackage' $BJ8$r(B($B3NG'8e$K(B)$BA^F~$7$^$9!#(B + + $B$?$@$7$3$N5!G=$,F/$/$?$a$K$O!"%Q%C%1!<%8L>$H$=$NCf$GDj5A$5$l$F$$$k%^%/%m(B +$B72$r(Balist$B$N7A<0$GJQ?t(B `YaTeX-package-alist-private' $B$K@_Dj$7$F$*$/I,MW$,$"(B +$B$j$^$9!#(B  File: yatexj, Node: Changing mode of YaTeX, Next: Online help, Prev: Usepackage cheker, Up: Top -野鳥の動作モード切り替え +$BLnD;$NF0:n%b!<%I@Z$jBX$((B ************************ `[prefix] w' - ... 野鳥動作モード切り替えメニュー - -で野鳥自身の動作を決定する以下のモードを切り替えます。 - - * 修正モード - * 野鳥数式モード - -修正モードは、開き括弧入力時の処理をコントロールし、修正モードONの時は -開き括弧の入力は開き括弧のみの入力になり、修正モードOFFの時は開き括弧の -入力だけで閉じ括弧まで入力します。デフォルト(起動時)の設定は*OFF*です。 - - 野鳥数式モードは、変数 `YaTeX-auto-math-mode' が `nil' の時の -み有効で、このとき`;'や`:'を押した時(*Note Image completion::参照)に、 -どのようなイメージ補完を機能させるか、通常のキーとして機能させるかを手動で -切り替えます。自動判定が遅いマシンでは`YaTeX-auto-math-mode' -`nil'にセットし、野鳥数式モードを手動で切り替えると良いでしょう。 - + ... $BLnD;F0:n%b!<%I@Z$jBX$(%a%K%e!<(B + +$B$GLnD;<+?H$NF0:n$r7hDj$9$k0J2<$N%b!<%I$r@Z$jBX$($^$9!#(B + + * $B=$@5%b!<%I(B + * $BLnD;?t<0%b!<%I(B + +$B=$@5%b!<%I$O!"3+$-3g8LF~NO;~$N=hM}$r%3%s%H%m!<%k$7!"=$@5%b!<%I(BON$B$N;~$O3+$-(B +$B3g8L$NF~NO$O3+$-3g8L$N$_$NF~NO$K$J$j!"=$@5%b!<%I(BOFF$B$N;~$O3+$-3g8L$NF~NO$@(B +$B$1$GJD$83g8L$^$GF~NO$7$^$9!#%G%U%)%k%H(B($B5/F0;~(B)$B$N@_Dj$O(B*OFF*$B$G$9!#(B + + $BLnD;?t<0%b!<%I$O!"JQ?t(B `YaTeX-auto-math-mode' $B$,(B `nil' $B$N;~$N$_M-8z$G!"(B +$B$3$N$H$-(B`;'$B$d(B`:'$B$r2!$7$?;~(B(*Note Image completion::$B;2>H(B)$B$K!"$I$N$h$&$J%$%a!<(B +$B%8Jd40$r5!G=$5$;$k$+!"DL>o$N%-!<$H$7$F5!G=$5$;$k$+$rH$5$l$k%X%k%W(B +$BMQ%U%!%$%k$K$O!V%0%m!<%P%k%X%k%W!W$H!V%W%i%$%Y!<%H%X%k%W!W$NFso8x6&$N>l=j(B($B%G%U%)%k(B +$B%H$G(B`$EMACSEXECPATH')$B$KCV$+$l!"C/$b$,$=$NFbMF$r99?7$G$-$k$h$&$KA40w$K=q$-(B +$B9~$_8"$,M?$($i$l$k$Y$-$b$N$G$9!#8el9g$O!"@bL@J8$NF~NO$r5a$a$F$/$k$N$G!"2DG=$G$"$l$P;29M=q$J$I$rD4(B +$B$Y$F$=$N%3%^%s%I$N@bL@$rF~NO$7$F$/$@$5$$!#$b$7!"$J$K$+I8=`E*$J%3%^%s%I$KBP(B +$B$9$k@bL@$r=q$$$?$J$i$P$<$R;d$^$G$=$N@bL@$r$*Aw$j2<$5$$!#l9g!"(B `[prefix] d' - ... インクルード構造ブラウズ - -を押すと、そのドキュメントの親ファイルを聞いて来ます。ここで全てのファ -イルの親となるファイル(デフォルトが示されているので大抵はRETのみ)を入力 -するとインクルードしている全てのファイルを解析し、インクルード状況を視 -覚的に表示します。このバッファでは以下のキー操作が有効です。 + ... $B%$%s%/%k!<%I9=B$%V%i%&%:(B + +$B$r2!$9$H!"$=$N%I%-%e%a%s%H$N?F%U%!%$%k$rJ9$$$FMh$^$9!#$3$3$GA4$F$N%U%!%$%k(B +$B$N?F$H$J$k%U%!%$%k(B($B%G%U%)%k%H$,<($5$l$F$$$k$N$GBgDq$O(BRET$B$N$_(B)$B$rF~NO$9$k$H(B +$B%$%s%/%k!<%I$7$F$$$kA4$F$N%U%!%$%k$r2r@O$7!"%$%s%/%k!<%I>u67$r;k3PE*$KI=<((B +$B$7$^$9!#$3$N%P%C%U%!$G$O0J2<$N%-!e$N9T$K0\F0$7BP1~$9$k%U%!%$%k$rNY$N%P%C%U%!$KI=<((B `N' - ... 同じインクルードレベルの次のファイルに移動 + ... $BF1$8%$%s%/%k!<%I%l%Y%k$Ne$N9T$K0\F0(B `u' - ... 一代親にあたるファイルに移動 + ... $B0lBe?F$K$"$?$k%U%!%$%k$K0\F0(B `.' - ... カーソル位置のファイルを隣のバッファに表示 + ... $B%+!<%=%k0LCV$N%U%!%$%k$rNY$N%P%C%U%!$KI=<((B `SPC' - ... 隣のバッファの対応ファイルをスクロールアップ + ... $BNY$N%P%C%U%!$NBP1~%U%!%$%k$r%9%/%m!<%k%"%C%W(B `DEL, b' - ... 隣のバッファの対応ファイルをスクロールダウン + ... $BNY$N%P%C%U%!$NBP1~%U%!%$%k$r%9%/%m!<%k%@%&%s(B `<' - ... 隣のバッファの対応ファイルの先頭を表示 + ... $BNY$N%P%C%U%!$NBP1~%U%!%$%k$N@hF,$rI=<((B `>' - ... 隣のバッファの対応ファイルの末尾を表示 + ... $BNY$N%P%C%U%!$NBP1~%U%!%$%k$NKvHx$rI=<((B `'' - ... (`<'や`>'の後で)元の表示位置に戻る + ... (`<'$B$d(B`>'$B$N8e$G(B)$B85$NI=<(0LCV$KLa$k(B `RET, g' - ... カーソル位置のファイルを隣のバッファでオープン + ... $B%+!<%=%k0LCV$N%U%!%$%k$rNY$N%P%C%U%!$G%*!<%W%s(B `mouse-2' - ... RETと同じ(ウィンドウ使用時のみ) + ... RET$B$HF1$8(B($B%&%#%s%I%&;HMQ;~$N$_(B) `o' - ... 隣のウィンドウに移動 + ... $BNY$N%&%#%s%I%&$K0\F0(B `1' - ... 他のウィンドウを消す + ... $BB>$N%&%#%s%I%&$r>C$9(B `-' - ... ブラウズウィンドウを小さくする + ... $B%V%i%&%:%&%#%s%I%&$r>.$5$/$9$k(B `+' - ... ブラウズウィンドウを大きくする + ... $B%V%i%&%:%&%#%s%I%&$rBg$-$/$9$k(B `?' - ... ヘルプ表示 + ... $B%X%k%WI=<((B `q' - ... 表示前の状態に戻る - - ただし、隣のウィンドウのファイルの内容を表示する機能に関しては、対応 -するファイルをクローズしてしまうとうまく働きませんのでご注意ください。 - + ... $BI=<(A0$N>uBV$KLa$k(B + + $B$?$@$7!"NY$N%&%#%s%I%&$N%U%!%$%k$NFbMF$rI=<($9$k5!G=$K4X$7$F$O!"BP1~$9$k(B +$B%U%!%$%k$r%/%m!<%:$7$F$7$^$&$H$&$^$/F/$-$^$;$s$N$G$4Cm0U$/$@$5$$!#(B  File: yatexj, Node: Cooperation with other packages, Next: Customizations, Prev: Inclusion hierarchy browser, Up: Top -他パッケージとの連携 +$BB>%Q%C%1!<%8$H$NO"7H(B ******************** gmhist ====== - `gmhist.el'と`gmhist-mh.el' をロードしている場合、プレヴューコマンド -の入力(`[prefix] tp]')、印刷コマンドの入力(`[prefix] tl')の時に独立した -ヒストリを利用できます。それぞれのプロンプトで、`M-p' を押すと直前に利 -用したコマンド文字列をくり返し呼び出すことができます。 + `gmhist.el'$B$H(B`gmhist-mh.el' $B$r%m!<%I$7$F$$$k>l9g!"%W%l%t%e!<%3%^%s%I$NF~(B +$BNO(B(`[prefix] tp]')$B!"0u:~%3%^%s%I$NF~NO(B(`[prefix] tl')$B$N;~$KFHN)$7$?%R%9%H(B +$B%j$rMxMQ$G$-$^$9!#$=$l$>$l$N%W%m%s%W%H$G!"(B`M-p' $B$r2!$9$HD>A0$KMxMQ$7$?%3%^(B +$B%s%IJ8;zNs$r$/$jJV$78F$S=P$9$3$H$,$G$-$^$9!#(B min-out ======= - `min-out.el' (`outline-minor-mode') と野鳥を組み合わせて使うこともも -ちろん可能です。設定の方法に関しては`yatexm-o.el'をご覧ください。 - + `min-out.el' (`outline-minor-mode') $B$HLnD;$rAH$_9g$o$;$F;H$&$3$H$b$b$A$m(B +$B$s2DG=$G$9!#@_Dj$NJ}K!$K4X$7$F$O(B`yatexm-o.el'$B$r$4Mw$/$@$5$$!#(B  File: yatexj, Node: Customizations, Next: Etc, Prev: Cooperation with other packages, Up: Top -カスタマイズ +$B%+%9%?%^%$%:(B ************ - 野鳥の動作を制御する種々の変数を独自に設定することにより、補完入力を -起動するキーアサインを変えたり、環境名の補完候補をさらに充実させること -などができます。 + $BLnD;$NF0:n$r@)8f$9$k$NJd408uJd$r$5$i$K=<l9g$O!"(B`YaTeX-prefix'$B$K(B +prefix $B%-!<$K$7$?$$%7%s%\%k$rDj5A$7$F$/$@$5$$!#$5$i$K!"!V(B`C-c $B1Q;z(B'$B!W$H$$(B +$B$&%-!<%P%$%s%I$OFH<+$N4X?t$,3d$jEv$F$F$"$k$N$G;H$$$?$/$J$$!#$3$N$h$&$J;~$O!"(B +`YaTeX-inhibit-prefix-letter' $B$r(B `t' $B$K@_Dj$9$k$3$H$K$h$j!"(B`C-c $B1Q;z!D(B'$B$N(B +$B%P%$%s%I$,A4$F!"BP1~$9$k(B`C-c C-$B1Q;z!D(B'$B$KJQ$o$j$^$9(B($B$?$@$7!"(Bbegin$B7?(B large$B7?(B +$BJd40$NBgJ8;z5/F0$K$h$k%j%8%g%s;XDj$O2DG=$J$^$^$G$9!#$3$l$bL58z$K$7$?$$>l9g(B +$B$O(B`t'$B$G$O$J$/(B 1 $B$K%;%C%H$7$F2<$5$$!#(B)$B!#(B * Menu: -* All customizable variables:: カスタマイズ変数一覧 -* Sample definitions:: カスタマイズ変数設定例 -* Hook variables:: hook変数 -* Hook file:: hook用ファイル - +* All customizable variables:: $B%+%9%?%^%$%:JQ?t0lMw(B +* Sample definitions:: $B%+%9%?%^%$%:JQ?t@_DjNc(B +* Hook variables:: hook$BJQ?t(B +* Hook file:: hook$BMQ%U%!%$%k(B  File: yatexj, Node: All customizable variables, Next: Sample definitions, Prev: Lisp variables, Up: Lisp variables -カスタマイズ変数一覧 +$B%+%9%?%^%$%:JQ?t0lMw(B -------------------- - yatex-mode における次の変数がカスタマイズ可能です。`~/.emacs' で -`setq' しておけば、そちらの定義が優先されます。括弧の中はデフォルト値で -す。実際に変数の値を変更する場合は `M-x describe-variable' で変数の詳細 -な説明を参照してください。 + yatex-mode $B$K$*$1$kl9g$O(B `M-x describe-variable' $B$GJQ?t$N>\:Y$J@bL@$r;2>H(B +$B$7$F$/$@$5$$!#(B -- Variable: YaTeX-prefix - yatex-mode 中のプリフィクスキー (`\C-c') + yatex-mode $BCf$N%W%j%U%#%/%9%-!<(B (`\C-c') -- Variable: YaTeX-inhibit-prefix-letter - prefix キーの直後のキーバインドで `英字' のものを `C-英字' に変更 + prefix $B%-!<$ND>8e$N%-!<%P%$%s%I$G(B `$B1Q;z(B' $B$N$b$N$r(B `C-$B1Q;z(B' $B$KJQ99(B (`nil') -- Variable: YaTeX-fill-prefix - 本文を書く時の行頭に挿入する接頭辞すなわち fill-prefix - (`""(nil)') + $BK\J8$r=q$/;~$N9TF,$KA^F~$9$k@\F,<-$9$J$o$A(B fill-prefix (`""(nil)') -- Variable: YaTeX-user-completion-table - 学習したLaTeXコマンド保存ファイル名 (`"~/.yatexrc"') + $B3X=,$7$?(BLaTeX$B%3%^%s%IJ]B8%U%!%$%kL>(B (`"~/.yatexrc"') -- Variable: YaTeX-kanji-code - 文書を作成する時の漢字コードnil=既存のコードのまま - 0=no-conversion 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (2 (MS-DOSでは - 1)) + $BJ8=q$r:n@.$9$k;~$N4A;z%3!<%I(Bnil=$B4{B8$N%3!<%I$N$^$^(B 0=no-conversion + 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (2 (MS-DOS$B$G$O(B1)) -- Variable: tex-command - LaTeXタイプセッタコマンド名 (`"platex"') + LaTeX$B%?%$%W%;%C%?%3%^%s%IL>(B (`"platex"') -- Variable: dvi2-command - プレヴューアコマンド名 (`"xdvi -geo +0+0 -s 4"') + $B%W%l%t%e!<%"%3%^%s%IL>(B (`"xdvi -geo +0+0 -s 4"') -- Variable: dviprint-command-format - dviファイルの印刷に使われるコマンド式 (`"dvi2ps %f %t %s | lpr"') + dvi$B%U%!%$%k$N0u:~$K;H$o$l$k%3%^%s%I<0(B (`"dvi2ps %f %t %s | lpr"') -- Variable: dviprint-from-format - 上の`%f'に相当する開始ページ指定書式、`%b' が開始ページ番号に変わ - る (`"-f %b"') + $B>e$N(B`%f'$B$KAjEv$9$k3+;O%Z!<%8;XDj=q<0!"(B`%b' $B$,3+;O%Z!<%8HV9f$KJQ$o$k(B + (`"-f %b"') -- Variable: dviprint-to-format - `%t' に相当する終了ページ指定書式、`%e'が終了ページ番号に変わる - (`"-t %e"') + `%t' $B$KAjEv$9$k=*N;%Z!<%8;XDj=q<0!"(B`%e'$B$,=*N;%Z!<%8HV9f$KJQ$o$k(B (`"-t + %e"') -- Variable: makeindex-command - makeindexコマンド (`"makeindex"' (MS-DOSでは`"makeind"')) + makeindex$B%3%^%s%I(B (`"makeindex"' (MS-DOS$B$G$O(B`"makeind"')) -- Variable: YaTeX-need-nonstop - `\nonstopmode{}'を自動的に付加するか (`nil') + `\nonstopmode{}'$B$r<+F0E*$KIU2C$9$k$+(B (`nil') -- Variable: latex-warning-regexp - latexコマンドの出力するウォーニング行の正規表現 (`"line.* - [0-9]*"') + latex$B%3%^%s%I$N=PNO$9$k%&%)!<%K%s%09T$N@55,I=8=(B (`"line.* [0-9]*"') -- Variable: latex-error-regexp - 同じくエラー行の正規表現 (`"l\\.[1-9][0-9]*"') + $BF1$8$/%(%i!<9T$N@55,I=8=(B (`"l\\.[1-9][0-9]*"') -- Variable: latex-dos-emergency-message - MS-DOS上で動作する latex コマンドが、エラーにより停止するとき出力 - するメッセージ (`"Emergency stop"') + MS-DOS$B>e$GF0:n$9$k(B latex $B%3%^%s%I$,!"%(%i!<$K$h$jDd;_$9$k$H$-=PNO$9$k(B + $B%a%C%;!<%8(B (`"Emergency stop"') -- Variable: latex-message-kanji-code - タイプセッタの出力するメッセージの漢字コード.タイプセットバッファ - の出力が化ける時は、これを設定する (2, Nemacsでのみ有効) + $B%?%$%W%;%C%?$N=PNO$9$k%a%C%;!<%8$N4A;z%3!<%I(B.$B%?%$%W%;%C%H%P%C%U%!$N=P(B + $BNO$,2=$1$k;~$O!"$3$l$r@_Dj$9$k(B (2, Nemacs$B$G$N$_M-8z(B) -- Variable: NTT-jTeX - 古いNTT-jTeX使用時のようにインデントした行の先頭と前の行の(タイプ - セット後の)字間が空いてしまうのを嫌う場合は`t'にする(`nil') + $B8E$$(BNTT-jTeX$B;HMQ;~$N$h$&$K%$%s%G%s%H$7$?9T$N@hF,$HA0$N9T$N(B($B%?%$%W%;%C(B + $B%H8e$N(B)$B;z4V$,6u$$$F$7$^$&$N$r7y$&>l9g$O(B`t'$B$K$9$k(B(`nil') -- Variable: YaTeX-item-regexp - itemの桁揃えの時に用いる、itemの正規表現 (`"\\\\(sub\\)*item"') + item$B$N7eB7$($N;~$KMQ$$$k!"(Bitem$B$N@55,I=8=(B (`"\\\\(sub\\)*item"') -- Variable: YaTeX-verb-regexp - verbコマンドの正規表現。先頭の\\\\はつけない - (`"verb\\*?\\|path"') + verb$B%3%^%s%I$N@55,I=8=!#@hF,$N(B\\\\$B$O$D$1$J$$(B (`"verb\\*?\\|path"') -- Variable: YaTeX-nervous - ローカル辞書を用いる時 `t' (`t') + $B%m!<%+%k<-=q$rMQ$$$k;~(B `t' (`t') -- Variable: YaTeX-sectioning-regexp - セクション区切り設定コマンドの正規表現 + $B%;%/%7%g%s6h@Z$j@_Dj%3%^%s%I$N@55,I=8=(B (`"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"') -- Variable: YaTeX-fill-inhibit-environments - fill を抑止する環境名のリスト (`'("tabular" "tabular*" "array" - picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" - verbatim" "verbatim*")') + fill $B$rM^;_$9$k4D6-L>$N%j%9%H(B (`'("tabular" "tabular*" "array" + "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" + "verbatim" "verbatim*")') -- Variable: YaTeX-uncomment-once - 領域uncommentで行頭の複数の`%'を全て削除するか (`nil') + $BNN0h(Buncomment$B$G9TF,$NJ#?t$N(B`%'$B$rA4$F:o=|$9$k$+(B (`nil') -- Variable: YaTeX-close-paren-always - 開き括弧の入力で常に閉じ括弧を入力する (`t') + $B3+$-3g8L$NF~NO$G>o$KJD$83g8L$rF~NO$9$k(B (`t') -- Variable: YaTeX-auto-math-mode - 数式モードの切り替えを自動的に行う (`t') + $B?t<0%b!<%I$N@Z$jBX$($r<+F0E*$K9T$&(B (`t') -- Variable: YaTeX-math-key-list-private - 数式イメージ補完で用いる (プリフィクスキー . 対応補完テーブル) の - alist (`nil')。補完テーブルの書き方については`yatexmth.el'を参照。 + $B?t<0%$%a!<%8Jd40$GMQ$$$k(B ($B%W%j%U%#%/%9%-!<(B . $BBP1~Jd40%F!<%V%k(B) $B$N(B + alist (`nil')$B!#Jd40%F!<%V%k$N=q$-J}$K$D$$$F$O(B`yatexmth.el'$B$r;2>H!#(B -- Variable: YaTeX-default-pop-window-height - 1画面の時にタイプセットバッファを初めて作成する時の高さ。数値で行 - 数、数字文字列でEmacsウィンドウに対する百分率 (10) + 1$B2hLL$N;~$K%?%$%W%;%C%H%P%C%U%!$r=i$a$F:n@.$9$k;~$N9b$5!#?tCM$G9T?t!"(B + $B?t;zJ8;zNs$G(BEmacs$B%&%#%s%I%&$KBP$9$kI4J,N((B (10) -- Variable: YaTeX-help-file - 共用ヘルプファイル (`$doc-directory/../../site-lisp/YATEXHLP.jp') + $B6&MQ%X%k%W%U%!%$%k(B (`$doc-directory/../../site-lisp/YATEXHLP.jp') -- Variable: YaTeX-help-file-private - 個人用ヘルプファイル (`"~/YATEXHLP.jp"') + $B8D?MMQ%X%k%W%U%!%$%k(B (`"~/YATEXHLP.jp"') -- Variable: YaTeX-no-begend-shortcut - `[prefix] b ??' のショートカットを使わず、`[prefix] b' だけで補完 - 入力に入る (`nil') + `[prefix] b ??' $B$N%7%g!<%H%+%C%H$r;H$o$:!"(B`[prefix] b' $B$@$1$GJd40F~NO(B + $B$KF~$k(B (`nil') -- Variable: YaTeX-hilit-pattern-adjustment-private - 正規表現とそれにマッチするものの論理的意味をシンボルであらわしたも - ののリスト…のリスト。hilit19 を組み込んでいる時のみ有効。詳しくは - `(assq 'yatex-mode hilit-patterns-alist)' した結果と、変数 - `YaTeX-hilit-pattern-adjustment-default' の値(と場合によっては - hilit19 のドキュメント)を参照せよ。 + $B@55,I=8=$H$=$l$K%^%C%A$9$k$b$N$NO@M}E*0UL#$r%7%s%\%k$G$"$i$o$7$?$b$N(B + $B$N%j%9%H!D$N%j%9%H!#(Bhilit19 $B$rAH$_9~$s$G$$$k;~$N$_M-8z!#>\$7$/$O(B + `(assq 'yatex-mode hilit-patterns-alist)' $B$7$?7k2L$H!"JQ?t(B + `YaTeX-hilit-pattern-adjustment-default' $B$NCM(B($B$H>l9g$K$h$C$F$O(B + hilit19 $B$N%I%-%e%a%s%H(B)$B$r;2>H$;$h!#(B -- Variable: YaTeX-sectioning-level - LaTeXのセクション単位宣言コマンドとその論理的高さのalist。 + LaTeX$B$N%;%/%7%g%sC10L@k8@%3%^%s%I$H$=$NO@M}E*9b$5$N(Balist$B!#(B -- Variable: YaTeX-hierarchy-ignore-heading-regexp - Hierarchy バッファは通常ファイルヘッダとして、LaTeXのセクション宣 - 言コマンドの引数を検索し、それがなければコメント行を探すが、その際 - にヘッダとしては意味を持たないパターンをこの変数に設定する。デフォ - ルトでは RCS ヘッダとモード指定行(-*- xxx -*-)が設定されている。 + Hierarchy $B%P%C%U%!$ODL>o%U%!%$%k%X%C%@$H$7$F!"(BLaTeX$B$N%;%/%7%g%s@k8@%3(B + $B%^%s%I$N0z?t$r8!:w$7!"$=$l$,$J$1$l$P%3%a%s%H9T$rC5$9$,!"$=$N:]$K%X%C(B + $B%@$H$7$F$O0UL#$r;}$?$J$$%Q%?!<%s$r$3$NJQ?t$K@_Dj$9$k!#%G%U%)%k%H$G$O(B + RCS $B%X%C%@$H%b!<%I;XDj9T(B(-*- xxx -*-)$B$,@_Dj$5$l$F$$$k!#(B -- Variable: YaTeX-skip-default-reader - Non-nil に設定するとsection型コマンドの引数入力時、アドイン関数が - なければミニバッファでの読み込みをせずに入力を完了させる (`nil') + Non-nil $B$K@_Dj$9$k$H(Bsection$B7?%3%^%s%I$N0z?tF~NO;~!"%"%I%$%s4X?t$,$J$1(B + $B$l$P%_%K%P%C%U%!$G$NFI$_9~$_$r$;$:$KF~NO$r40N;$5$;$k(B (`nil') -- Variable: YaTeX-create-file-prefix-g - `\include'などで `prefix g'した時に、ジャンプ先が存在しないファイ - ルであってもオープンする (`nil') + `\include'$B$J$I$G(B `prefix g'$B$7$?;~$K!"%8%c%s%W@h$,B8:_$7$J$$%U%!%$%k$G(B + $B$"$C$F$b%*!<%W%s$9$k(B (`nil') -- Variable: YaTeX-simple-messages - 各種補完時のメッセージ出力を簡素化する (`nil') + $B3FH!#(B -- Variable: YaTeX-use-AMS-LaTeX - AMS-LaTeX を使用する場合は `t' に設定する (`nil') + AMS-LaTeX $B$r;HMQ$9$k>l9g$O(B `t' $B$K@_Dj$9$k(B (`nil') -- Variable: YaTeX-use-LaTeX2e - LaTeX2e を使用する場合は `t' に設定する (`t') + LaTeX2e $B$r;HMQ$9$k>l9g$O(B `t' $B$K@_Dj$9$k(B (`t') -- Variable: YaTeX-template-file - 新規ファイル作成時に自動挿入するファイル名 - (`~/work/template.tex') + $B?75,%U%!%$%k:n@.;~$K<+F0A^F~$9$k%U%!%$%kL>(B (`~/work/template.tex') -- Variable: YaTeX-search-file-from-top-directory - inputするファイルを探すときの基準ディレクトリをmainファイルのある - ディレクトリにするか (`t') + input$B$9$k%U%!%$%k$rC5$9$H$-$N4p=`%G%#%l%/%H%j$r(Bmain$B%U%!%$%k$N$"$k%G%#(B + $B%l%/%H%j$K$9$k$+(B (`t') -- Variable: YaTeX-use-font-lock - ソースの色づけパッケージとして font-lock を利用するかどうか + $B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B font-lock $B$rMxMQ$9$k$+$I$&$+(B (`(featurep 'font-lock)') -- Variable: YaTeX-use-hilit19 - ソースの色づけパッケージとして hilit19 を利用するかどうか - (`(featurep 'hilit19)') + $B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B hilit19 $B$rMxMQ$9$k$+$I$&$+(B(`(featurep ' + hilit19)') -- Variable: YaTeX-use-italic-bold - italic, boldフォントを野鳥が探すかどうか (Emacs20以降なら`t') - font-lock利用時のみ有効。(`(featurep 'hilit19)' + italic, bold$B%U%)%s%H$rLnD;$,C5$9$+$I$&$+(B (Emacs20$B0J9_$J$i(B`t') + font-lock$BMxMQ;~$N$_M-8z!#(B(`(featurep 'hilit19)' -- Variable: YaTeX-singlecmd-suffix - 全てのmaketitle型コマンドの補完入力直後に挿入する文字列。 - `"{}"' などがお勧め。 + $BA4$F$N(Bmaketitle$B7?%3%^%s%I$NJd40F~NOD>8e$KA^F~$9$kJ8;zNs!#(B`"{}"' $B$J$I(B + $B$,$*4+$a!#(B -- Variable: YaTeX-package-alist-private - LaTeX2eのパッケージ名とその中に含まれるマクロのリスト。適切に設定 - しておくと本文入力時にマクロを補完入力するとそのマクロに必要なパッ - ケージを usepackage するか自動的に検査してくれる。していなければ - usepackage を自動追加することもできる。リストは'((パッケージ名1 - (補完タイプ マクロのリスト……) (補完タイプ マクロのリスト……)) - (パッケージ名2 (補完タイプ マクロのリスト……) (補完タイプ マクロ - のリスト……))………)という形式にする。補完タイプは `env, - section, maketitle' のどれか。具体例は変数 - `YaTeX-package-alist-default'の値参照。 + LaTeX2e$B$N%Q%C%1!<%8L>$H$=$NCf$K4^$^$l$k%^%/%m$N%j%9%H!#E,@Z$K@_Dj$7$F(B + $B$*$/$HK\J8F~NO;~$K%^%/%m$rJd40F~NO$9$k$H$=$N%^%/%m$KI,MW$J%Q%C%1!<%8(B + $B$r(B usepackage $B$9$k$+<+F0E*$K8!::$7$F$/$l$k!#$7$F$$$J$1$l$P(B + \usepackage $B$r<+F0DI2C$9$k$3$H$b$G$-$k!#%j%9%H$O(B + '(($B%Q%C%1!<%8L>(B1 + ($BJd40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B) + ($BJd40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B)) + ($B%Q%C%1!<%8L>(B2 + ($BJd40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B) + ($BJd40%?%$%W(B $B%^%/%m$N%j%9%H!D!D(B))$B!D!D!D(B)$B$H$$$&7A<0$K$9$k!#(B + $BJd40%?%$%W$O(B `env, section, maketitle' $B$N$I$l$+!#6qBNNc$OJQ?t(B + `YaTeX-package-alist-default'$B$NCM;2>H!#(B -- Variable: YaTeX-tabular-indentation - tabular/array 環境で現在行の先頭位置が表の第Nカラムのときは標準イ - ンデント位置から N*YaTeX-tabular-indentation 桁下げたインデントに - する。 + tabular/array $B4D6-$G8=:_9T$N@hF,0LCV$,I=$NBh(BN$B%+%i%`$N$H$-$OI8=`%$%s%G(B + $B%s%H0LCV$+$i(B N*YaTeX-tabular-indentation $B7e2<$2$?%$%s%G%s%H$K$9$k!#(B -- Variable: YaTeX-noindent-env-regexp - 別の環境内にあっても \begin{} が行頭から始まるべき環境名の正規表現。 - verbatim環境などを指定する。 + $BJL$N4D6-Fb$K$"$C$F$b(B \begin{} $B$,9TF,$+$i;O$^$k$Y$-4D6-L>$N@55,I=8=!#(B + verbatim$B4D6-$J$I$r;XDj$9$k!#(B -- Variable: YaTeX-ref-default-label-string - \ref{} のラベル補完でラベル未設定のものに自動的に生成するラベル名 - の書式。strftime(3)関数に似た日付ベースで指定する。利用できる書式 - は以下のとおり。%y -> 西暦下二桁, %b -> 月の英名, %m -> 月(1〜12) - %d -> 日, %H -> 時, %M -> 分, %S -> 秒, %qx -> アルファベットで26 - 進数化した yymmdd. %qX -> アルファベットで26進数化した HHMMSS. デ - フォルトは "%H%M%S_%d%b%y" + \ref{} $B$N%i%Y%kJd40$G%i%Y%kL$@_Dj$N$b$N$K<+F0E*$K@8@.$9$k%i%Y%kL>$N=q(B + $B<0!#(Bstrftime(3)$B4X?t$K;w$?F|IU%Y!<%9$G;XDj$9$k!#MxMQ$G$-$k=q<0$O0J2<$N(B + $B$H$*$j!#(B%y -> $B@>Nq2 $B7n$N1QL>(B, %m -> $B7n(B(1$B!A(B12) %d -> $BF|(B, + %H -> $B;~(B, %M -> $BJ,(B, %S -> $BIC(B, %qx -> $B%"%k%U%!%Y%C%H$G(B26$B?J?t2=$7$?(B + yymmdd. %qX -> $B%"%k%U%!%Y%C%H$G(B26$B?J?t2=$7$?(B HHMMSS. $B%G%U%)%k%H$O(B + "%H%M%S_%d%b%y" -- Variable: YaTeX-ref-generate-label-function - \ref{}のラベル名自動生成のときに使う関数のシンボル。デフォルトは標 - 準の YaTeX::ref-generate-label 関数が割り当ててある。引数を2つ取る - 関数を定義して、この変数にセットするとその関数を呼んだ結果をデフォ - ルトのラベル名候補とする。設定例: + \ref{}$B$N%i%Y%kL><+F0@8@.$N$H$-$K;H$&4X?t$N%7%s%\%k!#%G%U%)%k%H$OI8=`(B + $B$N(B YaTeX::ref-generate-label $B4X?t$,3d$jEv$F$F$"$k!#0z?t$r(B2$B$D8uJd$H$9$k!#@_DjNc(B: (setq YaTeX-ref-generate-label-function 'my-yatex-generate-label) (defun my-yatex-generate-label (command value) (and (string= command "caption") @@ -1805,329 +1731,323 @@ (concat command ":" value) (YaTeX::ref-generate-label nil nil)))) -  File: yatexj, Node: Sample definitions, Next: Hook variables, Prev: All customizable variables, Up: Lisp variables -カスタマイズ変数設定例 +$B%+%9%?%^%$%:JQ?t@_DjNc(B ---------------------- - たとえば、prefix キーとして`ESC'を使用し、新たな補完候補を格納するファ -イルを、`~/src/emacs/yatexrc' にし、行頭の prefix をタブ文字一つに変え -たいときは、 + $B$?$H$($P!"(Bprefix $B%-!<$H$7$F(B`ESC'$B$r;HMQ$7!"?7$?$JJd408uJd$r3JG<$9$k%U%!%$(B +$B%k$r!"(B`~/src/emacs/yatexrc' $B$K$7!"9TF,$N(B prefix $B$r%?%VJ8;z0l$D$KJQ$($?$$$H(B +$B$-$O!"(B (setq YaTeX-prefix "\e" YaTeX-user-completion-table "~/src/emacs/yatexrc" YaTeX-fill-prefix " ") -を `~/.emacs' に加えます。 - +$B$r(B `~/.emacs' $B$K2C$($^$9!#(B  File: yatexj, Node: Hook variables, Next: Hook file, Prev: Sample definitions, Up: Lisp variables -hook変数 +hook$BJQ?t(B -------- - また、hook 変数 `yatex-mode-hook', `yatex-mode-load-hook' を用意して -います。すべての yatex-mode のバッファで作用させたいものは、 -`yatex-mode-hook' に記述し、`yatex.el' をロードする時だけ作用させたいも -のは`yatex-mode-load-hook' に記述します。例えば、`outline-minor-mode' -を利用する場合、それぞれのバッファで `outline-minor-mode' を有効にした -いので、`yatex-mode-hook' を次のように設定します。 + $B$^$?!"(Bhook $BJQ?t(B `yatex-mode-hook', `yatex-mode-load-hook' $B$rMQ0U$7$F$$$^(B +$B$9!#$9$Y$F$N(B yatex-mode $B$N%P%C%U%!$G:nMQ$5$;$?$$$b$N$O!"(B`yatex-mode-hook' +$B$K5-=R$7!"(B`yatex.el' $B$r%m!<%I$9$k;~$@$1:nMQ$5$;$?$$$b$N$O(B +`yatex-mode-load-hook' $B$K5-=R$7$^$9!#Nc$($P!"(B`outline-minor-mode' $B$rMxMQ$9(B +$B$k>l9g!"$=$l$>$l$N%P%C%U%!$G(B `outline-minor-mode' $B$rM-8z$K$7$?$$$N$G!"(B +`yatex-mode-hook' $B$r$b%7%g!<(B +$B%H%+%C%H%-!<$GF~$l$?$$$J$I$H$$$&;~$O!"$d%3%^%s%IL>$K1~$8$?$-$a:Y$d$+$JJd40F~NO5!G=$r(B ****** - 野鳥の標準の LaTeX コマンドの辞書には、作者が頻繁に使うものしか登録さ -れていません。これは、補完候補に使いそうもないコマンドが存在して、補完 -したいコマンドを出すまでのストローク数を増やしてしまう事を防止するため -です。標準辞書にないコマンドも、できるだけ補完入力方式を利用し、ユーザ -辞書を充実させることで、あなたの LaTeX スタイルにあった野鳥へと育ってい -くことでしょう。 - + $BLnD;$NI8=`$N(B LaTeX $B%3%^%s%I$N<-=q$K$O!":n:\Ey$K4X$7$F$O@)8B$$$?(B +$B$7$^$;$s!#>o<1E*$K07$C$F$/$@$5$$!#$^$?!"K\%W%m%0%i%`$K4^$^$l$k%3!<%I$rMxMQ(B +$B$9$k$3$H!"2~B$$9$k$3$H$b<+M3$K9T$J$C$F9=$$$^$;$s$,!"N.MQ$9$k$3$H$K$h$j7@Ls(B +$BDy7k$NI,MW$,@8$8$k>l9g!";d$O$$$+$J$k7@Ls$bDy7k$7$^$;$s!#6qBNE*$K$O(BGPL$B$X$N(B +$B%5%$%s$O$7$^$;$s$N$G!"(BGNU$B$K4sB#$9$k$b$N$r:n$C$F$$$k>l9g;d$N:nIJ$+$ip!"4uK>!"%P%0Js9p!"46A[Ey$O4?7^$$$?$7$^$9!#O"Mm$O(B yuuji@yatex.org $B$^(B +$B$G(B(2004$BG/(B1$B7n8=:_(B)$B!#7QB3E*$K;HMQ$7$F$/$@$5$kJ}$O%a%$%j%s%0%j%9%H!V(Bfj$BLnD;$N(B +$B2q!W$K@'Hs2CF~$7$F$/$@$5$$!#2CF~J}K!$K$D$$$F$OK\%Q%C%1!<%8$N(B `docs/qanda' +$B%U%!%$%k$N!V$=$NB>!W$N>O$r8fMw$/$@$5$$!#(B + +$B;EMM$O!"M=9p$J$/3N: Commenting out. (line 5) -* prefix <: Commenting out. (line 5) -* prefix /: Online help. (line 5) -* prefix ?: Online help. (line 5) -* prefix &: What column. (line 5) -* prefix a: Accent mark completion. (line 5) -* prefix b: begin^. (line 5) -* prefix c: Modifying/Deleting. (line 5) -* prefix d: Inclusion hierarchy browser. (line 5) -* prefix e: end. (line 5) -* prefix g: Cursor jump. (line 5) -* prefix i: Filling. (line 9) -* prefix k: Modifying/Deleting. (line 5) -* prefix key: Invocation. (line 5) -* prefix l: large^. (line 5) -* prefix m: maketitle^. (line 5) -* prefix s: section^. (line 5) -* prefix SPC: Arbitrary completion. (line 5) -* prefix w: Changing mode of YaTeX. (line 5) -* prefixL[X[prefix]: Lisp variables. (line 5) -* qXg[]: Cooperation with other packages. (line 9) -* RgAEg[]: Commenting out. (line 5) -* R}hqXg[]: Cooperation with other packages. (line 9) -* s[]: Intelligent newline. (line 5) -* section^[section]: section^. (line 5) -* t@C[]: Includeonly. (line 12) -* t@C[]: Splitting input files. (line 12) -* t@C苽]: Fix region for typesetting. (line 36) -* TCYwq[]: large^. (line 18) -* tHgwq[]: large^. (line 18) -* [Uォ[]: begin^. (line 72) -* ubN[]: begin^. (line 82) -* usepackage[]: Usepackage cheker. (line 5) -* v[A[]: Invocation. (line 5) -* vCx[gwv[]: Online help. (line 17) -* vgAEg[]: Invocation. (line 5) -* Wv[]: view-sectioning. (line 44) -* X[]: Changing LaTeX command. (line 21) -* xゥ[]: label-generation. (line 5) -* X/[/]: Modifying/Deleting. (line 5) -* YaTeX-help-file: Online help. (line 17) -* YaTeX-help-file-private: Online help. (line 17) -* YaTeX-item-regexp: Filling. (line 21) -* YaTeX-math-sign-alist-private: Image completion. (line 60) -* yatex-mode-hook: Hook variables. (line 5) -* yatex-mode-load-hook: Hook variables. (line 5) -* YaTeX-nervous: Local dictionary. (line 23) -* .yatexrc: Local dictionary. (line 5) -* y[WmFlprN[lpr]: Print out. (line 13) -* ZNV[]: view-sectioning. (line 44) -* ZNVobt@[]: view-sectioning. (line 20) +* :: Greek letter completion. 4. +* ;: Image completion. 4. +* apropos: Online help. 4. +* autoload: Installation. 4. +* auto-mode-alist: Installation. 4. +* $B%0%m!<%P%k%X%k%W(B[$B$/$m$*$O$k$X$k$U(B]: Online help. 16. +* $B0z?t(B[$B$R$-$9$&(B]: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B. 4. +* $B0z?t$N8D?t$rJQ$($k(B[$B$R$-$9$&$N$3$9$&$r$+$($k(B]: 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B. 24. +* $B$*$^$+$;2~9T(B[$B$*$^$+$;$+$$$-$h$&(B]: Intelligent newline. 4. +* $B&2(B[$B$7$/$^(B]: Image completion. 4. +* $B2$J8(B[$B$*$&$U$s(B]: Accent mark completion. 4. +* $B$3$3$O$I$3(B?[$B$3$3$O$H$3(B?]: What column. 4. +* $B%3%a%s%H%"%&%H(B[$B$3$a$s$H$"$&$H(B]: Commenting out. 4. +* $B3g$k(B[$B$/$/$k(B]: Enclose section-type command. 4. +* $B3g$k(B[$B$/$/$k(B]: large$B7?Jd40(B. 21. +* $B$*3(IA$-%D!<%k5/F0(B[$B$*$($+$-$D$&$k$-$H$&(B]: $B$*3(IA$-%D!<%k5/F0(B. 4. +* $B%3%^%s%I%R%9%H%j(B[$B$3$^$s$H$R$9$H$j(B]: Cooperation with other packages. 8. +* $B4D6-L>$NJd40(B[$B$+$s$-$h$&$a$$$N$[$+$s(B]: begin$B7?Jd40(B. 4. +* $B4D6-L>$NJQ99(B[$B$+$s$-$h$&$a$$$N$X$s$3$&(B]: Changing LaTeX command. 20. +* $B4D6-$N@hF,$X(B[$B$+$s$-$h$&$N$;$s$H$&$X(B]: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. +* $B4D6-$NKvHx$X(B[$B$+$s$-$h$&$N$^$D$R$X(B]: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. +* $B4D6-$N:o=|(B[$B$+$s$-$h$&$N$5$/$7$h(B]: Killing LaTeX command. 6. +* $B4D6-$r%^!<%/(B[$B$+$s$-$h$&$r$^$"$/(B]: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. +* $B5/F0$9$k%3%^%s%I$rJQ$($k(B[$B$-$H$&$9$k$3$^$s$H$r$+$($k(B]: Changing typesetter. 7. +* %#$B5-K!<+BN$NJT=8(B[%#$B$-$[$&$7$?$$$N$X$s$7$f$&(B]: Editing %# notation. 4. +* $B%-!<%"%5%$%s(B[$B$-$$$"$5$$$s(B]: Customizations. 4. +* $B7eB7$((B[$B$1$?$=$m$((B]: Filling. 4. +* $B%;%/%7%g%s6h@Z$j0lMw%P%C%U%!(B[$B$;$/$7$h$s$/$-$j$$$A$i$s$O$D$U$"(B]: view-sectioning. 18. +* $B%;%/%7%g%s6h@Z$j(B[$B$;$/$7$h$s$/$-$j(B]: view-sectioning. 42. +* $B%8%c%s%W(B[$B$7$d$s$U(B]: view-sectioning. 42. +* $B8GDjNN0h$N%?%$%W%;%C%H(B[$B$3$F$$$j$h$&$$$-$N$?$$$U$;$D$H(B]: Fix region for typesetting. 4. +* $B8=:_$N%+%i%`I=<((B[$B$1$s$5$$$N$+$i$`$R$h$&$7(B]: What column. 22. +* $B%+%9%?%^%$%:(B[$B$+$9$?$^$$$9(B]: Customizations. 4. +* $B%+%9%?%^%$%:JQ?t0lMw(B[$B$+$9$?$^$$$9$X$s$9$&$$$A$i$s(B]: All customizable variables. 4. +* $B%$%a!<%8Jd40(B[$B$$$a$($7$[$+$s(B]: Image completion. 4. +* $B%b!<%I@Z$jBX$((B[$B$b$&$H$-$j$+$((B]: Changing mode of YaTeX. 4. +* $BB>$N%U%!%$%k$N$7(B[$B$[$+$N$U$"$$$k$N$F$J$*$7(B]: Includeonly. 11. +* $BB>%Q%C%1!<%8$H$NO"7H(B[$B$?$O$D$1$($7$H$N$l$s$1$$(B]: Cooperation with other packages. 4. +* $BD9$$%U%!%$%k$NJT=8(B[$B$J$+$$$U$"$$$k$N$X$s$7$f$&(B]: Fix region for typesetting. 34. +* $B$d$A$g$&(B[$B$d$A$h$&(B]: Intro. 4. +* $B@_DjNc(B[$B$;$D$F$$$l$$(B]: Sample definitions. 4. +* %#BEGIN: Fix region for typesetting. 4. +* begin$B7?Jd40(B[begin$B$+$?$[$+$s(B]: begin$B7?Jd40(B. 4. +* $B:F5"Jd40(B[$B$5$$$-$[$+$s(B]: Recursive completion. 4. +* $B%f!<%6<-=q(B[$B$f$&$5$7$7$h(B]: begin$B7?Jd40(B. 71. +* &$BF~NO(B[&$B$K$f$&$j$h$/(B]: Intelligent newline. 4. +* $BF~NO%U%!%$%kJ,3d(B[$B$K$f$&$j$h$/$U$"$$$k$U$s$+$D(B]: Splitting input files. 11. +* $B!g(B[$B$`$1$s$?$$(B]: Image completion. 4. +* $B@h2s$j(Busepackage[$B$5$-$^$o$j(B]: Usepackage cheker. 4. +* ;$B<+?H(B[;$B$7$7$s(B]: Image completion. 31. +* $B%"%&%H%i%$%s(B[$B$"$&$H$i$$$s(B]: view-sectioning. 4. +* $B%(%i!<=$@5(B[$B$($i$"$7$f$&$;$$(B]: Calling typesetter. 4. +* $B%i%Y%k<+F0@8@.(B[$B$i$X$k$7$H$&$;$$$;$$(B]: label-generation. 4. +* $B%.%j%7%cJ8;zJd40(B[$B$-$j$7$d$b$7$[$+$s(B]: Greek letter completion. 4. +* $BJ8;z%5%$%:;XDj;R(B[$B$b$7$5$$$9$7$F$$$7(B]: large$B7?Jd40(B. 17. +* $BJD$89~$a$k(B[$B$H$7$3$a$k(B]: begin$B7?Jd40(B. 81. +* $BJ#;($J(Btabular[$B$U$/$5$D$J(Btabular]: What column. 4. +* $B>!JN,(Blpr$B5/F0(B[$B$X$($7$+$/$K$s$7$h$&$j$d$/(Blpr$B$-$H$&(B]: Print out. 12. +* C-c: Invocation. 4. +* Demacs: Intro. 4. +* .emacs: Installation. 4. +* %#END: Fix region for typesetting. 4. +* end$BJd40(B[end$B$[$+$s(B]: end$BJd40(B. 4. +* ghostview: Splitting input files. 16. +* gmhist: Cooperation with other packages. 8. +* hook$BJQ?t(B[hook$B$X$s$9$&(B]: Hook variables. 4. +* includeonly: Includeonly. 4. +* Install: Installation. 4. +* item$B$J$I$N7eB7$((B[item$B$J$H$N$1$?$=$m$((B]: Filling. 8. +* jlatex: Invocation. 4. +* large$B7?Jd40(B[large$B$+$?$[$+$s(B]: large$B7?Jd40(B. 4. +* LaTeX: Intro. 4. +* leftarrow: Image completion. 4. +* lpr format: lpr format. 4. +* lpr$B$U$)!<$^$C$H(B[lpr$B$U$*$*$^$D$H(B]: lpr format. 4. +* lpr$B%U%)!<%^%C%H(B[lpr$B$U$*$*$^$D$H(B]: lpr format. 4. +* lpr$B%U%)!<%^%C%H$NJQ99(B[lpr$B$U$*$*$^$D$H$N$X$s$3$&(B]: Editing %# notation. 18. +* maketitle$B7?Jd40(B[maketitle$B$+$?$[$+$s(B]: maketitle$B7?Jd40(B. 4. +* M-C-@: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. +* M-C-a: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. +* M-C-e: $B4D6-$rC10L$H$7$?%8%c%s%W(B. 7. +* min-out: Cooperation with other packages. 17. +* M-q: Filling. 46. +* Mule: Intro. 4. +* NTT-jTeX[$B$($L$F$$$$$F$$$$$7$($$$F$D$/(B]: Filling. 16. +* platex: Invocation. 4. +* prefix ,: Commenting out. 4. +* prefix .: Commenting out. 4. +* prefix <: Commenting out. 4. +* prefix >: Commenting out. 4. +* prefix /: Online help. 4. +* prefix ?: Online help. 4. +* prefix &: What column. 4. +* prefix a: Accent mark completion. 4. +* prefix b: begin$B7?Jd40(B. 4. +* prefix c: Modifying/Deleting. 4. +* prefix d: Inclusion hierarchy browser. 4. +* prefix e: end$BJd40(B. 4. +* prefix g: Cursor jump. 4. +* prefix i: Filling. 8. +* prefix k: Modifying/Deleting. 4. +* prefix key: Invocation. 4. +* prefix l: large$B7?Jd40(B. 4. +* prefix m: maketitle$B7?Jd40(B. 4. +* prefix s: section$B7?Jd40(B. 4. +* prefix SPC: Arbitrary completion. 4. +* prefix w: Changing mode of YaTeX. 4. +* prefix$B%-!e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B24617 +Node: Enclose section-type command26115 +Node: Recursive completion26515 +Node: view-sectioning27067 +Node: label-generation29528 +Node: large$B7?Jd40(B30273 +Node: maketitle$B7?Jd40(B31400 +Node: Arbitrary completion31882 +Node: end$BJd40(B32488 +Node: Accent mark completion33125 +Node: Image completion33856 +Node: Greek letter completion37390 +Node: Local dictionary38385 +Node: Commenting out39625 +Node: Cursor jump41857 +Node: $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B42231 +Node: $B$*3(IA$-%D!<%k5/F0(B44128 +Node: $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B46093 +Node: $B4D6-$rC10L$H$7$?%8%c%s%W(B46762 +Node: $B:G8e$NJd400LCV$X$N%8%c%s%W(B47426 +Node: Modifying/Deleting47904 +Node: Changing LaTeX command48558 +Node: Killing LaTeX command49574 +Node: Filling51007 +Node: Includeonly53476 +Node: What column54565 +Node: Intelligent newline55914 +Node: Usepackage cheker57849 +Node: Changing mode of YaTeX58630 +Node: Online help59777 +Node: Inclusion hierarchy browser61920 +Node: Cooperation with other packages64375 +Node: Customizations65133 +Node: Lisp variables65619 +Node: All customizable variables66653 +Node: Sample definitions77689 +Node: Hook variables78268 +Node: Hook file79628 +Node: Add-in functions79963 +Node: Etc80381 +Node: Copying81022 +Node: Concept Index82467  End tag table