yatex

changeset 72:0aaebd07dad0

Support font-lock on XEmacs-21, Emacs-20, Emacs-21. Support Emacs-21.
author yuuji
date Mon, 25 Dec 2000 10:19:28 +0000
parents 52f11338970f
children f41b01fef5d6
files docs/htmlqa docs/htmlqa.eng docs/qanda.eng docs/yahtmle.tex docs/yahtmlj.tex docs/yatexe.tex docs/yatexj.tex yahtml.el yatex.el yatex.new yatex19.el yatexadd.el yatexgen.el yatexlib.el yatexmth.el yatexprc.el yatexsec.el
diffstat 17 files changed, 2482 insertions(+), 1700 deletions(-) [+]
line diff
     1.1 --- a/docs/htmlqa	Thu Nov 16 05:46:53 2000 +0000
     1.2 +++ b/docs/htmlqa	Mon Dec 25 10:19:28 2000 +0000
     1.3 @@ -1,122 +1,178 @@
     1.4 -%%
     1.5 -%% Q and A on yahtml
     1.6 -%%
     1.7 -%% C-u C-x $ とすると質問項目だけ表示されます。C-x $ で元に戻ります。
     1.8 -%%
     1.9 -
    1.10 -
    1.11 -■インストール関連
    1.12 -・LaTeX使わないんだけど野鳥も入れなきゃダメですか?
    1.13 -	
    1.14 -	や、別にええっす。
    1.15 -	ftp://ftp.ae.keio.ac.jp/pub/emacs-lisp/text/yatex/
    1.16 -	のなかに、"yahtml" で始まるファイルがあるので次からはそれを持っ
    1.17 -	て来ればよござんす。
    1.18 -	
    1.19 -■カスタマイズ関連
    1.20 -・いつもは EUC にしてたまに JIS コードのファイルを作りたいんだけど。
    1.21 -	
    1.22 -	~/.emacs で
    1.23 -	(setq yahtml-kanji-code 3) ;3はEUC
    1.24 -	しておけば普段のhtmlコードはEUCになります。で局所的に変える方法。
    1.25 -	サーバーはApacheですね? ならそのディレクトリに .htaccess という
    1.26 -	ファイルを用意して、
    1.27 -	
    1.28 -		AddType "text/html; charset=iso-2020-jp" .html
    1.29 -	
    1.30 -	という行を書きましょう。するとApache君はそのディレクトリのhtmlファ
    1.31 -	イルを「iso-2022-jp(いわゆるJIS)だよー」とお客さんにあらかじめ伝
    1.32 -	えるようになります。yahtmlもこれに従い、そのディレクトリ以下のファ
    1.33 -	イルは漢字コードをJISに設定します。
    1.34 -	
    1.35 -	なに、apacheではないとな。なら明示的にhtmlソースのお尻に、
    1.36 -	
    1.37 -	<!-- Local Variables: -->
    1.38 -	<!-- file-coding-system: *junet* -->
    1.39 -	<!-- End: -->
    1.40 -	
    1.41 -	と書いておけばそのファイルだけJISになります。
    1.42 -	ただし、Emacs-20 や XEmacs の場合、漢字コードのシンボルの両端の*
    1.43 -	は付きません。
    1.44 -	
    1.45 -・<li>の直後に空白入るとhtmllintに怒られるから空白なしにしたいんだけど…
    1.46 -	
    1.47 -	それ、htmllintがやりすぎなんです。タグ直後の空白に対して文句いう
    1.48 -	のは
    1.49 -	http://www.cre.canon.co.uk/%7Eneilb/weblint/www5-paper.html
    1.50 -	によると、空白があることで変なレイアウトになってしまうへぼブラウ
    1.51 -	ザへの配慮によるものなのでHTML的にはまるで問題ないんです。とかく
    1.52 -	htmllintを使うとhtmllintに怒られないこと自体が目的となりがちです
    1.53 -	が、わたしはそれは本末転倒であると思います。
    1.54 -	
    1.55 -■どうにかならんかなあ関連
    1.56 -・長い文書の下の方だとインデントがめちゃ遅いんだけど。
    1.57 -	
    1.58 -	今は直ってるはずです…。
    1.59 -	
    1.60 -・いつも雛型として使っている template.html を簡単に入れたい
    1.61 -	
    1.62 -	autoinsert.el (Emacs19/Mule2付属)を使いましょう。もしくは、それ
    1.63 -	の機能強化版 auto-insert-tkld を使いましょう。後者は、
    1.64 -	ftp://ftp.ae.keio.ac.jp/pub/emacs-lisp/util/auto-inset-tkld.tar.Z
    1.65 -	で入手できます。
    1.66 -	http://www-nagao.kuee.kyoto-u.ac.jp/member/tsuchiya/elisp/yahtml-mode.html
    1.67 -	に設定例が書いてあります。
    1.68 -	
    1.69 -■その他
    1.70 -・yahtmlってなんてよむの?
    1.71 -	
    1.72 -	がーん、良く聞かれます。
    1.73 -	作者も良く分かってません。えへん。
    1.74 -	というかかちょいい読み方が思い浮かばないもので。
    1.75 -	なんかいい読み方ないすか?
    1.76 -	突然思い付きました。正しい呼称は
    1.77 -	
    1.78 -		『HTML屋』
    1.79 -	
    1.80 -	とします。
    1.81 -	
    1.82 -・メイリングリストはないんですか?
    1.83 -	
    1.84 -	っていう質問項目があるくらいだからあります。「yahtml」およびそのVz
    1.85 -	への移植版「laihtml」(by katsura@prc.tsukuba.ac.jp)、Wzへの移植版
    1.86 -	「hackhtml」(by lh57024@hongo.ecc.u-tokyo.ac.jp) に関する情報交換の
    1.87 -	ためのメイリングリスト「fj野鳥の会」がそれです。
    1.88 -	
    1.89 -		To: yatex-control@jaist.ac.jp
    1.90 -		Subject: append
    1.91 -		-----
    1.92 -		たぐでーし。明けましておめでとうございまーす。
    1.93 -	
    1.94 -	のようにメイルを送れば加入できます。この時本文に書いた内容がプロ
    1.95 -	フィールとして登録されます(変更可)。手続きは全て自動で行われ、登
    1.96 -	録が完了すると確認とともに、参加/休止/脱会等の制御コマンドの利用
    1.97 -	方法が返送されます。是非参加して一緒に野鳥/雷鳥/白鳥を育ててくだ
    1.98 -	さい。
    1.99 -	
   1.100 -・yahtmlの最新情報は?
   1.101 -	
   1.102 -	もしあなたが、WWWにアクセスできるなら、
   1.103 -	http://www.yatex.org/
   1.104 -	を覗いてみて下さい。このなかの、「yatex-current」というリンクを
   1.105 -	たどると最新版の野鳥を入手することができます。ただし、正式リリー
   1.106 -	ス版ではなく、作者がデバッグ中だったりして正常に動作しない可能性
   1.107 -	があるので、current版に関する問い合わせは受けかねますのでご注意
   1.108 -	下さい。
   1.109 -	
   1.110 -・とにかくわかりませーん!
   1.111 -	
   1.112 -	回答を得るまでの早い順に
   1.113 -
   1.114 -	・近くにいる詳しい人に聞く
   1.115 -	・メイリングリストに質問を出す
   1.116 -	・yuuji@yatex.org に質問を出す
   1.117 -	
   1.118 -	でしょうか。お好きな方法でどうぞ。
   1.119 -	
   1.120 -
   1.121 -Local Variables:
   1.122 -mode: indented-text
   1.123 -fill-column: 72
   1.124 -fill-prefix: "	"
   1.125 -End:
   1.126 +%%
   1.127 +%% Q and A on yahtml
   1.128 +%%
   1.129 +%% C-u C-x $ とすると質問項目だけ表示されます。C-x $ で元に戻ります。
   1.130 +%%
   1.131 +(新項目: ・font-lockって使えますか?)
   1.132 +
   1.133 +
   1.134 +■インストール関連
   1.135 +・LaTeX使わないんだけど野鳥も入れなきゃダメですか?
   1.136 +	
   1.137 +	や、別にええっす。
   1.138 +	http://www.yatex.org/ のソースアーカイブリンク
   1.139 +	のなかに、"yahtml" で始まるファイルがあるので次からはそれを持っ
   1.140 +	て来ればよござんす。
   1.141 +	
   1.142 +■カスタマイズ関連
   1.143 +・font-lockって使えますか?
   1.144 +	
   1.145 +	はい。yahtml-1.69から使えます。あらかじめ font-lock をロードしてお
   1.146 +	きましょう。以前、yahtml が font-lock に対応する前に
   1.147 +	
   1.148 +		(put 'yahtml-mode 'font-lock-defaults 'another-html-mode)
   1.149 +	
   1.150 +	などを ~/.emacs に書いた人は、その設定を削除して下さい。
   1.151 +	
   1.152 +・いつもは EUC にしてたまに JIS コードのファイルを作りたいんだけど。
   1.153 +	
   1.154 +	~/.emacs で
   1.155 +	(setq yahtml-kanji-code 3) ;3はEUC
   1.156 +	しておけば普段のhtmlコードはEUCになります。で局所的に変える方法。
   1.157 +	サーバーはApacheですね? ならそのディレクトリに .htaccess という
   1.158 +	ファイルを用意して、
   1.159 +	
   1.160 +		AddType "text/html; charset=iso-2020-jp" .html
   1.161 +	
   1.162 +	という行を書きましょう。するとApache君はそのディレクトリのhtmlファ
   1.163 +	イルを「iso-2022-jp(いわゆるJIS)だよー」とお客さんにあらかじめ伝
   1.164 +	えるようになります。yahtmlもこれに従い、そのディレクトリ以下のファ
   1.165 +	イルは漢字コードをJISに設定します。
   1.166 +	
   1.167 +	なに、apacheではないとな。なら明示的にhtmlソースのお尻に、
   1.168 +	
   1.169 +	<!-- Local Variables: -->
   1.170 +	<!-- file-coding-system: *junet* -->
   1.171 +	<!-- End: -->
   1.172 +	
   1.173 +	と書いておけばそのファイルだけJISになります。
   1.174 +	ただし、Emacs-20 や XEmacs の場合、漢字コードのシンボルの両端の*
   1.175 +	は付きません。
   1.176 +	
   1.177 +・<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=x-sjis">を
   1.178 +  認識して漢字コードを設定して欲しいなー。
   1.179 +	
   1.180 +	文書の中にファイルのエンコード法を書いてもそもそもそのMETAなんちゃ
   1.181 +	らを読めない可能性があるので charset をMETAで指定するのは本当に
   1.182 +	期待した通りには機能しません。たとえば、多国語文書を書く必要が出
   1.183 +	たとします。すると今のところUTF-7でエンコードするのが一番無難で
   1.184 +	しょう。NetscapeでもIEでもUTF-7はちゃんと読むことができます。と
   1.185 +	ういことで、ファイルを開いてブラウザがちゃんとUTF-7と認識するよ
   1.186 +	うに、HTML文書の先頭に次のように書きました。
   1.187 +	
   1.188 +	<META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=utf-7">
   1.189 +	
   1.190 +	このように書いたものが 
   1.191 +	http://www.yatex.org/charset/hello-meta.file にあります。
   1.192 +	NetscapeとIEならUTF-7は読めるはずなので、どちらかでアクセスして
   1.193 +	みましょう。読めますか? 読めませんね。IEの場合はUTF-7の部分を自
   1.194 +	動判別するので、一見読めてるように見えますがtext/html とは解釈さ
   1.195 +	れておらず、結局METAが判別できなかったことが分かります。つまり、
   1.196 +	違うエンコード法を利用する場合、<META...> の部分さえもサーバに解
   1.197 +	釈不能な状態になり得るので、文書の中にcharset指定を埋め込むのは
   1.198 +	賢い方法ではありません。
   1.199 +	
   1.200 +	かわりに、上記で説明した .htaccess を利用しましょう。*.utf7 とい
   1.201 +	う拡張子を持つファイルは、UTF-7 でエンコードしたHTML文書である、
   1.202 +	という定義は、以下のように書けます。
   1.203 +	
   1.204 +		AddType "text/html; charset=utf-7"	.utf7
   1.205 +	
   1.206 +	.htaccess ファイルにこのように定義しておけば、無駄な<META〜
   1.207 +	charset〜>など綴らなくてもしっかりとサーバがエンコーディングを理
   1.208 +	解できます。このようにして書かれた UTF-7 のHTML文書が
   1.209 +	http://www.yatex.org/charset/hello.utf7
   1.210 +	にありますので、同じくNetscapeかIEで読んでみましょう。
   1.211 +	
   1.212 +	AddTypeは~/public_html などに置けばそれ以下の *.utf7 という拡張
   1.213 +	子全てに適用できます。一個だけAddTypeを書くだけでいいのです。
   1.214 +	
   1.215 +	HTML屋では、気休め程度にしかならないMETAによるcharset指定を推奨
   1.216 +	しない事を選びました。かわりに、もっと確実で簡単な .htaccess に
   1.217 +	よるエンコーディング指定を推奨するために、そちらをサポートします。
   1.218 +	
   1.219 +	関係ありませんが今(2000年現在)では x-sjisじゃなくて、Shift_JIS 
   1.220 +	と綴ることになってます:-p
   1.221 +		
   1.222 +・<li>の直後に空白入るとhtmllintに怒られるから空白なしにしたいんだけど…
   1.223 +	
   1.224 +	それ、htmllintがやりすぎなんです。タグ直後の空白に対して文句いう
   1.225 +	のは
   1.226 +	http://www.cre.canon.co.uk/%7Eneilb/weblint/www5-paper.html
   1.227 +	によると、空白があることで変なレイアウトになってしまうへぼブラウ
   1.228 +	ザへの配慮によるものなのでHTML的にはまるで問題ないんです。とかく
   1.229 +	htmllintを使うとhtmllintに怒られないこと自体が目的となりがちです
   1.230 +	が、わたしはそれは本末転倒であると思います。
   1.231 +	
   1.232 +■どうにかならんかなあ関連
   1.233 +・長い文書の下の方だとインデントがめちゃ遅いんだけど。
   1.234 +	
   1.235 +	今は直ってるはずです…。
   1.236 +	
   1.237 +・いつも雛型として使っている template.html を簡単に入れたい
   1.238 +	
   1.239 +	autoinsert.el (Emacs19/Mule2付属)を使いましょう。もしくは、それ
   1.240 +	の機能強化版 auto-insert-tkld を使いましょう。後者は、
   1.241 +	ftp://ftp.ae.keio.ac.jp/pub/emacs-lisp/util/auto-inset-tkld.tar.Z
   1.242 +	で入手できます。
   1.243 +	http://www-nagao.kuee.kyoto-u.ac.jp/member/tsuchiya/elisp/yahtml-mode.html
   1.244 +	に設定例が書いてあります。
   1.245 +	
   1.246 +■その他
   1.247 +・yahtmlってなんてよむの?
   1.248 +	
   1.249 +	がーん、良く聞かれます。
   1.250 +	作者も良く分かってません。えへん。
   1.251 +	というかかちょいい読み方が思い浮かばないもので。
   1.252 +	なんかいい読み方ないすか?
   1.253 +	突然思い付きました。正しい呼称は
   1.254 +	
   1.255 +		『HTML屋』
   1.256 +	
   1.257 +	とします。
   1.258 +	
   1.259 +・メイリングリストはないんですか?
   1.260 +	
   1.261 +	っていう質問項目があるくらいだからあります。「yahtml」およびそのVz
   1.262 +	への移植版「laihtml」(by KATSURAGAWA, Naoki)、Wzへの移植版
   1.263 +	「hackhtml」(by TAKENAKA, Hiroshi) に関する情報交換の
   1.264 +	ためのメイリングリスト「fj野鳥の会」がそれです。
   1.265 +	
   1.266 +		To: yatex@yatex.org
   1.267 +		Subject: append
   1.268 +		-----
   1.269 +		たぐでーし。明けましておめでとうございまーす。
   1.270 +	
   1.271 +	のようにメイルを送れば加入できます。この時本文に書いた内容がプロ
   1.272 +	フィールとして登録されます(変更可)。手続きは全て自動で行われ、登
   1.273 +	録が完了すると確認とともに、参加/休止/脱会等の制御コマンドの利用
   1.274 +	方法が返送されます。是非参加して一緒に野鳥/雷鳥/白鳥を育ててくだ
   1.275 +	さい。
   1.276 +	
   1.277 +・yahtmlの最新情報は?
   1.278 +	
   1.279 +	もしあなたが、WWWにアクセスできるなら、
   1.280 +	http://www.yatex.org/
   1.281 +	を覗いてみて下さい。このなかの、「yatex-current」というリンクを
   1.282 +	たどると最新版の野鳥を入手することができます。ただし、正式リリー
   1.283 +	ス版ではなく、作者がデバッグ中だったりして正常に動作しない可能性
   1.284 +	があるので、current版に関する問い合わせは受けかねますのでご注意
   1.285 +	下さい。
   1.286 +	
   1.287 +・とにかくわかりませーん!
   1.288 +	
   1.289 +	回答を得るまでの早い順に
   1.290 +
   1.291 +	・近くにいる詳しい人に聞く
   1.292 +	・メイリングリストに質問を出す
   1.293 +	・yuuji@yatex.org に質問を出す
   1.294 +	
   1.295 +	でしょうか。お好きな方法でどうぞ。
   1.296 +	
   1.297 +
   1.298 +Local Variables:
   1.299 +mode: indented-text
   1.300 +fill-column: 72
   1.301 +fill-prefix: "	"
   1.302 +buffer-file-coding-system: shift_jis-dos
   1.303 +End:
     2.1 --- a/docs/htmlqa.eng	Thu Nov 16 05:46:53 2000 +0000
     2.2 +++ b/docs/htmlqa.eng	Mon Dec 25 10:19:28 2000 +0000
     2.3 @@ -3,17 +3,29 @@
     2.4  %%
     2.5  %% C-u C-x $ shows only questions.  C-x $ shows all.
     2.6  %%
     2.7 +-- New Item
     2.8 +     *Can I use font-lock with yahtml?
     2.9  
    2.10  [Installation]
    2.11  ==============
    2.12  *Must I install YaTeX even if I don't use LaTeX?
    2.13  	
    2.14  	No.  Get the files starting with "yahtml" from
    2.15 -	ftp://ftp.ae.keio.ac.jp/pub/emacs-lisp/text/yatex/
    2.16 +	http://www.yatex.org/
    2.17  	and that's all you will need.
    2.18  
    2.19  [Customization]
    2.20  ==============
    2.21 +*Can I use font-lock with yahtml?
    2.22 +	
    2.23 +	Yes.  Native font-lock  support started at yahtml-1.69.  All you
    2.24 +	have to  do for font-lock-ing, is  to load font-lock beforehand.
    2.25 +	If you had added such workaround as
    2.26 +	
    2.27 +		(put 'yahtml-mode 'font-lock-defaults 'another-html-mode)
    2.28 +	
    2.29 +	in hooks, please remove it!
    2.30 +	
    2.31  *I usually use EUC, but need JIS coding on some files.
    2.32  	
    2.33  	Write
    2.34 @@ -68,11 +80,14 @@
    2.35  	
    2.36  *Mailing lists?
    2.37  	
    2.38 -	A  question, so  an answer.   The mailing  list for  YaTeX (Wild
    2.39 -	Bird)  and it's  implementation to  Vz; Raicho  (by KATSURAGAWA,
    2.40 -	Naoki),  implementation  to Wz  Editor;  HackTeX (by  TAKKENAKA,
    2.41 -	Hiroshi),   implementation  to   Hidemaru;  HiTeX   (by  YASUDA,
    2.42 -	Haruyuki) is "fj Wild Bird Society".  Send a mail like
    2.43 +
    2.44 +	A question, so an answer. The mailing list for YaTeX (Wild Bird)
    2.45 +	and it's  implementation to Vz Editor; LaiTeX  (Thunder Bird, by
    2.46 +	KATSURAGAWA Naoki), implementation  to Wz Editor; HackTeX (Swan,
    2.47 +	by TAKENAKA  Hiroshi), implementation to  Hidemaru Editor; HiTeX
    2.48 +	(Flying  Bird, by YASUDA  Haruyuki) is  "fj Wild  Bird Society".
    2.49 +	Send a mail like
    2.50 +
    2.51  	
    2.52  		To: yatex@yatex.org
    2.53  		Subject: append
     3.1 --- a/docs/qanda.eng	Thu Nov 16 05:46:53 2000 +0000
     3.2 +++ b/docs/qanda.eng	Mon Dec 25 10:19:28 2000 +0000
     3.3 @@ -14,7 +14,7 @@
     3.4  	Copy yatexe to the info directory where your Emacs is installed,
     3.5  	and add the next line to the dir file of the same directory.
     3.6  	
     3.7 -	* YaTeX: (yatexj). Yet Another tex-mode for Emacs. (Japanese).
     3.8 +	* YaTeX-e: (yatexe). Yet Another tex-mode for Emacs. (English).
     3.9  
    3.10  	(After that, M-x info  [RET] m yatex  [RET]  will give you  Wild
    3.11  	Bird's manual.  Hitting ? will show how to use info)
    3.12 @@ -267,14 +267,15 @@
    3.13  
    3.14  *Can't I use font-lock?
    3.15  	
    3.16 -	The document says,  "pattern must be  specified  within a line".
    3.17 -	So it seems you  can't chose a pattern  like from \begin to \end
    3.18 -	that laps more than  one line.  But on  the other hand, multiple
    3.19 -	line comments in C  seems to work  fine...   So what's the  real
    3.20 -	story?   Anybody know   the  answer?  If so,  teach   me, or try
    3.21 -	sending  a fan letter  to  our font-lock investigator-in-depress
    3.22 -	Taguchi (tagu@ae.keio.ac.jp)
    3.23 -
    3.24 +	Since v1.69, YES on XEmacs-21, Emacs-21, Emacs-20.7.
    3.25 +	
    3.26 +	Before starting YaTeX, load font-lock to make it work.  However,
    3.27 +	YaTeX makes   tricky   patterns  to  fontifying   logical   area
    3.28 +	independent from  `line', changing  of font-lock's specification
    3.29 +	in the future  will possibly disable YaTeX  from fontifying.  If
    3.30 +	you are thinking of graduating from hilit19,  it might be better
    3.31 +	to keep old setting about it...
    3.32 +	
    3.33  *It's sooo slow when I click YaTeX on the menu bar.
    3.34  	
    3.35  	I  don't know  why.  Probably  a  problem with Emacs-19.  You'll
    3.36 @@ -361,11 +362,12 @@
    3.37  =====
    3.38  *Mailing lists?
    3.39  	
    3.40 -	A  question, so  an answer.   The mailing  list for  YaTeX (Wild
    3.41 -	Bird)  and it's  implementation to  Vz; Raicho  (by KATSURAGAWA,
    3.42 -	Naoki),  implementation  to Wz  Editor;  HackTeX (by  TAKKENAKA,
    3.43 -	Hiroshi),   implementation  to   Hidemaru;  HiTeX   (by  YASUDA,
    3.44 -	Haruyuki) is "fj Wild Bird Society".  Send a mail like
    3.45 +	A question, so an answer. The mailing list for YaTeX (Wild Bird)
    3.46 +	and it's  implementation to Vz Editor; LaiTeX  (Thunder Bird, by
    3.47 +	KATSURAGAWA Naoki), implementation  to Wz Editor; HackTeX (Swan,
    3.48 +	by TAKENAKA  Hiroshi), implementation to  Hidemaru Editor; HiTeX
    3.49 +	(Flying  Bird, by YASUDA  Haruyuki) is  "fj Wild  Bird Society".
    3.50 +	Send a mail like
    3.51  	
    3.52  		To: yatex@yatex.org
    3.53  		Subject: append
     4.1 --- a/docs/yahtmle.tex	Thu Nov 16 05:46:53 2000 +0000
     4.2 +++ b/docs/yahtmle.tex	Mon Dec 25 10:19:28 2000 +0000
     4.3 @@ -7,7 +7,7 @@
     4.4  @c @syncodeindex fn cp
     4.5  @c Do people really read this INFO?
     4.6  @c Still not finished
     4.7 -@c Last modified Mon Nov 29 16:01:00 1999 on buell
     4.8 +@c Last modified Sat Dec  2 13:55:01 2000 on buell
     4.9  @syncodeindex vr cp
    4.10  @end iftex
    4.11  
    4.12 @@ -184,7 +184,7 @@
    4.13  @dots{} 
    4.14  
    4.15  @example
    4.16 -<big> 〜 </big>
    4.17 +<big> $B!A(B </big>
    4.18  @end example
    4.19  
    4.20  @noindent
    4.21 @@ -221,7 +221,7 @@
    4.22  @item @code{<img src="image.file">} -> invoke viewer
    4.23  @item @code{<a href="link.to.somewhere">} -> move cursor to linked target
    4.24  @item @code{<applet code="program">} -> open Java source
    4.25 -@c @item @code{\include(\input)} → 対応するファイル
    4.26 +@c @item @code{\include(\input)} $B"*(B $BBP1~$9$k%U%!%$%k(B
    4.27  @end itemize
    4.28  
    4.29  @node Changing and Deleting, CSS Support, Jump, Top
    4.30 @@ -249,7 +249,7 @@
    4.31  where the cursor is located.
    4.32  
    4.33  @itemize @bullet
    4.34 -@item @code{<TAG>}〜@code{</TAG>}
    4.35 +@item @code{<TAG>}$B!A(B@code{</TAG>}
    4.36  @dots{} change @code{TAG} element name
    4.37  @item attributes such as @code{<img src="image.file" alt="photo">}
    4.38  @dots{} change attributes
    4.39 @@ -436,6 +436,36 @@
    4.40  setq to @code{t} to avoid this.
    4.41  @end defvar
    4.42  
    4.43 +@defvar yahtml-use-css
    4.44 +Use style-sheet support or not (@code{t})
    4.45 +@end defvar
    4.46 +
    4.47 +@defvar yahtml-image-inspection-bytes
    4.48 +Number of bytes to inspect the image for geometry information (@code{10000})
    4.49 +@end defvar
    4.50 +
    4.51 +@defvar yahtml:img-default-alt-format
    4.52 +format of img entity's ALT attributes.
    4.53 +%x: width, %y: height, %s: size in bytes, %c: first comment string,
    4.54 +%f: filename (@code{"%xx%y(%sbytes)"})
    4.55 +@end defvar
    4.56 +
    4.57 +@defvar yahtml-escape-chars
    4.58 +When, completing href-s, Escape reserved characters to URL-encoding or not.
    4.59 +Nil for never, t for everytime, and 'ask for inquiring
    4.60 +at each reserved chars. (@code{'ask})
    4.61 +@end defvar
    4.62 +
    4.63 +@defvar yahtml-use-font-lock
    4.64 +Use font-lock to fontify buffer or not
    4.65 +(@code{(featurep 'font-lock)})
    4.66 +@end defvar
    4.67 +
    4.68 +@defvar yahtml-hilit19
    4.69 +Use hilit19 to highlight buffer or not
    4.70 +(@code{(featurep 'hilit19)})
    4.71 +@end defvar
    4.72 +
    4.73  
    4.74  @node Hook variables,  , All customizable variables, Customizations
    4.75  @comment  node-name,  next,  previous,  up
    4.76 @@ -453,11 +483,11 @@
    4.77  than willing to help.
    4.78  
    4.79  Complaints, requests, bug reports and comments are welcome.  Make contacts
    4.80 -to yuuji@@yatex.org (as of July 1999)
    4.81 +to yuuji@@yatex.org$B!!(B(as of December 2000)
    4.82  
    4.83  If you like this program and use it on a regular basis, please join the
    4.84  mailing list "fj Wild Bird Society".  Procedures can be found in the "etc"
    4.85 -section of @file{docs/yahtmlqa} in this package.
    4.86 +section of @file{docs/htmlqa.eng} in this package.
    4.87  
    4.88  
    4.89  @flushright
     5.1 --- a/docs/yahtmlj.tex	Thu Nov 16 05:46:53 2000 +0000
     5.2 +++ b/docs/yahtmlj.tex	Mon Dec 25 10:19:28 2000 +0000
     5.3 @@ -5,9 +5,9 @@
     5.4  
     5.5  @iftex
     5.6  @c @syncodeindex fn cp
     5.7 -@c Infoって最近読む人が増えたらしい
     5.8 -@c まだ書き終わっていません。
     5.9 -@c Last modified Mon Nov 29 15:43:04 1999 on buell
    5.10 +@c Info$B$C$F:G6aFI$`?M$,A}$($?$i$7$$(B
    5.11 +@c $B$^$@=q$-=*$o$C$F$$$^$;$s!#(B
    5.12 +@c Last modified Sat Dec  2 13:55:06 2000 on buell
    5.13  @syncodeindex vr cp
    5.14  @end iftex
    5.15  
    5.16 @@ -15,7 +15,7 @@
    5.17  @sp 10
    5.18  @center
    5.19  @subtitle Yet Another html-mode for emacs
    5.20 -@title 『HTML屋』
    5.21 +@title $B!X(BHTML$B20!Y(B
    5.22  @subtitle // yahtml //
    5.23  @author @copyright{} 1994-1997 by    HIROSE, Yuuji [yuuji@@yatex.org]
    5.24  @end titlepage
    5.25 @@ -24,49 +24,49 @@
    5.26  @comment  node-name,  next,  previous,  up
    5.27  
    5.28  @menu
    5.29 -* Intro::                       はじめに
    5.30 -* Installation::                インストール
    5.31 -* Command Invocation::          外部コマンド起動
    5.32 -* Completion::                  補完入力
    5.33 -* Jump::                        カーソルジャンプ
    5.34 -* Changing and Deleting::       変更と削除
    5.35 -* CSS Support::                 スタイルシート補完
    5.36 -* Customizations::              カスタマイズ変数一覧
    5.37 -* Copying::                     とりあつかい
    5.38 -* Concept Index::               索引
    5.39 +* Intro::                       $B$O$8$a$K(B
    5.40 +* Installation::                $B%$%s%9%H!<%k(B
    5.41 +* Command Invocation::          $B30It%3%^%s%I5/F0(B
    5.42 +* Completion::                  $BJd40F~NO(B
    5.43 +* Jump::                        $B%+!<%=%k%8%c%s%W(B
    5.44 +* Changing and Deleting::       $BJQ99$H:o=|(B
    5.45 +* CSS Support::                 $B%9%?%$%k%7!<%HJd40(B
    5.46 +* Customizations::              $B%+%9%?%^%$%:JQ?t0lMw(B
    5.47 +* Copying::                     $B$H$j$"$D$+$$(B
    5.48 +* Concept Index::               $B:w0z(B
    5.49  
    5.50  @end menu
    5.51  
    5.52  @node Intro, Installation, Top, Top
    5.53  @comment  node-name,  next,  previous,  up
    5.54 -@chapter はじめに
    5.55 +@chapter $B$O$8$a$K(B
    5.56  @cindex Demacs
    5.57  @cindex Mule
    5.58  @cindex LaTeX
    5.59 -@cindex HTML屋[HTMLや]
    5.60 +@cindex HTML$B20(B[HTML$B$d(B]
    5.61  
    5.62 -yahtmlは GNU Emacs 上で HTML文書を作成する時に、繁雑なHTMLタグの入力を補
    5.63 -完機能によってスムーズに行えるようにするだけでなく、weblintなどの構文チェッ
    5.64 -クプログラム、カーソル位置のURLやファイル名に依存したブラウザ/イメージヴュー
    5.65 -アの起動などを Emacs 編集画面中から
    5.66 -行えるようにするパッケージです。
    5.67 +yahtml$B$O(B GNU Emacs $B>e$G(B HTML$BJ8=q$r:n@.$9$k;~$K!"HK;($J(BHTML$B%?%0$NF~NO$rJd(B
    5.68 +$B405!G=$K$h$C$F%9%`!<%:$K9T$($k$h$&$K$9$k$@$1$G$J$/!"(Bweblint$B$J$I$N9=J8%A%'%C(B
    5.69 +$B%/%W%m%0%i%`!"%+!<%=%k0LCV$N(BURL$B$d%U%!%$%kL>$K0MB8$7$?%V%i%&%6(B/$B%$%a!<%8%t%e!<(B
    5.70 +$B%"$N5/F0$J$I$r(B Emacs $BJT=82hLLCf$+$i(B
    5.71 +$B9T$($k$h$&$K$9$k%Q%C%1!<%8$G$9!#(B
    5.72  
    5.73 -(このInfoは未完成です(__)…)
    5.74 +($B$3$N(BInfo$B$OL$40@.$G$9(B(__)$B!D(B)
    5.75  
    5.76  @node Installation, Command Invocation, Intro, Top
    5.77  @comment  node-name,  next,  previous,  up
    5.78 -@chapter インストール
    5.79 +@chapter $B%$%s%9%H!<%k(B
    5.80  @menu
    5.81 -* yahtml起動のための設定::      
    5.82 -* lintプログラム/ブラウザ/イメージヴューア環境等の設定::  
    5.83 -* WWWページ環境用変数の設定::   
    5.84 +* yahtml$B5/F0$N$?$a$N@_Dj(B::      
    5.85 +* lint$B%W%m%0%i%`(B/$B%V%i%&%6(B/$B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B::  
    5.86 +* WWW$B%Z!<%84D6-MQJQ?t$N@_Dj(B::   
    5.87  @end menu
    5.88  
    5.89 -@node yahtml起動のための設定, lintプログラム/ブラウザ/イメージヴューア環境等の設定, Installation, Installation
    5.90 -@section yahtml起動のための設定
    5.91 +@node yahtml$B5/F0$N$?$a$N@_Dj(B, lint$B%W%m%0%i%`(B/$B%V%i%&%6(B/$B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B, Installation, Installation
    5.92 +@section yahtml$B5/F0$N$?$a$N@_Dj(B
    5.93  
    5.94  
    5.95 -@file{~/.emacs}に下の2項目を加えます。
    5.96 +@file{~/.emacs}$B$K2<$N(B2$B9`L\$r2C$($^$9!#(B
    5.97  
    5.98  @lisp
    5.99  (setq auto-mode-alist
   5.100 @@ -74,54 +74,54 @@
   5.101  (autoload 'yahtml-mode "yahtml" "Yet Another HTML mode" t)
   5.102  @end lisp
   5.103  
   5.104 -次にyahtmlに必要なファイル(@file{yahtml.el}, @file{yatexlib.el},
   5.105 -@file{yatexprc.el}) を置くディレクトリを load-path に加えます。たとえば、 
   5.106 -@file{~/src/emacs/yahtml}に置くのであれば、
   5.107 +$B<!$K(Byahtml$B$KI,MW$J%U%!%$%k(B(@file{yahtml.el}, @file{yatexlib.el},
   5.108 +@file{yatexprc.el}) $B$rCV$/%G%#%l%/%H%j$r(B load-path $B$K2C$($^$9!#$?$H$($P!"(B 
   5.109 +@file{~/src/emacs/yahtml}$B$KCV$/$N$G$"$l$P!"(B
   5.110  
   5.111  @lisp
   5.112  (setq load-path (cons (expand-file-name "~/src/emacs/yahtml") load-path))
   5.113  @end lisp
   5.114  
   5.115  @noindent 
   5.116 -などとします。
   5.117 +$B$J$I$H$7$^$9!#(B
   5.118  
   5.119 -  以上の設定により、拡張子が .html であるファイルを編集すると自動的に
   5.120 -yahtml がロードされます。yahtmlが正常に起動できたときはモードラインの表示が
   5.121 -「yahtml」に変わります。
   5.122 +  $B0J>e$N@_Dj$K$h$j!"3HD%;R$,(B .html $B$G$"$k%U%!%$%k$rJT=8$9$k$H<+F0E*$K(B
   5.123 +yahtml $B$,%m!<%I$5$l$^$9!#(Byahtml$B$,@5>o$K5/F0$G$-$?$H$-$O%b!<%I%i%$%s$NI=<($,(B
   5.124 +$B!V(Byahtml$B!W$KJQ$o$j$^$9!#(B
   5.125  
   5.126 -@node lintプログラム/ブラウザ/イメージヴューア環境等の設定, WWWページ環境用変数の設定, yahtml起動のための設定, Installation
   5.127 -@section lintプログラム/ブラウザ/イメージヴューア環境等の設定
   5.128 +@node lint$B%W%m%0%i%`(B/$B%V%i%&%6(B/$B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B, WWW$B%Z!<%84D6-MQJQ?t$N@_Dj(B, yahtml$B5/F0$N$?$a$N@_Dj(B, Installation
   5.129 +@section lint$B%W%m%0%i%`(B/$B%V%i%&%6(B/$B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B
   5.130  
   5.131 -利用する外部プログラムなどに関する以下の変数を確認し、必要なら正しい値に変
   5.132 -更します(括弧内はデフォルト値)。
   5.133 +$BMxMQ$9$k30It%W%m%0%i%`$J$I$K4X$9$k0J2<$NJQ?t$r3NG'$7!"I,MW$J$i@5$7$$CM$KJQ(B
   5.134 +$B99$7$^$9(B($B3g8LFb$O%G%U%)%k%HCM(B)$B!#(B
   5.135  @table @code
   5.136  @item yahtml-www-browser
   5.137 -        @dots{} 起動するブラウザのコマンド名(netscape)
   5.138 +        @dots{} $B5/F0$9$k%V%i%&%6$N%3%^%s%IL>(B(netscape)
   5.139  @item yahtml-image-viewer
   5.140 -        @dots{} 起動する画像ビューアのコマンド名(xv)
   5.141 +        @dots{} $B5/F0$9$k2hA|%S%e!<%"$N%3%^%s%IL>(B(xv)
   5.142  @item yahtml-lint-program
   5.143 -        @dots{} 構文チェックプログラムのコマンド名(jweblint)
   5.144 +        @dots{} $B9=J8%A%'%C%/%W%m%0%i%`$N%3%^%s%IL>(B(jweblint)
   5.145  @item yahtml-kanji-code
   5.146 -        @dots{} htmlファイルの漢字コード
   5.147 +        @dots{} html$B%U%!%$%k$N4A;z%3!<%I(B
   5.148  @end table
   5.149  
   5.150 -@node WWWページ環境用変数の設定,  , lintプログラム/ブラウザ/イメージヴューア環境等の設定, Installation
   5.151 -@section WWWページ環境用変数の設定
   5.152 +@node WWW$B%Z!<%84D6-MQJQ?t$N@_Dj(B,  , lint$B%W%m%0%i%`(B/$B%V%i%&%6(B/$B%$%a!<%8%t%e!<%"4D6-Ey$N@_Dj(B, Installation
   5.153 +@section WWW$B%Z!<%84D6-MQJQ?t$N@_Dj(B
   5.154  
   5.155 -ホームページとなるファイルが存在するPATH名に関する変数を設定します。
   5.156 +$B%[!<%`%Z!<%8$H$J$k%U%!%$%k$,B8:_$9$k(BPATH$BL>$K4X$9$kJQ?t$r@_Dj$7$^$9!#(B
   5.157  @table @code
   5.158  @item yahtml-path-url-alist
   5.159 -        @dots{} ファイルシステム上のPATH名と、URLの対応表
   5.160 +        @dots{} $B%U%!%$%k%7%9%F%`>e$N(BPATH$BL>$H!"(BURL$B$NBP1~I=(B
   5.161  @item yahtml-directory-index
   5.162 -        @dots{} URL指定でファイル名を省略したときに表示されるインデックス
   5.163 -                ファイル名(NCSA系httpdなら @file{index.html}, CERN系なら
   5.164 -                @file{Welcome.html}が一般的)
   5.165 +        @dots{} URL$B;XDj$G%U%!%$%kL>$r>JN,$7$?$H$-$KI=<($5$l$k%$%s%G%C%/%9(B
   5.166 +                $B%U%!%$%kL>(B(NCSA$B7O(Bhttpd$B$J$i(B @file{index.html}, CERN$B7O$J$i(B
   5.167 +                @file{Welcome.html}$B$,0lHLE*(B)
   5.168  @end table
   5.169  
   5.170 -変数 @code{yahtml-path-url-alist} の設定例を示します。例えば、自宅では、
   5.171 -@file{/home/yuuji/http/} が @code{http://localhost/~yuuji} で参照でき、職
   5.172 -場では @file{/usr/home/yuuji/www/} が@code{http://www.keio.ac.jp/~yuuji/} 
   5.173 -で参照できるようになっている場合は以下のように設定します。
   5.174 +$BJQ?t(B @code{yahtml-path-url-alist} $B$N@_DjNc$r<($7$^$9!#Nc$($P!"<+Bp$G$O!"(B
   5.175 +@file{/home/yuuji/http/} $B$,(B @code{http://localhost/~yuuji} $B$G;2>H$G$-!"?&(B
   5.176 +$B>l$G$O(B @file{/usr/home/yuuji/www/} $B$,(B@code{http://www.keio.ac.jp/~yuuji/} 
   5.177 +$B$G;2>H$G$-$k$h$&$K$J$C$F$$$k>l9g$O0J2<$N$h$&$K@_Dj$7$^$9!#(B
   5.178  
   5.179  @lisp
   5.180  (setq yahtml-path-url-alist
   5.181 @@ -129,38 +129,38 @@
   5.182          ("/usr/home/yuuj/www" . "http://www.keio.ac.jp/~yuuji")))
   5.183  @end lisp
   5.184  
   5.185 -この対応組はいくらでも設定することができます。
   5.186 +$B$3$NBP1~AH$O$$$/$i$G$b@_Dj$9$k$3$H$,$G$-$^$9!#(B
   5.187  
   5.188  @node Command Invocation, Completion, Installation, Top
   5.189  @comment  node-name,  next,  previous,  up
   5.190 -@chapter 外部コマンド起動
   5.191 +@chapter $B30It%3%^%s%I5/F0(B
   5.192  
   5.193 -HTMLファイル編集にかかわるいくつかのコマンドを即座に呼ぶことができます。
   5.194 +HTML$B%U%!%$%kJT=8$K$+$+$o$k$$$/$D$+$N%3%^%s%I$rB(:B$K8F$V$3$H$,$G$-$^$9!#(B
   5.195  @table @kbd
   5.196  @item [prefix] t j
   5.197 -        @dots{} HTML構文チェッカ(jweblint)起動
   5.198 +        @dots{} HTML$B9=J8%A%'%C%+(B(jweblint)$B5/F0(B
   5.199  @item [prefix] t p
   5.200 -        @dots{} 現在のページを対象としたブラウザ起動
   5.201 +        @dots{} $B8=:_$N%Z!<%8$rBP>]$H$7$?%V%i%&%65/F0(B
   5.202  @item [prefix] t r
   5.203 -        @dots{} 現在のページがブラウザに表示されているときのreload指定
   5.204 +        @dots{} $B8=:_$N%Z!<%8$,%V%i%&%6$KI=<($5$l$F$$$k$H$-$N(Breload$B;XDj(B
   5.205  @end table
   5.206  
   5.207  @node Completion, Jump, Command Invocation, Top
   5.208  @comment  node-name,  next,  previous,  up
   5.209 -@chapter 補完入力
   5.210 +@chapter $BJd40F~NO(B
   5.211  
   5.212 -「野鳥」で利用できる、「begin型補完」、「section型補完」、
   5.213 -「large型補完」、「maketitle型補完」、「アクセント補完」
   5.214 -と全く同じキー操作で対応する
   5.215 -HTMLタグの補完入力ができます。それぞれの型の補完は順に、
   5.216 -「複数行に渡るタグ入力」、「空要素タグ(imgなど)の補完」、
   5.217 -「一行内での開始/終了タグの入力」、「空要素空属性タグの入力」、
   5.218 -「文字参照入力」
   5.219 -に
   5.220 -対応しています。具体的には
   5.221 +$B!VLnD;!W$GMxMQ$G$-$k!"!V(Bbegin$B7?Jd40!W!"!V(Bsection$B7?Jd40!W!"(B
   5.222 +$B!V(Blarge$B7?Jd40!W!"!V(Bmaketitle$B7?Jd40!W!"!V%"%/%;%s%HJd40!W(B
   5.223 +$B$HA4$/F1$8%-!<A`:n$GBP1~$9$k(B
   5.224 +HTML$B%?%0$NJd40F~NO$,$G$-$^$9!#$=$l$>$l$N7?$NJd40$O=g$K!"(B
   5.225 +$B!VJ#?t9T$KEO$k%?%0F~NO!W!"!V6uMWAG%?%0(B(img$B$J$I(B)$B$NJd40!W!"(B
   5.226 +$B!V0l9TFb$G$N3+;O(B/$B=*N;%?%0$NF~NO!W!"!V6uMWAG6uB0@-%?%0$NF~NO!W!"(B
   5.227 +$B!VJ8;z;2>HF~NO!W(B
   5.228 +$B$K(B
   5.229 +$BBP1~$7$F$$$^$9!#6qBNE*$K$O(B
   5.230  
   5.231  @table @kbd
   5.232 -@item [prefix] b (野鳥のbegin補完に対応)
   5.233 +@item [prefix] b ($BLnD;$N(Bbegin$BJd40$KBP1~(B)
   5.234  @dots{}
   5.235  @example
   5.236  <ul>
   5.237 @@ -168,122 +168,122 @@
   5.238  @end example
   5.239  
   5.240  @noindent
   5.241 -のように開始タグと終了タグを二行に渡って書きたい場合の補完を指します。
   5.242 -おもにブロック型タグが補完候補に含まれます。
   5.243 +$B$N$h$&$K3+;O%?%0$H=*N;%?%0$rFs9T$KEO$C$F=q$-$?$$>l9g$NJd40$r;X$7$^$9!#(B
   5.244 +$B$*$b$K%V%m%C%/7?%?%0$,Jd408uJd$K4^$^$l$^$9!#(B
   5.245  
   5.246 -@item [prefix] s (野鳥のsection型補完に対応)
   5.247 +@item [prefix] s ($BLnD;$N(Bsection$B7?Jd40$KBP1~(B)
   5.248  @dots{}
   5.249  @example
   5.250  <img src="foo.gif" alt="photo">
   5.251  @end example
   5.252  
   5.253  @noindent
   5.254 -のように終了タグを持たず、かつ属性値のみで機能を指定するタグを補完します。
   5.255 -補完候補としては、img, input が存在します。
   5.256 +$B$N$h$&$K=*N;%?%0$r;}$?$:!"$+$DB0@-CM$N$_$G5!G=$r;XDj$9$k%?%0$rJd40$7$^$9!#(B
   5.257 +$BJd408uJd$H$7$F$O!"(Bimg, input $B$,B8:_$7$^$9!#(B
   5.258  
   5.259 -@item [prefix] l (野鳥のlarge型補完に対応)
   5.260 -@dots{} begin型補完とほぼ同じですが、
   5.261 +@item [prefix] l ($BLnD;$N(Blarge$B7?Jd40$KBP1~(B)
   5.262 +@dots{} begin$B7?Jd40$H$[$\F1$8$G$9$,!"(B
   5.263  
   5.264  @example
   5.265 -<big> 〜 </big>
   5.266 +<big> $B!A(B </big>
   5.267  @end example
   5.268  
   5.269  @noindent
   5.270 -のように一行内に開始/終了タグを入れたいときに利用します。
   5.271 +$B$N$h$&$K0l9TFb$K3+;O(B/$B=*N;%?%0$rF~$l$?$$$H$-$KMxMQ$7$^$9!#(B
   5.272  
   5.273 -@item [prefix] m (野鳥のmaketitle型補完に対応)
   5.274 -@dots{} 要素も属性値も持たないタグを補完入力します。<br> 
   5.275 -などが補完候補に相当します。
   5.276 +@item [prefix] m ($BLnD;$N(Bmaketitle$B7?Jd40$KBP1~(B)
   5.277 +@dots{} $BMWAG$bB0@-CM$b;}$?$J$$%?%0$rJd40F~NO$7$^$9!#(B<br> 
   5.278 +$B$J$I$,Jd408uJd$KAjEv$7$^$9!#(B
   5.279  
   5.280 -@item [prefix] a (野鳥のアクセント補完に対応)
   5.281 -@dots{} エンティティ参照による文字表記を入力するときに用います。
   5.282 -デフォルトでは < (&lt;), > (&gt;), & (&amp;), " (&quot;), ' (&apos;),
   5.283 -ブランク (&nbsp;) の補完入力が行えます。
   5.284 +@item [prefix] a ($BLnD;$N%"%/%;%s%HJd40$KBP1~(B)
   5.285 +@dots{} $B%(%s%F%#%F%#;2>H$K$h$kJ8;zI=5-$rF~NO$9$k$H$-$KMQ$$$^$9!#(B
   5.286 +$B%G%U%)%k%H$G$O(B < (&lt;), > (&gt;), & (&amp;), " (&quot;), ' (&apos;),
   5.287 +$B%V%i%s%/(B (&nbsp;) $B$NJd40F~NO$,9T$($^$9!#(B
   5.288  @end table
   5.289  
   5.290  @node Jump, Changing and Deleting, Completion, Top
   5.291  @comment  node-name,  next,  previous,  up
   5.292 -@chapter カーソルジャンプ
   5.293 -文書中のいろいろな場所で
   5.294 +@chapter $B%+!<%=%k%8%c%s%W(B
   5.295 +$BJ8=qCf$N$$$m$$$m$J>l=j$G(B
   5.296  
   5.297  @table @kbd
   5.298  @item [prefix] g
   5.299 -        @dots{} 対応するオブジェクトにジャンプ
   5.300 +        @dots{} $BBP1~$9$k%*%V%8%'%/%H$K%8%c%s%W(B
   5.301  @end table
   5.302  
   5.303  @noindent 
   5.304 -を押すことにより、カーソル位置のHTML構文に対応する場所にジャンプ
   5.305 -します。対応関係が存在すると解釈されるコマンドには以下のものがあります。
   5.306 +$B$r2!$9$3$H$K$h$j!"%+!<%=%k0LCV$N(BHTML$B9=J8$KBP1~$9$k>l=j$K%8%c%s%W(B
   5.307 +$B$7$^$9!#BP1~4X78$,B8:_$9$k$H2r<a$5$l$k%3%^%s%I$K$O0J2<$N$b$N$,$"$j$^$9!#(B
   5.308  
   5.309  @itemize @bullet
   5.310 -@item @code{<TAG>} ←→ @code{</TAG>}
   5.311 -@item @code{<img src="画像ファイル">} → 対応するviewer起動
   5.312 -@item @code{<a href="リンク先">} → リンク先へのポイント移動
   5.313 -@item @code{<applet code="プログラム">} → Javaソースプログラムへの移動
   5.314 -@c @item @code{\include(\input)} → 対応するファイル
   5.315 +@item @code{<TAG>} $B"+"*(B @code{</TAG>}
   5.316 +@item @code{<img src="$B2hA|%U%!%$%k(B">} $B"*(B $BBP1~$9$k(Bviewer$B5/F0(B
   5.317 +@item @code{<a href="$B%j%s%/@h(B">} $B"*(B $B%j%s%/@h$X$N%]%$%s%H0\F0(B
   5.318 +@item @code{<applet code="$B%W%m%0%i%`(B">} $B"*(B Java$B%=!<%9%W%m%0%i%`$X$N0\F0(B
   5.319 +@c @item @code{\include(\input)} $B"*(B $BBP1~$9$k%U%!%$%k(B
   5.320  @end itemize
   5.321  
   5.322  @node Changing and Deleting, CSS Support, Jump, Top
   5.323  @comment  node-name,  next,  previous,  up
   5.324 -@chapter 変更/削除
   5.325 +@chapter $BJQ99(B/$B:o=|(B
   5.326  
   5.327  @menu
   5.328 -* 対タグの変更::                
   5.329 -* 文字参照への変更::            
   5.330 -* リジョン内文字のURLencode::   
   5.331 +* $BBP%?%0$NJQ99(B::                
   5.332 +* $BJ8;z;2>H$X$NJQ99(B::            
   5.333 +* $B%j%8%g%sFbJ8;z$N(BURLencode::   
   5.334  @end menu
   5.335  
   5.336 -@node 対タグの変更, 文字参照への変更, Changing and Deleting, Changing and Deleting
   5.337 +@node $BBP%?%0$NJQ99(B, $BJ8;z;2>H$X$NJQ99(B, Changing and Deleting, Changing and Deleting
   5.338  @comment  node-name,  next,  previous,  up
   5.339 -@section 対タグの変更
   5.340 -文書中のいろいろな場所で
   5.341 +@section $BBP%?%0$NJQ99(B
   5.342 +$BJ8=qCf$N$$$m$$$m$J>l=j$G(B
   5.343  
   5.344  @table @kbd
   5.345  @item [prefix] c
   5.346 -        @dots{} 対応するタグ等を変更
   5.347 +        @dots{} $BBP1~$9$k%?%0Ey$rJQ99(B
   5.348  @end table
   5.349  
   5.350  @noindent 
   5.351 -を押すことにより、カーソル位置のHTML構文に応じた
   5.352 -記述内容の変更を行います。カーソル位置と変更する内容の
   5.353 -対応は以下の通りです。
   5.354 +$B$r2!$9$3$H$K$h$j!"%+!<%=%k0LCV$N(BHTML$B9=J8$K1~$8$?(B
   5.355 +$B5-=RFbMF$NJQ99$r9T$$$^$9!#%+!<%=%k0LCV$HJQ99$9$kFbMF$N(B
   5.356 +$BBP1~$O0J2<$NDL$j$G$9!#(B
   5.357  
   5.358  @itemize @bullet
   5.359 -@item @code{<TAG>}〜@code{</TAG>}
   5.360 -@dots{} @code{TAG} の変更
   5.361 -@item @code{<img src="画像ファイル" alt="photo">} などの属性値
   5.362 -@dots{} 属性値の変更
   5.363 +@item @code{<TAG>}$B!A(B@code{</TAG>}
   5.364 +@dots{} @code{TAG} $B$NJQ99(B
   5.365 +@item @code{<img src="$B2hA|%U%!%$%k(B" alt="photo">} $B$J$I$NB0@-CM(B
   5.366 +@dots{} $BB0@-CM$NJQ99(B
   5.367  @end itemize
   5.368  
   5.369 -@node 文字参照への変更, リジョン内文字のURLencode, 対タグの変更, Changing and Deleting
   5.370 +@node $BJ8;z;2>H$X$NJQ99(B, $B%j%8%g%sFbJ8;z$N(BURLencode, $BBP%?%0$NJQ99(B, Changing and Deleting
   5.371  @comment  node-name,  next,  previous,  up
   5.372 -@section 文字参照への変更
   5.373 -文字としての < や > を表現するときは、文字参照を用いて
   5.374 -&lt; や &gt; と表記する必要がありますが、
   5.375 -HTML以外のファイルからこれらの文字を含むテキストを張り込んだ場合
   5.376 -などに、これらの文字を一括して文字参照形式に変換できます。
   5.377 +@section $BJ8;z;2>H$X$NJQ99(B
   5.378 +$BJ8;z$H$7$F$N(B < $B$d(B > $B$rI=8=$9$k$H$-$O!"J8;z;2>H$rMQ$$$F(B
   5.379 +&lt; $B$d(B &gt; $B$HI=5-$9$kI,MW$,$"$j$^$9$,!"(B
   5.380 +HTML$B0J30$N%U%!%$%k$+$i$3$l$i$NJ8;z$r4^$`%F%-%9%H$rD%$j9~$s$@>l9g(B
   5.381 +$B$J$I$K!"$3$l$i$NJ8;z$r0l3g$7$FJ8;z;2>H7A<0$KJQ49$G$-$^$9!#(B
   5.382  
   5.383  @table @kbd
   5.384  @item [prefix] ;
   5.385 -        @dots{} 指定した領域の文字参照に置き換えるべき文字の置換
   5.386 +        @dots{} $B;XDj$7$?NN0h$NJ8;z;2>H$KCV$-49$($k$Y$-J8;z$NCV49(B
   5.387  @item [prefix] :
   5.388 -        @dots{} 指定した領域の文字参照を参照文字そのものに置換
   5.389 -        ([prefix] ; の逆変換)
   5.390 +        @dots{} $B;XDj$7$?NN0h$NJ8;z;2>H$r;2>HJ8;z$=$N$b$N$KCV49(B
   5.391 +        ([prefix] ; $B$N5UJQ49(B)
   5.392  @end table
   5.393  
   5.394  
   5.395 -@node リジョン内文字のURLencode,  , 文字参照への変更, Changing and Deleting
   5.396 +@node $B%j%8%g%sFbJ8;z$N(BURLencode,  , $BJ8;z;2>H$X$NJQ99(B, Changing and Deleting
   5.397  @comment  node-name,  next,  previous,  up
   5.398 -@section リジョン内文字のURLencode
   5.399 +@section $B%j%8%g%sFbJ8;z$N(BURLencode
   5.400  @table
   5.401   @item [prefix] #
   5.402 -	@dots{} 指定した領域内に URLencode すべき文字があればそれらを
   5.403 -        エンコード表記に置換。
   5.404 +	@dots{} $B;XDj$7$?NN0hFb$K(B URLencode $B$9$Y$-J8;z$,$"$l$P$=$l$i$r(B
   5.405 +        $B%(%s%3!<%II=5-$KCV49!#(B
   5.406  @end table
   5.407  
   5.408  @node CSS Support, Customizations, Changing and Deleting, Top
   5.409  @comment  node-name,  next,  previous,  up
   5.410 -@chapter CSS(スタイルシート)サポート
   5.411 +@chapter CSS($B%9%?%$%k%7!<%H(B)$B%5%]!<%H(B
   5.412  
   5.413  @menu
   5.414  * CSS-class completion::        
   5.415 @@ -292,202 +292,229 @@
   5.416  
   5.417  @node CSS-class completion, Reread CSS file, CSS Support, CSS Support
   5.418  @comment  node-name,  next,  previous,  up
   5.419 -@section CSSクラス名補完
   5.420 -HTML屋はCSS(Cascading Style Sheets)のクラス名を補完入力することができます。
   5.421 -スタイル定義として
   5.422 +@section CSS$B%/%i%9L>Jd40(B
   5.423 +HTML$B20$O(BCSS(Cascading Style Sheets)$B$N%/%i%9L>$rJd40F~NO$9$k$3$H$,$G$-$^$9!#(B
   5.424 +$B%9%?%$%kDj5A$H$7$F(B
   5.425  
   5.426  @display
   5.427   h1.foo, h2.foo @{ background-color: 0xffffff; @}
   5.428   h1.bar, h2.bar @{ font-size: 120%; @}
   5.429  @end display
   5.430  
   5.431 -のようなものがあった場合に、h1またはh2タグを [prefix] b や [prefix] l で補
   5.432 -完入力した場合に、それらに有効な class 名である foo, bar を候補として補完
   5.433 -入力することが可能です。また
   5.434 +$B$N$h$&$J$b$N$,$"$C$?>l9g$K!"(Bh1$B$^$?$O(Bh2$B%?%0$r(B [prefix] b $B$d(B [prefix] l $B$GJd(B
   5.435 +$B40F~NO$7$?>l9g$K!"$=$l$i$KM-8z$J(B class $BL>$G$"$k(B foo, bar $B$r8uJd$H$7$FJd40(B
   5.436 +$BF~NO$9$k$3$H$,2DG=$G$9!#$^$?(B
   5.437  
   5.438  @display
   5.439   .caution @{ font-size: 120%; background-color: 0xc00000;@}
   5.440  @end display
   5.441  
   5.442 -のような全てのエレメントに働くclassが定義されていた場合は、全てのタグの補
   5.443 -完入力時にclass参照入力を求められます。これが煩わしい場合はエレメント名入
   5.444 -力確定のときにリターンキー(またはC-m)ではなく、C-jを押せばclass補完入力を
   5.445 -キャンセルできます。たとえば
   5.446 +$B$N$h$&$JA4$F$N%(%l%a%s%H$KF/$/(Bclass$B$,Dj5A$5$l$F$$$?>l9g$O!"A4$F$N%?%0$NJd(B
   5.447 +$B40F~NO;~$K(Bclass$B;2>HF~NO$r5a$a$i$l$^$9!#$3$l$,HQ$o$7$$>l9g$O%(%l%a%s%HL>F~(B
   5.448 +$BNO3NDj$N$H$-$K%j%?!<%s%-!<(B($B$^$?$O(BC-m)$B$G$O$J$/!"(BC-j$B$r2!$;$P(Bclass$BJd40F~NO$r(B
   5.449 +$B%-%c%s%;%k$G$-$^$9!#$?$H$($P(B
   5.450  
   5.451  @display
   5.452 - @kbd{[prefix] l}                    行内タグ補完を起動
   5.453 -    (または@kbd{[prefix] l SPC})
   5.454 - tt                                  <tt></tt>をいれたいのでttと入力
   5.455 + @kbd{[prefix] l}                    $B9TFb%?%0Jd40$r5/F0(B
   5.456 +    ($B$^$?$O(B@kbd{[prefix] l SPC})
   5.457 + tt                                  <tt></tt>$B$r$$$l$?$$$N$G(Btt$B$HF~NO(B
   5.458   @kbd{C-m}
   5.459  @end display
   5.460  
   5.461 -とした場合は続いて class= と補完プロンプトが出ますが、
   5.462 +$B$H$7$?>l9g$OB3$$$F(B class= $B$HJd40%W%m%s%W%H$,=P$^$9$,!"(B
   5.463  
   5.464  @display
   5.465 - @kbd{[prefix] l}                    行内タグ補完を起動
   5.466 -    (または@kbd{[prefix] l SPC})
   5.467 - tt                                  <tt></tt>をいれたいのでttと入力
   5.468 + @kbd{[prefix] l}                    $B9TFb%?%0Jd40$r5/F0(B
   5.469 +    ($B$^$?$O(B@kbd{[prefix] l SPC})
   5.470 + tt                                  <tt></tt>$B$r$$$l$?$$$N$G(Btt$B$HF~NO(B
   5.471   @kbd{C-j}
   5.472  @end display
   5.473  
   5.474 -と最後を @kbd{C-j} で入力した場合は class 補完プロンプトは出ません。
   5.475 +$B$H:G8e$r(B @kbd{C-j} $B$GF~NO$7$?>l9g$O(B class $BJd40%W%m%s%W%H$O=P$^$;$s!#(B
   5.476  
   5.477  @node Reread CSS file,  , CSS-class completion, CSS Support
   5.478  @comment  node-name,  next,  previous,  up
   5.479 -@section CSS定義ファイルの読み直し
   5.480 -htmlファイルを編集中にCSS定義ファイルを修正し、追加した
   5.481 -classを補完候補として直ちに読み込ませたい場合は、
   5.482 -@kbd{M-x yahtml-mode} として再起動を行ってください。
   5.483 +@section CSS$BDj5A%U%!%$%k$NFI$_D>$7(B
   5.484 +html$B%U%!%$%k$rJT=8Cf$K(BCSS$BDj5A%U%!%$%k$r=$@5$7!"DI2C$7$?(B
   5.485 +class$B$rJd408uJd$H$7$FD>$A$KFI$_9~$^$;$?$$>l9g$O!"(B
   5.486 +@kbd{M-x yahtml-mode} $B$H$7$F:F5/F0$r9T$C$F$/$@$5$$!#(B
   5.487  
   5.488  @node Customizations, Copying, CSS Support, Top
   5.489  @comment  node-name,  next,  previous,  up
   5.490 -@chapter カスタマイズ
   5.491 -@cindex カスタマイズ[かすたまいす]
   5.492 -@cindex キーアサイン[きいあさいん]
   5.493 +@chapter $B%+%9%?%^%$%:(B
   5.494 +@cindex $B%+%9%?%^%$%:(B[$B$+$9$?$^$$$9(B]
   5.495 +@cindex $B%-!<%"%5%$%s(B[$B$-$$$"$5$$$s(B]
   5.496  
   5.497 -yahtmlの動作を制御する変数について説明します。
   5.498 +yahtml$B$NF0:n$r@)8f$9$kJQ?t$K$D$$$F@bL@$7$^$9!#(B
   5.499  
   5.500  @menu
   5.501 -* All customizable variables::  カスタマイズ変数一覧
   5.502 -* Hook variables::              hook変数
   5.503 +* All customizable variables::  $B%+%9%?%^%$%:JQ?t0lMw(B
   5.504 +* Hook variables::              hook$BJQ?t(B
   5.505  @end menu
   5.506  
   5.507  @node All customizable variables, Hook variables, Customizations, Customizations
   5.508  @comment  node-name,  next,  previous,  up
   5.509 -@section カスタマイズ変数一覧
   5.510 +@section $B%+%9%?%^%$%:JQ?t0lMw(B
   5.511  
   5.512  @defvar yahtml-prefix
   5.513 -yahtml-mode 中のプリフィクスキー (@kbd{\C-c})
   5.514 +yahtml-mode $BCf$N%W%j%U%#%/%9%-!<(B (@kbd{\C-c})
   5.515  @end defvar
   5.516  
   5.517  @defvar yahtml-image-viewer
   5.518 -imgで参照している画像ファイルを表示するときに起動するコマンド (xv)
   5.519 +img$B$G;2>H$7$F$$$k2hA|%U%!%$%k$rI=<($9$k$H$-$K5/F0$9$k%3%^%s%I(B (xv)
   5.520  @end defvar
   5.521  
   5.522  @defvar yahtml-www-browser
   5.523 -@kbd{[prefix]g} で外部ページを表示するときに起動するブラウザ (netscape)
   5.524 +@kbd{[prefix]g} $B$G30It%Z!<%8$rI=<($9$k$H$-$K5/F0$9$k%V%i%&%6(B (netscape)
   5.525  @end defvar
   5.526  
   5.527  @defvar yahtml-kanji-code
   5.528 -デフォルトの漢字コード。1=sjis, 2=jis, 3=euc (2)
   5.529 -.htaccess ファイルに
   5.530 +$B%G%U%)%k%H$N4A;z%3!<%I!#(B1=sjis, 2=jis, 3=euc (2)
   5.531 +.htaccess $B%U%!%$%k$K(B
   5.532  @quotation
   5.533   AddType "text/html; charset=xxx" .html
   5.534  @end quotation
   5.535 -の記述があった場合はそれに従う
   5.536 +$B$N5-=R$,$"$C$?>l9g$O$=$l$K=>$&(B
   5.537  @end defvar
   5.538  
   5.539  @defvar yahtml-fill-column
   5.540 -auto-fillするときのカラム数 (72)
   5.541 +auto-fill$B$9$k$H$-$N%+%i%`?t(B (72)
   5.542  @end defvar
   5.543  
   5.544  @defvar yahtml-fill-prefix
   5.545 -yahtml-mode 固有のfill-prefix (@code{nil})
   5.546 +yahtml-mode $B8GM-$N(Bfill-prefix (@code{nil})
   5.547  @end defvar
   5.548  
   5.549  @defvar yahtml-path-url-alist
   5.550 -OSのファイルシステム上でのフルパス名と、その外部公開時のURLの対応表。
   5.551 +OS$B$N%U%!%$%k%7%9%F%`>e$G$N%U%k%Q%9L>$H!"$=$N30It8x3+;~$N(BURL$B$NBP1~I=!#(B
   5.552  @end defvar
   5.553  
   5.554  @defvar yahtml-directory-index
   5.555 -サーバアクセス時ファイル名を省略したときにデフォルトで開かれる
   5.556 -インデックスファイルの名前。多くの場合 index.html。(@code{"index.html"})
   5.557 +$B%5!<%P%"%/%;%9;~%U%!%$%kL>$r>JN,$7$?$H$-$K%G%U%)%k%H$G3+$+$l$k(B
   5.558 +$B%$%s%G%C%/%9%U%!%$%k$NL>A0!#B?$/$N>l9g(B index.html$B!#(B(@code{"index.html"})
   5.559  @end defvar
   5.560  
   5.561  @defvar yahtml-lint-program
   5.562 -HTML構文チェックプログラム。(@code{"jweblint"})
   5.563 +HTML$B9=J8%A%'%C%/%W%m%0%i%`!#(B(@code{"jweblint"})
   5.564  @end defvar
   5.565  
   5.566  @defvar yahtml-hate-too-deep-indentation
   5.567 -ネストした列挙系環境でのインデントが深すぎるときにtにする。(@code{nil})
   5.568 +$B%M%9%H$7$?Ns5s7O4D6-$G$N%$%s%G%s%H$,?<$9$.$k$H$-$K(Bt$B$K$9$k!#(B(@code{nil})
   5.569  @end defvar
   5.570  
   5.571  @defvar yahtml-always-/p
   5.572 -@code{<p>} をいれたら必ず @code{</p>} したい人向け。@code{nil}
   5.573 +@code{<p>} $B$r$$$l$?$iI,$:(B @code{</p>} $B$7$?$$?M8~$1!#(B@code{nil}
   5.574  @end defvar
   5.575  
   5.576  @defvar yahtml-p-prefered-env-regexp
   5.577 -自動的に @code{<p>} を入れて欲しい環境。@code{^\(body\|dl\)}
   5.578 +$B<+F0E*$K(B @code{<p>} $B$rF~$l$FM_$7$$4D6-!#(B@code{^\(body\|dl\)}
   5.579  @end defvar
   5.580  
   5.581  @defvar yahtml-template-file
   5.582 -新規HTMLファイル作成時に自動的に挿入して欲しいファイル名。
   5.583 +$B?75,(BHTML$B%U%!%$%k:n@.;~$K<+F0E*$KA^F~$7$FM_$7$$%U%!%$%kL>!#(B
   5.584  @file{"~/http/template.html"}
   5.585  @end defvar
   5.586  
   5.587  @defvar yahtml-prefer-upcases
   5.588 -タグに大文字を使いたい。@code{nil}
   5.589 +$B%?%0$KBgJ8;z$r;H$$$?$$!#(B@code{nil}
   5.590  @end defvar
   5.591  
   5.592  @defvar yahtml-prefer-upcase-attributes
   5.593 -属性指定子に大文字を使いたい。@code{nil}
   5.594 +$BB0@-;XDj;R$KBgJ8;z$r;H$$$?$$!#(B@code{nil}
   5.595  @end defvar
   5.596  
   5.597  @defvar yahtml-server-type
   5.598 -Apache系のサーバを利用している場合は 'apache をセットする。
   5.599 -./.htaccess を参照するかどうかを決定する。@code{'apache}
   5.600 +Apache$B7O$N%5!<%P$rMxMQ$7$F$$$k>l9g$O(B 'apache $B$r%;%C%H$9$k!#(B
   5.601 +./.htaccess $B$r;2>H$9$k$+$I$&$+$r7hDj$9$k!#(B@code{'apache}
   5.602  @end defvar
   5.603  
   5.604  @defvar yahtml-apache-access-file
   5.605 -@code{yahtml-server-type} が @code{'apache} のときに
   5.606 -アクセス制限ファイル名を指定。@file{".htaccess"}
   5.607 +@code{yahtml-server-type} $B$,(B @code{'apache} $B$N$H$-$K(B
   5.608 +$B%"%/%;%9@)8B%U%!%$%kL>$r;XDj!#(B@file{".htaccess"}
   5.609  @end defvar
   5.610  
   5.611  @defvar yahtml-shell-command-option
   5.612 -シェルで別コマンドを起動するときのオプション。
   5.613 +$B%7%'%k$GJL%3%^%s%I$r5/F0$9$k$H$-$N%*%W%7%g%s!#(B
   5.614  @end defvar
   5.615  
   5.616  @defvar yahtml-translate-hyphens-when-comment-region
   5.617 -領域コメントアウトをするときに既に存在するハイフンを @code{&#45;} に
   5.618 -変更するかどうか。(@code{t})
   5.619 +$BNN0h%3%a%s%H%"%&%H$r$9$k$H$-$K4{$KB8:_$9$k%O%$%U%s$r(B @code{&#45;} $B$K(B
   5.620 +$BJQ99$9$k$+$I$&$+!#(B(@code{t})
   5.621  @end defvar
   5.622  
   5.623  @defvar yahtml-entity-reference-chars-alist
   5.624 -エンティティ参照(Entity Reference)で記述すべき文字群を
   5.625 - @code{'(?文字 . "エンティティ表記")}  という形式を列挙した
   5.626 -alistで並べる。デフォルトで @code{<}, @code{>}, @code{&}, @code{'}, 
   5.627 -@code{"} に対するalistが設定されているので、追加したい分だけを記述すれば良
   5.628 -い。cdr部 @code{"エンティティ表記"} は、先頭の @code{&} と 末尾の@code{;}
   5.629 -は含めずに書く。
   5.630 +$B%(%s%F%#%F%#;2>H(B(Entity Reference)$B$G5-=R$9$Y$-J8;z72$r(B
   5.631 + @code{'(?$BJ8;z(B . "$B%(%s%F%#%F%#I=5-(B")}  $B$H$$$&7A<0$rNs5s$7$?(B
   5.632 +alist$B$GJB$Y$k!#%G%U%)%k%H$G(B @code{<}, @code{>}, @code{&}, @code{'}, 
   5.633 +@code{"} $B$KBP$9$k(Balist$B$,@_Dj$5$l$F$$$k$N$G!"DI2C$7$?$$J,$@$1$r5-=R$9$l$PNI(B
   5.634 +$B$$!#(Bcdr$BIt(B @code{"$B%(%s%F%#%F%#I=5-(B"} $B$O!"@hF,$N(B @code{&} $B$H(B $BKvHx$N(B@code{;}
   5.635 +$B$O4^$a$:$K=q$/!#(B
   5.636  @end defvar
   5.637  
   5.638  @defvar yahtml-faithful-to-htmllint
   5.639 -構文チェッカとして htmllint を利用する場合ちょっとした余計な空白などに
   5.640 -対しても警告を示すので、これを回避するときにはこの変数を@code{t}に
   5.641 -する。
   5.642 +$B9=J8%A%'%C%+$H$7$F(B htmllint $B$rMxMQ$9$k>l9g$A$g$C$H$7$?M>7W$J6uGr$J$I$K(B
   5.643 +$BBP$7$F$b7Y9p$r<($9$N$G!"$3$l$r2sHr$9$k$H$-$K$O$3$NJQ?t$r(B@code{t}$B$K(B
   5.644 +$B$9$k!#(B
   5.645  @end defvar
   5.646  
   5.647 +@defvar yahtml-use-css
   5.648 +CSS$B$NJd405!G=$r;H$&$+$I$&$+(B (@code{t})
   5.649 +@end defvar
   5.650 +
   5.651 +@defvar yahtml-image-inspection-bytes
   5.652 +$B2hA|%U%!%$%k$N%5%$%:$rD4$Y$k$H$-$KFI$_9~$`%P%$%H?t(B (@code{10000})
   5.653 +@end defvar
   5.654 +
   5.655 +@defvar yahtml:img-default-alt-format
   5.656 +<img src...>$B$N(BALT$BB0@-$N%G%U%)%k%HJ8;zNs$N=q<0!#(B%x$B$O2hA|$NI}!"(B
   5.657 +%y$B$O2hA|$N9b$5!"(B%s$B$O%U%!%$%k%5%$%:$KCV49$5$l$k(B (@code{"%xx%y(%sbytes)"})
   5.658 +@end defvar
   5.659 +
   5.660 +@defvar yahtml-escape-chars
   5.661 +href$BJd40$J$I$N$H$-$KM=LsJ8;z$r(BURL$B%(%s%3!<%I$9$k$+(B;
   5.662 +'ask$B$N$H$-$O3NG'$7$F$+$iCV49$9$k(B (@code{'ask})
   5.663 +@end defvar
   5.664 +
   5.665 +@defvar yahtml-use-font-lock
   5.666 +$B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B font-lock $B$rMxMQ$9$k$+(B
   5.667 +(@code{(featurep 'font-lock)})
   5.668 +@end defvar
   5.669 +
   5.670 +@defvar yahtml-hilit19
   5.671 +$B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B hilit19 $B$rMxMQ$9$k$+(B
   5.672 +(@code{(featurep 'hilit19)})
   5.673 +@end defvar
   5.674  
   5.675  @node Hook variables,  , All customizable variables, Customizations
   5.676  @comment  node-name,  next,  previous,  up
   5.677 -@section hook変数
   5.678 +@section hook$BJQ?t(B
   5.679  
   5.680  
   5.681  @node Copying, Concept Index, Customizations, Top
   5.682  @comment  node-name,  next,  previous,  up
   5.683 -@chapter 取り扱い
   5.684 +@chapter $B<h$j07$$(B
   5.685  
   5.686 -  本プログラムはフリーソフトウェアです。本プログラムを使用して生じたいかな
   5.687 -る結果に対しても作者は責任を負わないこととします。転載等に関しては制限いた
   5.688 -しません。常識的に扱ってください。また、使用している旨をメイルでお知らせい
   5.689 -ただくと、作者は喜んでサポートに励むことでしょう。
   5.690 +  $BK\%W%m%0%i%`$O%U%j!<%=%U%H%&%'%"$G$9!#K\%W%m%0%i%`$r;HMQ$7$F@8$8$?$$$+$J(B
   5.691 +$B$k7k2L$KBP$7$F$b:n<T$O@UG$$rIi$o$J$$$3$H$H$7$^$9!#E>:\Ey$K4X$7$F$O@)8B$$$?(B
   5.692 +$B$7$^$;$s!#>o<1E*$K07$C$F$/$@$5$$!#$^$?!";HMQ$7$F$$$k;]$r%a%$%k$G$*CN$i$;$$(B
   5.693 +$B$?$@$/$H!":n<T$O4n$s$G%5%]!<%H$KNe$`$3$H$G$7$g$&!#(B
   5.694  
   5.695 -  苦情、希望、バグ報告、感想等は歓迎いたします。
   5.696 -連絡は yuuji@@yatex.org まで(1999年7月現在)。
   5.697 -継続的に使用してくださる方はメイリングリスト「fj野鳥の会」に
   5.698 -是非加入してください。加入方法については本パッケージの @file{docs/yahtmlqa}
   5.699 -ファイルの「その他」の章を御覧ください。
   5.700 +  $B6l>p!"4uK>!"%P%0Js9p!"46A[Ey$O4?7^$$$?$7$^$9!#(B
   5.701 +$BO"Mm$O(B yuuji@@yatex.org $B$^$G(B(2000$BG/(B12$B7n8=:_(B)$B!#(B
   5.702 +$B7QB3E*$K;HMQ$7$F$/$@$5$kJ}$O%a%$%j%s%0%j%9%H!V(Bfj$BLnD;$N2q!W$K(B
   5.703 +$B@'Hs2CF~$7$F$/$@$5$$!#2CF~J}K!$K$D$$$F$OK\%Q%C%1!<%8$N(B @file{docs/htmlqa}
   5.704 +$B%U%!%$%k$N!V$=$NB>!W$N>O$r8fMw$/$@$5$$!#(B
   5.705  
   5.706 -仕様は、予告なく確実に(気分次第で)変更されます:-p。
   5.707 +$B;EMM$O!"M=9p$J$/3N<B$K(B($B5$J,<!Bh$G(B)$BJQ99$5$l$^$9(B:-p$B!#(B
   5.708  
   5.709  @flushright
   5.710 -広瀬雄二
   5.711 +$B9-@%M:Fs(B
   5.712  @end flushright
   5.713  
   5.714  
   5.715  @node    Concept Index,  , Copying, Top
   5.716  @comment node-name, next, previous, up
   5.717 -@unnumbered 索引
   5.718 +@unnumbered $B:w0z(B
   5.719  @printindex cp
   5.720  
   5.721  
     6.1 --- a/docs/yatexe.tex	Thu Nov 16 05:46:53 2000 +0000
     6.2 +++ b/docs/yatexe.tex	Mon Dec 25 10:19:28 2000 +0000
     6.3 @@ -5,7 +5,7 @@
     6.4  
     6.5  @iftex
     6.6  @c @syncodeindex fn cp
     6.7 -@c Last modified Thu Mar 16 01:05:41 2000 on firestorm
     6.8 +@c Last modified Fri Dec 22 09:50:10 2000 on buell
     6.9  @syncodeindex vr cp
    6.10  @end iftex
    6.11  
    6.12 @@ -268,8 +268,7 @@
    6.13    @kbd{[prefix] t p} invokes the TeX previewer.  And if you are using
    6.14  xdvi-remote, which can be controled from other terminals, @kbd{[prefix] t
    6.15  s} enables you to search current string at the cursor on the running xdvi
    6.16 -window.  You can get xdvi with `-remote feature' from;
    6.17 -@code{ftp://ftp.ae.keio.ac.jp/pub/text/xdvi/xdvi-remote}.
    6.18 +window.
    6.19  
    6.20  @node Printing out,  , Calling previewer, Typesetting
    6.21  @comment  node-name,  next,  previous,  up
    6.22 @@ -1673,23 +1672,6 @@
    6.23  Default makeindex command (@code{"makeindex"} (@code{"makeind"} on MS-DOS))
    6.24  @end defvar
    6.25  
    6.26 -@defvar section-name
    6.27 -Initial default value at the first section-type completion 
    6.28 -(@code{"documentstyle"})
    6.29 -@end defvar
    6.30 -
    6.31 -@defvar env-name
    6.32 -Initial default value at the first begin-type completion (@code{"document"})
    6.33 -@end defvar
    6.34 -
    6.35 -@defvar fontsize-name
    6.36 -Ditto of large-type (@code{"large"})
    6.37 -@end defvar
    6.38 -
    6.39 -@defvar single-command
    6.40 -Ditto of maketitle-type (@code{"maketitle"})
    6.41 -@end defvar
    6.42 -
    6.43  @defvar YaTeX-need-nonstop
    6.44  Put @code{\nonstopmode@{@}} or not (@code{nil})
    6.45  @end defvar
    6.46 @@ -1829,6 +1811,27 @@
    6.47  (@code{~/work/template.tex})
    6.48  @end defvar
    6.49  
    6.50 +@defvar YaTeX-search-file-from-top-directory
    6.51 +Non-nil means to search input-files from the directory where main file exists
    6.52 +(@code{t})
    6.53 +@end defvar
    6.54 +
    6.55 +@defvar YaTeX-use-font-lock
    6.56 +Use font-lock to fontify buffer or not (@code{(featurep 'font-lock)}
    6.57 +@end defvar
    6.58 +
    6.59 +@defvar YaTeX-use-hilit19
    6.60 +Use hilit19 to highlight buffer or not (@code{(featurep 'hilit19)}
    6.61 +@end defvar
    6.62 +
    6.63 +@defvar YaTeX-use-italic-bold
    6.64 +YaTeX tries to search italic, bold fontsets or not
    6.65 +(@code{t} if Emacs-20 or later).  This variable is effective only when
    6.66 +font-lock is used.
    6.67 +(@code{(featurep 'hilit19)}
    6.68 +@end defvar
    6.69 +
    6.70 +
    6.71  @node Sample definitions, Hook variables, All customizable variables, Lisp variables
    6.72  @comment  node-name,  next,  previous,  up
    6.73  @subsection Sample definitions
    6.74 @@ -2279,11 +2282,11 @@
    6.75  as a result  of using this  software.   However, any  reports  and
    6.76  suggestions are  welcome as  long as I   feel  interests in   this
    6.77  software.   My possible  e-mail address is  `yuuji@@yatex.org'.
    6.78 -(up to May.1999 at least)  And there is mailing list for YaTeX.
    6.79 +(up to Dec.2000 at least)  And there is mailing list for YaTeX.
    6.80  Although the common language is Japanese, questions in English will be
    6.81  welcome.  To join the ML, send the mail whose subject is `append' to
    6.82 -the address `yatex-control@@jaist.ac.jp'.  If you have some
    6.83 -question, please ask to `yatex-request@@jaist.ac.jp'.
    6.84 +the address `yatex@@yatex.org.  If you have some
    6.85 +question, please ask to `yatex-admin@@yatex.org'.
    6.86  
    6.87    The specification of this software will be surely modified
    6.88  (depending on my feelings) without notice :-p.
     7.1 --- a/docs/yatexj.tex	Thu Nov 16 05:46:53 2000 +0000
     7.2 +++ b/docs/yatexj.tex	Mon Dec 25 10:19:28 2000 +0000
     7.3 @@ -5,12 +5,12 @@
     7.4  
     7.5  @iftex
     7.6  @c @syncodeindex fn cp
     7.7 -@c いつも忘れるのでここに書いとくか。
     7.8 -@c C-l C-c n でノード入れ
     7.9 -@c ノードいじったら C-l C-u C-n 全部のノード更新 C-l C-u C-e
    7.10 -@c メニュー増やしたら C-l C-u C-m 全部のメニュー更新 C-l C-u C-a
    7.11 -@c フォーマットするときは C-l C-e C-b
    7.12 -@c Last modified Thu Mar 16 01:04:48 2000 on firestorm
    7.13 +@c $B$$$D$bK:$l$k$N$G$3$3$K=q$$$H$/$+!#(B
    7.14 +@c C-l C-c n $B$G%N!<%IF~$l(B
    7.15 +@c $B%N!<%I$$$8$C$?$i(B C-l C-u C-n $BA4It$N%N!<%I99?7(B C-l C-u C-e
    7.16 +@c $B%a%K%e!<A}$d$7$?$i(B C-l C-u C-m $BA4It$N%a%K%e!<99?7(B C-l C-u C-a
    7.17 +@c $B%U%)!<%^%C%H$9$k$H$-$O(B C-l C-e C-b
    7.18 +@c Last modified Fri Dec 22 09:50:56 2000 on buell
    7.19  @syncodeindex vr cp
    7.20  @end iftex
    7.21  
    7.22 @@ -18,198 +18,198 @@
    7.23  @sp 10
    7.24  @center
    7.25  @subtitle Yet Another tex-mode for emacs
    7.26 -@title 『野鳥』
    7.27 +@title $B!XLnD;!Y(B
    7.28  @subtitle // YaTeX //
    7.29 -@author @copyright{} 1991-1999 by    HIROSE, Yuuji [yuuji@@yatex.org]
    7.30 +@author @copyright{} 1991-2000 by    HIROSE, Yuuji [yuuji@@yatex.org]
    7.31  @end titlepage
    7.32  
    7.33  @node Top, Intro, (dir), (dir)
    7.34  @comment  node-name,  next,  previous,  up
    7.35  
    7.36  @menu
    7.37 -* Intro::                       はじめに
    7.38 -* Terminology::                 マニュアル参照上の注意
    7.39 -* Main features::               主な機能
    7.40 -* Installation::                インストール
    7.41 -* Invocation::                  プロセス起動
    7.42 -* %#notation ::                 %#記法
    7.43 -* Completion::                  補完入力
    7.44 -* Local dictionary::            ローカル辞書
    7.45 -* Commenting out::              コメントアウト
    7.46 -* Cursor jump::                 カーソルジャンプ
    7.47 -* Modifying/Deleting::          LaTeXコマンドの変更/削除
    7.48 -* Filling::                     桁揃え
    7.49 -* Includeonly::                 勝手に includeonly
    7.50 -* What column::                 カラム位置ガイド
    7.51 -* Intelligent newline::         おまかせ改行
    7.52 -* Changing mode of YaTeX::      野鳥動作モード変更
    7.53 -* Online help::                 LaTeXオンラインヘルプ
    7.54 -* Inclusion hierarchy browser::  ファイル分割階層構造の表示
    7.55 -* Cooperation with other packages::  他パッケージとの連携
    7.56 -* Customizations::              カスタマイズ
    7.57 -* Etc::                         その他
    7.58 -* Copying::                     取り扱い
    7.59 -* Concept Index::               索引
    7.60 +* Intro::                       $B$O$8$a$K(B
    7.61 +* Terminology::                 $B%^%K%e%"%k;2>H>e$NCm0U(B
    7.62 +* Main features::               $B<g$J5!G=(B
    7.63 +* Installation::                $B%$%s%9%H!<%k(B
    7.64 +* Invocation::                  $B%W%m%;%95/F0(B
    7.65 +* %#notation ::                 %#$B5-K!(B
    7.66 +* Completion::                  $BJd40F~NO(B
    7.67 +* Local dictionary::            $B%m!<%+%k<-=q(B
    7.68 +* Commenting out::              $B%3%a%s%H%"%&%H(B
    7.69 +* Cursor jump::                 $B%+!<%=%k%8%c%s%W(B
    7.70 +* Modifying/Deleting::          LaTeX$B%3%^%s%I$NJQ99(B/$B:o=|(B
    7.71 +* Filling::                     $B7eB7$((B
    7.72 +* Includeonly::                 $B>!<j$K(B includeonly
    7.73 +* What column::                 $B%+%i%`0LCV%,%$%I(B
    7.74 +* Intelligent newline::         $B$*$^$+$;2~9T(B
    7.75 +* Changing mode of YaTeX::      $BLnD;F0:n%b!<%IJQ99(B
    7.76 +* Online help::                 LaTeX$B%*%s%i%$%s%X%k%W(B
    7.77 +* Inclusion hierarchy browser::  $B%U%!%$%kJ,3d3,AX9=B$$NI=<((B
    7.78 +* Cooperation with other packages::  $BB>%Q%C%1!<%8$H$NO"7H(B
    7.79 +* Customizations::              $B%+%9%?%^%$%:(B
    7.80 +* Etc::                         $B$=$NB>(B
    7.81 +* Copying::                     $B<h$j07$$(B
    7.82 +* Concept Index::               $B:w0z(B
    7.83  
    7.84   --- The Detailed Node Listing ---
    7.85  
    7.86 -latexコマンド起動
    7.87 +latex$B%3%^%s%I5/F0(B
    7.88  
    7.89 -* Calling typesetter::          タイプセッタ起動
    7.90 -* Calling previewer::           プレヴューア起動
    7.91 -* Print out::                   プリントアウト用コマンドの起動
    7.92 +* Calling typesetter::          $B%?%$%W%;%C%?5/F0(B
    7.93 +* Calling previewer::           $B%W%l%t%e!<%"5/F0(B
    7.94 +* Print out::                   $B%W%j%s%H%"%&%HMQ%3%^%s%I$N5/F0(B
    7.95  
    7.96 -%#記法
    7.97 +%#$B5-K!(B
    7.98  
    7.99 -* Changing typesetter::         タイプセット用コマンドの変更
   7.100 -* Splitting input files::       入力ファイル分割
   7.101 -* Fix region for typesetting::  領域の固定
   7.102 -* lpr format::                  プリントアウトコマンド用フォーマット
   7.103 -* Editing %# notation::         %#記法の編集
   7.104 +* Changing typesetter::         $B%?%$%W%;%C%HMQ%3%^%s%I$NJQ99(B
   7.105 +* Splitting input files::       $BF~NO%U%!%$%kJ,3d(B
   7.106 +* Fix region for typesetting::  $BNN0h$N8GDj(B
   7.107 +* lpr format::                  $B%W%j%s%H%"%&%H%3%^%s%IMQ%U%)!<%^%C%H(B
   7.108 +* Editing %# notation::         %#$B5-K!$NJT=8(B
   7.109  
   7.110 -補完入力
   7.111 +$BJd40F~NO(B
   7.112  
   7.113 -* begin型補完::                 
   7.114 -* section型補完::               
   7.115 -* large型補完::                 
   7.116 -* maketitle型補完::             
   7.117 -* Arbitrary completion::        随時補完
   7.118 -* end補完::                     
   7.119 -* Accent mark completion::      アクセント記号補完
   7.120 -* Image completion::            数式記号イメージ補完
   7.121 -* Greek letter completion::     ギリシャ文字補完
   7.122 +* begin$B7?Jd40(B::                 
   7.123 +* section$B7?Jd40(B::               
   7.124 +* large$B7?Jd40(B::                 
   7.125 +* maketitle$B7?Jd40(B::             
   7.126 +* Arbitrary completion::        $B?o;~Jd40(B
   7.127 +* end$BJd40(B::                     
   7.128 +* Accent mark completion::      $B%"%/%;%s%H5-9fJd40(B
   7.129 +* Image completion::            $B?t<05-9f%$%a!<%8Jd40(B
   7.130 +* Greek letter completion::     $B%.%j%7%cJ8;zJd40(B
   7.131  
   7.132 -section型補完
   7.133 +section$B7?Jd40(B
   7.134  
   7.135 -* 2個以上の引数をとる section型コマンド::  
   7.136 -* Enclose section-type command::  括り補完
   7.137 -* Recursive completion::        再帰補完
   7.138 -* view-sectioning::             セクション区切りのアウトライン表示
   7.139 +* 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B::  
   7.140 +* Enclose section-type command::  $B3g$jJd40(B
   7.141 +* Recursive completion::        $B:F5"Jd40(B
   7.142 +* view-sectioning::             $B%;%/%7%g%s6h@Z$j$N%"%&%H%i%$%sI=<((B
   7.143  
   7.144 -カーソルジャンプ
   7.145 +$B%+!<%=%k%8%c%s%W(B
   7.146  
   7.147 -* 対応オブジェクトへのジャンプ::  
   7.148 -* お絵描きツール起動::          
   7.149 -* メインファイルへのジャンプ::  
   7.150 -* 環境を単位としたジャンプ::    
   7.151 -* 最後の補完位置へのジャンプ::  
   7.152 +* $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B::  
   7.153 +* $B$*3(IA$-%D!<%k5/F0(B::          
   7.154 +* $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B::  
   7.155 +* $B4D6-$rC10L$H$7$?%8%c%s%W(B::    
   7.156 +* $B:G8e$NJd400LCV$X$N%8%c%s%W(B::  
   7.157  
   7.158 -変更/削除
   7.159 +$BJQ99(B/$B:o=|(B
   7.160  
   7.161 -* Changing LaTeX command::      La@TeX{} コマンドの変更
   7.162 -* Killing LaTeX command::       La@TeX{} コマンドの削除
   7.163 +* Changing LaTeX command::      La@TeX{} $B%3%^%s%I$NJQ99(B
   7.164 +* Killing LaTeX command::       La@TeX{} $B%3%^%s%I$N:o=|(B
   7.165  
   7.166 -カスタマイズ
   7.167 +$B%+%9%?%^%$%:(B
   7.168  
   7.169 -* Lisp variables::              lisp 変数
   7.170 -* Add-in functions::            付加関数(アドイン関数)
   7.171 +* Lisp variables::              lisp $BJQ?t(B
   7.172 +* Add-in functions::            $BIU2C4X?t(B($B%"%I%$%s4X?t(B)
   7.173  
   7.174 -lisp 変数
   7.175 +lisp $BJQ?t(B
   7.176  
   7.177 -* All customizable variables::  カスタマイズ変数一覧
   7.178 -* Sample definitions::          カスタマイズ変数設定例
   7.179 -* Hook variables::              hook変数
   7.180 -* Hook file::                   hook用ファイル
   7.181 +* All customizable variables::  $B%+%9%?%^%$%:JQ?t0lMw(B
   7.182 +* Sample definitions::          $B%+%9%?%^%$%:JQ?t@_DjNc(B
   7.183 +* Hook variables::              hook$BJQ?t(B
   7.184 +* Hook file::                   hook$BMQ%U%!%$%k(B
   7.185  @end menu
   7.186  
   7.187  @node Intro, Terminology, Top, Top
   7.188  @comment  node-name,  next,  previous,  up
   7.189 -@chapter はじめに
   7.190 +@chapter $B$O$8$a$K(B
   7.191  @cindex Demacs
   7.192  @cindex Mule
   7.193  @cindex LaTeX
   7.194 -@cindex やちょう[やちよう]
   7.195 +@cindex $B$d$A$g$&(B[$B$d$A$h$&(B]
   7.196  
   7.197 -  野鳥は、GNU Emacs で La@TeX{} 用の文書を作成する時に jLa@TeX{} などの
   7.198 -タイプセットコマンドや、プレヴューアの起動を Emacs 編集画面中から
   7.199 -行えるようにすると共に、拡張性の高い種々の補完機能によりソーステキ
   7.200 -ストの編集を支援します。さらに La@TeX{} コマンドのオンラインヘルプに
   7.201 -よりマニュアルを調べる手間を軽減します。
   7.202 +  $BLnD;$O!"(BGNU Emacs $B$G(B La@TeX{} $BMQ$NJ8=q$r:n@.$9$k;~$K(B jLa@TeX{} $B$J$I$N(B
   7.203 +$B%?%$%W%;%C%H%3%^%s%I$d!"%W%l%t%e!<%"$N5/F0$r(B Emacs $BJT=82hLLCf$+$i(B
   7.204 +$B9T$($k$h$&$K$9$k$H6&$K!"3HD%@-$N9b$$<o!9$NJd405!G=$K$h$j%=!<%9%F%-(B
   7.205 +$B%9%H$NJT=8$r;Y1g$7$^$9!#$5$i$K(B La@TeX{} $B%3%^%s%I$N%*%s%i%$%s%X%k%W$K(B
   7.206 +$B$h$j%^%K%e%"%k$rD4$Y$k<j4V$r7Z8:$7$^$9!#(B
   7.207  
   7.208    English manual @xref{Top, , , yatexe,YaTeX English info}.
   7.209  
   7.210  @node Terminology, Main features, Intro, Top
   7.211  @comment  node-name,  next,  previous,  up
   7.212 -@chapter 本マニュアル参照上の注意
   7.213 +@chapter $BK\%^%K%e%"%k;2>H>e$NCm0U(B
   7.214  
   7.215 -  本マニュアルでは以下の表記を用います。
   7.216 +  $BK\%^%K%e%"%k$G$O0J2<$NI=5-$rMQ$$$^$9!#(B
   7.217  
   7.218  @itemize @bullet
   7.219  @item
   7.220 -begin型コマンド
   7.221 +begin$B7?%3%^%s%I(B
   7.222  
   7.223 -@code{\begin@{環境@} 〜 \end@{環境@}}という形式のLaTeXコマンドを指します。
   7.224 -begin型コマンドを補完入力することをbegin型補完と呼びます。
   7.225 +@code{\begin@{$B4D6-(B@} $B!A(B \end@{$B4D6-(B@}}$B$H$$$&7A<0$N(BLaTeX$B%3%^%s%I$r;X$7$^$9!#(B
   7.226 +begin$B7?%3%^%s%I$rJd40F~NO$9$k$3$H$r(Bbegin$B7?Jd40$H8F$S$^$9!#(B
   7.227  
   7.228  @item
   7.229 -section型コマンド
   7.230 +section$B7?%3%^%s%I(B
   7.231  
   7.232 -@code{\section@{タイトル@}}や@code{\mbox@{内容@}}のように
   7.233 -引数を取るLaTeXコマンドを指します。
   7.234 +@code{\section@{$B%?%$%H%k(B@}}$B$d(B@code{\mbox@{$BFbMF(B@}}$B$N$h$&$K(B
   7.235 +$B0z?t$r<h$k(BLaTeX$B%3%^%s%I$r;X$7$^$9!#(B
   7.236  
   7.237  @item
   7.238 -maketitle型コマンド
   7.239 +maketitle$B7?%3%^%s%I(B
   7.240  
   7.241 -@code{\maketitle}や@code{\tableofcontents}のように引数を取らないLaTeXコマ
   7.242 -ンドを指します。
   7.243 +@code{\maketitle}$B$d(B@code{\tableofcontents}$B$N$h$&$K0z?t$r<h$i$J$$(BLaTeX$B%3%^(B
   7.244 +$B%s%I$r;X$7$^$9!#(B
   7.245  
   7.246  @item
   7.247 -large型コマンド
   7.248 +large$B7?%3%^%s%I(B
   7.249  
   7.250 -@code{@{\large ...@}} や @code{@{\tt ...@}} のようなフォント/サイズ指定子
   7.251 -を指します。
   7.252 +@code{@{\large ...@}} $B$d(B @code{@{\tt ...@}} $B$N$h$&$J%U%)%s%H(B/$B%5%$%:;XDj;R(B
   7.253 +$B$r;X$7$^$9!#(B
   7.254  
   7.255  @item @kbd{[prefix]}
   7.256  
   7.257 -野鳥の機能を呼び出すためのプリフィクスキー。デフォルトでは@kbd{C-c}に割り
   7.258 -当てられているので、特に変更していない場合本マニュアルの @kbd{[prefix]} と
   7.259 -いう表記は、@kbd{C-c} と読み換えてください。
   7.260 +$BLnD;$N5!G=$r8F$S=P$9$?$a$N%W%j%U%#%/%9%-!<!#%G%U%)%k%H$G$O(B@kbd{C-c}$B$K3d$j(B
   7.261 +$BEv$F$i$l$F$$$k$N$G!"FC$KJQ99$7$F$$$J$$>l9gK\%^%K%e%"%k$N(B @kbd{[prefix]} $B$H(B
   7.262 +$B$$$&I=5-$O!"(B@kbd{C-c} $B$HFI$_49$($F$/$@$5$$!#(B
   7.263  @end itemize
   7.264  
   7.265  @node Main features, Installation, Terminology, Top
   7.266  @comment  node-name,  next,  previous,  up
   7.267 -@chapter 主な機能
   7.268 +@chapter $B<g$J5!G=(B
   7.269  
   7.270  @itemize @bullet
   7.271 -@item タイプセッタやプレヴューアなどの編集画面からの起動(@kbd{C-c t})
   7.272 -@item カーソル位置によらない固定リジョンの部分タイプセット
   7.273 -@item \includeonlyのワンタッチ更新
   7.274 -@item エラー箇所への自動ジャンプ(@kbd{C-c '})
   7.275 -@item @code{\begin@{@}, \end@{@}, \section...} などの La@TeX{}
   7.276 -コマンドの補完入力
   7.277 +@item $B%?%$%W%;%C%?$d%W%l%t%e!<%"$J$I$NJT=82hLL$+$i$N5/F0(B(@kbd{C-c t})
   7.278 +@item $B%+!<%=%k0LCV$K$h$i$J$$8GDj%j%8%g%s$NItJ,%?%$%W%;%C%H(B
   7.279 +@item \includeonly$B$N%o%s%?%C%A99?7(B
   7.280 +@item $B%(%i!<2U=j$X$N<+F0%8%c%s%W(B(@kbd{C-c '})
   7.281 +@item @code{\begin@{@}, \end@{@}, \section...} $B$J$I$N(B La@TeX{}
   7.282 +$B%3%^%s%I$NJd40F~NO(B
   7.283  (@kbd{C-c b}, @kbd{C-c s}, @kbd{C-c l}, @kbd{C-c m})
   7.284 -@item 既に入力したテキストを環境やコマンド引数の中に取り込む括り補完
   7.285 -(@kbd{C-u} +通常補完キー)
   7.286 -@item セクション区切り入力時の文書構造アウトライン表示
   7.287 -@item セクションコマンドの一括シフト (@ref{view-sectioning})
   7.288 -@item 補完辞書の学習
   7.289 -@item La@TeX{} の環境やコマンドに応じたガイド付き引数入力
   7.290 -@item 野鳥にないガイド付き引数入力関数の自動生成(@file{yatexgen.el})
   7.291 -@item La@TeX{} コマンドの削除/変更(@kbd{C-c k}, @kbd{C-c c})
   7.292 -@item ファイル間、@code{\begin}<->@code{\end}間、
   7.293 -        @code{\ref}<->@code{\label}間、
   7.294 -        @code{\cite}<->@code{\bibitem}ジャンプ(@kbd{C-c g})
   7.295 -@item 一括コメントアウト/アンコメントアウト
   7.296 +@item $B4{$KF~NO$7$?%F%-%9%H$r4D6-$d%3%^%s%I0z?t$NCf$K<h$j9~$`3g$jJd40(B
   7.297 +(@kbd{C-u} +$BDL>oJd40%-!<(B)
   7.298 +@item $B%;%/%7%g%s6h@Z$jF~NO;~$NJ8=q9=B$%"%&%H%i%$%sI=<((B
   7.299 +@item $B%;%/%7%g%s%3%^%s%I$N0l3g%7%U%H(B (@ref{view-sectioning})
   7.300 +@item $BJd40<-=q$N3X=,(B
   7.301 +@item La@TeX{} $B$N4D6-$d%3%^%s%I$K1~$8$?%,%$%IIU$-0z?tF~NO(B
   7.302 +@item $BLnD;$K$J$$%,%$%IIU$-0z?tF~NO4X?t$N<+F0@8@.(B(@file{yatexgen.el})
   7.303 +@item La@TeX{} $B%3%^%s%I$N:o=|(B/$BJQ99(B(@kbd{C-c k}, @kbd{C-c c})
   7.304 +@item $B%U%!%$%k4V!"(B@code{\begin}<->@code{\end}$B4V!"(B
   7.305 +        @code{\ref}<->@code{\label}$B4V!"(B
   7.306 +        @code{\cite}<->@code{\bibitem}$B%8%c%s%W(B(@kbd{C-c g})
   7.307 +@item $B0l3g%3%a%s%H%"%&%H(B/$B%"%s%3%a%s%H%"%&%H(B
   7.308          (@kbd{C-c >}, @kbd{C-c <}, @kbd{C-c ,}, @kbd{C-c .})
   7.309 -@item アクセント記号/数式環境用コマンド/ギリシャ文字の入力支援
   7.310 +@item $B%"%/%;%s%H5-9f(B/$B?t<04D6-MQ%3%^%s%I(B/$B%.%j%7%cJ8;z$NF~NO;Y1g(B
   7.311          (@kbd{C-c a}, @kbd{;}, @kbd{/})
   7.312 -@item tabular/array環境のカラム位置ガイド
   7.313 -@item 標準的 La@TeX{} コマンドのオンラインヘルプ(@kbd{C-c ?}, @kbd{C-c /})
   7.314 -@item ドキュメントのインクルード構造の視覚的表示とバッファ切り替え
   7.315 +@item tabular/array$B4D6-$N%+%i%`0LCV%,%$%I(B
   7.316 +@item $BI8=`E*(B La@TeX{} $B%3%^%s%I$N%*%s%i%$%s%X%k%W(B(@kbd{C-c ?}, @kbd{C-c /})
   7.317 +@item $B%I%-%e%a%s%H$N%$%s%/%k!<%I9=B$$N;k3PE*I=<($H%P%C%U%!@Z$jBX$((B
   7.318  (@kbd{C-c d})
   7.319  @end itemize
   7.320  
   7.321  @node Installation, Invocation, Main features, Top
   7.322  @comment  node-name,  next,  previous,  up
   7.323 -@chapter 起動法
   7.324 +@chapter $B5/F0K!(B
   7.325  @cindex Install
   7.326 -@cindex インストール[いんすとおる]
   7.327 +@cindex $B%$%s%9%H!<%k(B[$B$$$s$9$H$*$k(B]
   7.328  @cindex .emacs
   7.329  @cindex auto-mode-alist
   7.330  @cindex autoload
   7.331 -@section 野鳥起動のための設定
   7.332 +@section $BLnD;5/F0$N$?$a$N@_Dj(B
   7.333  
   7.334 -  ~/.emacsに下の2項目を加えます。
   7.335 +  ~/.emacs$B$K2<$N(B2$B9`L\$r2C$($^$9!#(B
   7.336  
   7.337  @lisp
   7.338  (setq auto-mode-alist
   7.339 @@ -217,203 +217,205 @@
   7.340  (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
   7.341  @end lisp
   7.342  
   7.343 -次に野鳥の emacs-lisp ファイル群を置くディレクトリを load-path に加えます。
   7.344 -たとえば、 @file{~/src/emacs/yatex}に置くのであれば、
   7.345 +$B<!$KLnD;$N(B emacs-lisp $B%U%!%$%k72$rCV$/%G%#%l%/%H%j$r(B load-path $B$K2C$($^$9!#(B
   7.346 +$B$?$H$($P!"(B @file{~/src/emacs/yatex}$B$KCV$/$N$G$"$l$P!"(B
   7.347  
   7.348  @lisp
   7.349  (setq load-path (cons (expand-file-name "~/src/emacs/yatex") load-path))
   7.350  @end lisp
   7.351  
   7.352  @noindent 
   7.353 -などとします。
   7.354 +$B$J$I$H$7$^$9!#(B
   7.355  
   7.356 -  以上の設定により、拡張子が .tex であるファイルを編集すると自動的に野鳥が
   7.357 -ロードされます。野鳥が正常に起動できたときはモードラインの表示が「やてふ」
   7.358 -に変わります。
   7.359 +  $B0J>e$N@_Dj$K$h$j!"3HD%;R$,(B .tex $B$G$"$k%U%!%$%k$rJT=8$9$k$H<+F0E*$KLnD;$,(B
   7.360 +$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
   7.361 +$B$KJQ$o$j$^$9!#(B
   7.362  
   7.363 -@section タイプセッタ/プレヴューア環境の設定
   7.364 +@section $B%?%$%W%;%C%?(B/$B%W%l%t%e!<%"4D6-$N@_Dj(B
   7.365  
   7.366 -  利用する外部プログラムに関する以下の変数を確認し、必要なら正しい値に変更
   7.367 -します。
   7.368 +  $BMxMQ$9$k30It%W%m%0%i%`$K4X$9$k0J2<$NJQ?t$r3NG'$7!"I,MW$J$i@5$7$$CM$KJQ99(B
   7.369 +$B$7$^$9!#(B
   7.370  @table @code
   7.371  @item tex-command
   7.372 -        @dots{} 起動するタイプセッタのコマンド名
   7.373 +        @dots{} $B5/F0$9$k%?%$%W%;%C%?$N%3%^%s%IL>(B
   7.374  @item dvi2-command
   7.375 -        @dots{} 起動するプレヴューアのコマンド名
   7.376 +        @dots{} $B5/F0$9$k%W%l%t%e!<%"$N%3%^%s%IL>(B
   7.377  @item NTT-jTeX
   7.378 -        @dots{} 改行+インデントによって、タイプセット後の字間が空いてしま
   7.379 -        うのを抑制する場合にtにする(古いNTT-jTeXで顕著に現れる)。具体的には、
   7.380 -        fillするときに各行の終わりに%を付加するようになる。
   7.381 +        @dots{} $B2~9T(B+$B%$%s%G%s%H$K$h$C$F!"%?%$%W%;%C%H8e$N;z4V$,6u$$$F$7$^(B
   7.382 +        $B$&$N$rM^@)$9$k>l9g$K(Bt$B$K$9$k(B($B8E$$(BNTT-jTeX$B$G82Cx$K8=$l$k(B)$B!#6qBNE*$K$O!"(B
   7.383 +        fill$B$9$k$H$-$K3F9T$N=*$o$j$K(B%$B$rIU2C$9$k$h$&$K$J$k!#(B
   7.384  @item YaTeX-kanji-code
   7.385 -        @dots{} 文書を作成する時の漢字コード
   7.386 +        @dots{} $BJ8=q$r:n@.$9$k;~$N4A;z%3!<%I(B
   7.387  @item dviprint-command-format
   7.388 -        @dots{} ファイルの印刷に使われるコマンド列の書式
   7.389 +        @dots{} $B%U%!%$%k$N0u:~$K;H$o$l$k%3%^%s%INs$N=q<0(B
   7.390  @item makeindex-command
   7.391 -        @dots{} makeindexコマンド
   7.392 +        @dots{} makeindex$B%3%^%s%I(B
   7.393  @end table
   7.394  
   7.395 -これらを変更する場合は、やはり@file{~/.emacs}にて、たとえば
   7.396 +$B$3$l$i$rJQ99$9$k>l9g$O!"$d$O$j(B@file{~/.emacs}$B$K$F!"$?$H$($P(B
   7.397  @lisp
   7.398  (setq tex-command "bigjlatex")
   7.399  @end lisp
   7.400 -のようにしてください。どのような値をセットすれば良いかについては、
   7.401 -@ref{All customizable variables}を参照してください。
   7.402 +$B$N$h$&$K$7$F$/$@$5$$!#$I$N$h$&$JCM$r%;%C%H$9$l$PNI$$$+$K$D$$$F$O!"(B
   7.403 +@ref{All customizable variables}$B$r;2>H$7$F$/$@$5$$!#(B
   7.404  
   7.405  
   7.406  @node Invocation, %#notation , Installation, Top
   7.407  @comment  node-name,  next,  previous,  up
   7.408 -@chapter latexコマンド起動
   7.409 +@chapter latex$B%3%^%s%I5/F0(B
   7.410  @cindex prefix key
   7.411  @cindex C-c
   7.412 -@cindex タイプセッタ[たいふせつた]
   7.413 -@cindex プレヴューア[ふれひゆうあ]
   7.414 +@cindex $B%?%$%W%;%C%?(B[$B$?$$$U$;$D$?(B]
   7.415 +@cindex $B%W%l%t%e!<%"(B[$B$U$l$R$f$&$"(B]
   7.416  @cindex jlatex
   7.417 -@cindex プリントアウト[ふりんとあうと]
   7.418 +@cindex $B%W%j%s%H%"%&%H(B[$B$U$j$s$H$"$&$H(B]
   7.419  
   7.420 -LaTeXソースの編集中、次のキー入力により、jlatex などのタイプセットプログラ
   7.421 -ム(以後タイプセッタと呼ぶ)、プレヴューアなどの起動ができます。
   7.422 +LaTeX$B%=!<%9$NJT=8Cf!"<!$N%-!<F~NO$K$h$j!"(Bjlatex $B$J$I$N%?%$%W%;%C%H%W%m%0%i(B
   7.423 +$B%`(B($B0J8e%?%$%W%;%C%?$H8F$V(B)$B!"%W%l%t%e!<%"$J$I$N5/F0$,$G$-$^$9!#(B
   7.424  
   7.425  @table @kbd
   7.426  @item [prefix] t j
   7.427 -        @dots{} タイプセッタ(jlatex)起動
   7.428 +        @dots{} $B%?%$%W%;%C%?(B(jlatex)$B5/F0(B
   7.429  @item [prefix] t r
   7.430 -        @dots{} タイプセッタ起動(領域指定)
   7.431 +        @dots{} $B%?%$%W%;%C%?5/F0(B($BNN0h;XDj(B)
   7.432  @item [prefix] t k
   7.433 -        @dots{} 動作中のタイプセッタの停止
   7.434 +        @dots{} $BF0:nCf$N%?%$%W%;%C%?$NDd;_(B
   7.435  @item [prefix] t b
   7.436 -        @dots{} jbibtex起動
   7.437 +        @dots{} jbibtex$B5/F0(B
   7.438  @item [prefix] t p
   7.439 -        @dots{} プレヴューア起動
   7.440 +        @dots{} $B%W%l%t%e!<%"5/F0(B
   7.441  @item [prefix] t l
   7.442 -        @dots{} lpr(プリントアウト用)コマンド起動
   7.443 +        @dots{} lpr($B%W%j%s%H%"%&%HMQ(B)$B%3%^%s%I5/F0(B
   7.444  @item [prefix] t s
   7.445 -        @dots{} xdvi -remote でのサーチ
   7.446 +        @dots{} xdvi -remote $B$G$N%5!<%A(B
   7.447  @end table
   7.448  
   7.449  @menu
   7.450 -* Calling typesetter::          タイプセッタ起動
   7.451 -* Calling previewer::           プレヴューア起動
   7.452 -* Print out::                   プリントアウト用コマンドの起動
   7.453 +* Calling typesetter::          $B%?%$%W%;%C%?5/F0(B
   7.454 +* Calling previewer::           $B%W%l%t%e!<%"5/F0(B
   7.455 +* Print out::                   $B%W%j%s%H%"%&%HMQ%3%^%s%I$N5/F0(B
   7.456  @end menu
   7.457  
   7.458  @node Calling typesetter, Calling previewer, Invocation, Invocation
   7.459  @comment  node-name,  next,  previous,  up
   7.460 -@section タイプセッタ起動
   7.461 -@cindex タイプセッタ起動[たいふせつたきとう]
   7.462 -@cindex タイプセットエラー[たいふせつとえらあ]
   7.463 -@cindex エラー修正[えらあしゆうせい]
   7.464 +@section $B%?%$%W%;%C%?5/F0(B
   7.465 +@cindex $B%?%$%W%;%C%?5/F0(B[$B$?$$$U$;$D$?$-$H$&(B]
   7.466 +@cindex $B%?%$%W%;%C%H%(%i!<(B[$B$?$$$U$;$D$H$($i$"(B]
   7.467 +@cindex $B%(%i!<=$@5(B[$B$($i$"$7$f$&$;$$(B]
   7.468  
   7.469 -  タイプセッタを起動すると、編集ウィンドウが2つに分割され、片方のウィンド
   7.470 -ウにタイプセット画面が表示されます。出力されるメッセージと連動しタイプセッ
   7.471 -トバッファは自動的にスクロールします。もし、途中でエラーが起こって止まって
   7.472 -しまった場合にはタイプセットバッファに移り、(@kbd{C-x o}) タイプセッタの出
   7.473 -している ? プロンプトに対して、@kbd{x} (処理の中断)などの指示を送ることが
   7.474 -できます。エラーを修正する場合は、
   7.475 +  $B%?%$%W%;%C%?$r5/F0$9$k$H!"JT=8%&%#%s%I%&$,(B2$B$D$KJ,3d$5$l!"JRJ}$N%&%#%s%I(B
   7.476 +$B%&$K%?%$%W%;%C%H2hLL$,I=<($5$l$^$9!#=PNO$5$l$k%a%C%;!<%8$HO"F0$7%?%$%W%;%C(B
   7.477 +$B%H%P%C%U%!$O<+F0E*$K%9%/%m!<%k$7$^$9!#$b$7!"ESCf$G%(%i!<$,5/$3$C$F;_$^$C$F(B
   7.478 +$B$7$^$C$?>l9g$K$O%?%$%W%;%C%H%P%C%U%!$K0\$j!"(B(@kbd{C-x o}) $B%?%$%W%;%C%?$N=P(B
   7.479 +$B$7$F$$$k(B ? $B%W%m%s%W%H$KBP$7$F!"(B@kbd{x} ($B=hM}$NCfCG(B)$B$J$I$N;X<($rAw$k$3$H$,(B
   7.480 +$B$G$-$^$9!#%(%i!<$r=$@5$9$k>l9g$O!"(B
   7.481  
   7.482  @table @kbd
   7.483  @item [prefix] '
   7.484 -@itemx (prefix+アポストロフィ)
   7.485 -        @dots{} 直前のエラー発生行へジャンプ
   7.486 +@itemx (prefix+$B%"%]%9%H%m%U%#(B)
   7.487 +        @dots{} $BD>A0$N%(%i!<H/@89T$X%8%c%s%W(B
   7.488  @end table
   7.489  
   7.490 -を入力することにより、タイプセッタがエラーを発生した行に移ることができます。
   7.491 -また、タイプセッタの出力する overfull hbox などのウォーニング行にも対応し
   7.492 -ていますので、順次 @kbd{[prefix] '} を押すことにより、一つ前のウォーニング
   7.493 -発生行にジャンプしていきます。
   7.494 +$B$rF~NO$9$k$3$H$K$h$j!"%?%$%W%;%C%?$,%(%i!<$rH/@8$7$?9T$K0\$k$3$H$,$G$-$^$9!#(B
   7.495 +$B$^$?!"%?%$%W%;%C%?$N=PNO$9$k(B overfull hbox $B$J$I$N%&%)!<%K%s%09T$K$bBP1~$7(B
   7.496 +$B$F$$$^$9$N$G!"=g<!(B @kbd{[prefix] '} $B$r2!$9$3$H$K$h$j!"0l$DA0$N%&%)!<%K%s%0(B
   7.497 +$BH/@89T$K%8%c%s%W$7$F$$$-$^$9!#(B
   7.498  
   7.499 -  もし、気になるエラー行があった場合は、タイプセットバッファで、エ
   7.500 -ラーの表示されている行にカーソルを合わせスペースキーを押すと La@TeX{} 
   7.501 -ソースの対応する行にジャンプします。
   7.502 +  $B$b$7!"5$$K$J$k%(%i!<9T$,$"$C$?>l9g$O!"%?%$%W%;%C%H%P%C%U%!$G!"%((B
   7.503 +$B%i!<$NI=<($5$l$F$$$k9T$K%+!<%=%k$r9g$o$;%9%Z!<%9%-!<$r2!$9$H(B La@TeX{} 
   7.504 +$B%=!<%9$NBP1~$9$k9T$K%8%c%s%W$7$^$9!#(B
   7.505  
   7.506 -@subsection 領域タイプセット
   7.507 +@subsection $BNN0h%?%$%W%;%C%H(B
   7.508  
   7.509 -  ポイントとマークの間、あるいはテキスト中に埋め込んだ @code{%#BEGIN} と
   7.510 -@code{%#END}の間の領域(@ref{%#notation})だけを切り取ってタイプセットすることが
   7.511 -できます。この場合の documentstyle は、単一ファイルの La@TeX{} ソースの編
   7.512 -集時にはそのファイルの documentstyle が、別ファイルから include している場
   7.513 -合にはメインファイルの documentstyle が自動的に選択されます。指定領域は、
   7.514 -メインファイルのあるディレクトリの@file{texput.tex}という臨時ファイルに出
   7.515 -力されますので、上書きには注意してください。
   7.516 +  $B%]%$%s%H$H%^!<%/$N4V!"$"$k$$$O%F%-%9%HCf$KKd$a9~$s$@(B @code{%#BEGIN} $B$H(B
   7.517 +@code{%#END}$B$N4V$NNN0h(B(@ref{%#notation})$B$@$1$r@Z$j<h$C$F%?%$%W%;%C%H$9$k$3$H$,(B
   7.518 +$B$G$-$^$9!#$3$N>l9g$N(B documentstyle $B$O!"C10l%U%!%$%k$N(B La@TeX{} $B%=!<%9$NJT(B
   7.519 +$B=8;~$K$O$=$N%U%!%$%k$N(B documentstyle $B$,!"JL%U%!%$%k$+$i(B include $B$7$F$$$k>l(B
   7.520 +$B9g$K$O%a%$%s%U%!%$%k$N(B documentstyle $B$,<+F0E*$KA*Br$5$l$^$9!#;XDjNN0h$O!"(B
   7.521 +$B%a%$%s%U%!%$%k$N$"$k%G%#%l%/%H%j$N(B@file{texput.tex}$B$H$$$&NW;~%U%!%$%k$K=P(B
   7.522 +$BNO$5$l$^$9$N$G!">e=q$-$K$OCm0U$7$F$/$@$5$$!#(B
   7.523  
   7.524  @node Calling previewer, Print out, Calling typesetter, Invocation
   7.525  @comment  node-name,  next,  previous,  up
   7.526 -@section プレヴューア起動
   7.527 -  @kbd{[prefix] t p} によりプレヴューアの起動ができます。さらに、もしあな
   7.528 -たが、-remote 機能つきのxdviを利用している場合は @kbd{[prefix] t s} を押す
   7.529 -ことによりカーソル位置の文字列を検索してそのページを表示するようにすでに起
   7.530 -動中のxdviに命令を送ります。これにより、現在編集中の箇所のタイプセット結果
   7.531 -を即座に見ることができます。なお、-remote 機能付きの xdvi は
   7.532 -@code{ftp://ftp.ae.keio.ac.jp/pub/text/xdvi/xdvi-remote}
   7.533 -などから入手することができます。
   7.534 +@section $B%W%l%t%e!<%"5/F0(B
   7.535 +  @kbd{[prefix] t p} $B$K$h$j%W%l%t%e!<%"$N5/F0$,$G$-$^$9!#$5$i$K!"$b$7$"$J(B
   7.536 +$B$?$,!"(B-remote $B5!G=$D$-$N(Bxdvi$B$rMxMQ$7$F$$$k>l9g$O(B @kbd{[prefix] t s} $B$r2!$9(B
   7.537 +$B$3$H$K$h$j%+!<%=%k0LCV$NJ8;zNs$r8!:w$7$F$=$N%Z!<%8$rI=<($9$k$h$&$K$9$G$K5/(B
   7.538 +$BF0Cf$N(Bxdvi$B$KL?Na$rAw$j$^$9!#$3$l$K$h$j!"8=:_JT=8Cf$N2U=j$N%?%$%W%;%C%H7k2L(B
   7.539 +$B$rB(:B$K8+$k$3$H$,$G$-$^$9!#(B
   7.540 +
   7.541 +@c $B$J$*!"(B-remote $B5!G=IU$-$N(B xdvi $B$O(B
   7.542 +@c @code{ftp://ftp.ae.keio.ac.jp/pub/text/xdvi/xdvi-remote}
   7.543 +@c $B$J$I$+$iF~<j$9$k$3$H$,$G$-$^$9!#(B
   7.544  
   7.545  @node Print out,  , Calling previewer, Invocation
   7.546  @comment  node-name,  next,  previous,  up
   7.547 -@section プリントアウト
   7.548 +@section $B%W%j%s%H%"%&%H(B
   7.549  
   7.550 -  @kbd{[prefix] t l}を押してプリントアウトを指示すると、出力開始/終了ペー
   7.551 -ジを聞いてくるので、それぞれに答えます。これを省略したい時は、
   7.552 -universal-argument をつけ、
   7.553 +  @kbd{[prefix] t l}$B$r2!$7$F%W%j%s%H%"%&%H$r;X<($9$k$H!"=PNO3+;O(B/$B=*N;%Z!<(B
   7.554 +$B%8$rJ9$$$F$/$k$N$G!"$=$l$>$l$KEz$($^$9!#$3$l$r>JN,$7$?$$;~$O!"(B
   7.555 +universal-argument $B$r$D$1!"(B
   7.556  
   7.557 -@cindex 出力開始ページ[しゆつりよくかいしへえし]
   7.558 -@cindex 出力終了ページ[しゆつりよくしゆうりようへえし]
   7.559 +@cindex $B=PNO3+;O%Z!<%8(B[$B$7$f$D$j$h$/$+$$$7$X$($7(B]
   7.560 +@cindex $B=PNO=*N;%Z!<%8(B[$B$7$f$D$j$h$/$7$f$&$j$h$&$X$($7(B]
   7.561  
   7.562  @table @kbd
   7.563  @item C-u [prefix] t l
   7.564 -        @dots{} ページ確認省略lpr起動
   7.565 +        @dots{} $B%Z!<%83NG'>JN,(Blpr$B5/F0(B
   7.566  @end table
   7.567 -@cindex ページ確認省略lpr起動[へえしかくにんしようりやくlprきとう]
   7.568 +@cindex $B%Z!<%83NG'>JN,(Blpr$B5/F0(B[$B$X$($7$+$/$K$s$7$h$&$j$d$/(Blpr$B$-$H$&(B]
   7.569  
   7.570  @noindent
   7.571 -のように起動してください。
   7.572 +$B$N$h$&$K5/F0$7$F$/$@$5$$!#(B
   7.573  
   7.574  @node %#notation , Completion, Invocation, Top
   7.575  @comment  node-name,  next,  previous,  up
   7.576 -@chapter %#記法
   7.577 +@chapter %#$B5-K!(B
   7.578  
   7.579 -  本文中に@code{%#}ではじまるキーワードを埋め込むことでタイプセッタ起動等
   7.580 -の制御をすることができます。
   7.581 +  $BK\J8Cf$K(B@code{%#}$B$G$O$8$^$k%-!<%o!<%I$rKd$a9~$`$3$H$G%?%$%W%;%C%?5/F0Ey(B
   7.582 +$B$N@)8f$r$9$k$3$H$,$G$-$^$9!#(B
   7.583  
   7.584  @menu
   7.585 -* Changing typesetter::         タイプセット用コマンドの変更
   7.586 -* Splitting input files::       入力ファイル分割
   7.587 -* Fix region for typesetting::  領域の固定
   7.588 -* lpr format::                  プリントアウトコマンド用フォーマット
   7.589 -* Editing %# notation::         %#記法の編集
   7.590 +* Changing typesetter::         $B%?%$%W%;%C%HMQ%3%^%s%I$NJQ99(B
   7.591 +* Splitting input files::       $BF~NO%U%!%$%kJ,3d(B
   7.592 +* Fix region for typesetting::  $BNN0h$N8GDj(B
   7.593 +* lpr format::                  $B%W%j%s%H%"%&%H%3%^%s%IMQ%U%)!<%^%C%H(B
   7.594 +* Editing %# notation::         %#$B5-K!$NJT=8(B
   7.595  @end menu
   7.596  
   7.597  @node Changing typesetter, Splitting input files, %#notation , %#notation
   7.598  @comment  node-name,  next,  previous,  up
   7.599 -@section タイプセット用コマンド変更
   7.600 +@section $B%?%$%W%;%C%HMQ%3%^%s%IJQ99(B
   7.601  
   7.602 -  起動するコマンドを変えたい時は本文中に次のような行を書きます。
   7.603 +  $B5/F0$9$k%3%^%s%I$rJQ$($?$$;~$OK\J8Cf$K<!$N$h$&$J9T$r=q$-$^$9!#(B
   7.604  
   7.605 -@cindex 起動するコマンドを変える[きとうするこまんとをかえる]
   7.606 +@cindex $B5/F0$9$k%3%^%s%I$rJQ$($k(B[$B$-$H$&$9$k$3$^$s$H$r$+$($k(B]
   7.607  
   7.608  @example
   7.609          %#!jlatex-ntt
   7.610  @end example
   7.611  
   7.612 -NTT jTeX と、ASCII jTeX を使い分けたいような場合に便利でしょう。
   7.613 +NTT jTeX $B$H!"(BASCII jTeX $B$r;H$$J,$1$?$$$h$&$J>l9g$KJXMx$G$7$g$&!#(B
   7.614  
   7.615 -@cindex タイプセッタの使い分け[たいふせつたのつかいわけ]
   7.616 +@cindex $B%?%$%W%;%C%?$N;H$$J,$1(B[$B$?$$$U$;$D$?$N$D$+$$$o$1(B]
   7.617  
   7.618  @node Splitting input files, Fix region for typesetting, Changing typesetter, %#notation
   7.619  @comment  node-name,  next,  previous,  up
   7.620 -@section 入力ファイル分割
   7.621 +@section $BF~NO%U%!%$%kJ,3d(B
   7.622  
   7.623 -また、章毎に別ファイルの .tex を作成している場合で、@file{main.tex}から 
   7.624 -@file{sub.tex}を @code{\include}しているような時は、@file{sub.tex}の任意の
   7.625 -位置に次のような行を埋め込みます。
   7.626 +$B$^$?!">OKh$KJL%U%!%$%k$N(B .tex $B$r:n@.$7$F$$$k>l9g$G!"(B@file{main.tex}$B$+$i(B 
   7.627 +@file{sub.tex}$B$r(B @code{\include}$B$7$F$$$k$h$&$J;~$O!"(B@file{sub.tex}$B$NG$0U$N(B
   7.628 +$B0LCV$K<!$N$h$&$J9T$rKd$a9~$_$^$9!#(B
   7.629  
   7.630  @example
   7.631          %#!jlatex main.tex
   7.632  @end example
   7.633  
   7.634 -@cindex 入力ファイル分割[にゆうりよくふあいるふんかつ]
   7.635 +@cindex $BF~NO%U%!%$%kJ,3d(B[$B$K$f$&$j$h$/$U$"$$$k$U$s$+$D(B]
   7.636  
   7.637 -上の例のようにコマンド名だけでなく引数も書いた場合には、全てをそのまま 
   7.638 -shell に渡すので次のように書けば、ghostview などをプレヴューアに使う時に便
   7.639 -利です。
   7.640 +$B>e$NNc$N$h$&$K%3%^%s%IL>$@$1$G$J$/0z?t$b=q$$$?>l9g$K$O!"A4$F$r$=$N$^$^(B 
   7.641 +shell $B$KEO$9$N$G<!$N$h$&$K=q$1$P!"(Bghostview $B$J$I$r%W%l%t%e!<%"$K;H$&;~$KJX(B
   7.642 +$BMx$G$9!#(B
   7.643  
   7.644  @cindex ghostview
   7.645  
   7.646 @@ -421,92 +423,92 @@
   7.647          %#!jlatex main ; dvi2ps main.dvi > main
   7.648  @end example
   7.649  
   7.650 -なお、この行の最後の単語のピリオド以前を「メインファイル」のベース
   7.651 -ネームであると仮定します(上の2つの場合どちらも@file{main})。
   7.652 +$B$J$*!"$3$N9T$N:G8e$NC18l$N%T%j%*%I0JA0$r!V%a%$%s%U%!%$%k!W$N%Y!<%9(B
   7.653 +$B%M!<%`$G$"$k$H2>Dj$7$^$9(B($B>e$N(B2$B$D$N>l9g$I$A$i$b(B@file{main})$B!#(B
   7.654  
   7.655 -  @kbd{[prefix] g} (@ref{Cursor jump}参照) での
   7.656 -ファイル間ジャンプを有効に機能させるため、入力ファイル分割時には次のことに
   7.657 -注意して下さい。
   7.658 +  @kbd{[prefix] g} (@ref{Cursor jump}$B;2>H(B) $B$G$N(B
   7.659 +$B%U%!%$%k4V%8%c%s%W$rM-8z$K5!G=$5$;$k$?$a!"F~NO%U%!%$%kJ,3d;~$K$O<!$N$3$H$K(B
   7.660 +$BCm0U$7$F2<$5$$!#(B
   7.661  
   7.662  @enumerate
   7.663  @item
   7.664 -サブディレクトリを作って、その中にサブファイルを置くことはできるが
   7.665 -サブディレクトリのサブディレクトリには置けない。
   7.666 +$B%5%V%G%#%l%/%H%j$r:n$C$F!"$=$NCf$K%5%V%U%!%$%k$rCV$/$3$H$O$G$-$k$,(B
   7.667 +$B%5%V%G%#%l%/%H%j$N%5%V%G%#%l%/%H%j$K$OCV$1$J$$!#(B
   7.668  @item
   7.669 -メインファイルからサブディレクトリ内のファイルを include
   7.670 -する時には、相対パス指定を用いて、
   7.671 -@code{\include@{chap1/sub@}}のように記述。
   7.672 +$B%a%$%s%U%!%$%k$+$i%5%V%G%#%l%/%H%jFb$N%U%!%$%k$r(B include
   7.673 +$B$9$k;~$K$O!"AjBP%Q%9;XDj$rMQ$$$F!"(B
   7.674 +@code{\include@{chap1/sub@}}$B$N$h$&$K5-=R!#(B
   7.675  @item
   7.676 -メインファイルが一つ上のディレクトリにある場合も、サブファイルには
   7.677 -%#!jlatex main.tex のように記述する(../mainではない)。
   7.678 +$B%a%$%s%U%!%$%k$,0l$D>e$N%G%#%l%/%H%j$K$"$k>l9g$b!"%5%V%U%!%$%k$K$O(B
   7.679 +%#!jlatex main.tex $B$N$h$&$K5-=R$9$k(B(../main$B$G$O$J$$(B)$B!#(B
   7.680  @end enumerate
   7.681  
   7.682  
   7.683  
   7.684  @node Fix region for typesetting, lpr format, Splitting input files, %#notation
   7.685  @comment  node-name,  next,  previous,  up
   7.686 -@section 領域の固定
   7.687 -@cindex 固定領域のタイプセット[こていりよういきのたいふせつと]
   7.688 +@section $BNN0h$N8GDj(B
   7.689 +@cindex $B8GDjNN0h$N%?%$%W%;%C%H(B[$B$3$F$$$j$h$&$$$-$N$?$$$U$;$D$H(B]
   7.690  @cindex %#BEGIN
   7.691  @cindex %#END
   7.692  
   7.693 -  @kbd{[prefix] tr} の領域指定のタイプセットでは、とくに指定のないかぎり、 
   7.694 -@kbd{C-SPC}でマークした位置と、ポイント(カーソル位置)の間を領域とみなしま
   7.695 -すが、必ず決まった領域をタイプセットしたい場合は、その領域を
   7.696 +  @kbd{[prefix] tr} $B$NNN0h;XDj$N%?%$%W%;%C%H$G$O!"$H$/$K;XDj$N$J$$$+$.$j!"(B 
   7.697 +@kbd{C-SPC}$B$G%^!<%/$7$?0LCV$H!"%]%$%s%H(B($B%+!<%=%k0LCV(B)$B$N4V$rNN0h$H$_$J$7$^(B
   7.698 +$B$9$,!"I,$:7h$^$C$?NN0h$r%?%$%W%;%C%H$7$?$$>l9g$O!"$=$NNN0h$r(B
   7.699  
   7.700  @example
   7.701          %#BEGIN
   7.702 -        <渡したい領域>
   7.703 +        <$BEO$7$?$$NN0h(B>
   7.704          %#END
   7.705  @end example
   7.706  
   7.707  @noindent 
   7.708 -のように@code{%#BEGIN}と@code{%#END}で囲み、カーソルを「@code{%#BEGIN}以降」
   7.709 -に置いてください。この時の領域決定規則をまとめると次のようになります。
   7.710 +$B$N$h$&$K(B@code{%#BEGIN}$B$H(B@code{%#END}$B$G0O$_!"%+!<%=%k$r!V(B@code{%#BEGIN}$B0J9_!W(B
   7.711 +$B$KCV$$$F$/$@$5$$!#$3$N;~$NNN0h7hDj5,B'$r$^$H$a$k$H<!$N$h$&$K$J$j$^$9!#(B
   7.712  
   7.713  
   7.714  @enumerate
   7.715  @item
   7.716 -カーソル位置よりバッファの先頭方向に@code{%#BEGIN}というキーワードが
   7.717 -ある場合
   7.718 +$B%+!<%=%k0LCV$h$j%P%C%U%!$N@hF,J}8~$K(B@code{%#BEGIN}$B$H$$$&%-!<%o!<%I$,(B
   7.719 +$B$"$k>l9g(B
   7.720  
   7.721  @enumerate
   7.722  @item
   7.723 -@code{%#BEGIN}よりバッファの末尾方向に@code{%#END}というキーワードが見つかっ
   7.724 -た場合。
   7.725 -@result{}@code{%#BEGIN} から、その @code{%#END} のある位置まで。
   7.726 +@code{%#BEGIN}$B$h$j%P%C%U%!$NKvHxJ}8~$K(B@code{%#END}$B$H$$$&%-!<%o!<%I$,8+$D$+$C(B
   7.727 +$B$?>l9g!#(B
   7.728 +@result{}@code{%#BEGIN} $B$+$i!"$=$N(B @code{%#END} $B$N$"$k0LCV$^$G!#(B
   7.729  @item
   7.730 -@code{%#END} が見つからなかった場合。
   7.731 -@result{}バッファの最後尾まで。
   7.732 +@code{%#END} $B$,8+$D$+$i$J$+$C$?>l9g!#(B
   7.733 +@result{}$B%P%C%U%!$N:G8eHx$^$G!#(B
   7.734  @end enumerate
   7.735 -@cindex 領域決定規則[りよういきけつていきそく]
   7.736 +@cindex $BNN0h7hDj5,B'(B[$B$j$h$&$$$-$1$D$F$$$-$=$/(B]
   7.737  
   7.738  @item
   7.739 -カーソル位置よりバッファの先頭方向に @code{%#BEGIN} というキーワードが
   7.740 -見つからなかった場合。
   7.741 -@result{}マーク(@kbd{C-SPC}位置)とポイント(カーソル位置)の間の領域。
   7.742 +$B%+!<%=%k0LCV$h$j%P%C%U%!$N@hF,J}8~$K(B @code{%#BEGIN} $B$H$$$&%-!<%o!<%I$,(B
   7.743 +$B8+$D$+$i$J$+$C$?>l9g!#(B
   7.744 +@result{}$B%^!<%/(B(@kbd{C-SPC}$B0LCV(B)$B$H%]%$%s%H(B($B%+!<%=%k0LCV(B)$B$N4V$NNN0h!#(B
   7.745  @end enumerate
   7.746  
   7.747 -  tabular 環境を何度も試行錯誤しているような場合は、@code{\begin}の前の行
   7.748 -に @code{%#BEGIN} と書き、@code{\end} の次の行に @code{%#END} と書いておく
   7.749 -と簡単に作表結果をテストすることができます。また、長い .tex ファイルの後半
   7.750 -に @code{%#BEGIN} を書いておけば、前半の部分は無視できます。このBEGINとEND
   7.751 -の消し忘れには十分ご注意下さい。
   7.752 -@cindex 長いファイルの編集[なかいふあいるのへんしゆう]
   7.753 +  tabular $B4D6-$r2?EY$b;n9T:x8m$7$F$$$k$h$&$J>l9g$O!"(B@code{\begin}$B$NA0$N9T(B
   7.754 +$B$K(B @code{%#BEGIN} $B$H=q$-!"(B@code{\end} $B$N<!$N9T$K(B @code{%#END} $B$H=q$$$F$*$/(B
   7.755 +$B$H4JC1$K:nI=7k2L$r%F%9%H$9$k$3$H$,$G$-$^$9!#$^$?!"D9$$(B .tex $B%U%!%$%k$N8eH>(B
   7.756 +$B$K(B @code{%#BEGIN} $B$r=q$$$F$*$1$P!"A0H>$NItJ,$OL5;k$G$-$^$9!#$3$N(BBEGIN$B$H(BEND
   7.757 +$B$N>C$7K:$l$K$O==J,$4Cm0U2<$5$$!#(B
   7.758 +@cindex $BD9$$%U%!%$%k$NJT=8(B[$B$J$+$$$U$"$$$k$N$X$s$7$f$&(B]
   7.759  
   7.760  @c @node  Require, lpr format, Fix region for typesetting, %#notation
   7.761  @comment  node-name,  next,  previous,  up
   7.762  
   7.763  @node lpr format, Editing %# notation, Fix region for typesetting, %#notation
   7.764  @comment  node-name,  next,  previous,  up
   7.765 -@section lprフォーマット
   7.766 -@cindex lprふぉーまっと[lprふおおまつと]
   7.767 -@cindex lprフォーマット[lprふおおまつと]
   7.768 +@section lpr$B%U%)!<%^%C%H(B
   7.769 +@cindex lpr$B$U$)!<$^$C$H(B[lpr$B$U$*$*$^$D$H(B]
   7.770 +@cindex lpr$B%U%)!<%^%C%H(B[lpr$B$U$*$*$^$D$H(B]
   7.771  @cindex lpr format
   7.772  
   7.773 -  まず、プリントアウト用コマンド列のフォーマットについて説明します。
   7.774 -コマンド列フォーマットは、3つの Lisp 変数によって表現されます。デ
   7.775 -フォルトの dvi2ps 用のフォーマットを例に説明します。
   7.776 +  $B$^$:!"%W%j%s%H%"%&%HMQ%3%^%s%INs$N%U%)!<%^%C%H$K$D$$$F@bL@$7$^$9!#(B
   7.777 +$B%3%^%s%INs%U%)!<%^%C%H$O!"(B3$B$D$N(B Lisp $BJQ?t$K$h$C$FI=8=$5$l$^$9!#%G(B
   7.778 +$B%U%)%k%H$N(B dvi2ps $BMQ$N%U%)!<%^%C%H$rNc$K@bL@$7$^$9!#(B
   7.779  
   7.780  @table @code
   7.781  @item (1)dviprint-command-format
   7.782 @@ -519,94 +521,94 @@
   7.783  @code{"-t %e"}
   7.784  @end table
   7.785  
   7.786 -実際にプリントアウトする時は、(1)中の %s がファイル名に置き換えられ、%f が
   7.787 -(2)の内容、%t が(3)の内容に置き換えられます。その際に(2)の文字列中の %b は
   7.788 -「出力開始ページ」、(3)の文字列中の %e は「出力終了ページ」に置き換えられ
   7.789 -ます。もし、ページを指定しない時には、%f, %t 両方とも無視されます。
   7.790 +$B<B:]$K%W%j%s%H%"%&%H$9$k;~$O!"(B(1)$BCf$N(B %s $B$,%U%!%$%kL>$KCV$-49$($i$l!"(B%f $B$,(B
   7.791 +(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
   7.792 +$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
   7.793 +$B$^$9!#$b$7!"%Z!<%8$r;XDj$7$J$$;~$K$O!"(B%f, %t $BN>J}$H$bL5;k$5$l$^$9!#(B
   7.794  
   7.795 -  この、dviprint-command-format を臨時に変えたい時は、La@TeX{} の
   7.796 -ソーステキスト中の任意の場所に、
   7.797 +  $B$3$N!"(Bdviprint-command-format $B$rNW;~$KJQ$($?$$;~$O!"(BLa@TeX{} $B$N(B
   7.798 +$B%=!<%9%F%-%9%HCf$NG$0U$N>l=j$K!"(B
   7.799  
   7.800  @example
   7.801          %#LPR dvi2ps %f %t %s | 4up -page 4 | texfix | lpr -Plp2
   7.802  @end example
   7.803  
   7.804  @noindent 
   7.805 -のように書いて下さい。プリントアウトするページ範囲をいちいち聞かせないよう
   7.806 -にする時に
   7.807 +$B$N$h$&$K=q$$$F2<$5$$!#%W%j%s%H%"%&%H$9$k%Z!<%8HO0O$r$$$A$$$AJ9$+$;$J$$$h$&(B
   7.808 +$B$K$9$k;~$K(B
   7.809  
   7.810  @example
   7.811          %#LPR dvi2ps %s | lpr
   7.812  @end example
   7.813  
   7.814  @noindent 
   7.815 -などとするのも便利かもしれません。
   7.816 +$B$J$I$H$9$k$N$bJXMx$+$b$7$l$^$;$s!#(B
   7.817  
   7.818  @node Editing %# notation,  , lpr format, %#notation
   7.819  @comment  node-name,  next,  previous,  up
   7.820 -@section %#記法自体の編集
   7.821 -@cindex %#記法自体の編集[%#きほうしたいのへんしゆう]
   7.822 +@section %#$B5-K!<+BN$NJT=8(B
   7.823 +@cindex %#$B5-K!<+BN$NJT=8(B[%#$B$-$[$&$7$?$$$N$X$s$7$f$&(B]
   7.824  
   7.825 -以上のような@code{%#}で始まる各種制御記法を編集するためには
   7.826 +$B0J>e$N$h$&$J(B@code{%#}$B$G;O$^$k3F<o@)8f5-K!$rJT=8$9$k$?$a$K$O(B
   7.827  
   7.828  @table @kbd
   7.829  @item [prefix] %
   7.830 -        @dots{} @code{%#}@var{記法編集メニュー}
   7.831 +        @dots{} @code{%#}@var{$B5-K!JT=8%a%K%e!<(B}
   7.832  @end table
   7.833  
   7.834  @noindent 
   7.835 -を押します。
   7.836 +$B$r2!$7$^$9!#(B
   7.837  
   7.838  @example
   7.839          !)Edit-%#! B)EGIN-END-region L)Edit-%#LPR
   7.840  @end example
   7.841  
   7.842  @noindent 
   7.843 -というメニューが出て来るので、@code{%#!}に続くコマンドを変更したい時には
   7.844 -@kbd{!}を、@code{%#LPR}で lpr フォーマットを変えたい時は@kbd{l}を、あらか
   7.845 -じめ設定したリジョンを @code{%#BEGIN} 〜 @code{%#END} で括りたい時は、
   7.846 -@kbd{b}を押します。@kbd{b}を選んだ時には、それまでバッファ中に置かれていた 
   7.847 -@code{%#BEGIN}, @code{%#END} が自動的に消去されます。
   7.848 -@cindex lprフォーマットの変更[lprふおおまつとのへんこう]
   7.849 +$B$H$$$&%a%K%e!<$,=P$FMh$k$N$G!"(B@code{%#!}$B$KB3$/%3%^%s%I$rJQ99$7$?$$;~$K$O(B
   7.850 +@kbd{!}$B$r!"(B@code{%#LPR}$B$G(B lpr $B%U%)!<%^%C%H$rJQ$($?$$;~$O(B@kbd{l}$B$r!"$"$i$+(B
   7.851 +$B$8$a@_Dj$7$?%j%8%g%s$r(B @code{%#BEGIN} $B!A(B @code{%#END} $B$G3g$j$?$$;~$O!"(B
   7.852 +@kbd{b}$B$r2!$7$^$9!#(B@kbd{b}$B$rA*$s$@;~$K$O!"$=$l$^$G%P%C%U%!Cf$KCV$+$l$F$$$?(B 
   7.853 +@code{%#BEGIN}, @code{%#END} $B$,<+F0E*$K>C5n$5$l$^$9!#(B
   7.854 +@cindex lpr$B%U%)!<%^%C%H$NJQ99(B[lpr$B$U$*$*$^$D$H$N$X$s$3$&(B]
   7.855  
   7.856  @node Completion, Local dictionary, %#notation , Top
   7.857  @comment  node-name,  next,  previous,  up
   7.858 -@chapter 補完入力
   7.859 +@chapter $BJd40F~NO(B
   7.860  
   7.861 -  La@TeX{} での環境名などは、野鳥の補完機能を利用して能率的に入力すること
   7.862 -ができます。
   7.863 +  La@TeX{} $B$G$N4D6-L>$J$I$O!"LnD;$NJd405!G=$rMxMQ$7$FG=N(E*$KF~NO$9$k$3$H(B
   7.864 +$B$,$G$-$^$9!#(B
   7.865  
   7.866  @menu
   7.867 -* begin型補完::                 
   7.868 -* section型補完::               
   7.869 -* large型補完::                 
   7.870 -* maketitle型補完::             
   7.871 -* Arbitrary completion::        随時補完
   7.872 -* end補完::                     
   7.873 -* Accent mark completion::      アクセント記号補完
   7.874 -* Image completion::            数式記号イメージ補完
   7.875 -* Greek letter completion::     ギリシャ文字補完
   7.876 +* begin$B7?Jd40(B::                 
   7.877 +* section$B7?Jd40(B::               
   7.878 +* large$B7?Jd40(B::                 
   7.879 +* maketitle$B7?Jd40(B::             
   7.880 +* Arbitrary completion::        $B?o;~Jd40(B
   7.881 +* end$BJd40(B::                     
   7.882 +* Accent mark completion::      $B%"%/%;%s%H5-9fJd40(B
   7.883 +* Image completion::            $B?t<05-9f%$%a!<%8Jd40(B
   7.884 +* Greek letter completion::     $B%.%j%7%cJ8;zJd40(B
   7.885  @end menu
   7.886  
   7.887 -@node begin型補完, section型補完, Completion, Completion
   7.888 +@node begin$B7?Jd40(B, section$B7?Jd40(B, Completion, Completion
   7.889  @comment  node-name,  next,  previous,  up
   7.890 -@section begin型補完
   7.891 -@cindex begin型補完[beginかたほかん]
   7.892 -@cindex 環境名の補完[かんきようめいのほかん]
   7.893 +@section begin$B7?Jd40(B
   7.894 +@cindex begin$B7?Jd40(B[begin$B$+$?$[$+$s(B]
   7.895 +@cindex $B4D6-L>$NJd40(B[$B$+$s$-$h$&$a$$$N$[$+$s(B]
   7.896  @cindex prefix b
   7.897  
   7.898 -  @code{\begin@{env@}...\end@{env@}}の様な形式の入力の補完をbegin型補完と
   7.899 -呼ぶことにします。begin 型補完は、
   7.900 +  @code{\begin@{env@}...\end@{env@}}$B$NMM$J7A<0$NF~NO$NJd40$r(Bbegin$B7?Jd40$H(B
   7.901 +$B8F$V$3$H$K$7$^$9!#(Bbegin $B7?Jd40$O!"(B
   7.902  
   7.903  @table @kbd
   7.904  @item [prefix] b
   7.905 -        @dots{} begin 型補完開始(標準では @kbd{C-c b})
   7.906 +        @dots{} begin $B7?Jd403+;O(B($BI8=`$G$O(B @kbd{C-c b})
   7.907  @end table
   7.908  
   7.909  @noindent 
   7.910 -で始まります。頻繁に用いられる次の La@TeX{} 環境の補完は、[prefix] @kbd{b}
   7.911 -に続く次の1文字を入力するだけで、@code{\begin@{xxx@}...\end@{xxx@}}を完成
   7.912 -させます。
   7.913 +$B$G;O$^$j$^$9!#IQHK$KMQ$$$i$l$k<!$N(B La@TeX{} $B4D6-$NJd40$O!"(B[prefix] @kbd{b}
   7.914 +$B$KB3$/<!$N(B1$BJ8;z$rF~NO$9$k$@$1$G!"(B@code{\begin@{xxx@}...\end@{xxx@}}$B$r40@.(B
   7.915 +$B$5$;$^$9!#(B
   7.916  
   7.917  @table @kbd
   7.918  @item [prefix] b c
   7.919 @@ -645,107 +647,107 @@
   7.920          @dots{} @code{\begin@{verse@}...\end@{verse@}}
   7.921  @end table
   7.922  
   7.923 -  上記のもの以外の環境名は Emacs の持つインクリメンタルな補完機能を用いて
   7.924 -入力します(上記の環境名も以下の補完入力可能)。
   7.925 +  $B>e5-$N$b$N0J30$N4D6-L>$O(B Emacs $B$N;}$D%$%s%/%j%a%s%?%k$JJd405!G=$rMQ$$$F(B
   7.926 +$BF~NO$7$^$9(B($B>e5-$N4D6-L>$b0J2<$NJd40F~NO2DG=(B)$B!#(B
   7.927  
   7.928  @table @kbd
   7.929  @item [prefix] b @key{SPC}
   7.930 -        @dots{} begin 型補完入力
   7.931 +        @dots{} begin $B7?Jd40F~NO(B
   7.932  @end table
   7.933  
   7.934 -@kbd{[prefix] b @key{SPC}} と入力すると、最下行のミニバッファに
   7.935 +@kbd{[prefix] b @key{SPC}} $B$HF~NO$9$k$H!":G2<9T$N%_%K%P%C%U%!$K(B
   7.936  
   7.937  @example
   7.938          Begin environment(default document): 
   7.939  @end example
   7.940  
   7.941  @noindent
   7.942 -と表示されます。ここで、何も入れずにリターンキーのみ押すと、括弧内に出てい
   7.943 -るデフォルトの環境名が入力されますが、適当な環境名を入力すると、
   7.944 -@code{\begin@{環境名@} … \end@{環境名@}}が文書中に挿入されます。ミニバッ
   7.945 -ファで環境名を入力するときに、環境名の頭文字を入力し「スペース」をたたくと、
   7.946 -一致する環境名が内部テーブルに存在した場合、正しい環境名に補完されるので、
   7.947 -入力の手間が省けます。内部テーブルに存在しない環境名を入力した時はユーザ専
   7.948 -用のテーブルに登録され、さらにそのテーブルを自動的に、ユーザ辞書(デフォル
   7.949 -トでは @file{~/.yatexrc})に保存します。
   7.950 +$B$HI=<($5$l$^$9!#$3$3$G!"2?$bF~$l$:$K%j%?!<%s%-!<$N$_2!$9$H!"3g8LFb$K=P$F$$(B
   7.951 +$B$k%G%U%)%k%H$N4D6-L>$,F~NO$5$l$^$9$,!"E,Ev$J4D6-L>$rF~NO$9$k$H!"(B
   7.952 +@code{\begin@{$B4D6-L>(B@} $B!D(B \end@{$B4D6-L>(B@}}$B$,J8=qCf$KA^F~$5$l$^$9!#%_%K%P%C(B
   7.953 +$B%U%!$G4D6-L>$rF~NO$9$k$H$-$K!"4D6-L>$NF,J8;z$rF~NO$7!V%9%Z!<%9!W$r$?$?$/$H!"(B
   7.954 +$B0lCW$9$k4D6-L>$,FbIt%F!<%V%k$KB8:_$7$?>l9g!"@5$7$$4D6-L>$KJd40$5$l$k$N$G!"(B
   7.955 +$BF~NO$N<j4V$,>J$1$^$9!#FbIt%F!<%V%k$KB8:_$7$J$$4D6-L>$rF~NO$7$?;~$O%f!<%6@l(B
   7.956 +$BMQ$N%F!<%V%k$KEPO?$5$l!"$5$i$K$=$N%F!<%V%k$r<+F0E*$K!"%f!<%6<-=q(B($B%G%U%)%k(B
   7.957 +$B%H$G$O(B @file{~/.yatexrc})$B$KJ]B8$7$^$9!#(B
   7.958  
   7.959 -さらに、特定の環境を補完入力した時にはその環境で必ず用いられるエントリを自
   7.960 -動挿入します(例: @code{itemize}環境における@code{\item}など)。挿入されたエ
   7.961 -ントリが不要な場合にはundoによって消去して下さい。
   7.962 -@cindex ユーザ辞書[ゆうさししよ]
   7.963 +$B$5$i$K!"FCDj$N4D6-$rJd40F~NO$7$?;~$K$O$=$N4D6-$GI,$:MQ$$$i$l$k%(%s%H%j$r<+(B
   7.964 +$BF0A^F~$7$^$9(B($BNc(B: @code{itemize}$B4D6-$K$*$1$k(B@code{\item}$B$J$I(B)$B!#A^F~$5$l$?%((B
   7.965 +$B%s%H%j$,ITMW$J>l9g$K$O(Bundo$B$K$h$C$F>C5n$7$F2<$5$$!#(B
   7.966 +@cindex $B%f!<%6<-=q(B[$B$f$&$5$7$7$h(B]
   7.967  
   7.968 -@subsection 既に書いたテキストを環境で括る
   7.969 +@subsection $B4{$K=q$$$?%F%-%9%H$r4D6-$G3g$k(B
   7.970  
   7.971 -  ところで、最初に書いてしまったブロックを後から、itemize 環境の中
   7.972 -に閉じこめたいと思うことがありますが、そのようなときは、あらかじめ
   7.973 -閉じこめたい段落をマークして、begin 型補完の各コマンドの @kbd{[prefix]}
   7.974 -の次の『小文字の 'b'』 を『大文字』に変えて起動して下さい。(または、
   7.975 -@kbd{C-u} を先に打ち、universal argument をつけても可能です)
   7.976 -@cindex ブロック[ふろつく]
   7.977 -@cindex 閉じ込める[としこめる]
   7.978 +  $B$H$3$m$G!":G=i$K=q$$$F$7$^$C$?%V%m%C%/$r8e$+$i!"(Bitemize $B4D6-$NCf(B
   7.979 +$B$KJD$8$3$a$?$$$H;W$&$3$H$,$"$j$^$9$,!"$=$N$h$&$J$H$-$O!"$"$i$+$8$a(B
   7.980 +$BJD$8$3$a$?$$CJMn$r%^!<%/$7$F!"(Bbegin $B7?Jd40$N3F%3%^%s%I$N(B @kbd{[prefix]}
   7.981 +$B$N<!$N!X>.J8;z$N(B 'b'$B!Y(B $B$r!XBgJ8;z!Y$KJQ$($F5/F0$7$F2<$5$$!#(B($B$^$?$O!"(B
   7.982 +@kbd{C-u} $B$r@h$KBG$A!"(Buniversal argument $B$r$D$1$F$b2DG=$G$9(B)
   7.983 +@cindex $B%V%m%C%/(B[$B$U$m$D$/(B]
   7.984 +@cindex $BJD$89~$a$k(B[$B$H$7$3$a$k(B]
   7.985  
   7.986 -  例えばあるパラグラフを description 環境の中に入れたいときは、
   7.987 -そのパラグラフをマークしてから、
   7.988 +  $BNc$($P$"$k%Q%i%0%i%U$r(B description $B4D6-$NCf$KF~$l$?$$$H$-$O!"(B
   7.989 +$B$=$N%Q%i%0%i%U$r%^!<%/$7$F$+$i!"(B
   7.990  
   7.991  @table @kbd
   7.992  @item [prefix] B D
   7.993 -@itemx (または ESC 1 [prefix] b D)
   7.994 -@itemx (または  C-u  [prefix] b D など)
   7.995 +@itemx ($B$^$?$O(B ESC 1 [prefix] b D)
   7.996 +@itemx ($B$^$?$O(B  C-u  [prefix] b D $B$J$I(B)
   7.997  @end table
   7.998  
   7.999 -とタイプしてください。これは、@kbd{[prefix] b SPC}の補完入力にもあてはまり、
  7.1000 -@kbd{b} を大文字に変えて、@kbd{[prefix] B SPC} とタイプすれば、あらかじめ
  7.1001 -マークしておいたリジョンを、begin と end の環境で括ります。
  7.1002 +$B$H%?%$%W$7$F$/$@$5$$!#$3$l$O!"(B@kbd{[prefix] b SPC}$B$NJd40F~NO$K$b$"$F$O$^$j!"(B
  7.1003 +@kbd{b} $B$rBgJ8;z$KJQ$($F!"(B@kbd{[prefix] B SPC} $B$H%?%$%W$9$l$P!"$"$i$+$8$a(B
  7.1004 +$B%^!<%/$7$F$*$$$?%j%8%g%s$r!"(Bbegin $B$H(B end $B$N4D6-$G3g$j$^$9!#(B
  7.1005  
  7.1006 -@node section型補完, large型補完, begin型補完, Completion
  7.1007 +@node section$B7?Jd40(B, large$B7?Jd40(B, begin$B7?Jd40(B, Completion
  7.1008  @comment  node-name,  next,  previous,  up
  7.1009 -@section section型補完
  7.1010 -@cindex  section型補完[sectionかたほかん]
  7.1011 +@section section$B7?Jd40(B
  7.1012 +@cindex  section$B7?Jd40(B[section$B$+$?$[$+$s(B]
  7.1013  @cindex prefix s
  7.1014  
  7.1015 -  @code{\section@{目的@}} のような形式の入力の補完を section 型補完と呼ぶこ
  7.1016 -とにします。section 型補完は、
  7.1017 +  @code{\section@{$BL\E*(B@}} $B$N$h$&$J7A<0$NF~NO$NJd40$r(B section $B7?Jd40$H8F$V$3(B
  7.1018 +$B$H$K$7$^$9!#(Bsection $B7?Jd40$O!"(B
  7.1019  
  7.1020  @table @kbd
  7.1021  @item [prefix] s
  7.1022 -        @dots{} section 型補完
  7.1023 +        @dots{} section $B7?Jd40(B
  7.1024  @end table
  7.1025  
  7.1026  @noindent 
  7.1027 -で実行します。@kbd{[prefix] s} を入力するとミニバッファに、
  7.1028 +$B$G<B9T$7$^$9!#(B@kbd{[prefix] s} $B$rF~NO$9$k$H%_%K%P%C%U%!$K!"(B
  7.1029  
  7.1030  @example
  7.1031          (C-v for view-section) \???@{@} (default documentstyle):
  7.1032  @end example
  7.1033  
  7.1034  @noindent 
  7.1035 -というプロンプトが現れるので、そこで @samp{section} のような La@TeX{} コマ
  7.1036 -ンド名を入力します。ここでもリターンキーのみで括弧内のデフォルト値が選択さ
  7.1037 -れるほか、@samp{chapter}などのような頻度の高い名称入力にはスペースキーによ
  7.1038 -る補完機能が有効です。 次に、@{@}の中身の入力を促す、
  7.1039 +$B$H$$$&%W%m%s%W%H$,8=$l$k$N$G!"$=$3$G(B @samp{section} $B$N$h$&$J(B La@TeX{} $B%3%^(B
  7.1040 +$B%s%IL>$rF~NO$7$^$9!#$3$3$G$b%j%?!<%s%-!<$N$_$G3g8LFb$N%G%U%)%k%HCM$,A*Br$5(B
  7.1041 +$B$l$k$[$+!"(B@samp{chapter}$B$J$I$N$h$&$JIQEY$N9b$$L>>NF~NO$K$O%9%Z!<%9%-!<$K$h(B
  7.1042 +$B$kJd405!G=$,M-8z$G$9!#(B $B<!$K!"(B@{@}$B$NCf?H$NF~NO$rB%$9!"(B
  7.1043  
  7.1044  @example
  7.1045          \section@{???@}:
  7.1046  @end example
  7.1047  
  7.1048  @noindent 
  7.1049 -というプロンプトが現れるので、セクションのタイトルなどを入力します。
  7.1050 -たとえば、
  7.1051 +$B$H$$$&%W%m%s%W%H$,8=$l$k$N$G!"%;%/%7%g%s$N%?%$%H%k$J$I$rF~NO$7$^$9!#(B
  7.1052 +$B$?$H$($P!"(B
  7.1053  
  7.1054  @example
  7.1055          (C-v for view-section) \???@{@} (default documentstyle): section
  7.1056 -        \section@{???@}: 目的
  7.1057 +        \section@{???@}: $BL\E*(B
  7.1058  @end example
  7.1059  
  7.1060  @noindent 
  7.1061 -のように入力した場合は、文章中に
  7.1062 +$B$N$h$&$KF~NO$7$?>l9g$O!"J8>OCf$K(B
  7.1063  
  7.1064  @example
  7.1065 -        \section@{目的@}
  7.1066 +        \section@{$BL\E*(B@}
  7.1067  @end example
  7.1068  
  7.1069  @noindent 
  7.1070 -が挿入され、
  7.1071 +$B$,A^F~$5$l!"(B
  7.1072  
  7.1073  @example
  7.1074          (C-v for view-section) \???@{@} (default section): vspace*
  7.1075 @@ -753,38 +755,38 @@
  7.1076  @end example
  7.1077  
  7.1078  @noindent 
  7.1079 -のように@{@}の中身を省略したときは、
  7.1080 +$B$N$h$&$K(B@{@}$B$NCf?H$r>JN,$7$?$H$-$O!"(B
  7.1081  
  7.1082  @example
  7.1083          \vspace*@{@}
  7.1084  @end example
  7.1085  
  7.1086  @noindent 
  7.1087 -だけが挿入され、改行はせずカーソルは自動的に中括弧の内側に移動します。
  7.1088 +$B$@$1$,A^F~$5$l!"2~9T$O$;$:%+!<%=%k$O<+F0E*$KCf3g8L$NFbB&$K0\F0$7$^$9!#(B
  7.1089  
  7.1090  @menu
  7.1091 -* 2個以上の引数をとる section型コマンド::  
  7.1092 -* Enclose section-type command::  括り補完
  7.1093 -* Recursive completion::        再帰補完
  7.1094 -* view-sectioning::             セクション区切りのアウトライン表示
  7.1095 +* 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B::  
  7.1096 +* Enclose section-type command::  $B3g$jJd40(B
  7.1097 +* Recursive completion::        $B:F5"Jd40(B
  7.1098 +* view-sectioning::             $B%;%/%7%g%s6h@Z$j$N%"%&%H%i%$%sI=<((B
  7.1099  @end menu
  7.1100  
  7.1101 -@node 2個以上の引数をとる section型コマンド, Enclose section-type command, section型補完, section型補完
  7.1102 +@node 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B, Enclose section-type command, section$B7?Jd40(B, section$B7?Jd40(B
  7.1103  @comment  node-name,  next,  previous,  up
  7.1104 -@subsection 2個以上の引数をとる section型コマンド
  7.1105 -@cindex 引数[ひきすう]
  7.1106 +@subsection 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B
  7.1107 +@cindex $B0z?t(B[$B$R$-$9$&(B]
  7.1108  
  7.1109 -  ところで、@samp{\addtolength@{\topmargin@}@{8mm@}} などのように、引数を二つ
  7.1110 -以上取る La@TeX{} コマンドがあります。このようなコマンドの補完入力には、
  7.1111 -section 型補完呼び出しに引数を付けてください。例えば上の@samp{addtolength} 
  7.1112 -の例であれば、引数2を指定します。つまり、
  7.1113 +  $B$H$3$m$G!"(B@samp{\addtolength@{\topmargin@}@{8mm@}} $B$J$I$N$h$&$K!"0z?t$rFs$D(B
  7.1114 +$B0J>e<h$k(B La@TeX{} $B%3%^%s%I$,$"$j$^$9!#$3$N$h$&$J%3%^%s%I$NJd40F~NO$K$O!"(B
  7.1115 +section $B7?Jd408F$S=P$7$K0z?t$rIU$1$F$/$@$5$$!#Nc$($P>e$N(B@samp{addtolength} 
  7.1116 +$B$NNc$G$"$l$P!"0z?t(B2$B$r;XDj$7$^$9!#$D$^$j!"(B
  7.1117  
  7.1118  @example
  7.1119 -        C-u 2 [prefix] s   (または、ESC 2 [prefix] s)
  7.1120 +        C-u 2 [prefix] s   ($B$^$?$O!"(BESC 2 [prefix] s)
  7.1121  @end example
  7.1122  
  7.1123  @noindent 
  7.1124 -と section 型補完を呼び出した後、
  7.1125 +$B$H(B section $B7?Jd40$r8F$S=P$7$?8e!"(B
  7.1126  
  7.1127  @example
  7.1128          (Ctrl-v for view-section) \???@{@} (default vspace*): addtolength
  7.1129 @@ -793,243 +795,243 @@
  7.1130  @end example
  7.1131  
  7.1132  @noindent 
  7.1133 -のように入力してください。最初の addtolength の部分と、第一引数である 
  7.1134 -\topmargin の入力は当然スペースによる補完入力が可能です。ユーザ辞書に登録
  7.1135 -される La@TeX{} コマンドには、この引数の数も学習されるので、最初の補完の時
  7.1136 -引数の数を指定して起動しておけば、以後の補完時には、記憶された個数だけ引数
  7.1137 -を聞いて来るようになります。あとで引数の個数を変えたい時は、再び @kbd{C-u} 
  7.1138 -を用いて個数を指定し直すことで、自動的に辞書中の引数の個数の部分を更新しま
  7.1139 -す。
  7.1140 -@cindex 引数の個数を変える[ひきすうのこすうをかえる]
  7.1141 +$B$N$h$&$KF~NO$7$F$/$@$5$$!#:G=i$N(B addtolength $B$NItJ,$H!"Bh0l0z?t$G$"$k(B 
  7.1142 +\topmargin $B$NF~NO$OEvA3%9%Z!<%9$K$h$kJd40F~NO$,2DG=$G$9!#%f!<%6<-=q$KEPO?(B
  7.1143 +$B$5$l$k(B La@TeX{} $B%3%^%s%I$K$O!"$3$N0z?t$N?t$b3X=,$5$l$k$N$G!":G=i$NJd40$N;~(B
  7.1144 +$B0z?t$N?t$r;XDj$7$F5/F0$7$F$*$1$P!"0J8e$NJd40;~$K$O!"5-21$5$l$?8D?t$@$10z?t(B
  7.1145 +$B$rJ9$$$FMh$k$h$&$K$J$j$^$9!#$"$H$G0z?t$N8D?t$rJQ$($?$$;~$O!":F$S(B @kbd{C-u} 
  7.1146 +$B$rMQ$$$F8D?t$r;XDj$7D>$9$3$H$G!"<+F0E*$K<-=qCf$N0z?t$N8D?t$NItJ,$r99?7$7$^(B
  7.1147 +$B$9!#(B
  7.1148 +@cindex $B0z?t$N8D?t$rJQ$($k(B[$B$R$-$9$&$N$3$9$&$r$+$($k(B]
  7.1149  
  7.1150  
  7.1151 -@node Enclose section-type command, Recursive completion, 2個以上の引数をとる section型コマンド, section型補完
  7.1152 -@subsection 既に書いたテキストを括る
  7.1153 -@cindex 括る[くくる]
  7.1154 +@node Enclose section-type command, Recursive completion, 2$B8D0J>e$N0z?t$r$H$k(B section$B7?%3%^%s%I(B, section$B7?Jd40(B
  7.1155 +@subsection $B4{$K=q$$$?%F%-%9%H$r3g$k(B
  7.1156 +@cindex $B3g$k(B[$B$/$/$k(B]
  7.1157  
  7.1158 -  また、起動コマンドの@kbd{s}を大文字に変えて起動すると、あらかじめ書
  7.1159 -いた文章を section 型コマンドの第一引数として括ります。
  7.1160 +  $B$^$?!"5/F0%3%^%s%I$N(B@kbd{s}$B$rBgJ8;z$KJQ$($F5/F0$9$k$H!"$"$i$+$8$a=q(B
  7.1161 +$B$$$?J8>O$r(B section $B7?%3%^%s%I$NBh0l0z?t$H$7$F3g$j$^$9!#(B
  7.1162  
  7.1163 -@node Recursive completion, view-sectioning, Enclose section-type command, section型補完
  7.1164 +@node Recursive completion, view-sectioning, Enclose section-type command, section$B7?Jd40(B
  7.1165  @comment  node-name,  next,  previous,  up
  7.1166 -@subsection 再帰補完
  7.1167 -@cindex 再帰補完[さいきほかん]
  7.1168 +@subsection $B:F5"Jd40(B
  7.1169 +@cindex $B:F5"Jd40(B[$B$5$$$-$[$+$s(B]
  7.1170  
  7.1171 -  高度な使い方になるかもしれませんが、section型補完の引数の入力時にさらに
  7.1172 -補完入力を利用することができます(section/large/maketitle型に限る)。section
  7.1173 -型コマンドの引数に更に La@TeX{} コマンドが来る場合にはミニバッファで野鳥の
  7.1174 -補完キーを再帰的に入力することで引数の入力も効率的に行なえます。
  7.1175 +  $B9bEY$J;H$$J}$K$J$k$+$b$7$l$^$;$s$,!"(Bsection$B7?Jd40$N0z?t$NF~NO;~$K$5$i$K(B
  7.1176 +$BJd40F~NO$rMxMQ$9$k$3$H$,$G$-$^$9(B(section/large/maketitle$B7?$K8B$k(B)$B!#(Bsection
  7.1177 +$B7?%3%^%s%I$N0z?t$K99$K(B La@TeX{} $B%3%^%s%I$,Mh$k>l9g$K$O%_%K%P%C%U%!$GLnD;$N(B
  7.1178 +$BJd40%-!<$r:F5"E*$KF~NO$9$k$3$H$G0z?t$NF~NO$b8zN(E*$K9T$J$($^$9!#(B
  7.1179  
  7.1180 -@node view-sectioning,  , Recursive completion, section型補完
  7.1181 +@node view-sectioning,  , Recursive completion, section$B7?Jd40(B
  7.1182  @comment  node-name,  next,  previous,  up
  7.1183 -@subsection セクション区切りのアウトライン表示
  7.1184 -@cindex アウトライン[あうとらいん]
  7.1185 +@subsection $B%;%/%7%g%s6h@Z$j$N%"%&%H%i%$%sI=<((B
  7.1186 +@cindex $B%"%&%H%i%$%s(B[$B$"$&$H$i$$$s(B]
  7.1187  
  7.1188 -  通常のsection型補完の時にミニバッファで@kbd{C-v}を押すと現在存在するセク
  7.1189 -ション区切りコマンド全てを @code{*Sectioning Lines*}というバッファに一覧表
  7.1190 -示します(「<<--」のついている行がもっとも近いセクション区切り)。この時ミニ
  7.1191 -バッファで@kbd{C-p}, @kbd{C-n} を押すと@samp{part}, @samp{chapter}, ...,
  7.1192 -@samp{subparagraph} のコマンドが論理階層の高さにしたがって上下します。また、
  7.1193 -@kbd{C-v}, @kbd{M-v} を押すとセクション区切り一覧バッファがスクロールし、
  7.1194 -数字の@kbd{0}〜@kbd{7}を押すとある高さ以上のセクション区切りだけを選んで表
  7.1195 -示します(実際にやって見れば分かります)。
  7.1196 +  $BDL>o$N(Bsection$B7?Jd40$N;~$K%_%K%P%C%U%!$G(B@kbd{C-v}$B$r2!$9$H8=:_B8:_$9$k%;%/(B
  7.1197 +$B%7%g%s6h@Z$j%3%^%s%IA4$F$r(B @code{*Sectioning Lines*}$B$H$$$&%P%C%U%!$K0lMwI=(B
  7.1198 +$B<($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(B
  7.1199 +$B%P%C%U%!$G(B@kbd{C-p}, @kbd{C-n} $B$r2!$9$H(B@samp{part}, @samp{chapter}, ...,
  7.1200 +@samp{subparagraph} $B$N%3%^%s%I$,O@M}3,AX$N9b$5$K$7$?$,$C$F>e2<$7$^$9!#$^$?!"(B
  7.1201 +@kbd{C-v}, @kbd{M-v} $B$r2!$9$H%;%/%7%g%s6h@Z$j0lMw%P%C%U%!$,%9%/%m!<%k$7!"(B
  7.1202 +$B?t;z$N(B@kbd{0}$B!A(B@kbd{7}$B$r2!$9$H$"$k9b$50J>e$N%;%/%7%g%s6h@Z$j$@$1$rA*$s$GI=(B
  7.1203 +$B<($7$^$9(B($B<B:]$K$d$C$F8+$l$PJ,$+$j$^$9(B)$B!#(B
  7.1204  
  7.1205 -@code{*Sectioning Lines*}バッファは、
  7.1206 +@code{*Sectioning Lines*}$B%P%C%U%!$O!"(B
  7.1207  
  7.1208  @table @kbd
  7.1209  @item M-x YaTeX-section-overview
  7.1210 -        @dots{} セクション区切り一覧バッファを生成
  7.1211 +        @dots{} $B%;%/%7%g%s6h@Z$j0lMw%P%C%U%!$r@8@.(B
  7.1212  @end table
  7.1213  
  7.1214 -@cindex セクション区切り一覧バッファ[せくしよんくきりいちらんはつふあ]
  7.1215 -で作成することができます。このバッファを選択し任意の行でスペースを押すと、
  7.1216 -該当するセクション区切りのある本文中の場所にジャンプします。さらに、同バッ
  7.1217 -ファで @kbd{u} を押すと、ソーステキストの対応するセクションコマンドが一階
  7.1218 -層上がり(例: subsection が section に変わる)、@kbd{d}を押すと一階層下がり
  7.1219 -ます。@code{*Sectioning Lines*}バッファにあるセクション区切りの行をマーク
  7.1220 -しておいて@kbd{U}を押すとリジョン内のものに対応するソーステキストのセクショ
  7.1221 -ンコマンドすべてが一階層上がり、@kbd{D}を押すと下がります。セクション区切
  7.1222 -り一覧バッファで利用できるキーコマンドには以下のものがあります。
  7.1223 +@cindex $B%;%/%7%g%s6h@Z$j0lMw%P%C%U%!(B[$B$;$/$7$h$s$/$-$j$$$A$i$s$O$D$U$"(B]
  7.1224 +$B$G:n@.$9$k$3$H$,$G$-$^$9!#$3$N%P%C%U%!$rA*Br$7G$0U$N9T$G%9%Z!<%9$r2!$9$H!"(B
  7.1225 +$B3:Ev$9$k%;%/%7%g%s6h@Z$j$N$"$kK\J8Cf$N>l=j$K%8%c%s%W$7$^$9!#$5$i$K!"F1%P%C(B
  7.1226 +$B%U%!$G(B @kbd{u} $B$r2!$9$H!"%=!<%9%F%-%9%H$NBP1~$9$k%;%/%7%g%s%3%^%s%I$,0l3,(B
  7.1227 +$BAX>e$,$j(B($BNc(B: subsection $B$,(B section $B$KJQ$o$k(B)$B!"(B@kbd{d}$B$r2!$9$H0l3,AX2<$,$j(B
  7.1228 +$B$^$9!#(B@code{*Sectioning Lines*}$B%P%C%U%!$K$"$k%;%/%7%g%s6h@Z$j$N9T$r%^!<%/(B
  7.1229 +$B$7$F$*$$$F(B@kbd{U}$B$r2!$9$H%j%8%g%sFb$N$b$N$KBP1~$9$k%=!<%9%F%-%9%H$N%;%/%7%g(B
  7.1230 +$B%s%3%^%s%I$9$Y$F$,0l3,AX>e$,$j!"(B@kbd{D}$B$r2!$9$H2<$,$j$^$9!#%;%/%7%g%s6h@Z(B
  7.1231 +$B$j0lMw%P%C%U%!$GMxMQ$G$-$k%-!<%3%^%s%I$K$O0J2<$N$b$N$,$"$j$^$9!#(B
  7.1232  
  7.1233  @table @kbd
  7.1234  @item SPC
  7.1235 -        @dots{} 対応するソース行へジャンプ
  7.1236 +        @dots{} $BBP1~$9$k%=!<%99T$X%8%c%s%W(B
  7.1237  @item .
  7.1238 -        @dots{} 対応するソース行を表示
  7.1239 +        @dots{} $BBP1~$9$k%=!<%99T$rI=<((B
  7.1240  @item u
  7.1241 -        @dots{} カーソル位置に対応するセクションコマンドを一階層上げる
  7.1242 +        @dots{} $B%+!<%=%k0LCV$KBP1~$9$k%;%/%7%g%s%3%^%s%I$r0l3,AX>e$2$k(B
  7.1243  @item d
  7.1244 -        @dots{} カーソル位置に対応するセクションコマンドを一階層下げる
  7.1245 +        @dots{} $B%+!<%=%k0LCV$KBP1~$9$k%;%/%7%g%s%3%^%s%I$r0l3,AX2<$2$k(B
  7.1246  @item U
  7.1247 -        @dots{} マークしたセクションコマンドを一階層上げる
  7.1248 +        @dots{} $B%^!<%/$7$?%;%/%7%g%s%3%^%s%I$r0l3,AX>e$2$k(B
  7.1249  @item D
  7.1250 -        @dots{} マークしたセクションコマンドを一階層上げる
  7.1251 -@item 0〜6
  7.1252 -        @dots{} レベル n 以下のセクションコマンドを隠して表示
  7.1253 +        @dots{} $B%^!<%/$7$?%;%/%7%g%s%3%^%s%I$r0l3,AX>e$2$k(B
  7.1254 +@item 0$B!A(B6
  7.1255 +        @dots{} $B%l%Y%k(B n $B0J2<$N%;%/%7%g%s%3%^%s%I$r1#$7$FI=<((B
  7.1256  @end table
  7.1257  
  7.1258 -@cindex 論理階層[ろんりかいそう]
  7.1259 -@cindex セクション区切り[せくしよんくきり]
  7.1260 -@cindex ジャンプ[しやんふ]
  7.1261 +@cindex $BO@M}3,AX(B[$B$m$s$j$+$$$=$&(B]
  7.1262 +@cindex $B%;%/%7%g%s6h@Z$j(B[$B$;$/$7$h$s$/$-$j(B]
  7.1263 +@cindex $B%8%c%s%W(B[$B$7$d$s$U(B]
  7.1264  
  7.1265 -@node large型補完, maketitle型補完, section型補完, Completion
  7.1266 +@node large$B7?Jd40(B, maketitle$B7?Jd40(B, section$B7?Jd40(B, Completion
  7.1267  @comment  node-name,  next,  previous,  up
  7.1268 -@section large型補完
  7.1269 -@cindex large型補完[largeかたほかん]
  7.1270 +@section large$B7?Jd40(B
  7.1271 +@cindex large$B7?Jd40(B[large$B$+$?$[$+$s(B]
  7.1272  @cindex prefix l
  7.1273  
  7.1274 -  @code{@{\large @}} のような形式の補完を large 型補完と呼ぶことにします。
  7.1275 +  @code{@{\large @}} $B$N$h$&$J7A<0$NJd40$r(B large $B7?Jd40$H8F$V$3$H$K$7$^$9!#(B
  7.1276  
  7.1277  @table @kbd
  7.1278  @item [prefix] l
  7.1279 -        @dots{} large 型補完開始
  7.1280 +        @dots{} large $B7?Jd403+;O(B
  7.1281  @end table
  7.1282  
  7.1283  @noindent 
  7.1284 -がlarge型補完の開始です。@kbd{[prefix] l} を押すと、ミニバッファに
  7.1285 +$B$,(Blarge$B7?Jd40$N3+;O$G$9!#(B@kbd{[prefix] l} $B$r2!$9$H!"%_%K%P%C%U%!$K(B
  7.1286  
  7.1287  @example
  7.1288          @{\??? @} (default large): 
  7.1289  @end example
  7.1290  
  7.1291  @noindent 
  7.1292 -と表示されるので、上記のものと同じ要領で補完入力して下さい。補完候補に用意
  7.1293 -されているのは、@samp{footnotesize} や @samp{huge} のような文字サイズ指定
  7.1294 -子と、@samp{bf}や@samp{dg}のようなフォント指定子です。
  7.1295 -@cindex 文字サイズ指定子[もしさいすしていし]
  7.1296 -@cindex フォント指定子[ふおんとしていし]
  7.1297 +$B$HI=<($5$l$k$N$G!">e5-$N$b$N$HF1$8MWNN$GJd40F~NO$7$F2<$5$$!#Jd408uJd$KMQ0U(B
  7.1298 +$B$5$l$F$$$k$N$O!"(B@samp{footnotesize} $B$d(B @samp{huge} $B$N$h$&$JJ8;z%5%$%:;XDj(B
  7.1299 +$B;R$H!"(B@samp{bf}$B$d(B@samp{dg}$B$N$h$&$J%U%)%s%H;XDj;R$G$9!#(B
  7.1300 +@cindex $BJ8;z%5%$%:;XDj;R(B[$B$b$7$5$$$9$7$F$$$7(B]
  7.1301 +@cindex $B%U%)%s%H;XDj;R(B[$B$U$*$s$H$7$F$$$7(B]
  7.1302  
  7.1303 -@subsection 既に書いた文字を括る
  7.1304 -@cindex 括る[くくる]
  7.1305 +@subsection $B4{$K=q$$$?J8;z$r3g$k(B
  7.1306 +@cindex $B3g$k(B[$B$/$/$k(B]
  7.1307  
  7.1308 -  また、begin型補完の時と同様、先に書いてしまった一連の文章の文字のサイズ
  7.1309 -を変えたいと思う時がありますが、そのような時は、サイズや大きさを変えたい文
  7.1310 -字の範囲をマークしてから、呼び出しキーを @kbd{[prefix] L} と、大文字の L 
  7.1311 -に変えて呼び出せば、そのリジョン全体が、ブレースで囲まれます。
  7.1312 +  $B$^$?!"(Bbegin$B7?Jd40$N;~$HF1MM!"@h$K=q$$$F$7$^$C$?0lO"$NJ8>O$NJ8;z$N%5%$%:(B
  7.1313 +$B$rJQ$($?$$$H;W$&;~$,$"$j$^$9$,!"$=$N$h$&$J;~$O!"%5%$%:$dBg$-$5$rJQ$($?$$J8(B
  7.1314 +$B;z$NHO0O$r%^!<%/$7$F$+$i!"8F$S=P$7%-!<$r(B @kbd{[prefix] L} $B$H!"BgJ8;z$N(B L 
  7.1315 +$B$KJQ$($F8F$S=P$;$P!"$=$N%j%8%g%sA4BN$,!"%V%l!<%9$G0O$^$l$^$9!#(B
  7.1316  
  7.1317 -@node maketitle型補完, Arbitrary completion, large型補完, Completion
  7.1318 +@node maketitle$B7?Jd40(B, Arbitrary completion, large$B7?Jd40(B, Completion
  7.1319  @comment  node-name,  next,  previous,  up
  7.1320 -@section maketitle型補完
  7.1321 -@cindex maketitle型補完[maketitleかたほかん]
  7.1322 +@section maketitle$B7?Jd40(B
  7.1323 +@cindex maketitle$B7?Jd40(B[maketitle$B$+$?$[$+$s(B]
  7.1324  @cindex prefix m
  7.1325  
  7.1326 -  @code{\maketitle} の形式の補完を maketitle 型補完と呼ぶことにします。
  7.1327 +  @code{\maketitle} $B$N7A<0$NJd40$r(B maketitle $B7?Jd40$H8F$V$3$H$K$7$^$9!#(B
  7.1328  
  7.1329  @table @kbd
  7.1330  @item [prefix] m
  7.1331 -        @dots{} maketitle 型補完開始
  7.1332 +        @dots{} maketitle $B7?Jd403+;O(B
  7.1333  @end table
  7.1334  
  7.1335  @noindent 
  7.1336 -で、maketitle 型補完を開始します。補完の要領は今までのものとまったく同じで
  7.1337 -す。La@TeX{} 用のコマンド名が補完候補として用意されています。
  7.1338 +$B$G!"(Bmaketitle $B7?Jd40$r3+;O$7$^$9!#Jd40$NMWNN$O:#$^$G$N$b$N$H$^$C$?$/F1$8$G(B
  7.1339 +$B$9!#(BLa@TeX{} $BMQ$N%3%^%s%IL>$,Jd408uJd$H$7$FMQ0U$5$l$F$$$^$9!#(B
  7.1340  
  7.1341 -@node Arbitrary completion, end補完, maketitle型補完, Completion
  7.1342 +@node Arbitrary completion, end$BJd40(B, maketitle$B7?Jd40(B, Completion
  7.1343  @comment  node-name,  next,  previous,  up
  7.1344 -@section 随時補完
  7.1345 -@cindex 随時補完[すいしほかん]
  7.1346 +@section $B?o;~Jd40(B
  7.1347 +@cindex $B?o;~Jd40(B[$B$9$$$7$[$+$s(B]
  7.1348  @cindex prefix SPC
  7.1349  
  7.1350 -  さて、今まで述べた典型的な La@TeX{} コマンド形式の補完入力を用いずに、今
  7.1351 -入力しようとしている La@TeX{} コマンドを文書中の任意の位置で随時補完するこ
  7.1352 -ともできます。La@TeX{} コマンド(先頭が\で始まる)を入力している途中で、
  7.1353 +  $B$5$F!":#$^$G=R$Y$?E57?E*$J(B La@TeX{} $B%3%^%s%I7A<0$NJd40F~NO$rMQ$$$:$K!":#(B
  7.1354 +$BF~NO$7$h$&$H$7$F$$$k(B La@TeX{} $B%3%^%s%I$rJ8=qCf$NG$0U$N0LCV$G?o;~Jd40$9$k$3(B
  7.1355 +$B$H$b$G$-$^$9!#(BLa@TeX{} $B%3%^%s%I(B($B@hF,$,(B\$B$G;O$^$k(B)$B$rF~NO$7$F$$$kESCf$G!"(B
  7.1356  
  7.1357  @table @kbd
  7.1358  @item [prefix] SPC
  7.1359 -        @dots{} 随時補完
  7.1360 +        @dots{} $B?o;~Jd40(B
  7.1361  @end table
  7.1362  
  7.1363  @noindent 
  7.1364 -を入力すれば、全ての補完候補の中から一致するものが選ばれカーソル位置に挿入
  7.1365 -されます。
  7.1366 +$B$rF~NO$9$l$P!"A4$F$NJd408uJd$NCf$+$i0lCW$9$k$b$N$,A*$P$l%+!<%=%k0LCV$KA^F~(B
  7.1367 +$B$5$l$^$9!#(B
  7.1368  
  7.1369 -@node end補完, Accent mark completion, Arbitrary completion, Completion
  7.1370 +@node end$BJd40(B, Accent mark completion, Arbitrary completion, Completion
  7.1371  @comment  node-name,  next,  previous,  up
  7.1372 -@section end補完
  7.1373 -@cindex end補完[endほかん]
  7.1374 +@section end$BJd40(B
  7.1375 +@cindex end$BJd40(B[end$B$[$+$s(B]
  7.1376  @cindex prefix e
  7.1377  
  7.1378 -  現在開いたままの環境名を自動的に検出し、@code{\end@{環境名@}}を挿入しま
  7.1379 -す。begin 型補完を用いれば環境の閉じ忘れはないのですが、時にはついつい手で 
  7.1380 -@code{\begin@{環境名@}} を入れてしまい、悲しい思いをすることがあります。そ
  7.1381 -のような時には気にせず続けて文章を入力し、しかるのちに
  7.1382 +  $B8=:_3+$$$?$^$^$N4D6-L>$r<+F0E*$K8!=P$7!"(B@code{\end@{$B4D6-L>(B@}}$B$rA^F~$7$^(B
  7.1383 +$B$9!#(Bbegin $B7?Jd40$rMQ$$$l$P4D6-$NJD$8K:$l$O$J$$$N$G$9$,!";~$K$O$D$$$D$$<j$G(B 
  7.1384 +@code{\begin@{$B4D6-L>(B@}} $B$rF~$l$F$7$^$$!"Ha$7$$;W$$$r$9$k$3$H$,$"$j$^$9!#$=(B
  7.1385 +$B$N$h$&$J;~$K$O5$$K$;$:B3$1$FJ8>O$rF~NO$7!"$7$+$k$N$A$K(B
  7.1386  
  7.1387  @table @kbd
  7.1388  @item [prefix] e
  7.1389 -        @dots{} end 補完
  7.1390 +        @dots{} end $BJd40(B
  7.1391  @end table
  7.1392  
  7.1393  @noindent 
  7.1394 -とすることで、現在開いている環境名で \end@{@} が補われます。
  7.1395 +$B$H$9$k$3$H$G!"8=:_3+$$$F$$$k4D6-L>$G(B \end@{@} $B$,Jd$o$l$^$9!#(B
  7.1396  
  7.1397 -@node Accent mark completion, Image completion, end補完, Completion
  7.1398 +@node Accent mark completion, Image completion, end$BJd40(B, Completion
  7.1399  @comment  node-name,  next,  previous,  up
  7.1400 -@section アクセント記号補完
  7.1401 -@cindex アクセント記号補完[あくせんときこうほかん]
  7.1402 +@section $B%"%/%;%s%H5-9fJd40(B
  7.1403 +@cindex $B%"%/%;%s%H5-9fJd40(B[$B$"$/$;$s$H$-$3$&$[$+$s(B]
  7.1404  @cindex prefix a
  7.1405 -@cindex 欧文[おうふん]
  7.1406 +@cindex $B2$J8(B[$B$*$&$U$s(B]
  7.1407  
  7.1408 -  欧文のアクセント記号(@code{\`@{o@}}など)を入力する時は、
  7.1409 +  $B2$J8$N%"%/%;%s%H5-9f(B(@code{\`@{o@}}$B$J$I(B)$B$rF~NO$9$k;~$O!"(B
  7.1410  
  7.1411  @table @kbd
  7.1412  @item [prefix] a
  7.1413 -        @dots{} アクセント記号入力
  7.1414 +        @dots{} $B%"%/%;%s%H5-9fF~NO(B
  7.1415  @end table
  7.1416  
  7.1417  @noindent 
  7.1418 -を押すと、ミニバッファに
  7.1419 +$B$r2!$9$H!"%_%K%P%C%U%!$K(B
  7.1420  
  7.1421  @example
  7.1422          1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b
  7.1423  @end example
  7.1424  
  7.1425  @noindent 
  7.1426 -というメニューが出て来るので、数字、または対応する記号/英字を入力
  7.1427 -して下さい。すると編集バッファに、
  7.1428 +$B$H$$$&%a%K%e!<$,=P$FMh$k$N$G!"?t;z!"$^$?$OBP1~$9$k5-9f(B/$B1Q;z$rF~NO(B
  7.1429 +$B$7$F2<$5$$!#$9$k$HJT=8%P%C%U%!$K!"(B
  7.1430  
  7.1431  @example
  7.1432          \`@{@}
  7.1433  @end example
  7.1434  
  7.1435  @noindent 
  7.1436 -があらわれ、カーソルが@{@}内に位置するので、さらに一文字入力する事で、
  7.1437 +$B$,$"$i$o$l!"%+!<%=%k$,(B@{@}$BFb$K0LCV$9$k$N$G!"$5$i$K0lJ8;zF~NO$9$k;v$G!"(B
  7.1438  
  7.1439  @example
  7.1440          \`@{o@}
  7.1441  @end example
  7.1442  
  7.1443  @noindent 
  7.1444 -が完成され、カーソルは@{@}の外に戻ります。
  7.1445 +$B$,40@.$5$l!"%+!<%=%k$O(B@{@}$B$N30$KLa$j$^$9!#(B
  7.1446  
  7.1447  @node Image completion, Greek letter completion, Accent mark completion, Completion
  7.1448  @comment  node-name,  next,  previous,  up
  7.1449 -@section 数式記号イメージ補完
  7.1450 -@cindex  数式記号イメージ補完[すうしききこういめえしほかん]
  7.1451 -@cindex イメージ補完[いめえしほかん]
  7.1452 +@section $B?t<05-9f%$%a!<%8Jd40(B
  7.1453 +@cindex  $B?t<05-9f%$%a!<%8Jd40(B[$B$9$&$7$-$-$3$&$$$a$($7$[$+$s(B]
  7.1454 +@cindex $B%$%a!<%8Jd40(B[$B$$$a$($7$[$+$s(B]
  7.1455  @cindex ;
  7.1456 -@cindex 数式モード[すうしきもおと]
  7.1457 -@cindex 矢印[やしるし]
  7.1458 -@cindex Σ[しくま]
  7.1459 +@cindex $B?t<0%b!<%I(B[$B$9$&$7$-$b$*$H(B]
  7.1460 +@cindex $BLp0u(B[$B$d$7$k$7(B]
  7.1461 +@cindex $B&2(B[$B$7$/$^(B]
  7.1462  @cindex leftarrow
  7.1463 -@cindex ∞[むけんたい]
  7.1464 +@cindex $B!g(B[$B$`$1$s$?$$(B]
  7.1465  
  7.1466 -  主に数式モードで使用される、矢印やΣなどの記号を擬似的に表現するキー入力
  7.1467 -で、La@TeX{} コマンドを入力できます。これは野鳥自身の「数式モード」でのみ
  7.1468 -動作します。野鳥はカーソルが@TeX{}の数式環境の中にある時に@kbd{;}や、
  7.1469 -@kbd{:}に特殊な機能を持たせます。
  7.1470 +  $B<g$K?t<0%b!<%I$G;HMQ$5$l$k!"Lp0u$d&2$J$I$N5-9f$r5<;wE*$KI=8=$9$k%-!<F~NO(B
  7.1471 +$B$G!"(BLa@TeX{} $B%3%^%s%I$rF~NO$G$-$^$9!#$3$l$OLnD;<+?H$N!V?t<0%b!<%I!W$G$N$_(B
  7.1472 +$BF0:n$7$^$9!#LnD;$O%+!<%=%k$,(B@TeX{}$B$N?t<04D6-$NCf$K$"$k;~$K(B@kbd{;}$B$d!"(B
  7.1473 +@kbd{:}$B$KFC<l$J5!G=$r;}$?$;$^$9!#(B
  7.1474  
  7.1475 -  さて、例えば、←(leftarrow)をASCII文字だけで表現する場合、一般的には「<-」
  7.1476 -のようにしますが、これを利用して、数式記号イメージ入力モードで 
  7.1477 -@code{\leftarrow}を入力するには、@kbd{;}(セミコロン)を打ってから@kbd{<-}と
  7.1478 -入力します。同様に、長い矢印←-(long-leftarrow) をASCII文字だけで表現する
  7.1479 -場合「<--」とするので、@code{\longleftarrow}を入力するためには、@kbd{;<--}
  7.1480 -と入力します。あるいは無限大記号をASCII文字だけで表現する時は「oo」のよう
  7.1481 -にすることから、@code{\infty} を入力する時は、@kbd{;oo}とキー入力します。
  7.1482 +  $B$5$F!"Nc$($P!""+(B(leftarrow)$B$r(BASCII$BJ8;z$@$1$GI=8=$9$k>l9g!"0lHLE*$K$O!V(B<-$B!W(B
  7.1483 +$B$N$h$&$K$7$^$9$,!"$3$l$rMxMQ$7$F!"?t<05-9f%$%a!<%8F~NO%b!<%I$G(B 
  7.1484 +@code{\leftarrow}$B$rF~NO$9$k$K$O!"(B@kbd{;}($B%;%_%3%m%s(B)$B$rBG$C$F$+$i(B@kbd{<-}$B$H(B
  7.1485 +$BF~NO$7$^$9!#F1MM$K!"D9$$Lp0u"+(B-(long-leftarrow) $B$r(BASCII$BJ8;z$@$1$GI=8=$9$k(B
  7.1486 +$B>l9g!V(B<--$B!W$H$9$k$N$G!"(B@code{\longleftarrow}$B$rF~NO$9$k$?$a$K$O!"(B@kbd{;<--}
  7.1487 +$B$HF~NO$7$^$9!#$"$k$$$OL58BBg5-9f$r(BASCII$BJ8;z$@$1$GI=8=$9$k;~$O!V(Boo$B!W$N$h$&(B
  7.1488 +$B$K$9$k$3$H$+$i!"(B@code{\infty} $B$rF~NO$9$k;~$O!"(B@kbd{;oo}$B$H%-!<F~NO$7$^$9!#(B
  7.1489  
  7.1490 -  これらの操作をまとめると次のようになります。
  7.1491 +  $B$3$l$i$NA`:n$r$^$H$a$k$H<!$N$h$&$K$J$j$^$9!#(B
  7.1492  
  7.1493  @example
  7.1494 -INPUT                   入力される La@TeX{} コマンド
  7.1495 +INPUT                   $BF~NO$5$l$k(B La@TeX{} $B%3%^%s%I(B
  7.1496  ; < -                   @code{\leftarrow}
  7.1497  ; < - -                 @code{\longleftarrow}
  7.1498  ; < - - >               @code{\longleftrightarrow}
  7.1499 @@ -1039,86 +1041,86 @@
  7.1500  
  7.1501  
  7.1502  @noindent 
  7.1503 -  いずれの場合も、イメージ入力を行っている途中で望みのものがバッファ
  7.1504 -に表示されたなら、そこでイメージ入力を止めて次の編集動作に移っても
  7.1505 -構いません。
  7.1506 +  $B$$$:$l$N>l9g$b!"%$%a!<%8F~NO$r9T$C$F$$$kESCf$GK>$_$N$b$N$,%P%C%U%!(B
  7.1507 +$B$KI=<($5$l$?$J$i!"$=$3$G%$%a!<%8F~NO$r;_$a$F<!$NJT=8F0:n$K0\$C$F$b(B
  7.1508 +$B9=$$$^$;$s!#(B
  7.1509  
  7.1510 -@cindex ;自身[;ししん]
  7.1511 -  数式環境中で@samp{;}自身を入力するには@kbd{;;}のようにします。イメージ
  7.1512 -入力の途中でTABを押すと、それまで入力した文字で始まるもの一覧が表示されま
  7.1513 -す。ここで目的の La@TeX{} コマンドまでカーソルを移動し再度TABを押すことで
  7.1514 -その La@TeX{} コマンドがバッファに挿入されます。
  7.1515 +@cindex ;$B<+?H(B[;$B$7$7$s(B]
  7.1516 +  $B?t<04D6-Cf$G(B@samp{;}$B<+?H$rF~NO$9$k$K$O(B@kbd{;;}$B$N$h$&$K$7$^$9!#%$%a!<%8(B
  7.1517 +$BF~NO$NESCf$G(BTAB$B$r2!$9$H!"$=$l$^$GF~NO$7$?J8;z$G;O$^$k$b$N0lMw$,I=<($5$l$^(B
  7.1518 +$B$9!#$3$3$GL\E*$N(B La@TeX{} $B%3%^%s%I$^$G%+!<%=%k$r0\F0$7:FEY(BTAB$B$r2!$9$3$H$G(B
  7.1519 +$B$=$N(B La@TeX{} $B%3%^%s%I$,%P%C%U%!$KA^F~$5$l$^$9!#(B
  7.1520  
  7.1521 -  どのキー入力にどの記号が対応しているか全て知りたい時は、@kbd{;}を押した
  7.1522 -直後にTABを押してください。以下の例は、@kbd{;<}と押した後にTABを押したもの
  7.1523 -です。
  7.1524 +  $B$I$N%-!<F~NO$K$I$N5-9f$,BP1~$7$F$$$k$+A4$FCN$j$?$$;~$O!"(B@kbd{;}$B$r2!$7$?(B
  7.1525 +$BD>8e$K(BTAB$B$r2!$7$F$/$@$5$$!#0J2<$NNc$O!"(B@kbd{;<}$B$H2!$7$?8e$K(BTAB$B$r2!$7$?$b$N(B
  7.1526 +$B$G$9!#(B
  7.1527  
  7.1528  @example
  7.1529  KEY             LaTeX sequence          sign
  7.1530 -<               \leq                    ≦
  7.1531 -<<              \ll                     《
  7.1532 -<-              \leftarrow              ←
  7.1533 +<               \leq                    $B!e(B
  7.1534 +<<              \ll                     $B!T(B
  7.1535 +<-              \leftarrow              $B"+(B
  7.1536  <=              \Leftarrow              <=
  7.1537  @end example
  7.1538  
  7.1539 -左から[入力キー]、[対応する La@TeX{} コマンド]、[(擬似)記号図示]、と
  7.1540 -いう順でメニューが出て来るので、よく使うものを覚えておくと良いでしょ
  7.1541 -う。ものによってはASCII文字で表現することが困難なので、あまり覚え
  7.1542 -やすいキー並びではないものがあるでしょうから、そのような場合は 
  7.1543 -\maketitle 型補完で入力するか、以下に述べる対応表の設定を行って単
  7.1544 -純なキー並びのものを設定すると良いでしょう。
  7.1545 +$B:8$+$i(B[$BF~NO%-!<(B]$B!"(B[$BBP1~$9$k(B La@TeX{} $B%3%^%s%I(B]$B!"(B[($B5<;w(B)$B5-9f?^<((B]$B!"$H(B
  7.1546 +$B$$$&=g$G%a%K%e!<$,=P$FMh$k$N$G!"$h$/;H$&$b$N$r3P$($F$*$/$HNI$$$G$7$g(B
  7.1547 +$B$&!#$b$N$K$h$C$F$O(BASCII$BJ8;z$GI=8=$9$k$3$H$,:$Fq$J$N$G!"$"$^$j3P$((B
  7.1548 +$B$d$9$$%-!<JB$S$G$O$J$$$b$N$,$"$k$G$7$g$&$+$i!"$=$N$h$&$J>l9g$O(B 
  7.1549 +\maketitle $B7?Jd40$GF~NO$9$k$+!"0J2<$K=R$Y$kBP1~I=$N@_Dj$r9T$C$FC1(B
  7.1550 +$B=c$J%-!<JB$S$N$b$N$r@_Dj$9$k$HNI$$$G$7$g$&!#(B
  7.1551  
  7.1552 -  入力キーと    La@TeX{} コマンド、記号の対応表を個人的に設定したい場合は 
  7.1553 -Emacs-Lisp 変数 @code{YaTeX-math-sign-alist-private}  に定義してください。
  7.1554 -その内容とデフォルトのものを合わせたものが対応表として使用されます(private
  7.1555 -の方が優先される)。なお、この変数の構造については @file{yatexmth.el}  を参
  7.1556 -照してください。
  7.1557 +  $BF~NO%-!<$H(B    La@TeX{} $B%3%^%s%I!"5-9f$NBP1~I=$r8D?ME*$K@_Dj$7$?$$>l9g$O(B 
  7.1558 +Emacs-Lisp $BJQ?t(B @code{YaTeX-math-sign-alist-private}  $B$KDj5A$7$F$/$@$5$$!#(B
  7.1559 +$B$=$NFbMF$H%G%U%)%k%H$N$b$N$r9g$o$;$?$b$N$,BP1~I=$H$7$F;HMQ$5$l$^$9(B(private
  7.1560 +$B$NJ}$,M%@h$5$l$k(B)$B!#$J$*!"$3$NJQ?t$N9=B$$K$D$$$F$O(B @file{yatexmth.el}  $B$r;2(B
  7.1561 +$B>H$7$F$/$@$5$$!#(B
  7.1562  @cindex YaTeX-math-sign-alist-private
  7.1563  
  7.1564  @node Greek letter completion,  , Image completion, Completion
  7.1565  @comment  node-name,  next,  previous,  up
  7.1566 -@section ギリシャ文字補完
  7.1567 -@cindex ギリシャ文字補完[きりしやもしほかん]
  7.1568 +@section $B%.%j%7%cJ8;zJd40(B
  7.1569 +@cindex $B%.%j%7%cJ8;zJd40(B[$B$-$j$7$d$b$7$[$+$s(B]
  7.1570  @cindex :
  7.1571  
  7.1572 -  もう一つ、数式環境中で@kbd{:}を押すとギリシャ文字入力モードに入ります。
  7.1573 -@kbd{:}を押した直後に@kbd{a}を押すと@code{\alpha}が、@kbd{g} を押すと 
  7.1574 -@code{\gamma}が、などアルファベットに対応したギリシャ文字が挿入されます。
  7.1575 -操作方法は;の数式記号補完とまったく同じです。まずは@kbd{:}の直後に
  7.1576 -TABを押してどのアルファベットにどのギリシャ文字が対応しているか調べてみて
  7.1577 -ください。
  7.1578 +  $B$b$&0l$D!"?t<04D6-Cf$G(B@kbd{:}$B$r2!$9$H%.%j%7%cJ8;zF~NO%b!<%I$KF~$j$^$9!#(B
  7.1579 +@kbd{:}$B$r2!$7$?D>8e$K(B@kbd{a}$B$r2!$9$H(B@code{\alpha}$B$,!"(B@kbd{g} $B$r2!$9$H(B 
  7.1580 +@code{\gamma}$B$,!"$J$I%"%k%U%!%Y%C%H$KBP1~$7$?%.%j%7%cJ8;z$,A^F~$5$l$^$9!#(B
  7.1581 +$BA`:nJ}K!$O(B;$B$N?t<05-9fJd40$H$^$C$?$/F1$8$G$9!#$^$:$O(B@kbd{:}$B$ND>8e$K(B
  7.1582 +TAB$B$r2!$7$F$I$N%"%k%U%!%Y%C%H$K$I$N%.%j%7%cJ8;z$,BP1~$7$F$$$k$+D4$Y$F$_$F(B
  7.1583 +$B$/$@$5$$!#(B
  7.1584  
  7.1585 -  @kbd{;}と@kbd{:}を数式環境中で押しているにもかかわらず、イメージ補完が働
  7.1586 -かない場合は、@kbd{C-u ;}のように universal-argument をつけてキーを押すこ
  7.1587 -とにより、強制的にイメージ補完に入ることができます。また、この時にどのよう
  7.1588 -な状態で数式環境内判定に失敗したかをご連絡下さい。
  7.1589 +  @kbd{;}$B$H(B@kbd{:}$B$r?t<04D6-Cf$G2!$7$F$$$k$K$b$+$+$o$i$:!"%$%a!<%8Jd40$,F/(B
  7.1590 +$B$+$J$$>l9g$O!"(B@kbd{C-u ;}$B$N$h$&$K(B universal-argument $B$r$D$1$F%-!<$r2!$9$3(B
  7.1591 +$B$H$K$h$j!"6/@)E*$K%$%a!<%8Jd40$KF~$k$3$H$,$G$-$^$9!#$^$?!"$3$N;~$K$I$N$h$&(B
  7.1592 +$B$J>uBV$G?t<04D6-FbH=Dj$K<:GT$7$?$+$r$4O"Mm2<$5$$!#(B
  7.1593  
  7.1594  @node Local dictionary, Commenting out, Completion, Top
  7.1595  @comment  node-name,  next,  previous,  up
  7.1596 -@chapter ローカル辞書
  7.1597 -@cindex ローカル辞書[ろおかるししよ]
  7.1598 +@chapter $B%m!<%+%k<-=q(B
  7.1599 +@cindex $B%m!<%+%k<-=q(B[$B$m$*$+$k$7$7$h(B]
  7.1600  @cindex .yatexrc
  7.1601  
  7.1602 -  補完入力用の候補は三種類の辞書から構成されています。一つは
  7.1603 -@file{yatex.el}に組み込まれた「標準辞書」、もう一つはユーザが個人的に常用
  7.1604 -するコマンドを保存する「ユーザ辞書」、そしてもうひとつはあるディレクトリで
  7.1605 -のみ有効なコマンドを保存する「ローカル辞書」です。
  7.1606 +  $BJd40F~NOMQ$N8uJd$O;0<oN`$N<-=q$+$i9=@.$5$l$F$$$^$9!#0l$D$O(B
  7.1607 +@file{yatex.el}$B$KAH$_9~$^$l$?!VI8=`<-=q!W!"$b$&0l$D$O%f!<%6$,8D?ME*$K>oMQ(B
  7.1608 +$B$9$k%3%^%s%I$rJ]B8$9$k!V%f!<%6<-=q!W!"$=$7$F$b$&$R$H$D$O$"$k%G%#%l%/%H%j$G(B
  7.1609 +$B$N$_M-8z$J%3%^%s%I$rJ]B8$9$k!V%m!<%+%k<-=q!W$G$9!#(B
  7.1610  
  7.1611 -  補完入力時に新しい単語を入れた場合に、その単語をどの辞書に入れるか聞いて
  7.1612 -来ます。
  7.1613 +  $BJd40F~NO;~$K?7$7$$C18l$rF~$l$?>l9g$K!"$=$NC18l$r$I$N<-=q$KF~$l$k$+J9$$$F(B
  7.1614 +$BMh$^$9!#(B
  7.1615  
  7.1616  @example
  7.1617    `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscard
  7.1618  @end example
  7.1619  
  7.1620  @noindent 
  7.1621 -というプロンプトに対し、@kbd{u}と答えると「ユーザ辞書」を、@kbd{l}と答える
  7.1622 -とローカル辞書を更新し、@kbd{n}と答えると辞書ファイルは更新せず現在のEmacs
  7.1623 -セッションのみ有効な単語とし、@kbd{d}と答えると新たな単語を学習せずに捨て
  7.1624 -ることになります。
  7.1625 +$B$H$$$&%W%m%s%W%H$KBP$7!"(B@kbd{u}$B$HEz$($k$H!V%f!<%6<-=q!W$r!"(B@kbd{l}$B$HEz$($k(B
  7.1626 +$B$H%m!<%+%k<-=q$r99?7$7!"(B@kbd{n}$B$HEz$($k$H<-=q%U%!%$%k$O99?7$;$:8=:_$N(BEmacs
  7.1627 +$B%;%C%7%g%s$N$_M-8z$JC18l$H$7!"(B@kbd{d}$B$HEz$($k$H?7$?$JC18l$r3X=,$;$:$K<N$F(B
  7.1628 +$B$k$3$H$K$J$j$^$9!#(B
  7.1629  
  7.1630 -  もし、ローカル辞書の機能はいらず、全てユーザ辞書の更新のみでよいと言う場
  7.1631 -合には@file{~/.emacs}などで、
  7.1632 +  $B$b$7!"%m!<%+%k<-=q$N5!G=$O$$$i$:!"A4$F%f!<%6<-=q$N99?7$N$_$G$h$$$H8@$&>l(B
  7.1633 +$B9g$K$O(B@file{~/.emacs}$B$J$I$G!"(B
  7.1634  @cindex YaTeX-nervous
  7.1635  
  7.1636  @lisp
  7.1637 @@ -1126,335 +1128,335 @@
  7.1638  @end lisp
  7.1639  
  7.1640  @noindent 
  7.1641 -として下さい。
  7.1642 +$B$H$7$F2<$5$$!#(B
  7.1643  
  7.1644  @node Commenting out, Cursor jump, Local dictionary, Top
  7.1645  @comment  node-name,  next,  previous,  up
  7.1646 -@chapter コメントアウト
  7.1647 -@cindex コメントアウト[こめんとあうと]
  7.1648 +@chapter $B%3%a%s%H%"%&%H(B
  7.1649 +@cindex $B%3%a%s%H%"%&%H(B[$B$3$a$s$H$"$&$H(B]
  7.1650  @cindex prefix <
  7.1651  @cindex prefix >
  7.1652  @cindex prefix .
  7.1653  @cindex prefix ,
  7.1654  
  7.1655  
  7.1656 -  La@TeX{}の編集には試行錯誤がつきものです。ある部分を一括でコメントアウト
  7.1657 -したり、コメントを外したりしたいことがあります。
  7.1658 +  La@TeX{}$B$NJT=8$K$O;n9T:x8m$,$D$-$b$N$G$9!#$"$kItJ,$r0l3g$G%3%a%s%H%"%&%H(B
  7.1659 +$B$7$?$j!"%3%a%s%H$r30$7$?$j$7$?$$$3$H$,$"$j$^$9!#(B
  7.1660  
  7.1661  @table @kbd
  7.1662  @item [prefix] >
  7.1663 -        @dots{} リジョンを % でコメントアウト
  7.1664 +        @dots{} $B%j%8%g%s$r(B % $B$G%3%a%s%H%"%&%H(B
  7.1665  @item [prefix] <
  7.1666 -        @dots{} リジョンの % のコメントを外す
  7.1667 +        @dots{} $B%j%8%g%s$N(B % $B$N%3%a%s%H$r30$9(B
  7.1668  @end table
  7.1669  
  7.1670  @noindent 
  7.1671 -は、あらかじめ設定したリジョンに対しての操作、
  7.1672 +$B$O!"$"$i$+$8$a@_Dj$7$?%j%8%g%s$KBP$7$F$NA`:n!"(B
  7.1673  
  7.1674  @table @kbd
  7.1675  @item [prefix] .
  7.1676 -        @dots{} 現在のパラグラフをコメントアウト
  7.1677 +        @dots{} $B8=:_$N%Q%i%0%i%U$r%3%a%s%H%"%&%H(B
  7.1678  @item [prefix] ,
  7.1679 -        @dots{} 現在のパラグラフのコメントを外す
  7.1680 +        @dots{} $B8=:_$N%Q%i%0%i%U$N%3%a%s%H$r30$9(B
  7.1681  @end table
  7.1682  
  7.1683  @noindent 
  7.1684 -は、カーソルの位置するパラグラフ全体に対しての操作です。なお、ここでいう
  7.1685 -「パラグラフ」は (@code{mark-paragraph}) 関数によりマークされる範囲を指し
  7.1686 -ます(標準設定で@kbd{ESC h}にバインドされている)。なお、既に@code{%}でコメ
  7.1687 -ントアウトされているパラグラフに対して繰り返しパラグラフのコメントを使用し
  7.1688 -た場合の動作は保証しませんので御注意ください。
  7.1689 +$B$O!"%+!<%=%k$N0LCV$9$k%Q%i%0%i%UA4BN$KBP$7$F$NA`:n$G$9!#$J$*!"$3$3$G$$$&(B
  7.1690 +$B!V%Q%i%0%i%U!W$O(B (@code{mark-paragraph}) $B4X?t$K$h$j%^!<%/$5$l$kHO0O$r;X$7(B
  7.1691 +$B$^$9(B($BI8=`@_Dj$G(B@kbd{ESC h}$B$K%P%$%s%I$5$l$F$$$k(B)$B!#$J$*!"4{$K(B@code{%}$B$G%3%a(B
  7.1692 +$B%s%H%"%&%H$5$l$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(B
  7.1693 +$B$?>l9g$NF0:n$OJ]>Z$7$^$;$s$N$G8fCm0U$/$@$5$$!#(B
  7.1694  
  7.1695 -  さて、文章に対してだけでなく、時には@code{\begin}, @code{\end} 自体に対
  7.1696 -してもコメントアウトの操作をしたいときがあります。このようなときは、
  7.1697 -@code{\begin@{@}} あるいは @code{\end@{@}} の行にカーソルを合わせ、
  7.1698 +  $B$5$F!"J8>O$KBP$7$F$@$1$G$J$/!";~$K$O(B@code{\begin}, @code{\end} $B<+BN$KBP(B
  7.1699 +$B$7$F$b%3%a%s%H%"%&%H$NA`:n$r$7$?$$$H$-$,$"$j$^$9!#$3$N$h$&$J$H$-$O!"(B
  7.1700 +@code{\begin@{@}} $B$"$k$$$O(B @code{\end@{@}} $B$N9T$K%+!<%=%k$r9g$o$;!"(B
  7.1701  
  7.1702  @table @kbd
  7.1703  @item [prefix] >
  7.1704 -        @dots{} @code{\begin@{@}}〜@code{\end@{@}} 全てコメントアウト
  7.1705 +        @dots{} @code{\begin@{@}}$B!A(B@code{\end@{@}} $BA4$F%3%a%s%H%"%&%H(B
  7.1706  @item [prefix] <
  7.1707 -        @dots{} @code{\begin@{@}}〜@code{\end@{@}} 全てコメントを外す
  7.1708 +        @dots{} @code{\begin@{@}}$B!A(B@code{\end@{@}} $BA4$F%3%a%s%H$r30$9(B
  7.1709  @end table
  7.1710  
  7.1711  @noindent 
  7.1712 -とすることで、@code{\begin〜\end}で囲まれる環境全てに対してコメント操作し、
  7.1713 +$B$H$9$k$3$H$G!"(B@code{\begin$B!A(B\end}$B$G0O$^$l$k4D6-A4$F$KBP$7$F%3%a%s%HA`:n$7!"(B
  7.1714  
  7.1715  @table @kbd
  7.1716  @item [prefix] .
  7.1717 -        @dots{} @code{\begin@{@}} と @code{\end@{@}} をコメントアウト
  7.1718 +        @dots{} @code{\begin@{@}} $B$H(B @code{\end@{@}} $B$r%3%a%s%H%"%&%H(B
  7.1719  @item [prefix] ,
  7.1720 -        @dots{} @code{\begin@{@}} と @code{\end@{@}} のコメントを外す
  7.1721 +        @dots{} @code{\begin@{@}} $B$H(B @code{\end@{@}} $B$N%3%a%s%H$r30$9(B
  7.1722  @end table
  7.1723  
  7.1724 -は、対応する @code{\begin} と @code{\end} 2行だけを、コメント操作の対象と
  7.1725 -します。リジョンをコメントアウトしようとして、マークを設定したのちにカーソ
  7.1726 -ルを移動し@kbd{[preifx] >} を押してもカーソルが @code{\begin@{@}} の上にあ
  7.1727 -ると@code{\begin@{@}}〜@code{\end@{@}}モードでコメント機能が働いてしまうの
  7.1728 -で注意して下さい。
  7.1729 +$B$O!"BP1~$9$k(B @code{\begin} $B$H(B @code{\end} 2$B9T$@$1$r!"%3%a%s%HA`:n$NBP>]$H(B
  7.1730 +$B$7$^$9!#%j%8%g%s$r%3%a%s%H%"%&%H$7$h$&$H$7$F!"%^!<%/$r@_Dj$7$?$N$A$K%+!<%=(B
  7.1731 +$B%k$r0\F0$7(B@kbd{[preifx] >} $B$r2!$7$F$b%+!<%=%k$,(B @code{\begin@{@}} $B$N>e$K$"(B
  7.1732 +$B$k$H(B@code{\begin@{@}}$B!A(B@code{\end@{@}}$B%b!<%I$G%3%a%s%H5!G=$,F/$$$F$7$^$&$N(B
  7.1733 +$B$GCm0U$7$F2<$5$$!#(B
  7.1734  
  7.1735  @node Cursor jump, Modifying/Deleting, Commenting out, Top
  7.1736  @comment  node-name,  next,  previous,  up
  7.1737 -@chapter カーソルジャンプ
  7.1738 -@cindex カーソルジャンプ[かあそるしやんふ]
  7.1739 +@chapter $B%+!<%=%k%8%c%s%W(B
  7.1740 +@cindex $B%+!<%=%k%8%c%s%W(B[$B$+$"$=$k$7$d$s$U(B]
  7.1741  @cindex prefix g
  7.1742  
  7.1743  
  7.1744  @menu
  7.1745 -* 対応オブジェクトへのジャンプ::  
  7.1746 -* お絵描きツール起動::          
  7.1747 -* メインファイルへのジャンプ::  
  7.1748 -* 環境を単位としたジャンプ::    
  7.1749 -* 最後の補完位置へのジャンプ::  
  7.1750 +* $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B::  
  7.1751 +* $B$*3(IA$-%D!<%k5/F0(B::          
  7.1752 +* $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B::  
  7.1753 +* $B4D6-$rC10L$H$7$?%8%c%s%W(B::    
  7.1754 +* $B:G8e$NJd400LCV$X$N%8%c%s%W(B::  
  7.1755  @end menu
  7.1756  
  7.1757 -@node 対応オブジェクトへのジャンプ, お絵描きツール起動, Cursor jump, Cursor jump
  7.1758 +@node $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B, $B$*3(IA$-%D!<%k5/F0(B, Cursor jump, Cursor jump
  7.1759  @comment  node-name,  next,  previous,  up
  7.1760 -@section 対応オブジェクトへのジャンプ
  7.1761 +@section $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B
  7.1762  
  7.1763 -  文書中のいろいろな場所で
  7.1764 +  $BJ8=qCf$N$$$m$$$m$J>l=j$G(B
  7.1765  
  7.1766  @table @kbd
  7.1767  @item [prefix] g
  7.1768 -        @dots{} 対応するオブジェクトにジャンプ
  7.1769 +        @dots{} $BBP1~$9$k%*%V%8%'%/%H$K%8%c%s%W(B
  7.1770  @end table
  7.1771  
  7.1772  @noindent 
  7.1773 -を押すことにより、カーソル位置のLa@TeX{}コマンドに対応する場所にジャンプ
  7.1774 -します。対応関係が存在すると解釈されるコマンドには以下のものがあります。
  7.1775 +$B$r2!$9$3$H$K$h$j!"%+!<%=%k0LCV$N(BLa@TeX{}$B%3%^%s%I$KBP1~$9$k>l=j$K%8%c%s%W(B
  7.1776 +$B$7$^$9!#BP1~4X78$,B8:_$9$k$H2r<a$5$l$k%3%^%s%I$K$O0J2<$N$b$N$,$"$j$^$9!#(B
  7.1777  
  7.1778  @itemize @bullet
  7.1779 -@item @code{\begin@{@}} ←→ @code{\end@{@}}
  7.1780 -@item @code{%#BEGIN} ←→ @code{%#END}
  7.1781 -@item 画像ファイルの取り込みマクロ → 対応するviewer/お絵かきツール起動
  7.1782 -@item @code{\label@{@}} ←→ @code{\ref@{@}}
  7.1783 -@item @code{\include(\input)} → 対応するファイル
  7.1784 -@item @code{\bibitem@{@}} ←→ @code{\cite@{@}}
  7.1785 +@item @code{\begin@{@}} $B"+"*(B @code{\end@{@}}
  7.1786 +@item @code{%#BEGIN} $B"+"*(B @code{%#END}
  7.1787 +@item $B2hA|%U%!%$%k$N<h$j9~$_%^%/%m(B $B"*(B $BBP1~$9$k(Bviewer/$B$*3($+$-%D!<%k5/F0(B
  7.1788 +@item @code{\label@{@}} $B"+"*(B @code{\ref@{@}}
  7.1789 +@item @code{\include(\input)} $B"*(B $BBP1~$9$k%U%!%$%k(B
  7.1790 +@item @code{\bibitem@{@}} $B"+"*(B @code{\cite@{@}}
  7.1791  @end itemize
  7.1792  
  7.1793 -  @code{\begin@{@}} か @code{\end@{@}} の行で@kbd{[prefix] g}を押すことに
  7.1794 -より、対応する@code{end/begin}の行にジャンプします。もちろん対応するものが
  7.1795 -ない場合はエラーになります。またこれは、領域固定のための @code{%#BEGIN} と 
  7.1796 -@code{%#END} のペアに対しても同様に動作します。なお、@code{label/ref}や
  7.1797 -@code{cite/bibitem}対応するものが別ファイルにある時は、ジャンプ先となるファ
  7.1798 -イルがオープンされていなければなりません。@xref{%#notation}.
  7.1799 -メインの .tex ファイルの @code{\include@{chap1@}} などにカーソルを合わせ、
  7.1800 -@kbd{[prefix] g} を押すと、@file{chap1.tex} にジャンプします。
  7.1801 +  @code{\begin@{@}} $B$+(B @code{\end@{@}} $B$N9T$G(B@kbd{[prefix] g}$B$r2!$9$3$H$K(B
  7.1802 +$B$h$j!"BP1~$9$k(B@code{end/begin}$B$N9T$K%8%c%s%W$7$^$9!#$b$A$m$sBP1~$9$k$b$N$,(B
  7.1803 +$B$J$$>l9g$O%(%i!<$K$J$j$^$9!#$^$?$3$l$O!"NN0h8GDj$N$?$a$N(B @code{%#BEGIN} $B$H(B 
  7.1804 +@code{%#END} $B$N%Z%"$KBP$7$F$bF1MM$KF0:n$7$^$9!#$J$*!"(B@code{label/ref}$B$d(B
  7.1805 +@code{cite/bibitem}$BBP1~$9$k$b$N$,JL%U%!%$%k$K$"$k;~$O!"%8%c%s%W@h$H$J$k%U%!(B
  7.1806 +$B%$%k$,%*!<%W%s$5$l$F$$$J$1$l$P$J$j$^$;$s!#(B@xref{%#notation}.
  7.1807 +$B%a%$%s$N(B .tex $B%U%!%$%k$N(B @code{\include@{chap1@}} $B$J$I$K%+!<%=%k$r9g$o$;!"(B
  7.1808 +@kbd{[prefix] g} $B$r2!$9$H!"(B@file{chap1.tex} $B$K%8%c%s%W$7$^$9!#(B
  7.1809  
  7.1810 -また、
  7.1811 +$B$^$?!"(B
  7.1812  
  7.1813  @table @kbd
  7.1814  @item [prefix] 4 g
  7.1815 -        @dots{} 別ウィンドウで対応オブジェクトにジャンプ
  7.1816 +        @dots{} $BJL%&%#%s%I%&$GBP1~%*%V%8%'%/%H$K%8%c%s%W(B
  7.1817  @end table
  7.1818  
  7.1819  @noindent
  7.1820 -を押すと、対応するオブジェクトへのジャンプを別ウィンドウで行います。ただし、
  7.1821 -この機能は @code{begin/end}, @code{%#BEGIN/%#END} 間のジャンプに対しては
  7.1822 -(意味がないと思われるので)機能しないので注意してください。
  7.1823 +$B$r2!$9$H!"BP1~$9$k%*%V%8%'%/%H$X$N%8%c%s%W$rJL%&%#%s%I%&$G9T$$$^$9!#$?$@$7!"(B
  7.1824 +$B$3$N5!G=$O(B @code{begin/end}, @code{%#BEGIN/%#END} $B4V$N%8%c%s%W$KBP$7$F$O(B
  7.1825 +($B0UL#$,$J$$$H;W$o$l$k$N$G(B)$B5!G=$7$J$$$N$GCm0U$7$F$/$@$5$$!#(B
  7.1826  
  7.1827 -@node お絵描きツール起動, メインファイルへのジャンプ, 対応オブジェクトへのジャンプ, Cursor jump
  7.1828 +@node $B$*3(IA$-%D!<%k5/F0(B, $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B, $BBP1~%*%V%8%'%/%H$X$N%8%c%s%W(B, Cursor jump
  7.1829  @comment  node-name,  next,  previous,  up
  7.1830 -@section お絵描きツール起動
  7.1831 -@cindex お絵描きツール起動[おえかきつうるきとう]
  7.1832 +@section $B$*3(IA$-%D!<%k5/F0(B
  7.1833 +@cindex $B$*3(IA$-%D!<%k5/F0(B[$B$*$($+$-$D$&$k$-$H$&(B]
  7.1834  
  7.1835 -上記の「画像ファイルの取り込みマクロ」とは、例えば 
  7.1836 -@code{\epsfile@{file=foo@}} のような挿絵取り込みコマンドのことで、この行に
  7.1837 -カーソルを合わせて@kbd{[prefix] g}を押すとその画像ファイルの元となったファ
  7.1838 -イルを対応するお絵描きツールを起動してオープンします。起動するツールの判定
  7.1839 -は以下のようになされます。
  7.1840 +$B>e5-$N!V2hA|%U%!%$%k$N<h$j9~$_%^%/%m!W$H$O!"Nc$($P(B 
  7.1841 +@code{\epsfile@{file=foo@}} $B$N$h$&$JA^3(<h$j9~$_%3%^%s%I$N$3$H$G!"$3$N9T$K(B
  7.1842 +$B%+!<%=%k$r9g$o$;$F(B@kbd{[prefix] g}$B$r2!$9$H$=$N2hA|%U%!%$%k$N85$H$J$C$?%U%!(B
  7.1843 +$B%$%k$rBP1~$9$k$*3(IA$-%D!<%k$r5/F0$7$F%*!<%W%s$7$^$9!#5/F0$9$k%D!<%k$NH=Dj(B
  7.1844 +$B$O0J2<$N$h$&$K$J$5$l$^$9!#(B
  7.1845  
  7.1846  @enumerate
  7.1847  @item
  7.1848 -カレント行が変数 @code{YaTeX-processed-file-regexp-alist} に定義さ
  7.1849 -れている正規表現のいずれかとマッチしたら、ファイル名に相当する部分を 
  7.1850 -\\(\\)から抜き出して覚えておく(何番目の\\(\\)かは変数の各リストの cdr 部に
  7.1851 -入れておく)。マッチしなければ何もしない。
  7.1852 +$B%+%l%s%H9T$,JQ?t(B @code{YaTeX-processed-file-regexp-alist} $B$KDj5A$5(B
  7.1853 +$B$l$F$$$k@55,I=8=$N$$$:$l$+$H%^%C%A$7$?$i!"%U%!%$%kL>$KAjEv$9$kItJ,$r(B 
  7.1854 +\\(\\)$B$+$iH4$-=P$7$F3P$($F$*$/(B($B2?HVL\$N(B\\(\\)$B$+$OJQ?t$N3F%j%9%H$N(B cdr $BIt$K(B
  7.1855 +$BF~$l$F$*$/(B)$B!#%^%C%A$7$J$1$l$P2?$b$7$J$$!#(B
  7.1856  @item
  7.1857 -行末に、変数 @code{YaTeX-file-processor-alist} に登録されているコマンドが
  7.1858 -「%コマンド」 のように書いてあれば強制的に「コマンド ファイル名.拡張子」を
  7.1859 -起動。
  7.1860 +$B9TKv$K!"JQ?t(B @code{YaTeX-file-processor-alist} $B$KEPO?$5$l$F$$$k%3%^%s%I$,(B
  7.1861 +$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%;R!W$r(B
  7.1862 +$B5/F0!#(B
  7.1863  @item
  7.1864 -なければ、変数 @code{YaTeX-file-processor-alist} の各リストのcdr部に入って
  7.1865 -いる拡張子を「ファイル名」の後ろに足したファイルが存在するか順次調べて、存
  7.1866 -在した場合car部に入っているコマンドを起動する。
  7.1867 +$B$J$1$l$P!"JQ?t(B @code{YaTeX-file-processor-alist} $B$N3F%j%9%H$N(Bcdr$BIt$KF~$C$F(B
  7.1868 +$B$$$k3HD%;R$r!V%U%!%$%kL>!W$N8e$m$KB-$7$?%U%!%$%k$,B8:_$9$k$+=g<!D4$Y$F!"B8(B
  7.1869 +$B:_$7$?>l9g(Bcar$BIt$KF~$C$F$$$k%3%^%s%I$r5/F0$9$k!#(B
  7.1870  @item
  7.1871 -以上どれかにマッチしなければあきらめる。
  7.1872 +$B0J>e$I$l$+$K%^%C%A$7$J$1$l$P$"$-$i$a$k!#(B
  7.1873  @end enumerate
  7.1874  
  7.1875  
  7.1876 -変数 @code{YaTeX-file-processor-alist} と変数 
  7.1877 -@code{YaTeX-file-processor-alist} の設定方法についてはそれぞれの変数につい
  7.1878 -て describe-variable して説明を読んで下さい。うまく設定すると、画像ファイ
  7.1879 -ルにかぎらず、任意の形式のファイルを任意のプロセッサで処理するコマンドを簡
  7.1880 -単に呼び出すことができます。
  7.1881 +$BJQ?t(B @code{YaTeX-file-processor-alist} $B$HJQ?t(B 
  7.1882 +@code{YaTeX-file-processor-alist} $B$N@_DjJ}K!$K$D$$$F$O$=$l$>$l$NJQ?t$K$D$$(B
  7.1883 +$B$F(B describe-variable $B$7$F@bL@$rFI$s$G2<$5$$!#$&$^$/@_Dj$9$k$H!"2hA|%U%!%$(B
  7.1884 +$B%k$K$+$.$i$:!"G$0U$N7A<0$N%U%!%$%k$rG$0U$N%W%m%;%C%5$G=hM}$9$k%3%^%s%I$r4J(B
  7.1885 +$BC1$K8F$S=P$9$3$H$,$G$-$^$9!#(B
  7.1886  
  7.1887 -@node メインファイルへのジャンプ, 環境を単位としたジャンプ, お絵描きツール起動, Cursor jump
  7.1888 +@node $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B, $B4D6-$rC10L$H$7$?%8%c%s%W(B, $B$*3(IA$-%D!<%k5/F0(B, Cursor jump
  7.1889  @comment  node-name,  next,  previous,  up
  7.1890 -@section メインファイルへのジャンプ
  7.1891 +@section $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B
  7.1892  
  7.1893 -@file{chap1.tex}のようなサブファイルで、
  7.1894 +@file{chap1.tex}$B$N$h$&$J%5%V%U%!%$%k$G!"(B
  7.1895  
  7.1896  @table @kbd
  7.1897  @item [prefix] ^
  7.1898 -        @dots{} メインファイルにジャンプ
  7.1899 +        @dots{} $B%a%$%s%U%!%$%k$K%8%c%s%W(B
  7.1900  @item [prefix] 4 ^
  7.1901 -        @dots{} 別ウィンドウでメインファイルにジャンプ
  7.1902 +        @dots{} $BJL%&%#%s%I%&$G%a%$%s%U%!%$%k$K%8%c%s%W(B
  7.1903  @end table
  7.1904  
  7.1905  @noindent 
  7.1906 -を押すと、メインファイルの編集バッファに切替えます。もし、メインファイルを
  7.1907 -オープンしていない場合は、カレントディレクトリから探して自動的にオープンし
  7.1908 -ます。
  7.1909 +$B$r2!$9$H!"%a%$%s%U%!%$%k$NJT=8%P%C%U%!$K@ZBX$($^$9!#$b$7!"%a%$%s%U%!%$%k$r(B
  7.1910 +$B%*!<%W%s$7$F$$$J$$>l9g$O!"%+%l%s%H%G%#%l%/%H%j$+$iC5$7$F<+F0E*$K%*!<%W%s$7(B
  7.1911 +$B$^$9!#(B
  7.1912  
  7.1913 -@node 環境を単位としたジャンプ, 最後の補完位置へのジャンプ, メインファイルへのジャンプ, Cursor jump
  7.1914 +@node $B4D6-$rC10L$H$7$?%8%c%s%W(B, $B:G8e$NJd400LCV$X$N%8%c%s%W(B, $B%a%$%s%U%!%$%k$X$N%8%c%s%W(B, Cursor jump
  7.1915  @comment  node-name,  next,  previous,  up
  7.1916 -@section 環境を単位としたジャンプ
  7.1917 +@section $B4D6-$rC10L$H$7$?%8%c%s%W(B
  7.1918  
  7.1919 -さらに現在の環境を単位として機能するコマンドに以下のものがあります。
  7.1920 +$B$5$i$K8=:_$N4D6-$rC10L$H$7$F5!G=$9$k%3%^%s%I$K0J2<$N$b$N$,$"$j$^$9!#(B
  7.1921  
  7.1922 -@cindex 環境の先頭へ[かんきようのせんとうへ]
  7.1923 -@cindex 環境の末尾へ[かんきようのまつひへ]
  7.1924 -@cindex 環境をマーク[かんきようをまあく]
  7.1925 +@cindex $B4D6-$N@hF,$X(B[$B$+$s$-$h$&$N$;$s$H$&$X(B]
  7.1926 +@cindex $B4D6-$NKvHx$X(B[$B$+$s$-$h$&$N$^$D$R$X(B]
  7.1927 +@cindex $B4D6-$r%^!<%/(B[$B$+$s$-$h$&$r$^$"$/(B]
  7.1928  @cindex M-C-a
  7.1929  @cindex M-C-e
  7.1930  @cindex M-C-@@
  7.1931  @table @kbd
  7.1932  @item M-C-a
  7.1933 -        @dots{} 環境の先頭(@code{\begin})へジャンプ
  7.1934 +        @dots{} $B4D6-$N@hF,(B(@code{\begin})$B$X%8%c%s%W(B
  7.1935  @item M-C-e
  7.1936 -        @dots{} 環境の末尾(@code{\end})へジャンプ
  7.1937 +        @dots{} $B4D6-$NKvHx(B(@code{\end})$B$X%8%c%s%W(B
  7.1938  @item M-C-@@
  7.1939 -        @dots{} 環境全体をマーク
  7.1940 +        @dots{} $B4D6-A4BN$r%^!<%/(B
  7.1941  @end table
  7.1942  
  7.1943 -上記のコマンドは通常の@kbd{[prefix]}キーではなく@kbd{META}キーをプリフィク
  7.1944 -スとして機能するのでご注意下さい。
  7.1945 +$B>e5-$N%3%^%s%I$ODL>o$N(B@kbd{[prefix]}$B%-!<$G$O$J$/(B@kbd{META}$B%-!<$r%W%j%U%#%/(B
  7.1946 +$B%9$H$7$F5!G=$9$k$N$G$4Cm0U2<$5$$!#(B
  7.1947  
  7.1948 -@node 最後の補完位置へのジャンプ,  , 環境を単位としたジャンプ, Cursor jump
  7.1949 +@node $B:G8e$NJd400LCV$X$N%8%c%s%W(B,  , $B4D6-$rC10L$H$7$?%8%c%s%W(B, Cursor jump
  7.1950  @comment  node-name,  next,  previous,  up
  7.1951 -@section 最後の補完位置へのジャンプ
  7.1952 +@section $B:G8e$NJd400LCV$X$N%8%c%s%W(B
  7.1953  
  7.1954 -野鳥は補完入力した位置を常にレジスタ @code{3}に保存しています。
  7.1955 -入力途中で如何なるファイルの如何なる位置に行ったとしても、
  7.1956 -@kbd{C-x j 3}(@code{jump-to-register})を使って直ちに最後の補完入力位置に戻
  7.1957 -ることができます。
  7.1958 +$BLnD;$OJd40F~NO$7$?0LCV$r>o$K%l%8%9%?(B @code{3}$B$KJ]B8$7$F$$$^$9!#(B
  7.1959 +$BF~NOESCf$GG!2?$J$k%U%!%$%k$NG!2?$J$k0LCV$K9T$C$?$H$7$F$b!"(B
  7.1960 +@kbd{C-x j 3}(@code{jump-to-register})$B$r;H$C$FD>$A$K:G8e$NJd40F~NO0LCV$KLa(B
  7.1961 +$B$k$3$H$,$G$-$^$9!#(B
  7.1962  
  7.1963  @node Modifying/Deleting, Filling, Cursor jump, Top
  7.1964  @comment  node-name,  next,  previous,  up
  7.1965 -@chapter 変更/削除
  7.1966 -@cindex 変更/削除[へんこう/さくしよ]
  7.1967 +@chapter $BJQ99(B/$B:o=|(B
  7.1968 +@cindex $BJQ99(B/$B:o=|(B[$B$X$s$3$&(B/$B$5$/$7$h(B]
  7.1969  @cindex prefix c
  7.1970  @cindex prefix k
  7.1971  
  7.1972 -  既に入力されている La@TeX{} コマンドの変更/削除のために以下の機能が用意
  7.1973 -されています。
  7.1974 +  $B4{$KF~NO$5$l$F$$$k(B La@TeX{} $B%3%^%s%I$NJQ99(B/$B:o=|$N$?$a$K0J2<$N5!G=$,MQ0U(B
  7.1975 +$B$5$l$F$$$^$9!#(B
  7.1976  
  7.1977  @table @kbd
  7.1978  @item [prefix] c
  7.1979 -        @dots{} カーソル位置の La@TeX{} コマンドの変更
  7.1980 +        @dots{} $B%+!<%=%k0LCV$N(B La@TeX{} $B%3%^%s%I$NJQ99(B
  7.1981  @item [prefix] k
  7.1982 -        @dots{} カーソル位置の La@TeX{} コマンドの削除
  7.1983 +        @dots{} $B%+!<%=%k0LCV$N(B La@TeX{} $B%3%^%s%I$N:o=|(B
  7.1984  @end table
  7.1985  
  7.1986  @noindent 
  7.1987 -これらのコマンドは、コマンドを起動する場所によって動作を決定するので注意し
  7.1988 -て下さい。
  7.1989 +$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
  7.1990 +$B$F2<$5$$!#(B
  7.1991  
  7.1992  @menu
  7.1993 -* Changing LaTeX command::      La@TeX{} コマンドの変更
  7.1994 -* Killing LaTeX command::       La@TeX{} コマンドの削除
  7.1995 +* Changing LaTeX command::      La@TeX{} $B%3%^%s%I$NJQ99(B
  7.1996 +* Killing LaTeX command::       La@TeX{} $B%3%^%s%I$N:o=|(B
  7.1997  @end menu
  7.1998  
  7.1999  @node Changing LaTeX command, Killing LaTeX command, Modifying/Deleting, Modifying/Deleting
  7.2000  @comment  node-name,  next,  previous,  up
  7.2001 -@section La@TeX{} コマンドの変更
  7.2002 +@section La@TeX{} $B%3%^%s%I$NJQ99(B
  7.2003  
  7.2004 -変更したい La@TeX{} コマンドにカーソルを合わせて @kbd{[prefix] c} 
  7.2005 -を押すとそのコマンドを補完入力などを用いて手軽に変えることができます。
  7.2006 -@kbd{[prefix] c} で変更できるコマンドには以下のものがあります。
  7.2007 +$BJQ99$7$?$$(B La@TeX{} $B%3%^%s%I$K%+!<%=%k$r9g$o$;$F(B @kbd{[prefix] c} 
  7.2008 +$B$r2!$9$H$=$N%3%^%s%I$rJd40F~NO$J$I$rMQ$$$F<j7Z$KJQ$($k$3$H$,$G$-$^$9!#(B
  7.2009 +@kbd{[prefix] c} $B$GJQ99$G$-$k%3%^%s%I$K$O0J2<$N$b$N$,$"$j$^$9!#(B
  7.2010  
  7.2011  @itemize
  7.2012 -@item @code{begin/end} の環境名
  7.2013 -@item section型コマンドのコマンド名
  7.2014 -@item section型コマンドの引数
  7.2015 -@item section型コマンドのオプションパラメータ([]で囲まれたもの)
  7.2016 -@item large型コマンド
  7.2017 -@item (イメージ補完で入力可能な)数式モード専用のmaketitle型コマンド
  7.2018 +@item @code{begin/end} $B$N4D6-L>(B
  7.2019 +@item section$B7?%3%^%s%I$N%3%^%s%IL>(B
  7.2020 +@item section$B7?%3%^%s%I$N0z?t(B
  7.2021 +@item section$B7?%3%^%s%I$N%*%W%7%g%s%Q%i%a!<%?(B([]$B$G0O$^$l$?$b$N(B)
  7.2022 +@item large$B7?%3%^%s%I(B
  7.2023 +@item ($B%$%a!<%8Jd40$GF~NO2DG=$J(B)$B?t<0%b!<%I@lMQ$N(Bmaketitle$B7?%3%^%s%I(B
  7.2024  @end itemize
  7.2025  
  7.2026 -  変えたいsection型コマンドの引数がさらに La@TeX{} コマンドを含む場合は、
  7.2027 -その引数を囲む中括弧の上で @kbd{[prefix] c} を押すことで中のコマンドを変更
  7.2028 -対象判定から除外することができます。
  7.2029 +  $BJQ$($?$$(Bsection$B7?%3%^%s%I$N0z?t$,$5$i$K(B La@TeX{} $B%3%^%s%I$r4^$`>l9g$O!"(B
  7.2030 +$B$=$N0z?t$r0O$`Cf3g8L$N>e$G(B @kbd{[prefix] c} $B$r2!$9$3$H$GCf$N%3%^%s%I$rJQ99(B
  7.2031 +$BBP>]H=Dj$+$i=|30$9$k$3$H$,$G$-$^$9!#(B
  7.2032  
  7.2033 -@cindex 環境名の変更[かんきようめいのへんこう]
  7.2034 +@cindex $B4D6-L>$NJQ99(B[$B$+$s$-$h$&$a$$$N$X$s$3$&(B]
  7.2035  
  7.2036  @node Killing LaTeX command,  , Changing LaTeX command, Modifying/Deleting
  7.2037  @comment  node-name,  next,  previous,  up
  7.2038 -@section La@TeX{} コマンドの削除
  7.2039 +@section La@TeX{} $B%3%^%s%I$N:o=|(B
  7.2040  
  7.2041 -@kbd{[prefix] k} は起動する位置により
  7.2042 -次のような動作を行います。
  7.2043 -@cindex 環境の削除[かんきようのさくしよ]
  7.2044 +@kbd{[prefix] k} $B$O5/F0$9$k0LCV$K$h$j(B
  7.2045 +$B<!$N$h$&$JF0:n$r9T$$$^$9!#(B
  7.2046 +@cindex $B4D6-$N:o=|(B[$B$+$s$-$h$&$N$5$/$7$h(B]
  7.2047  
  7.2048  
  7.2049  @example
  7.2050 -起動位置                        動作
  7.2051 -\begin, \endの行                @code{\begin\end}ペアの削除
  7.2052 -%#BEGIN, %#END の行             %#BEGIN,%#ENDペアの削除
  7.2053 -section型コマンドの上(中)       section型コマンドの削除
  7.2054 -フォント指定括弧の上            フォント指定の削除
  7.2055 -括弧の上                        対をなす括弧の削除
  7.2056 +$B5/F00LCV(B                        $BF0:n(B
  7.2057 +\begin, \end$B$N9T(B                @code{\begin\end}$B%Z%"$N:o=|(B
  7.2058 +%#BEGIN, %#END $B$N9T(B             %#BEGIN,%#END$B%Z%"$N:o=|(B
  7.2059 +section$B7?%3%^%s%I$N>e(B($BCf(B)       section$B7?%3%^%s%I$N:o=|(B
  7.2060 +$B%U%)%s%H;XDj3g8L$N>e(B            $B%U%)%s%H;XDj$N:o=|(B
  7.2061 +$B3g8L$N>e(B                        $BBP$r$J$93g8L$N:o=|(B
  7.2062  @end example
  7.2063  
  7.2064  @noindent 
  7.2065 -@code{\begin, \end} および @code{%#BEGIN, %#END} を削除する場合、
  7.2066 -@code{\begin, \end} や @code{%#BEGIN, %#END} の存在する行は
  7.2067 -まるごと削除されるので、それらの一行に @code{\begin} などを二つ以上連ねて
  7.2068 -書かないように注意してください。
  7.2069 -上記のものはすべて本文を囲う「容器」を削除するように働きますが、
  7.2070 -universal-argument (@kbd{C-u}) を打った後で@kbd{[prefix] k}をタイプすると、
  7.2071 -それぞれの「容器」に含まれる「中身」も一気に削除します。以下の例を参考にし
  7.2072 -て下さい。
  7.2073 +@code{\begin, \end} $B$*$h$S(B @code{%#BEGIN, %#END} $B$r:o=|$9$k>l9g!"(B
  7.2074 +@code{\begin, \end} $B$d(B @code{%#BEGIN, %#END} $B$NB8:_$9$k9T$O(B
  7.2075 +$B$^$k$4$H:o=|$5$l$k$N$G!"$=$l$i$N0l9T$K(B @code{\begin} $B$J$I$rFs$D0J>eO"$M$F(B
  7.2076 +$B=q$+$J$$$h$&$KCm0U$7$F$/$@$5$$!#(B
  7.2077 +$B>e5-$N$b$N$O$9$Y$FK\J8$r0O$&!VMF4o!W$r:o=|$9$k$h$&$KF/$-$^$9$,!"(B
  7.2078 +universal-argument (@kbd{C-u}) $B$rBG$C$?8e$G(B@kbd{[prefix] k}$B$r%?%$%W$9$k$H!"(B
  7.2079 +$B$=$l$>$l$N!VMF4o!W$K4^$^$l$k!VCf?H!W$b0l5$$K:o=|$7$^$9!#0J2<$NNc$r;29M$K$7(B
  7.2080 +$B$F2<$5$$!#(B
  7.2081  
  7.2082  @example
  7.2083 -        元のテキスト:                   [prefix] k      C-u [prefix] k
  7.2084 -        本文\footnote@{脚注@}です。     本文脚注です。  本文です。
  7.2085 -                ↑(カーソル位置)
  7.2086 +        $B85$N%F%-%9%H(B:                   [prefix] k      C-u [prefix] k
  7.2087 +        $BK\J8(B\footnote@{$B5SCm(B@}$B$G$9!#(B     $BK\J85SCm$G$9!#(B  $BK\J8$G$9!#(B
  7.2088 +                $B",(B($B%+!<%=%k0LCV(B)
  7.2089  @end example
  7.2090  
  7.2091  @node Filling, Includeonly, Modifying/Deleting, Top
  7.2092  @comment  node-name,  next,  previous,  up
  7.2093 -@chapter 桁揃え
  7.2094 -@cindex 桁揃え[けたそろえ]
  7.2095 +@chapter $B7eB7$((B
  7.2096 +@cindex $B7eB7$((B[$B$1$?$=$m$((B]
  7.2097  
  7.2098 -@section itemの桁揃え
  7.2099 -@cindex itemなどの桁揃え[itemなとのけたそろえ]
  7.2100 +@section item$B$N7eB7$((B
  7.2101 +@cindex item$B$J$I$N7eB7$((B[item$B$J$H$N$1$?$=$m$((B]
  7.2102  @cindex prefix i
  7.2103  
  7.2104 -  itemize 環境中にある@code{\item}の項目(文章)が複数行に渡る場合に、項
  7.2105 -目の先頭を桁揃えしたい場合には、
  7.2106 +  itemize $B4D6-Cf$K$"$k(B@code{\item}$B$N9`L\(B($BJ8>O(B)$B$,J#?t9T$KEO$k>l9g$K!"9`(B
  7.2107 +$BL\$N@hF,$r7eB7$($7$?$$>l9g$K$O!"(B
  7.2108  
  7.2109  @c @table @kbd
  7.2110  @c @item [prefix] i
  7.2111 -@c         @dots{} itemの桁揃え
  7.2112 +@c         @dots{} item$B$N7eB7$((B
  7.2113  @c @end table
  7.2114  
  7.2115  @table @kbd
  7.2116  @item M-q
  7.2117 -        @dots{} 桁揃え
  7.2118 +        @dots{} $B7eB7$((B
  7.2119  @end table
  7.2120  
  7.2121 -@cindex NTT-jTeX[えぬていいていいしえいてつく]
  7.2122 +@cindex NTT-jTeX[$B$($L$F$$$$$F$$$$$7$($$$F$D$/(B]
  7.2123  @noindent 
  7.2124 -によって、その item のインデントの深さに応じて fill されます。なお、古い
  7.2125 -NTT jTeX を使用している場合には、Lisp 変数@code{NTT-jTeX}を@code{t}にセッ
  7.2126 -トして下さい。
  7.2127 +$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
  7.2128 +NTT jTeX $B$r;HMQ$7$F$$$k>l9g$K$O!"(BLisp $BJQ?t(B@code{NTT-jTeX}$B$r(B@code{t}$B$K%;%C(B
  7.2129 +$B%H$7$F2<$5$$!#(B
  7.2130  
  7.2131  @cindex YaTeX-item-regexp
  7.2132 -  このとき、変数@code{YaTeX-item-regexp}の値(標準では @code{"\\\\item"})を
  7.2133 -項目指定コマンドの正規表現として検索に使用します。itemize 環境で、独自のコ
  7.2134 -マンドを定義して項目を列挙している場合(例えば@code{\underlineitem})は、
  7.2135 -@file{~/.emacs} で次のように指定して下さい。
  7.2136 +  $B$3$N$H$-!"JQ?t(B@code{YaTeX-item-regexp}$B$NCM(B($BI8=`$G$O(B @code{"\\\\item"})$B$r(B
  7.2137 +$B9`L\;XDj%3%^%s%I$N@55,I=8=$H$7$F8!:w$K;HMQ$7$^$9!#(Bitemize $B4D6-$G!"FH<+$N%3(B
  7.2138 +$B%^%s%I$rDj5A$7$F9`L\$rNs5s$7$F$$$k>l9g(B($BNc$($P(B@code{\underlineitem})$B$O!"(B
  7.2139 +@file{~/.emacs} $B$G<!$N$h$&$K;XDj$7$F2<$5$$!#(B
  7.2140  
  7.2141  @lisp
  7.2142          (setq YaTeX-item-regexp
  7.2143 @@ -1462,579 +1464,583 @@
  7.2144  @end lisp
  7.2145  
  7.2146  @noindent 
  7.2147 -この変数の指定の仕方がよく分からない場合は、独自の項目列挙コマンドの名前を
  7.2148 -@code{@code{"\item"}で始まるものにして下さい(例えば"\itembf"})。
  7.2149 +$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
  7.2150 +@code{@code{"\item"}$B$G;O$^$k$b$N$K$7$F2<$5$$(B($BNc$($P(B"\itembf"})$B!#(B
  7.2151  
  7.2152 -野鳥の @kbd{M-q} では @code{\item} を環境に応じて以下のように「ハングイン
  7.2153 -デント」します。
  7.2154 +$BLnD;$N(B @kbd{M-q} $B$G$O(B @code{\item} $B$r4D6-$K1~$8$F0J2<$N$h$&$K!V%O%s%0%$%s(B
  7.2155 +$B%G%s%H!W$7$^$9!#(B
  7.2156  
  7.2157  @example
  7.2158 -itemize, enumerate環境:
  7.2159 -       >\item[ほげほげ] 英語では、特に意味のない単語を `foo' であらわしま
  7.2160 -       >                すが、これの日本語版ともいえる単語が「ほげほげ」
  7.2161 -       >                です。
  7.2162 -description環境:
  7.2163 -       > \item[へろへろ] 「ほげほげ」をでたらめが単語として使った時に、第
  7.2164 -       >            2のでたらめな単語として「へろへろ」が使われることが多
  7.2165 -       >            いようです。
  7.2166 +itemize, enumerate$B4D6-(B:
  7.2167 +       >\item[$B$[$2$[$2(B] $B1Q8l$G$O!"FC$K0UL#$N$J$$C18l$r(B `foo' $B$G$"$i$o$7$^(B
  7.2168 +       >                $B$9$,!"$3$l$NF|K\8lHG$H$b$$$($kC18l$,!V$[$2$[$2!W(B
  7.2169 +       >                $B$G$9!#(B
  7.2170 +description$B4D6-(B:
  7.2171 +       > \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
  7.2172 +       >            2$B$N$G$?$i$a$JC18l$H$7$F!V$X$m$X$m!W$,;H$o$l$k$3$H$,B?(B
  7.2173 +       >            $B$$$h$&$G$9!#(B
  7.2174  @end example
  7.2175  
  7.2176 -@section パラグラフの桁揃え
  7.2177 -@cindex パラグラフの桁揃え[はらくらふのけたそろえ]
  7.2178 +@section $B%Q%i%0%i%U$N7eB7$((B
  7.2179 +@cindex $B%Q%i%0%i%U$N7eB7$((B[$B$O$i$/$i$U$N$1$?$=$m$((B]
  7.2180  @cindex M-q
  7.2181  
  7.2182 -  itemize環境以外でのパラグラフの桁揃え(fill)は、基本的に他のモードと同じ
  7.2183 -ように機能しますが、verbatim環境や、tabular環境など桁揃えをすると悲惨な状
  7.2184 -況になるような環境中では機能しません。また、\verb で括ってあるものは決して
  7.2185 -行分割されません(変数 @code{YaTeX-verb-regexp} で制御) )。さらに、一時的に
  7.2186 -インデントの深さを変えてある箇所では、そのインデントの先頭で@kbd{M-q}を押
  7.2187 -すことにより fill-prefix をいちいち変更しなくて桁揃えができます。
  7.2188 +  itemize$B4D6-0J30$G$N%Q%i%0%i%U$N7eB7$((B(fill)$B$O!"4pK\E*$KB>$N%b!<%I$HF1$8(B
  7.2189 +$B$h$&$K5!G=$7$^$9$,!"(Bverbatim$B4D6-$d!"(Btabular$B4D6-$J$I7eB7$($r$9$k$HHa;4$J>u(B
  7.2190 +$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
  7.2191 +$B9TJ,3d$5$l$^$;$s(B($BJQ?t(B @code{YaTeX-verb-regexp} $B$G@)8f(B) )$B!#$5$i$K!"0l;~E*$K(B
  7.2192 +$B%$%s%G%s%H$N?<$5$rJQ$($F$"$k2U=j$G$O!"$=$N%$%s%G%s%H$N@hF,$G(B@kbd{M-q}$B$r2!(B
  7.2193 +$B$9$3$H$K$h$j(B fill-prefix $B$r$$$A$$$AJQ99$7$J$/$F7eB7$($,$G$-$^$9!#(B
  7.2194  
  7.2195  
  7.2196  @node Includeonly, What column, Filling, Top
  7.2197  @comment  node-name,  next,  previous,  up
  7.2198 -@chapter 勝手にincludeonly
  7.2199 -@cindex 勝手にincludeonly[かつてにincludeonly]
  7.2200 +@chapter $B>!<j$K(Bincludeonly
  7.2201 +@cindex $B>!<j$K(Bincludeonly[$B$+$D$F$K(Bincludeonly]
  7.2202  @cindex includeonly
  7.2203  
  7.2204 -  ファイルを分割して文章を入力している時には、メインファイル中に
  7.2205 +  $B%U%!%$%k$rJ,3d$7$FJ8>O$rF~NO$7$F$$$k;~$K$O!"%a%$%s%U%!%$%kCf$K(B
  7.2206  
  7.2207  @example
  7.2208 -        \includeonly@{現在編集中のファイル名@}
  7.2209 +        \includeonly@{$B8=:_JT=8Cf$N%U%!%$%kL>(B@}
  7.2210  @end example
  7.2211  
  7.2212  @noindent 
  7.2213 -のように書いておくことで、タイプセットの時間を節約できますが、ちょっと他の
  7.2214 -ファイルを手直ししたい時には
  7.2215 -@cindex 他のファイルの手直し[ほかのふあいるのてなおし]
  7.2216 +$B$N$h$&$K=q$$$F$*$/$3$H$G!"%?%$%W%;%C%H$N;~4V$r@aLs$G$-$^$9$,!"$A$g$C$HB>$N(B
  7.2217 +$B%U%!%$%k$r<jD>$7$7$?$$;~$K$O(B
  7.2218 +@cindex $BB>$N%U%!%$%k$N<jD>$7(B[$B$[$+$N$U$"$$$k$N$F$J$*$7(B]
  7.2219  
  7.2220  @example
  7.2221 -        \includeonly@{ちょっと手直ししたいファイル名@}
  7.2222 +        \includeonly@{$B$A$g$C$H<jD>$7$7$?$$%U%!%$%kL>(B@}
  7.2223  @end example
  7.2224  
  7.2225  @noindent 
  7.2226 -と書き直さなければならず手間がかかります。野鳥では現在編集しているファイル
  7.2227 -名がメインファイルの@code{\includeonly}にない場合には自動的にこれを検出し、
  7.2228 -次の指示を仰ぎます。
  7.2229 +$B$H=q$-D>$5$J$1$l$P$J$i$:<j4V$,$+$+$j$^$9!#LnD;$G$O8=:_JT=8$7$F$$$k%U%!%$%k(B
  7.2230 +$BL>$,%a%$%s%U%!%$%k$N(B@code{\includeonly}$B$K$J$$>l9g$K$O<+F0E*$K$3$l$r8!=P$7!"(B
  7.2231 +$B<!$N;X<($r6D$.$^$9!#(B
  7.2232  
  7.2233  @example
  7.2234          A)dd R)eplace %)comment?
  7.2235  @end example
  7.2236  
  7.2237  @noindent 
  7.2238 -現在編集中のファイルを @code{\includeonly} のリストに加えたい時には@kbd{a}
  7.2239 -を、現在編集中のファイルだけを @code{\includeonly} にしたい時は@kbd{r}を、
  7.2240 -@code{\includeonly} の行をコメントアウトして無効化したい時には、@kbd{%}を
  7.2241 -それぞれ押して下さい。
  7.2242 +$B8=:_JT=8Cf$N%U%!%$%k$r(B @code{\includeonly} $B$N%j%9%H$K2C$($?$$;~$K$O(B@kbd{a}
  7.2243 +$B$r!"8=:_JT=8Cf$N%U%!%$%k$@$1$r(B @code{\includeonly} $B$K$7$?$$;~$O(B@kbd{r}$B$r!"(B
  7.2244 +@code{\includeonly} $B$N9T$r%3%a%s%H%"%&%H$7$FL58z2=$7$?$$;~$K$O!"(B@kbd{%}$B$r(B
  7.2245 +$B$=$l$>$l2!$7$F2<$5$$!#(B
  7.2246  
  7.2247  @node What column, Intelligent newline, Includeonly, Top
  7.2248  @comment  node-name,  next,  previous,  up
  7.2249 -@chapter ここはどこ?
  7.2250 -@cindex ここはどこ?[ここはとこ?]
  7.2251 +@chapter $B$3$3$O$I$3(B?
  7.2252 +@cindex $B$3$3$O$I$3(B?[$B$3$3$O$H$3(B?]
  7.2253  @cindex prefix &
  7.2254 -@cindex 複雑なtabular[ふくさつなtabular]
  7.2255 +@cindex $BJ#;($J(Btabular[$B$U$/$5$D$J(Btabular]
  7.2256  
  7.2257 -  項目数の多い tabular などをたくさん書いていると下の方の行で、いま書いて
  7.2258 -いる桁がどこに対応するのかわからなくなってしまうことがあります。例えば、以
  7.2259 -下のような tabular において、
  7.2260 +  $B9`L\?t$NB?$$(B tabular $B$J$I$r$?$/$5$s=q$$$F$$$k$H2<$NJ}$N9T$G!"$$$^=q$$$F(B
  7.2261 +$B$$$k7e$,$I$3$KBP1~$9$k$N$+$o$+$i$J$/$J$C$F$7$^$&$3$H$,$"$j$^$9!#Nc$($P!"0J(B
  7.2262 +$B2<$N$h$&$J(B tabular $B$K$*$$$F!"(B
  7.2263  
  7.2264  @example
  7.2265          \begin@{tabular@}@{|c|c|c|c|c|c|c|c|@}\hline
  7.2266 -         氏名&所属&〒&住所&電話&FAX&帰省先&帰省先電話\\ \hline
  7.2267 -         矢上二郎 & 6 & 223 & 横浜市港北区日吉 & xxx-yyy &
  7.2268 -                zzz-www & トンガ & 9876-54321 \\
  7.2269 -         日吉小僧 & 2 & \multicolumn@{2@}@{c|@}@{教えない@}
  7.2270 +         $B;aL>(B&$B=jB0(B&$B")(B&$B=;=j(B&$BEEOC(B&FAX&$B5">J@h(B&$B5">J@hEEOC(B\\ \hline
  7.2271 +         $BLp>eFsO:(B & 6 & 223 & $B2#IM;T9AKL6hF|5H(B & xxx-yyy &
  7.2272 +                zzz-www & $B%H%s%,(B & 9876-54321 \\
  7.2273 +         $BF|5H>.AN(B & 2 & \multicolumn@{2@}@{c|@}@{$B65$($J$$(B@}
  7.2274                  &&&(???)
  7.2275           \\ \hline
  7.2276          \end@{tabular@}
  7.2277  @end example
  7.2278  
  7.2279  @noindent 
  7.2280 -(???)の部分がどの項目なのかすぐに判断するのは難しいでしょう。こんな時は、
  7.2281 +(???)$B$NItJ,$,$I$N9`L\$J$N$+$9$0$KH=CG$9$k$N$OFq$7$$$G$7$g$&!#$3$s$J;~$O!"(B
  7.2282  
  7.2283  @table @kbd
  7.2284  @item [prefix] &
  7.2285 -        @dots{} 現在のカラム表示
  7.2286 +        @dots{} $B8=:_$N%+%i%`I=<((B
  7.2287  @end table
  7.2288 -@cindex 現在のカラム表示[けんさいのからむひようし]
  7.2289 +@cindex $B8=:_$N%+%i%`I=<((B[$B$1$s$5$$$N$+$i$`$R$h$&$7(B]
  7.2290  
  7.2291 -を押すとカーソル位置のカラムがどの項目に該当するかをミニバッファに表示しま
  7.2292 -す。tabular/array環境の第1行目を項目名の並びとみなして対応するものを探しま
  7.2293 -す。もし項目名として別のものを表示して欲しい場合は、行頭を@code{%}にしてダ
  7.2294 -ミーの項目並びを作っておくと良いでしょう。
  7.2295 +$B$r2!$9$H%+!<%=%k0LCV$N%+%i%`$,$I$N9`L\$K3:Ev$9$k$+$r%_%K%P%C%U%!$KI=<($7$^(B
  7.2296 +$B$9!#(Btabular/array$B4D6-$NBh(B1$B9TL\$r9`L\L>$NJB$S$H$_$J$7$FBP1~$9$k$b$N$rC5$7$^(B
  7.2297 +$B$9!#$b$79`L\L>$H$7$FJL$N$b$N$rI=<($7$FM_$7$$>l9g$O!"9TF,$r(B@code{%}$B$K$7$F%@(B
  7.2298 +$B%_!<$N9`L\JB$S$r:n$C$F$*$/$HNI$$$G$7$g$&!#(B
  7.2299  
  7.2300  @node Intelligent newline, Changing mode of YaTeX, What column, Top
  7.2301  @comment  node-name,  next,  previous,  up
  7.2302 -@chapter おまかせ改行
  7.2303 -@cindex おまかせ改行[おまかせかいきよう]
  7.2304 -@cindex &入力[&にゆうりよく]
  7.2305 +@chapter $B$*$^$+$;2~9T(B
  7.2306 +@cindex $B$*$^$+$;2~9T(B[$B$*$^$+$;$+$$$-$h$&(B]
  7.2307 +@cindex &$BF~NO(B[&$B$K$f$&$j$h$/(B]
  7.2308  
  7.2309 -  tabular[*], array, itemize, enumerate, tabbing 環境をbegin型補完で入力し
  7.2310 -た時、または各環境内で
  7.2311 +  tabular[*], array, itemize, enumerate, tabbing $B4D6-$r(Bbegin$B7?Jd40$GF~NO$7(B
  7.2312 +$B$?;~!"$^$?$O3F4D6-Fb$G(B
  7.2313  
  7.2314  @table @kbd
  7.2315  @item ESC RET
  7.2316 -        @dots{} おまかせ改行
  7.2317 +        @dots{} $B$*$^$+$;2~9T(B
  7.2318  @end table
  7.2319  
  7.2320  @noindent 
  7.2321 -を押すと、その環境に応じた行エントリを次の行に挿入します(begin型補完時に自
  7.2322 -動挿入されたエントリが不要な場合は undo によって消去できます)。例えば、
  7.2323 -tabular環境では、その環境のカラム数に対応した個数の @code{&} に加え、行末
  7.2324 -の @code{\\} を入れます。この時それ以前に @code{\hline} があればそれも付け
  7.2325 -加えます。環境とそれに応じて自動入力するものの対応は以下のようになります。
  7.2326 +$B$r2!$9$H!"$=$N4D6-$K1~$8$?9T%(%s%H%j$r<!$N9T$KA^F~$7$^$9(B(begin$B7?Jd40;~$K<+(B
  7.2327 +$BF0A^F~$5$l$?%(%s%H%j$,ITMW$J>l9g$O(B undo $B$K$h$C$F>C5n$G$-$^$9(B)$B!#Nc$($P!"(B
  7.2328 +tabular$B4D6-$G$O!"$=$N4D6-$N%+%i%`?t$KBP1~$7$?8D?t$N(B @code{&} $B$K2C$(!"9TKv(B
  7.2329 +$B$N(B @code{\\} $B$rF~$l$^$9!#$3$N;~$=$l0JA0$K(B @code{\hline} $B$,$"$l$P$=$l$bIU$1(B
  7.2330 +$B2C$($^$9!#4D6-$H$=$l$K1~$8$F<+F0F~NO$9$k$b$N$NBP1~$O0J2<$N$h$&$K$J$j$^$9!#(B
  7.2331  
  7.2332  @itemize
  7.2333  @item @code{tabular}, @code{tabular*}, @code{array}
  7.2334  
  7.2335 -        カラム数-1 だけの @code{&} と @code{\\}。必要に応じて @code{\hline}
  7.2336 +        $B%+%i%`?t(B-1 $B$@$1$N(B @code{&} $B$H(B @code{\\}$B!#I,MW$K1~$8$F(B @code{\hline}
  7.2337  
  7.2338  @item @code{tabbing}
  7.2339  
  7.2340 -        一行目で定義している @code{\=} と同じ個数の @code{\>}。
  7.2341 +        $B0l9TL\$GDj5A$7$F$$$k(B @code{\=} $B$HF1$88D?t$N(B @code{\>}$B!#(B
  7.2342  
  7.2343  @item @code{itemize}, @code{enumerate}, @code{description}, @code{list}
  7.2344  
  7.2345 -        @code{\item} または @code{item[]}
  7.2346 +        @code{\item} $B$^$?$O(B @code{item[]}
  7.2347  @end itemize
  7.2348  
  7.2349 -  tabular 環境の例のように、本機能は各環境の一行目の内容を参考にして動作す
  7.2350 -るので、なるべく二行目以降で呼び出すようにしてください。
  7.2351 +  tabular $B4D6-$NNc$N$h$&$K!"K\5!G=$O3F4D6-$N0l9TL\$NFbMF$r;29M$K$7$FF0:n$9(B
  7.2352 +$B$k$N$G!"$J$k$Y$/Fs9TL\0J9_$G8F$S=P$9$h$&$K$7$F$/$@$5$$!#(B
  7.2353  
  7.2354 -  もし、その他の環境、例えば @code{foo}、に対して@code{おまかせ改行}を動作
  7.2355 -させたい時は、@code{YaTeX-intelligent-newline-foo} という名前の関数を定義
  7.2356 -します。定義した関数は、現在の行に改行を挿入した直後の行頭の位置で呼ばれま
  7.2357 -す。関数 @code{YaTeX-indent-line} を呼ぶと現在の環境のネストに応じた深さに
  7.2358 -インデントされるので、これを呼んでから何かを挿入するようなコードを書くとよ
  7.2359 -いでしょう。@file{yatexenv.el}内の関数 
  7.2360 -@code{YaTeX-intelligent-newline-itemize} の定義などを参考にしてください。
  7.2361 +  $B$b$7!"$=$NB>$N4D6-!"Nc$($P(B @code{foo}$B!"$KBP$7$F(B@code{$B$*$^$+$;2~9T(B}$B$rF0:n(B
  7.2362 +$B$5$;$?$$;~$O!"(B@code{YaTeX-intelligent-newline-foo} $B$H$$$&L>A0$N4X?t$rDj5A(B
  7.2363 +$B$7$^$9!#Dj5A$7$?4X?t$O!"8=:_$N9T$K2~9T$rA^F~$7$?D>8e$N9TF,$N0LCV$G8F$P$l$^(B
  7.2364 +$B$9!#4X?t(B @code{YaTeX-indent-line} $B$r8F$V$H8=:_$N4D6-$N%M%9%H$K1~$8$??<$5$K(B
  7.2365 +$B%$%s%G%s%H$5$l$k$N$G!"$3$l$r8F$s$G$+$i2?$+$rA^F~$9$k$h$&$J%3!<%I$r=q$/$H$h(B
  7.2366 +$B$$$G$7$g$&!#(B@file{yatexenv.el}$BFb$N4X?t(B 
  7.2367 +@code{YaTeX-intelligent-newline-itemize} $B$NDj5A$J$I$r;29M$K$7$F$/$@$5$$!#(B
  7.2368  
  7.2369  @node Changing mode of YaTeX, Online help, Intelligent newline, Top
  7.2370  @comment  node-name,  next,  previous,  up
  7.2371 -@chapter 野鳥の動作モード切り替え
  7.2372 -@cindex モード切り替え[もうときりかえ]
  7.2373 +@chapter $BLnD;$NF0:n%b!<%I@Z$jBX$((B
  7.2374 +@cindex $B%b!<%I@Z$jBX$((B[$B$b$&$H$-$j$+$((B]
  7.2375  @cindex prefix w
  7.2376  
  7.2377  @table @kbd
  7.2378  @item [prefix] w
  7.2379 -        @dots{} 野鳥動作モード切り替えメニュー
  7.2380 +        @dots{} $BLnD;F0:n%b!<%I@Z$jBX$(%a%K%e!<(B
  7.2381  @end table
  7.2382  
  7.2383  @noindent
  7.2384 -で野鳥自身の動作を決定する以下のモードを切り替えます。
  7.2385 +$B$GLnD;<+?H$NF0:n$r7hDj$9$k0J2<$N%b!<%I$r@Z$jBX$($^$9!#(B
  7.2386  
  7.2387  @itemize @bullet
  7.2388 -@item 修正モード
  7.2389 -@item 野鳥数式モード
  7.2390 +@item $B=$@5%b!<%I(B
  7.2391 +@item $BLnD;?t<0%b!<%I(B
  7.2392  @end itemize
  7.2393  
  7.2394 -修正モードは、開き括弧入力時の処理をコントロールし、修正モードONの時は開き
  7.2395 -括弧の入力は開き括弧のみの入力になり、修正モードOFFの時は開き括弧の入力だ
  7.2396 -けで閉じ括弧まで入力します。デフォルト(起動時)の設定は@emph{OFF}です。
  7.2397 +$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
  7.2398 +$B3g8L$NF~NO$O3+$-3g8L$N$_$NF~NO$K$J$j!"=$@5%b!<%I(BOFF$B$N;~$O3+$-3g8L$NF~NO$@(B
  7.2399 +$B$1$GJD$83g8L$^$GF~NO$7$^$9!#%G%U%)%k%H(B($B5/F0;~(B)$B$N@_Dj$O(B@emph{OFF}$B$G$9!#(B
  7.2400  
  7.2401 -  野鳥数式モードは、変数 @code{YaTeX-auto-math-mode} が @code{nil} の時の
  7.2402 -み有効で、このとき@kbd{;}や@kbd{:}を押した時(@ref{Image completion}参照)に、
  7.2403 -どのようなイメージ補完を機能させるか、通常のキーとして機能させるかを手動で
  7.2404 -切り替えます。自動判定が遅いマシンでは@code{YaTeX-auto-math-mode}
  7.2405 -@code{nil}にセットし、野鳥数式モードを手動で切り替えると良いでしょう。
  7.2406 +  $BLnD;?t<0%b!<%I$O!"JQ?t(B @code{YaTeX-auto-math-mode} $B$,(B @code{nil} $B$N;~$N(B
  7.2407 +$B$_M-8z$G!"$3$N$H$-(B@kbd{;}$B$d(B@kbd{:}$B$r2!$7$?;~(B(@ref{Image completion}$B;2>H(B)$B$K!"(B
  7.2408 +$B$I$N$h$&$J%$%a!<%8Jd40$r5!G=$5$;$k$+!"DL>o$N%-!<$H$7$F5!G=$5$;$k$+$r<jF0$G(B
  7.2409 +$B@Z$jBX$($^$9!#<+F0H=Dj$,CY$$%^%7%s$G$O(B@code{YaTeX-auto-math-mode}
  7.2410 +@code{nil}$B$K%;%C%H$7!"LnD;?t<0%b!<%I$r<jF0$G@Z$jBX$($k$HNI$$$G$7$g$&!#(B
  7.2411  
  7.2412  
  7.2413  @node Online help, Inclusion hierarchy browser, Changing mode of YaTeX, Top
  7.2414  @comment  node-name,  next,  previous,  up
  7.2415 -@chapter オンラインヘルプ
  7.2416 -@cindex オンラインヘルプ[おんらいんへるふ]
  7.2417 +@chapter $B%*%s%i%$%s%X%k%W(B
  7.2418 +@cindex $B%*%s%i%$%s%X%k%W(B[$B$*$s$i$$$s$X$k$U(B]
  7.2419  @cindex apropos
  7.2420 -@cindex キーワード検索[きいわあとけんさく]
  7.2421 +@cindex $B%-!<%o!<%I8!:w(B[$B$-$$$o$"$H$1$s$5$/(B]
  7.2422  @cindex prefix ?
  7.2423  @cindex prefix /
  7.2424  
  7.2425 -  使おうとする La@TeX{} コマンドの用法がよく分からない時は、オンラインヘル
  7.2426 -プをひきましょう。ヘルプに関するキーには以下のものがあります。
  7.2427 +  $B;H$*$&$H$9$k(B La@TeX{} $B%3%^%s%I$NMQK!$,$h$/J,$+$i$J$$;~$O!"%*%s%i%$%s%X%k(B
  7.2428 +$B%W$r$R$-$^$7$g$&!#%X%k%W$K4X$9$k%-!<$K$O0J2<$N$b$N$,$"$j$^$9!#(B
  7.2429  
  7.2430  @table @kbd
  7.2431  @item [prefix] ?
  7.2432 -        @dots{} オンラインヘルプ
  7.2433 +        @dots{} $B%*%s%i%$%s%X%k%W(B
  7.2434  @item [prefix] /
  7.2435 -        @dots{} オンラインapropos
  7.2436 +        @dots{} $B%*%s%i%$%s(Bapropos
  7.2437  @end table
  7.2438  
  7.2439 -@section オンラインヘルプ
  7.2440 -@cindex グローバルヘルプ[くろおはるへるふ]
  7.2441 -@cindex プライベートヘルプ[ふらいへえとへるふ]
  7.2442 +@section $B%*%s%i%$%s%X%k%W(B
  7.2443 +@cindex $B%0%m!<%P%k%X%k%W(B[$B$/$m$*$O$k$X$k$U(B]
  7.2444 +@cindex $B%W%i%$%Y!<%H%X%k%W(B[$B$U$i$$$X$($H$X$k$U(B]
  7.2445  @cindex YaTeX-help-file
  7.2446  @cindex YaTeX-help-file-private
  7.2447  
  7.2448 -  「オンラインヘルプ」は、一般的な La@TeX{} コマンド(デフォルトでカーソル
  7.2449 -位置のコマンド)に対する説明を隣のバッファに表示します。この時参照されるヘ
  7.2450 -ルプ用ファイルには「グローバルヘルプ」と「プライベートヘルプ」の二種類があ
  7.2451 -り、前者は La@TeX{} の標準コマンドの主なものの説明を含むファイルで、変数
  7.2452 -@code{YaTeX-help-file}の値で指定されます。このファイルは通常公共の場所(デ
  7.2453 -フォルトで@code{$EMACSEXECPATH})に置かれ、誰もがその内容を更新できるように
  7.2454 -全員に書き込み権が与えられるべきものです。後者は、非標準もしくは個人的なマ
  7.2455 -クロ定義に関する説明が書かれているファイルで、変数
  7.2456 -@code{YaTeX-help-file-private}の値で指定されます。こちらはユーザのホームディ
  7.2457 -レクトリの下などに置かれます。
  7.2458 +  $B!V%*%s%i%$%s%X%k%W!W$O!"0lHLE*$J(B La@TeX{} $B%3%^%s%I(B($B%G%U%)%k%H$G%+!<%=%k(B
  7.2459 +$B0LCV$N%3%^%s%I(B)$B$KBP$9$k@bL@$rNY$N%P%C%U%!$KI=<($7$^$9!#$3$N;~;2>H$5$l$k%X(B
  7.2460 +$B%k%WMQ%U%!%$%k$K$O!V%0%m!<%P%k%X%k%W!W$H!V%W%i%$%Y!<%H%X%k%W!W$NFs<oN`$,$"(B
  7.2461 +$B$j!"A0<T$O(B La@TeX{} $B$NI8=`%3%^%s%I$N<g$J$b$N$N@bL@$r4^$`%U%!%$%k$G!"JQ?t(B
  7.2462 +@code{YaTeX-help-file}$B$NCM$G;XDj$5$l$^$9!#$3$N%U%!%$%k$ODL>o8x6&$N>l=j(B($B%G(B
  7.2463 +$B%U%)%k%H$G(B@code{$EMACSEXECPATH})$B$KCV$+$l!"C/$b$,$=$NFbMF$r99?7$G$-$k$h$&$K(B
  7.2464 +$BA40w$K=q$-9~$_8"$,M?$($i$l$k$Y$-$b$N$G$9!#8e<T$O!"HsI8=`$b$7$/$O8D?ME*$J%^(B
  7.2465 +$B%/%mDj5A$K4X$9$k@bL@$,=q$+$l$F$$$k%U%!%$%k$G!"JQ?t(B
  7.2466 +@code{YaTeX-help-file-private}$B$NCM$G;XDj$5$l$^$9!#$3$A$i$O%f!<%6$N%[!<%`%G%#(B
  7.2467 +$B%l%/%H%j$N2<$J$I$KCV$+$l$^$9!#(B
  7.2468  
  7.2469 -@section オンラインapropos
  7.2470 +@section $B%*%s%i%$%s(Bapropos
  7.2471  
  7.2472 -  「オンラインapropos」は GNU Emacs の apropos と同様、ユーザが指定したキー
  7.2473 -ワードを説明文に含む項目すべてを隣のバッファに表示します。
  7.2474 +  $B!V%*%s%i%$%s(Bapropos$B!W$O(B GNU Emacs $B$N(B apropos $B$HF1MM!"%f!<%6$,;XDj$7$?%-!<(B
  7.2475 +$B%o!<%I$r@bL@J8$K4^$`9`L\$9$Y$F$rNY$N%P%C%U%!$KI=<($7$^$9!#(B
  7.2476  
  7.2477 -  もし、調べようとしたLa@TeX{}コマンドに対する説明がヘルプファイル中に見つ
  7.2478 -からなかった場合は、説明文の入力を求めてくるので、可能であれば参考書などを
  7.2479 -調べてそのコマンドの説明を入力してください。もし、なにか標準的なコマンドに
  7.2480 -対する説明を書いたならばぜひ私までその説明をお送り下さい。次回の配布に含め
  7.2481 -たいと思います。
  7.2482 +  $B$b$7!"D4$Y$h$&$H$7$?(BLa@TeX{}$B%3%^%s%I$KBP$9$k@bL@$,%X%k%W%U%!%$%kCf$K8+$D(B
  7.2483 +$B$+$i$J$+$C$?>l9g$O!"@bL@J8$NF~NO$r5a$a$F$/$k$N$G!"2DG=$G$"$l$P;29M=q$J$I$r(B
  7.2484 +$BD4$Y$F$=$N%3%^%s%I$N@bL@$rF~NO$7$F$/$@$5$$!#$b$7!"$J$K$+I8=`E*$J%3%^%s%I$K(B
  7.2485 +$BBP$9$k@bL@$r=q$$$?$J$i$P$<$R;d$^$G$=$N@bL@$r$*Aw$j2<$5$$!#<!2s$NG[I[$K4^$a(B
  7.2486 +$B$?$$$H;W$$$^$9!#(B
  7.2487  
  7.2488  @node Inclusion hierarchy browser, Cooperation with other packages, Online help, Top
  7.2489  @comment  node-name,  next,  previous,  up
  7.2490 -@chapter インクルード構造ブラウザ
  7.2491 -@cindex インクルード構造[いんくるうとこうそう]
  7.2492 +@chapter $B%$%s%/%k!<%I9=B$%V%i%&%6(B
  7.2493 +@cindex $B%$%s%/%k!<%I9=B$(B[$B$$$s$/$k$&$H$3$&$=$&(B]
  7.2494  @cindex prefix d
  7.2495  
  7.2496 -複数のファイルに分割しているドキュメントを書いている場合、
  7.2497 +$BJ#?t$N%U%!%$%k$KJ,3d$7$F$$$k%I%-%e%a%s%H$r=q$$$F$$$k>l9g!"(B
  7.2498  
  7.2499  @table @kbd
  7.2500  @item [prefix] d
  7.2501 -        @dots{} インクルード構造ブラウズ
  7.2502 +        @dots{} $B%$%s%/%k!<%I9=B$%V%i%&%:(B
  7.2503  @end table
  7.2504  
  7.2505  @noindent
  7.2506 -を押すと、そのドキュメントの親ファイルを聞いて来ます。ここで全てのファイル
  7.2507 -の親となるファイル(デフォルトが示されているので大抵はRETのみ)を入力すると
  7.2508 -インクルードしている全てのファイルを解析し、インクルード状況を視覚的に表示
  7.2509 -します。このバッファでは以下のキー操作が有効です。
  7.2510 +$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
  7.2511 +$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
  7.2512 +$B%$%s%/%k!<%I$7$F$$$kA4$F$N%U%!%$%k$r2r@O$7!"%$%s%/%k!<%I>u67$r;k3PE*$KI=<((B
  7.2513 +$B$7$^$9!#$3$N%P%C%U%!$G$O0J2<$N%-!<A`:n$,M-8z$G$9!#(B
  7.2514  
  7.2515  @table @kbd
  7.2516  @item n
  7.2517 -        @dots{} 次の行に移動し対応するファイルを隣のバッファに表示
  7.2518 +        @dots{} $B<!$N9T$K0\F0$7BP1~$9$k%U%!%$%k$rNY$N%P%C%U%!$KI=<((B
  7.2519  @item p
  7.2520 -        @dots{} 上の行に移動し対応するファイルを隣のバッファに表示
  7.2521 +        @dots{} $B>e$N9T$K0\F0$7BP1~$9$k%U%!%$%k$rNY$N%P%C%U%!$KI=<((B
  7.2522  @item N
  7.2523 -        @dots{} 同じインクルードレベルの次のファイルに移動
  7.2524 +        @dots{} $BF1$8%$%s%/%k!<%I%l%Y%k$N<!$N%U%!%$%k$K0\F0(B
  7.2525  @item P
  7.2526 -        @dots{} 同じインクルードレベルの前のファイルに移動
  7.2527 +        @dots{} $BF1$8%$%s%/%k!<%I%l%Y%k$NA0$N%U%!%$%k$K0\F0(B
  7.2528  @item j
  7.2529 -        @dots{} 次の行に移動
  7.2530 +        @dots{} $B<!$N9T$K0\F0(B
  7.2531  @item k
  7.2532 -        @dots{} 上の行に移動
  7.2533 +        @dots{} $B>e$N9T$K0\F0(B
  7.2534  @item u
  7.2535 -        @dots{} 一代親にあたるファイルに移動
  7.2536 +        @dots{} $B0lBe?F$K$"$?$k%U%!%$%k$K0\F0(B
  7.2537  @item .
  7.2538 -        @dots{} カーソル位置のファイルを隣のバッファに表示
  7.2539 +        @dots{} $B%+!<%=%k0LCV$N%U%!%$%k$rNY$N%P%C%U%!$KI=<((B
  7.2540  @item SPC
  7.2541 -        @dots{} 隣のバッファの対応ファイルをスクロールアップ
  7.2542 +        @dots{} $BNY$N%P%C%U%!$NBP1~%U%!%$%k$r%9%/%m!<%k%"%C%W(B
  7.2543  @item DEL, b
  7.2544 -        @dots{} 隣のバッファの対応ファイルをスクロールダウン
  7.2545 +        @dots{} $BNY$N%P%C%U%!$NBP1~%U%!%$%k$r%9%/%m!<%k%@%&%s(B
  7.2546  @item <
  7.2547 -        @dots{} 隣のバッファの対応ファイルの先頭を表示
  7.2548 +        @dots{} $BNY$N%P%C%U%!$NBP1~%U%!%$%k$N@hF,$rI=<((B
  7.2549  @item >
  7.2550 -        @dots{} 隣のバッファの対応ファイルの末尾を表示
  7.2551 +        @dots{} $BNY$N%P%C%U%!$NBP1~%U%!%$%k$NKvHx$rI=<((B
  7.2552  @item '
  7.2553 -        @dots{} (@kbd{<}や@kbd{>}の後で)元の表示位置に戻る
  7.2554 +        @dots{} (@kbd{<}$B$d(B@kbd{>}$B$N8e$G(B)$B85$NI=<(0LCV$KLa$k(B
  7.2555  @item RET, g
  7.2556 -        @dots{} カーソル位置のファイルを隣のバッファでオープン
  7.2557 +        @dots{} $B%+!<%=%k0LCV$N%U%!%$%k$rNY$N%P%C%U%!$G%*!<%W%s(B
  7.2558  @item mouse-2
  7.2559 -        @dots{} RETと同じ(ウィンドウ使用時のみ)
  7.2560 +        @dots{} RET$B$HF1$8(B($B%&%#%s%I%&;HMQ;~$N$_(B)
  7.2561  @item o
  7.2562 -        @dots{} 隣のウィンドウに移動
  7.2563 +        @dots{} $BNY$N%&%#%s%I%&$K0\F0(B
  7.2564  @item 1
  7.2565 -        @dots{} 他のウィンドウを消す
  7.2566 +        @dots{} $BB>$N%&%#%s%I%&$r>C$9(B
  7.2567  @item -
  7.2568 -        @dots{} ブラウズウィンドウを小さくする
  7.2569 +        @dots{} $B%V%i%&%:%&%#%s%I%&$r>.$5$/$9$k(B
  7.2570  @item +
  7.2571 -        @dots{} ブラウズウィンドウを大きくする
  7.2572 +        @dots{} $B%V%i%&%:%&%#%s%I%&$rBg$-$/$9$k(B
  7.2573  @item ?
  7.2574 -        @dots{} ヘルプ表示
  7.2575 +        @dots{} $B%X%k%WI=<((B
  7.2576  @item q
  7.2577 -        @dots{} 表示前の状態に戻る
  7.2578 +        @dots{} $BI=<(A0$N>uBV$KLa$k(B
  7.2579  @end table
  7.2580  
  7.2581 -  ただし、隣のウィンドウのファイルの内容を表示する機能に関しては、対応する
  7.2582 -ファイルをクローズしてしまうとうまく働きませんのでご注意ください。
  7.2583 +  $B$?$@$7!"NY$N%&%#%s%I%&$N%U%!%$%k$NFbMF$rI=<($9$k5!G=$K4X$7$F$O!"BP1~$9$k(B
  7.2584 +$B%U%!%$%k$r%/%m!<%:$7$F$7$^$&$H$&$^$/F/$-$^$;$s$N$G$4Cm0U$/$@$5$$!#(B
  7.2585  
  7.2586  @node Cooperation with other packages, Customizations, Inclusion hierarchy browser, Top
  7.2587  @comment  node-name,  next,  previous,  up
  7.2588 -@chapter 他パッケージとの連携
  7.2589 -@cindex  他パッケージとの連携[たはつけえしとのれんけい]
  7.2590 +@chapter $BB>%Q%C%1!<%8$H$NO"7H(B
  7.2591 +@cindex  $BB>%Q%C%1!<%8$H$NO"7H(B[$B$?$O$D$1$($7$H$N$l$s$1$$(B]
  7.2592  
  7.2593  @section gmhist
  7.2594  @cindex gmhist
  7.2595 -@cindex コマンドヒストリ[こまんとひすとり]
  7.2596 -@cindex ヒストリ[ひすとり]
  7.2597 +@cindex $B%3%^%s%I%R%9%H%j(B[$B$3$^$s$H$R$9$H$j(B]
  7.2598 +@cindex $B%R%9%H%j(B[$B$R$9$H$j(B]
  7.2599  
  7.2600 -  @file{gmhist.el}と@file{gmhist-mh.el} をロードしている場合、プレヴューコ
  7.2601 -マンドの入力(@kbd{[prefix] tp]})、印刷コマンドの入力(@kbd{[prefix] tl})の
  7.2602 -時に独立したヒストリを利用できます。それぞれのプロンプトで、@kbd{M-p} を押
  7.2603 -すと直前に利用したコマンド文字列をくり返し呼び出すことができます。
  7.2604 +  @file{gmhist.el}$B$H(B@file{gmhist-mh.el} $B$r%m!<%I$7$F$$$k>l9g!"%W%l%t%e!<%3(B
  7.2605 +$B%^%s%I$NF~NO(B(@kbd{[prefix] tp]})$B!"0u:~%3%^%s%I$NF~NO(B(@kbd{[prefix] tl})$B$N(B
  7.2606 +$B;~$KFHN)$7$?%R%9%H%j$rMxMQ$G$-$^$9!#$=$l$>$l$N%W%m%s%W%H$G!"(B@kbd{M-p} $B$r2!(B
  7.2607 +$B$9$HD>A0$KMxMQ$7$?%3%^%s%IJ8;zNs$r$/$jJV$78F$S=P$9$3$H$,$G$-$^$9!#(B
  7.2608  
  7.2609  @section min-out
  7.2610  @cindex min-out
  7.2611  
  7.2612 -  @file{min-out.el} (@code{outline-minor-mode}) と野鳥を組み合わせて使うこ
  7.2613 -とももちろん可能です。設定の方法に関しては@file{yatexm-o.el}をご覧ください。
  7.2614 +  @file{min-out.el} (@code{outline-minor-mode}) $B$HLnD;$rAH$_9g$o$;$F;H$&$3(B
  7.2615 +$B$H$b$b$A$m$s2DG=$G$9!#@_Dj$NJ}K!$K4X$7$F$O(B@file{yatexm-o.el}$B$r$4Mw$/$@$5$$!#(B
  7.2616  
  7.2617  @node Customizations, Etc, Cooperation with other packages, Top
  7.2618  @comment  node-name,  next,  previous,  up
  7.2619 -@chapter カスタマイズ
  7.2620 -@cindex カスタマイズ[かすたまいす]
  7.2621 -@cindex キーアサイン[きいあさいん]
  7.2622 +@chapter $B%+%9%?%^%$%:(B
  7.2623 +@cindex $B%+%9%?%^%$%:(B[$B$+$9$?$^$$$9(B]
  7.2624 +@cindex $B%-!<%"%5%$%s(B[$B$-$$$"$5$$$s(B]
  7.2625  
  7.2626 -  野鳥の動作を制御する種々の変数を独自に設定することにより、補完入
  7.2627 -力を起動するキーアサインを変えたり、環境名の補完候補をさらに充実さ
  7.2628 -せることなどができます。
  7.2629 +  $BLnD;$NF0:n$r@)8f$9$k<o!9$NJQ?t$rFH<+$K@_Dj$9$k$3$H$K$h$j!"Jd40F~(B
  7.2630 +$BNO$r5/F0$9$k%-!<%"%5%$%s$rJQ$($?$j!"4D6-L>$NJd408uJd$r$5$i$K=<<B$5(B
  7.2631 +$B$;$k$3$H$J$I$,$G$-$^$9!#(B
  7.2632  
  7.2633  @menu
  7.2634 -* Lisp variables::              lisp 変数
  7.2635 -* Add-in functions::            付加関数(アドイン関数)
  7.2636 +* Lisp variables::              lisp $BJQ?t(B
  7.2637 +* Add-in functions::            $BIU2C4X?t(B($B%"%I%$%s4X?t(B)
  7.2638  @end menu
  7.2639  
  7.2640  @node Lisp variables, Add-in functions, Customizations, Customizations
  7.2641  @comment  node-name,  next,  previous,  up
  7.2642 -@section lisp 変数
  7.2643 -@cindex prefixキー変更[prefixきいへんこう]
  7.2644 +@section lisp $BJQ?t(B
  7.2645 +@cindex prefix$B%-!<JQ99(B[prefix$B$-$$$X$s$3$&(B]
  7.2646  
  7.2647 -  例えば prefix キーを @kbd{C-c} 以外のキーにしたい場合は、
  7.2648 -@code{YaTeX-prefix}に prefix キーにしたいシンボルを定義してください。さら
  7.2649 -に、「@kbd{C-c 英字}」というキーバインドは独自の関数が割り当ててあるので使
  7.2650 -いたくない。このような時は、@code{YaTeX-inhibit-prefix-letter} を @code{t} 
  7.2651 -に設定することにより、@kbd{C-c 英字…}のバインドが全て、対応する@kbd{C-c
  7.2652 -C-英字…}に変わります(ただし、begin型 large型補完の大文字起動によるリジョ
  7.2653 -ン指定は可能なままです。これも無効にしたい場合は@code{t}ではなく 1 にセッ
  7.2654 -トして下さい。)。
  7.2655 +  $BNc$($P(B prefix $B%-!<$r(B @kbd{C-c} $B0J30$N%-!<$K$7$?$$>l9g$O!"(B
  7.2656 +@code{YaTeX-prefix}$B$K(B prefix $B%-!<$K$7$?$$%7%s%\%k$rDj5A$7$F$/$@$5$$!#$5$i(B
  7.2657 +$B$K!"!V(B@kbd{C-c $B1Q;z(B}$B!W$H$$$&%-!<%P%$%s%I$OFH<+$N4X?t$,3d$jEv$F$F$"$k$N$G;H(B
  7.2658 +$B$$$?$/$J$$!#$3$N$h$&$J;~$O!"(B@code{YaTeX-inhibit-prefix-letter} $B$r(B @code{t} 
  7.2659 +$B$K@_Dj$9$k$3$H$K$h$j!"(B@kbd{C-c $B1Q;z!D(B}$B$N%P%$%s%I$,A4$F!"BP1~$9$k(B@kbd{C-c
  7.2660 +C-$B1Q;z!D(B}$B$KJQ$o$j$^$9(B($B$?$@$7!"(Bbegin$B7?(B large$B7?Jd40$NBgJ8;z5/F0$K$h$k%j%8%g(B
  7.2661 +$B%s;XDj$O2DG=$J$^$^$G$9!#$3$l$bL58z$K$7$?$$>l9g$O(B@code{t}$B$G$O$J$/(B 1 $B$K%;%C(B
  7.2662 +$B%H$7$F2<$5$$!#(B)$B!#(B
  7.2663  
  7.2664  @menu
  7.2665 -* All customizable variables::  カスタマイズ変数一覧
  7.2666 -* Sample definitions::          カスタマイズ変数設定例
  7.2667 -* Hook variables::              hook変数
  7.2668 -* Hook file::                   hook用ファイル
  7.2669 +* All customizable variables::  $B%+%9%?%^%$%:JQ?t0lMw(B
  7.2670 +* Sample definitions::          $B%+%9%?%^%$%:JQ?t@_DjNc(B
  7.2671 +* Hook variables::              hook$BJQ?t(B
  7.2672 +* Hook file::                   hook$BMQ%U%!%$%k(B
  7.2673  @end menu
  7.2674  
  7.2675  @node All customizable variables, Sample definitions, Lisp variables, Lisp variables
  7.2676  @comment  node-name,  next,  previous,  up
  7.2677 -@subsection カスタマイズ変数一覧
  7.2678 -@cindex カスタマイズ変数一覧[かすたまいすへんすういちらん]
  7.2679 +@subsection $B%+%9%?%^%$%:JQ?t0lMw(B
  7.2680 +@cindex $B%+%9%?%^%$%:JQ?t0lMw(B[$B$+$9$?$^$$$9$X$s$9$&$$$A$i$s(B]
  7.2681  
  7.2682 -  yatex-mode における次の変数がカスタマイズ可能です。@file{~/.emacs} で 
  7.2683 -@code{setq} しておけば、そちらの定義が優先されます。括弧の中はデフォルト値
  7.2684 -です。実際に変数の値を変更する場合は @kbd{M-x describe-variable} で
  7.2685 -変数の詳細な説明を参照してください。
  7.2686 +  yatex-mode $B$K$*$1$k<!$NJQ?t$,%+%9%?%^%$%:2DG=$G$9!#(B@file{~/.emacs} $B$G(B 
  7.2687 +@code{setq} $B$7$F$*$1$P!"$=$A$i$NDj5A$,M%@h$5$l$^$9!#3g8L$NCf$O%G%U%)%k%HCM(B
  7.2688 +$B$G$9!#<B:]$KJQ?t$NCM$rJQ99$9$k>l9g$O(B @kbd{M-x describe-variable} $B$G(B
  7.2689 +$BJQ?t$N>\:Y$J@bL@$r;2>H$7$F$/$@$5$$!#(B
  7.2690  
  7.2691  @defvar YaTeX-prefix
  7.2692 -yatex-mode 中のプリフィクスキー (@kbd{\C-c})
  7.2693 +yatex-mode $BCf$N%W%j%U%#%/%9%-!<(B (@kbd{\C-c})
  7.2694  @end defvar
  7.2695  
  7.2696  @defvar YaTeX-inhibit-prefix-letter
  7.2697 -prefix キーの直後のキーバインドで @kbd{英字} のものを @kbd{C-英字} に変更 
  7.2698 +prefix $B%-!<$ND>8e$N%-!<%P%$%s%I$G(B @kbd{$B1Q;z(B} $B$N$b$N$r(B @kbd{C-$B1Q;z(B} $B$KJQ99(B 
  7.2699  (@code{nil})
  7.2700  @end defvar
  7.2701  
  7.2702  @defvar YaTeX-fill-prefix
  7.2703 -本文を書く時の行頭に挿入する接頭辞すなわち fill-prefix (@code{""(nil)})
  7.2704 +$BK\J8$r=q$/;~$N9TF,$KA^F~$9$k@\F,<-$9$J$o$A(B fill-prefix (@code{""(nil)})
  7.2705  @end defvar
  7.2706  
  7.2707  @defvar YaTeX-user-completion-table
  7.2708 -学習したLa@TeX{}コマンド保存ファイル名 (@code{"~/.yatexrc"})
  7.2709 +$B3X=,$7$?(BLa@TeX{}$B%3%^%s%IJ]B8%U%!%$%kL>(B (@code{"~/.yatexrc"})
  7.2710  @end defvar
  7.2711  
  7.2712  @defvar YaTeX-kanji-code
  7.2713 -文書を作成する時の漢字コード 1=Shift JIS, 2=JIS, 3=EUC (2 (MS-DOSでは1))
  7.2714 +$BJ8=q$r:n@.$9$k;~$N4A;z%3!<%I(B 1=Shift JIS, 2=JIS, 3=EUC (2 (MS-DOS$B$G$O(B1))
  7.2715  @end defvar
  7.2716  
  7.2717  @defvar tex-command
  7.2718 -La@TeX{}タイプセッタコマンド名 (@code{"jlatex"})
  7.2719 +La@TeX{}$B%?%$%W%;%C%?%3%^%s%IL>(B (@code{"jlatex"})
  7.2720  @end defvar
  7.2721  
  7.2722  @defvar dvi2-command
  7.2723 -プレヴューアコマンド名 (@code{"xdvi -geo +0+0 -s 4"})
  7.2724 +$B%W%l%t%e!<%"%3%^%s%IL>(B (@code{"xdvi -geo +0+0 -s 4"})
  7.2725  @end defvar
  7.2726  
  7.2727  @defvar dviprint-command-format
  7.2728 -dviファイルの印刷に使われるコマンド式 (@code{"dvi2ps %f %t %s | lpr"})
  7.2729 +dvi$B%U%!%$%k$N0u:~$K;H$o$l$k%3%^%s%I<0(B (@code{"dvi2ps %f %t %s | lpr"})
  7.2730  @end defvar
  7.2731  
  7.2732  @defvar dviprint-from-format
  7.2733 -上の@code{%f}に相当する開始ページ指定書式、@code{%b} が開始ページ番号に変
  7.2734 -わる (@code{"-f %b"})
  7.2735 +$B>e$N(B@code{%f}$B$KAjEv$9$k3+;O%Z!<%8;XDj=q<0!"(B@code{%b} $B$,3+;O%Z!<%8HV9f$KJQ(B
  7.2736 +$B$o$k(B (@code{"-f %b"})
  7.2737  @end defvar
  7.2738  
  7.2739  @defvar dviprint-to-format
  7.2740 -@code{%t} に相当する終了ページ指定書式、@code{%e}が終了ページ番号に変わる 
  7.2741 +@code{%t} $B$KAjEv$9$k=*N;%Z!<%8;XDj=q<0!"(B@code{%e}$B$,=*N;%Z!<%8HV9f$KJQ$o$k(B 
  7.2742  (@code{"-t %e"})
  7.2743  @end defvar
  7.2744  
  7.2745  @defvar makeindex-command
  7.2746 -makeindexコマンド (@code{"makeindex"} (MS-DOSでは@code{"makeind"}))
  7.2747 -@end defvar
  7.2748 -
  7.2749 -@defvar section-name
  7.2750 -最初のsection型補完の規定値 (@code{"documentstyle"})
  7.2751 -@end defvar
  7.2752 -
  7.2753 -@defvar env-name
  7.2754 -最初のbegin型補完の規定値 (@code{"document"})
  7.2755 -@end defvar
  7.2756 -
  7.2757 -@defvar fontsize-name
  7.2758 -最初のlarge型補完の規定値 (@code{"large"})
  7.2759 -@end defvar
  7.2760 -
  7.2761 -@defvar single-command
  7.2762 -最初のmaketitle型補完の規定値 (@code{"maketitle"})
  7.2763 +makeindex$B%3%^%s%I(B (@code{"makeindex"} (MS-DOS$B$G$O(B@code{"makeind"}))
  7.2764  @end defvar
  7.2765  
  7.2766  @defvar YaTeX-need-nonstop
  7.2767 -@code{\nonstopmode@{@}}を自動的に付加するか (@code{nil})
  7.2768 +@code{\nonstopmode@{@}}$B$r<+F0E*$KIU2C$9$k$+(B (@code{nil})
  7.2769  @end defvar
  7.2770  
  7.2771  @defvar latex-warning-regexp
  7.2772 -latexコマンドの出力するウォーニング行の正規表現 (@code{"line.* [0-9]*"})
  7.2773 +latex$B%3%^%s%I$N=PNO$9$k%&%)!<%K%s%09T$N@55,I=8=(B (@code{"line.* [0-9]*"})
  7.2774  @end defvar
  7.2775  
  7.2776  @defvar latex-error-regexp
  7.2777 -同じくエラー行の正規表現 (@code{"l\\.[1-9][0-9]*"})
  7.2778 +$BF1$8$/%(%i!<9T$N@55,I=8=(B (@code{"l\\.[1-9][0-9]*"})
  7.2779  @end defvar
  7.2780  
  7.2781  @defvar latex-dos-emergency-message
  7.2782 -MS-DOS上で動作する latex コマンドが、エラーにより停止するとき出力するメッ
  7.2783 -セージ (@code{"Emergency stop"})
  7.2784 +MS-DOS$B>e$GF0:n$9$k(B latex $B%3%^%s%I$,!"%(%i!<$K$h$jDd;_$9$k$H$-=PNO$9$k%a%C(B
  7.2785 +$B%;!<%8(B (@code{"Emergency stop"})
  7.2786  @end defvar
  7.2787  
  7.2788  @defvar latex-message-kanji-code
  7.2789 -jlatex コマンドの出力するメッセージの漢字コード.タイプセットバッファ
  7.2790 -の出力が化ける時は、これを設定する (2, Nemacsでのみ有効)
  7.2791 +jlatex $B%3%^%s%I$N=PNO$9$k%a%C%;!<%8$N4A;z%3!<%I(B.$B%?%$%W%;%C%H%P%C%U%!(B
  7.2792 +$B$N=PNO$,2=$1$k;~$O!"$3$l$r@_Dj$9$k(B (2, Nemacs$B$G$N$_M-8z(B)
  7.2793  @end defvar
  7.2794  
  7.2795  @defvar NTT-jTeX
  7.2796 -古いNTT-j@TeX{}使用時のようにインデントした行の先頭と前の行の
  7.2797 -(タイプセット後の)字間が空いてしまうのを嫌う場合は@code{t}にする
  7.2798 +$B8E$$(BNTT-j@TeX{}$B;HMQ;~$N$h$&$K%$%s%G%s%H$7$?9T$N@hF,$HA0$N9T$N(B
  7.2799 +($B%?%$%W%;%C%H8e$N(B)$B;z4V$,6u$$$F$7$^$&$N$r7y$&>l9g$O(B@code{t}$B$K$9$k(B
  7.2800  (@code{nil})
  7.2801  @end defvar
  7.2802  
  7.2803  @defvar YaTeX-item-regexp
  7.2804 -itemの桁揃えの時に用いる、itemの正規表現 (@code{"\\\\(sub\\)*item"})
  7.2805 +item$B$N7eB7$($N;~$KMQ$$$k!"(Bitem$B$N@55,I=8=(B (@code{"\\\\(sub\\)*item"})
  7.2806  @end defvar
  7.2807  
  7.2808  @defvar YaTeX-verb-regexp
  7.2809 -verbコマンドの正規表現。先頭の\\\\はつけない (@code{"verb\\*?\\|path"})
  7.2810 +verb$B%3%^%s%I$N@55,I=8=!#@hF,$N(B\\\\$B$O$D$1$J$$(B (@code{"verb\\*?\\|path"})
  7.2811  @end defvar
  7.2812  
  7.2813  @defvar YaTeX-nervous
  7.2814 -ローカル辞書を用いる時 @code{t} (@code{t})
  7.2815 +$B%m!<%+%k<-=q$rMQ$$$k;~(B @code{t} (@code{t})
  7.2816  @end defvar
  7.2817  
  7.2818  @defvar YaTeX-sectioning-regexp
  7.2819 -セクション区切り設定コマンドの正規表現 
  7.2820 +$B%;%/%7%g%s6h@Z$j@_Dj%3%^%s%I$N@55,I=8=(B 
  7.2821  (@code{"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"})
  7.2822  @end defvar
  7.2823  
  7.2824  @defvar YaTeX-fill-inhibit-environments
  7.2825 -fill を抑止する環境名のリスト 
  7.2826 +fill $B$rM^;_$9$k4D6-L>$N%j%9%H(B 
  7.2827  (@code{'("tabular" "tabular*" "array" "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" "verbatim" "verbatim*")})
  7.2828  @end defvar
  7.2829  
  7.2830  @defvar YaTeX-uncomment-once
  7.2831 -領域uncommentで行頭の複数の@code{%}を全て削除するか (@code{nil})
  7.2832 +$BNN0h(Buncomment$B$G9TF,$NJ#?t$N(B@code{%}$B$rA4$F:o=|$9$k$+(B (@code{nil})
  7.2833  @end defvar
  7.2834  
  7.2835  @defvar YaTeX-close-paren-always
  7.2836 -開き括弧の入力で常に閉じ括弧を入力する (@code{t})
  7.2837 +$B3+$-3g8L$NF~NO$G>o$KJD$83g8L$rF~NO$9$k(B (@code{t})
  7.2838  @end defvar
  7.2839  
  7.2840  @defvar YaTeX-auto-math-mode
  7.2841 -数式モードの切り替えを自動的に行う (@code{t})
  7.2842 +$B?t<0%b!<%I$N@Z$jBX$($r<+F0E*$K9T$&(B (@code{t})
  7.2843  @end defvar
  7.2844  
  7.2845  @defvar YaTeX-math-key-list-private
  7.2846 -数式イメージ補完で用いる (プリフィクスキー . 対応補完テーブル) の
  7.2847 -alist (@code{nil})。補完テーブルの書き方については@file{yatexmth.el}を参照。
  7.2848 +$B?t<0%$%a!<%8Jd40$GMQ$$$k(B ($B%W%j%U%#%/%9%-!<(B . $BBP1~Jd40%F!<%V%k(B) $B$N(B
  7.2849 +alist (@code{nil})$B!#Jd40%F!<%V%k$N=q$-J}$K$D$$$F$O(B@file{yatexmth.el}$B$r;2>H!#(B
  7.2850  @end defvar
  7.2851  
  7.2852  @defvar YaTeX-default-pop-window-height
  7.2853 -1画面の時にタイプセットバッファを初めて作成する時の高さ。数値で行数、数字
  7.2854 -文字列でEmacsウィンドウに対する百分率 (10)
  7.2855 +1$B2hLL$N;~$K%?%$%W%;%C%H%P%C%U%!$r=i$a$F:n@.$9$k;~$N9b$5!#?tCM$G9T?t!"?t;z(B
  7.2856 +$BJ8;zNs$G(BEmacs$B%&%#%s%I%&$KBP$9$kI4J,N((B (10)
  7.2857  @end defvar
  7.2858  
  7.2859  @defvar YaTeX-help-file
  7.2860 -共用ヘルプファイル (@file{$EMACS/etc/YATEXHLP.jp})
  7.2861 +$B6&MQ%X%k%W%U%!%$%k(B (@file{$EMACS/etc/YATEXHLP.jp})
  7.2862  @end defvar
  7.2863  
  7.2864  @defvar YaTeX-help-file-private
  7.2865 -個人用ヘルプファイル (@file{"~/YATEXHLP.jp"})
  7.2866 +$B8D?MMQ%X%k%W%U%!%$%k(B (@file{"~/YATEXHLP.jp"})
  7.2867  @end defvar
  7.2868  
  7.2869  @defvar YaTeX-no-begend-shortcut
  7.2870 -@kbd{[prefix] b ??} のショートカットを使わず、@kbd{[prefix] b} だけで補完
  7.2871 -入力に入る (@code{nil})
  7.2872 +@kbd{[prefix] b ??} $B$N%7%g!<%H%+%C%H$r;H$o$:!"(B@kbd{[prefix] b} $B$@$1$GJd40(B
  7.2873 +$BF~NO$KF~$k(B (@code{nil})
  7.2874  @end defvar
  7.2875  
  7.2876  @defvar YaTeX-hilit-pattern-adjustment-private
  7.2877 -正規表現とそれにマッチするものの論理的意味をシンボルであらわしたものの
  7.2878 -リスト…のリスト。hilit19 を組み込んでいる時のみ有効。
  7.2879 -詳しくは @code{(assq 'yatex-mode hilit-patterns-alist)} 
  7.2880 -した結果と、変数 @code{YaTeX-hilit-pattern-adjustment-default} の値(と場合
  7.2881 -によっては hilit19 のドキュメント)を参照せよ。
  7.2882 +$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$N(B
  7.2883 +$B%j%9%H!D$N%j%9%H!#(Bhilit19 $B$rAH$_9~$s$G$$$k;~$N$_M-8z!#(B
  7.2884 +$B>\$7$/$O(B @code{(assq 'yatex-mode hilit-patterns-alist)} 
  7.2885 +$B$7$?7k2L$H!"JQ?t(B @code{YaTeX-hilit-pattern-adjustment-default} $B$NCM(B($B$H>l9g(B
  7.2886 +$B$K$h$C$F$O(B hilit19 $B$N%I%-%e%a%s%H(B)$B$r;2>H$;$h!#(B
  7.2887  @end defvar
  7.2888  
  7.2889  @defvar YaTeX-sectioning-level
  7.2890 -LaTeXのセクション単位宣言コマンドとその論理的高さのalist。
  7.2891 +LaTeX$B$N%;%/%7%g%sC10L@k8@%3%^%s%I$H$=$NO@M}E*9b$5$N(Balist$B!#(B
  7.2892  @end defvar
  7.2893  
  7.2894  @defvar YaTeX-hierarchy-ignore-heading-regexp
  7.2895 -Hierarchy バッファは通常ファイルヘッダとして、LaTeXのセクション宣言コマン
  7.2896 -ドの引数を検索し、それがなければコメント行を探すが、その際にヘッダとしては
  7.2897 -意味を持たないパターンをこの変数に設定する。デフォルトでは RCS ヘッダとモー
  7.2898 -ド指定行(-*- xxx -*-)が設定されている。
  7.2899 +Hierarchy $B%P%C%U%!$ODL>o%U%!%$%k%X%C%@$H$7$F!"(BLaTeX$B$N%;%/%7%g%s@k8@%3%^%s(B
  7.2900 +$B%I$N0z?t$r8!:w$7!"$=$l$,$J$1$l$P%3%a%s%H9T$rC5$9$,!"$=$N:]$K%X%C%@$H$7$F$O(B
  7.2901 +$B0UL#$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!<(B
  7.2902 +$B%I;XDj9T(B(-*- xxx -*-)$B$,@_Dj$5$l$F$$$k!#(B
  7.2903  @end defvar
  7.2904  
  7.2905  @defvar YaTeX-skip-default-reader
  7.2906 -Non-nil に設定するとsection型コマンドの引数入力時、アドイン関数がなければ
  7.2907 -ミニバッファでの読み込みをせずに入力を完了させる (@code{nil})
  7.2908 +Non-nil $B$K@_Dj$9$k$H(Bsection$B7?%3%^%s%I$N0z?tF~NO;~!"%"%I%$%s4X?t$,$J$1$l$P(B
  7.2909 +$B%_%K%P%C%U%!$G$NFI$_9~$_$r$;$:$KF~NO$r40N;$5$;$k(B (@code{nil})
  7.2910  @end defvar
  7.2911  
  7.2912  @defvar YaTeX-create-file-prefix-g
  7.2913 -@code{\include}などで @kbd{prefix g}した時に、ジャンプ先が存在しないファイ
  7.2914 -ルであってもオープンする (@code{nil})
  7.2915 +@code{\include}$B$J$I$G(B @kbd{prefix g}$B$7$?;~$K!"%8%c%s%W@h$,B8:_$7$J$$%U%!%$(B
  7.2916 +$B%k$G$"$C$F$b%*!<%W%s$9$k(B (@code{nil})
  7.2917  @end defvar
  7.2918  
  7.2919  @defvar YaTeX-simple-messages
  7.2920 -各種補完時のメッセージ出力を簡素化する (@code{nil})
  7.2921 +$B3F<oJd40;~$N%a%C%;!<%8=PNO$r4JAG2=$9$k(B (@code{nil})
  7.2922  @end defvar
  7.2923  
  7.2924  @defvar YaTeX-hilit-sectioning-face
  7.2925 -色付けが有効な時の @code{\part} の色 
  7.2926 -(@code{'(yellow/dodgerblue yellow/slateblue)})。
  7.2927 -リストの第一要素は @code{hilit-background-mode} が @code{'light} の時の、
  7.2928 -第二要素は @code{'dark} の時の @code{\chapter} の色で、文字色/背景色 のよ
  7.2929 -うに指定する。
  7.2930 +$B?'IU$1$,M-8z$J;~$N(B @code{\part} $B$N?'(B 
  7.2931 +(@code{'(yellow/dodgerblue yellow/slateblue)})$B!#(B
  7.2932 +$B%j%9%H$NBh0lMWAG$O(B @code{hilit-background-mode} $B$,(B @code{'light} $B$N;~$N!"(B
  7.2933 +$BBhFsMWAG$O(B @code{'dark} $B$N;~$N(B @code{\chapter} $B$N?'$G!"J8;z?'(B/$BGX7J?'(B $B$N$h(B
  7.2934 +$B$&$K;XDj$9$k!#(B
  7.2935  @end defvar
  7.2936  
  7.2937  @defvar YaTeX-hilit-sectioning-attenuation-rate
  7.2938 -色付けが有効な時の、@code{\subparagraph} の色を @code{\chapter} の濃度の何
  7.2939 -%薄くしたものにするか (@code{'(15 40)}) @code{YaTeX-hilit-sectioning-face}
  7.2940 -の項参照。
  7.2941 +$B?'IU$1$,M-8z$J;~$N!"(B@code{\subparagraph} $B$N?'$r(B @code{\chapter} $B$NG;EY$N2?(B
  7.2942 +%$BGv$/$7$?$b$N$K$9$k$+(B (@code{'(15 40)}) @code{YaTeX-hilit-sectioning-face}
  7.2943 +$B$N9`;2>H!#(B
  7.2944  @end defvar
  7.2945  
  7.2946  @defvar YaTeX-use-AMS-LaTeX
  7.2947 -AMS-LaTeX を使用する場合は @code{t} に設定する (@code{nil})
  7.2948 +AMS-LaTeX $B$r;HMQ$9$k>l9g$O(B @code{t} $B$K@_Dj$9$k(B (@code{nil})
  7.2949  @end defvar
  7.2950  
  7.2951  @defvar YaTeX-use-LaTeX2e
  7.2952 -LaTeX2e を使用する場合は @code{t} に設定する (@code{nil})
  7.2953 +LaTeX2e $B$r;HMQ$9$k>l9g$O(B @code{t} $B$K@_Dj$9$k(B (@code{nil})
  7.2954  @end defvar
  7.2955  
  7.2956  @defvar YaTeX-template-file
  7.2957 -新規ファイル作成時に自動挿入するファイル名 (@code{~/work/template.tex})
  7.2958 +$B?75,%U%!%$%k:n@.;~$K<+F0A^F~$9$k%U%!%$%kL>(B (@code{~/work/template.tex})
  7.2959 +@end defvar
  7.2960 +
  7.2961 +@defvar YaTeX-search-file-from-top-directory
  7.2962 +input$B$9$k%U%!%$%k$rC5$9$H$-$N4p=`%G%#%l%/%H%j$r(Bmain$B%U%!%$%k$N$"$k%G%#%l%/%H(B
  7.2963 +$B%j$K$9$k$+(B (@code{t})
  7.2964 +@end defvar
  7.2965 +@defvar YaTeX-use-font-lock
  7.2966 +$B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B font-lock $B$rMxMQ$9$k$+$I$&$+(B
  7.2967 +(@code{(featurep 'font-lock)}
  7.2968 +@end defvar
  7.2969 +
  7.2970 +@defvar YaTeX-use-hilit19
  7.2971 +$B%=!<%9$N?'$E$1%Q%C%1!<%8$H$7$F(B hilit19 $B$rMxMQ$9$k$+$I$&$+(B
  7.2972 +(@code{(featurep 'hilit19)}
  7.2973 +@end defvar
  7.2974 +
  7.2975 +@defvar YaTeX-use-italic-bold
  7.2976 +italic, bold$B%U%)%s%H$rLnD;$,C5$9$+$I$&$+(B (Emacs20$B0J9_$J$i(B@code{t})
  7.2977 +font-lock$BMxMQ;~$N$_M-8z!#(B
  7.2978 +(@code{(featurep 'hilit19)}
  7.2979  @end defvar
  7.2980  
  7.2981  @node Sample definitions, Hook variables, All customizable variables, Lisp variables
  7.2982  @comment  node-name,  next,  previous,  up
  7.2983 -@subsection カスタマイズ変数設定例
  7.2984 -@cindex 設定例[せつていれい]
  7.2985 +@subsection $B%+%9%?%^%$%:JQ?t@_DjNc(B
  7.2986 +@cindex $B@_DjNc(B[$B$;$D$F$$$l$$(B]
  7.2987  
  7.2988 -  たとえば、prefix キーとして@kbd{ESC}を使用し、新たな補完候補を格納するファ
  7.2989 -イルを、@file{~/src/emacs/yatexrc} にし、行頭の prefix をタブ文字一つに変
  7.2990 -えたいときは、
  7.2991 +  $B$?$H$($P!"(Bprefix $B%-!<$H$7$F(B@kbd{ESC}$B$r;HMQ$7!"?7$?$JJd408uJd$r3JG<$9$k%U%!(B
  7.2992 +$B%$%k$r!"(B@file{~/src/emacs/yatexrc} $B$K$7!"9TF,$N(B prefix $B$r%?%VJ8;z0l$D$KJQ(B
  7.2993 +$B$($?$$$H$-$O!"(B
  7.2994  
  7.2995  @lisp
  7.2996          (setq YaTeX-prefix "\e"
  7.2997 @@ -2043,22 +2049,22 @@
  7.2998  @end lisp
  7.2999  
  7.3000  @noindent 
  7.3001 -を @file{~/.emacs} に加えます。
  7.3002 +$B$r(B @file{~/.emacs} $B$K2C$($^$9!#(B
  7.3003  
  7.3004  @node Hook variables, Hook file, Sample definitions, Lisp variables
  7.3005  @comment  node-name,  next,  previous,  up
  7.3006 -@subsection hook変数
  7.3007 -@cindex hook変数[hookへんすう]
  7.3008 +@subsection hook$BJQ?t(B
  7.3009 +@cindex hook$BJQ?t(B[hook$B$X$s$9$&(B]
  7.3010  @cindex yatex-mode-hook
  7.3011  @cindex yatex-mode-load-hook
  7.3012  
  7.3013 -  また、hook 変数 @code{yatex-mode-hook}, @code{yatex-mode-load-hook} を用
  7.3014 -意しています。すべての yatex-mode のバッファで作用させたいものは、
  7.3015 -@code{yatex-mode-hook} に記述し、@file{yatex.el} をロードする時だけ作用さ
  7.3016 -せたいものは@code{yatex-mode-load-hook} に記述します。例えば、
  7.3017 -@code{outline-minor-mode} を利用する場合、それぞれのバッファで 
  7.3018 -@code{outline-minor-mode} を有効にしたいので、@code{yatex-mode-hook} を次
  7.3019 -のように設定します。
  7.3020 +  $B$^$?!"(Bhook $BJQ?t(B @code{yatex-mode-hook}, @code{yatex-mode-load-hook} $B$rMQ(B
  7.3021 +$B0U$7$F$$$^$9!#$9$Y$F$N(B yatex-mode $B$N%P%C%U%!$G:nMQ$5$;$?$$$b$N$O!"(B
  7.3022 +@code{yatex-mode-hook} $B$K5-=R$7!"(B@file{yatex.el} $B$r%m!<%I$9$k;~$@$1:nMQ$5(B
  7.3023 +$B$;$?$$$b$N$O(B@code{yatex-mode-load-hook} $B$K5-=R$7$^$9!#Nc$($P!"(B
  7.3024 +@code{outline-minor-mode} $B$rMxMQ$9$k>l9g!"$=$l$>$l$N%P%C%U%!$G(B 
  7.3025 +@code{outline-minor-mode} $B$rM-8z$K$7$?$$$N$G!"(B@code{yatex-mode-hook} $B$r<!(B
  7.3026 +$B$N$h$&$K@_Dj$7$^$9!#(B
  7.3027  
  7.3028  @lisp
  7.3029          (setq yatex-mode-hook
  7.3030 @@ -2066,78 +2072,78 @@
  7.3031  @end lisp
  7.3032  
  7.3033  @noindent 
  7.3034 -逆に、独自のキー定義を行いたい時などは、@code{yatex-mode-load-hook} を利用
  7.3035 -します。例えば、begin 型補完において、 document や、enumerate 以外の環境名
  7.3036 -もショートカットキーで入れたいなどという時は、次のようにします。以下の例は、
  7.3037 -@kbd{[prefix] ba} で @code{\begin@{abstract@}}, @code{\end@{abstract@}} を
  7.3038 -挿入します。
  7.3039 +$B5U$K!"FH<+$N%-!<Dj5A$r9T$$$?$$;~$J$I$O!"(B@code{yatex-mode-load-hook} $B$rMxMQ(B
  7.3040 +$B$7$^$9!#Nc$($P!"(Bbegin $B7?Jd40$K$*$$$F!"(B document $B$d!"(Benumerate $B0J30$N4D6-L>(B
  7.3041 +$B$b%7%g!<%H%+%C%H%-!<$GF~$l$?$$$J$I$H$$$&;~$O!"<!$N$h$&$K$7$^$9!#0J2<$NNc$O!"(B
  7.3042 +@kbd{[prefix] ba} $B$G(B @code{\begin@{abstract@}}, @code{\end@{abstract@}} $B$r(B
  7.3043 +$BA^F~$7$^$9!#(B
  7.3044  
  7.3045  @lisp
  7.3046          (setq yatex-mode-load-hook
  7.3047                '(lambda() (YaTeX-define-begend-key "ba" "abstract")))
  7.3048  @end lisp
  7.3049  
  7.3050 -なお、新たなキーの定義には、関数 @code{YaTeX-define-key}
  7.3051 -@code{YaTeX-define-begend-key}を利用するようにしてください。
  7.3052 +$B$J$*!"?7$?$J%-!<$NDj5A$K$O!"4X?t(B @code{YaTeX-define-key}
  7.3053 +@code{YaTeX-define-begend-key}$B$rMxMQ$9$k$h$&$K$7$F$/$@$5$$!#(B
  7.3054  
  7.3055  @node Hook file,  , Hook variables, Lisp variables
  7.3056  @comment  node-name,  next,  previous,  up
  7.3057 -@subsection hook用ファイル
  7.3058 +@subsection hook$BMQ%U%!%$%k(B
  7.3059  
  7.3060 -  変数 @code{yatex-mode-load-hook} で定義する内容が多い時は、
  7.3061 -@file{yatexhks.el}というファイルを作り、その中に野鳥関連の設定を書く事で、
  7.3062 -初期化の時に自動的にロードします。
  7.3063 +  $BJQ?t(B @code{yatex-mode-load-hook} $B$GDj5A$9$kFbMF$,B?$$;~$O!"(B
  7.3064 +@file{yatexhks.el}$B$H$$$&%U%!%$%k$r:n$j!"$=$NCf$KLnD;4XO"$N@_Dj$r=q$/;v$G!"(B
  7.3065 +$B=i4|2=$N;~$K<+F0E*$K%m!<%I$7$^$9!#(B
  7.3066  
  7.3067  
  7.3068  @node Add-in functions,  , Lisp variables, Customizations
  7.3069  @comment  node-name,  next,  previous,  up
  7.3070 -@section 付加関数(アドイン関数)
  7.3071 +@section $BIU2C4X?t(B($B%"%I%$%s4X?t(B)
  7.3072  
  7.3073 -  各種補完時に、環境名やコマンド名に応じたきめ細やかな補完入力機能を実現す
  7.3074 -るための関数を作成することができます。この関数の作成方法や、組み込み方法に
  7.3075 -関しては、@code{yatexadd.doc} をご覧ください。
  7.3076 +  $B3F<oJd40;~$K!"4D6-L>$d%3%^%s%IL>$K1~$8$?$-$a:Y$d$+$JJd40F~NO5!G=$r<B8=$9(B
  7.3077 +$B$k$?$a$N4X?t$r:n@.$9$k$3$H$,$G$-$^$9!#$3$N4X?t$N:n@.J}K!$d!"AH$_9~$_J}K!$K(B
  7.3078 +$B4X$7$F$O!"(B@code{yatexadd.doc} $B$r$4Mw$/$@$5$$!#(B
  7.3079  
  7.3080  @node Etc, Copying, Customizations, Top
  7.3081  @comment  node-name,  next,  previous,  up
  7.3082 -@chapter その他
  7.3083 +@chapter $B$=$NB>(B
  7.3084  
  7.3085 -  野鳥の標準の La@TeX{} コマンドの辞書には、作者が頻繁に使うものしか登録さ
  7.3086 -れていません。これは、補完候補に使いそうもないコマンドが存在して、補完した
  7.3087 -いコマンドを出すまでのストローク数を増やしてしまう事を防止するためです。標
  7.3088 -準辞書にないコマンドも、できるだけ補完入力方式を利用し、ユーザ辞書を充実さ
  7.3089 -せることで、あなたの La@TeX{} スタイルにあった野鳥へと育っていくことでしょ
  7.3090 -う。
  7.3091 +  $BLnD;$NI8=`$N(B La@TeX{} $B%3%^%s%I$N<-=q$K$O!":n<T$,IQHK$K;H$&$b$N$7$+EPO?$5(B
  7.3092 +$B$l$F$$$^$;$s!#$3$l$O!"Jd408uJd$K;H$$$=$&$b$J$$%3%^%s%I$,B8:_$7$F!"Jd40$7$?(B
  7.3093 +$B$$%3%^%s%I$r=P$9$^$G$N%9%H%m!<%/?t$rA}$d$7$F$7$^$&;v$rKI;_$9$k$?$a$G$9!#I8(B
  7.3094 +$B=`<-=q$K$J$$%3%^%s%I$b!"$G$-$k$@$1Jd40F~NOJ}<0$rMxMQ$7!"%f!<%6<-=q$r=<<B$5(B
  7.3095 +$B$;$k$3$H$G!"$"$J$?$N(B La@TeX{} $B%9%?%$%k$K$"$C$?LnD;$X$H0i$C$F$$$/$3$H$G$7$g(B
  7.3096 +$B$&!#(B
  7.3097  
  7.3098  @node Copying, Concept Index, Etc, Top
  7.3099  @comment  node-name,  next,  previous,  up
  7.3100 -@chapter 取り扱い
  7.3101 +@chapter $B<h$j07$$(B
  7.3102  
  7.3103 -  本プログラムはフリーソフトウェアです。本プログラムを使用して生じたいかな
  7.3104 -る結果に対しても作者は責任を負わないこととします。転載等に関しては制限いた
  7.3105 -しません。常識的に扱ってください。また、使用している旨をメイルでお知らせい
  7.3106 -ただくと、作者は喜んでサポートに励むことでしょう。
  7.3107 +  $BK\%W%m%0%i%`$O%U%j!<%=%U%H%&%'%"$G$9!#K\%W%m%0%i%`$r;HMQ$7$F@8$8$?$$$+$J(B
  7.3108 +$B$k7k2L$KBP$7$F$b:n<T$O@UG$$rIi$o$J$$$3$H$H$7$^$9!#E>:\Ey$K4X$7$F$O@)8B$$$?(B
  7.3109 +$B$7$^$;$s!#>o<1E*$K07$C$F$/$@$5$$!#$^$?!";HMQ$7$F$$$k;]$r%a%$%k$G$*CN$i$;$$(B
  7.3110 +$B$?$@$/$H!":n<T$O4n$s$G%5%]!<%H$KNe$`$3$H$G$7$g$&!#(B
  7.3111  
  7.3112 -  苦情、希望、バグ報告、感想等は歓迎いたします。
  7.3113 -連絡は yuuji@@yatex.org まで(1999年8月現在)。
  7.3114 -継続的に使用してくださる方はメイリングリスト「fj野鳥の会」に
  7.3115 -是非加入してください。加入方法については本パッケージの @file{docs/qanda}
  7.3116 -ファイルの「その他」の章を御覧ください。
  7.3117 +  $B6l>p!"4uK>!"%P%0Js9p!"46A[Ey$O4?7^$$$?$7$^$9!#(B
  7.3118 +$BO"Mm$O(B yuuji@@yatex.org $B$^$G(B(2000$BG/(B12$B7n8=:_(B)$B!#(B
  7.3119 +$B7QB3E*$K;HMQ$7$F$/$@$5$kJ}$O%a%$%j%s%0%j%9%H!V(Bfj$BLnD;$N2q!W$K(B
  7.3120 +$B@'Hs2CF~$7$F$/$@$5$$!#2CF~J}K!$K$D$$$F$OK\%Q%C%1!<%8$N(B @file{docs/qanda}
  7.3121 +$B%U%!%$%k$N!V$=$NB>!W$N>O$r8fMw$/$@$5$$!#(B
  7.3122  
  7.3123 -仕様は、予告なく確実に(気分次第で)変更されます:-p。
  7.3124 +$B;EMM$O!"M=9p$J$/3N<B$K(B($B5$J,<!Bh$G(B)$BJQ99$5$l$^$9(B:-p$B!#(B
  7.3125  
  7.3126  @flushright
  7.3127 -広瀬雄二
  7.3128 +$B9-@%M:Fs(B
  7.3129  @end flushright
  7.3130  
  7.3131  @node    Concept Index,  , Copying, Top
  7.3132  @comment node-name, next, previous, up
  7.3133 -@unnumbered 索引
  7.3134 +@unnumbered $B:w0z(B
  7.3135  @printindex cp
  7.3136  
  7.3137 -@c カスタマイズ変数索引を索引と分離する場合にはコメントアウトを外す!!!
  7.3138 +@c $B%+%9%?%^%$%:JQ?t:w0z$r:w0z$HJ,N%$9$k>l9g$K$O%3%a%s%H%"%&%H$r30$9(B!!!
  7.3139  @c @node    Variable Index
  7.3140  @c @comment node-name, next, previous, up
  7.3141 -@c @unnumbered カスタマイズ変数索引
  7.3142 +@c @unnumbered $B%+%9%?%^%$%:JQ?t:w0z(B
  7.3143  @c @printindex vr
  7.3144  
  7.3145  @contents
     8.1 --- a/yahtml.el	Thu Nov 16 05:46:53 2000 +0000
     8.2 +++ b/yahtml.el	Mon Dec 25 10:19:28 2000 +0000
     8.3 @@ -1,8 +1,11 @@
     8.4  ;;; -*- Emacs-Lisp -*-
     8.5  ;;; (c ) 1994-2000 by HIROSE Yuuji [yuuji@yatex.org]
     8.6 -;;; Last modified Wed Mar  1 23:28:22 2000 on firestorm
     8.7 +;;; Last modified Mon Dec 25 18:56:49 2000 on firestorm
     8.8  ;;; $Id$
     8.9  
    8.10 +(defconst yahtml-revision-number "1.69"
    8.11 +  "Revision number of running yahtml.el")
    8.12 +
    8.13  ;;;[Installation]
    8.14  ;;; 
    8.15  ;;; First, you have to install YaTeX and make sure it works fine.  Then
    8.16 @@ -135,6 +138,8 @@
    8.17  ;;;  * [prefix] :	指定したリジョン中で上と逆の変換をします。
    8.18  ;;;  * [prefix] #	指定したリジョン中で%エンコードの必要な文字が
    8.19  ;;;			あればそれらをエンコードします。
    8.20 +;;;  * [prefix] ESC	yahtml-mode を抜け yahtml-mode に入る前に動作し
    8.21 +;;;			ていたメジャーモードに戻ります。
    8.22  ;;; 
    8.23  ;;; [謝辞]
    8.24  ;;; 
    8.25 @@ -221,8 +226,25 @@
    8.26  %x: width, %y: height, %s: size in bytes, %c: first comment string,
    8.27  %f: filename")
    8.28  
    8.29 -(defvar yahtml-use-hilit19 (featurep 'hilit19)
    8.30 -  "*Use hilit19 to fontify buffer or not")
    8.31 +(defvar yahtml-faithful-to-htmllint nil)
    8.32 +(defvar yahtml-error-line-regexp
    8.33 +  "^\\(.*\\)(\\([0-9]+\\)):\\|^line \\([0-9]+\\)"
    8.34 +  "*Regexp of error position which is produced by lint program.")
    8.35 +
    8.36 +(defvar yahtml-translate-hyphens-when-comment-region t
    8.37 +  "*Non-nil for translate hyphens to &#45; when comment-region")
    8.38 +(defvar yahtml-escape-chars 'ask
    8.39 +  "*Escape reserved characters to URL-encoding or not.
    8.40 +Nil for never, t for everytime, and 'ask for inquiring
    8.41 +at each reserved chars.")
    8.42 +
    8.43 +(defvar yahtml-use-font-lock (and (featurep 'font-lock)
    8.44 +				  (fboundp 'font-lock-fontify-region))
    8.45 +  "*Non-nil means to use font-lock to fontify buffer.")
    8.46 +
    8.47 +(defvar yahtml-use-hilit19 (and (featurep 'hilit19)
    8.48 +				(not yahtml-use-font-lock))
    8.49 +  "*Non-nil means to Use hilit19 to highlight buffer")
    8.50  
    8.51  ;;; --- customizable variable ends here ---
    8.52  (defvar yahtml-prefix-map nil)
    8.53 @@ -231,7 +253,7 @@
    8.54  (defvar yahtml-shell-command-option
    8.55    (or (and (boundp 'shell-command-option) shell-command-option)
    8.56        (if (eq system-type 'ms-dos) "/c" "-c")))
    8.57 -
    8.58 +(defvar yahtml-use-highlighting (or yahtml-use-font-lock yahtml-use-hilit19))
    8.59  
    8.60  (defun yahtml-define-begend-key-normal (key env &optional map)
    8.61    "Define short cut yahtml-insert-begend key."
    8.62 @@ -276,10 +298,7 @@
    8.63  	   (YaTeX-define-key "5^" 'yahtml-visit-main-other-frame map)
    8.64  	   (YaTeX-define-key "5g" 'yahtml-goto-corresponding-*-other-frame map)
    8.65  	   (YaTeX-define-key "55" 'YaTeX-switch-to-window map)))
    8.66 -    (YaTeX-define-key "v" 'YaTeX-version map)
    8.67 -    (YaTeX-define-key "}" 'YaTeX-insert-braces-region map)
    8.68 -    (YaTeX-define-key "]" 'YaTeX-insert-brackets-region map)
    8.69 -    (YaTeX-define-key ")" 'YaTeX-insert-parens-region map)
    8.70 +    (YaTeX-define-key "v" 'yahtml-version map)
    8.71      (YaTeX-define-key "s" 'yahtml-insert-form map)
    8.72      (YaTeX-define-key "l" 'yahtml-insert-tag map)
    8.73      (YaTeX-define-key "L" 'yahtml-insert-tag-region map)
    8.74 @@ -321,11 +340,12 @@
    8.75      (YaTeX-define-key ":" 'yahtml-translate-reverse-region map)
    8.76      (YaTeX-define-key "#" 'yahtml-escape-chars-region map)
    8.77      ;;;;;(YaTeX-define-key "i" 'yahtml-fill-item map)
    8.78 +    (YaTeX-define-key "\e" 'yahtml-quit map)
    8.79      )
    8.80 -  (let ((keys (where-is-internal 'fill-paragraph global-map)))
    8.81 -    (while keys
    8.82 -      (define-key yahtml-mode-map (car keys) 'yahtml-fill-paragraph)
    8.83 -      (setq keys (cdr keys)))))
    8.84 +  (substitute-all-key-definition
    8.85 +   'fill-paragraph 'yahtml-fill-paragraph yahtml-mode-map)
    8.86 +  (substitute-all-key-definition
    8.87 +   'kill-buffer 'YaTeX-kill-buffer yahtml-mode-map))
    8.88  
    8.89  (if yahtml-lint-buffer-map nil
    8.90    (setq yahtml-lint-buffer-map (make-keymap))
    8.91 @@ -517,19 +537,27 @@
    8.92  		  yahtml-directory-index
    8.93  		(list yahtml-directory-index)))))))
    8.94  
    8.95 +(defvar yahtml-mode-old-mode nil)
    8.96  (defun yahtml-mode ()
    8.97    (interactive)
    8.98 +  (kill-all-local-variables)
    8.99    (let ((coding (or (yahtml-dir-default-charset) yahtml-kanji-code)))
   8.100      (cond
   8.101       ((and YaTeX-emacs-20 (boundp 'buffer-file-coding-system))
   8.102 -      (setq buffer-file-coding-system coding))
   8.103 +      (setq buffer-file-coding-system
   8.104 +	    (or (and (fboundp 'set-auto-coding) buffer-file-name
   8.105 +		     (save-excursion (set-auto-coding buffer-file-name 2000)))
   8.106 +		coding)))
   8.107       ((featurep 'mule)
   8.108        (set-file-coding-system coding))
   8.109       ((boundp 'NEMACS)
   8.110        (make-local-variable 'kanji-fileio-code)
   8.111        (setq kanji-fileio-code coding))))
   8.112 +  (if (not (eq 'yahtml-mode major-mode))
   8.113 +      (set (make-local-variable 'yahtml-mode-old-mode) major-mode))
   8.114    (setq major-mode 'yahtml-mode
   8.115 -	mode-name "yahtml")
   8.116 +	mode-name "yahtml"
   8.117 +	YaTeX-current-file-name (file-name-nondirectory (buffer-file-name)))
   8.118    (mapcar
   8.119     (function (lambda (x)
   8.120  	       (make-local-variable (car x))
   8.121 @@ -551,6 +579,19 @@
   8.122       (comment-start-skip . comment-start)
   8.123       (indent-line-function . yahtml-indent-line)))
   8.124  
   8.125 +  (if yahtml-use-font-lock
   8.126 +      (progn
   8.127 +	(yahtml-font-lock-set-default-keywords)
   8.128 +	(or (featurep 'xemacs)
   8.129 +	    (progn
   8.130 +	      (set (make-local-variable 'font-lock-defaults)
   8.131 +		   '(yahtml-font-lock-keywords nil t))
   8.132 +	      ;;(font-lock-mode -1)
   8.133 +	      (font-lock-mode 1) ;;Why should I fontify again???
   8.134 +	      ;; in yatex-mode, there's no need to refontify...
   8.135 +	      (font-lock-fontify-buffer)
   8.136 +	      ))
   8.137 +	))
   8.138    (set-syntax-table yahtml-syntax-table)
   8.139    (use-local-map yahtml-mode-map)
   8.140    (YaTeX-read-user-completion-table)
   8.141 @@ -559,7 +600,29 @@
   8.142    (and (= 0 (buffer-size)) (file-exists-p yahtml-template-file)
   8.143         (y-or-n-p (format "Insert %s?" yahtml-template-file))
   8.144         (insert-file-contents (expand-file-name yahtml-template-file)))
   8.145 -  (run-hooks 'text-mode-hook 'yahtml-mode-hook))
   8.146 +  (run-hooks 'text-mode-hook 'yahtml-mode-hook)
   8.147 +
   8.148 +  ;; This warning should be removed after a while(2000/12/2)
   8.149 +  (let ((fld (or (and (local-variable-p 'font-lock-defaults (current-buffer))
   8.150 +		      font-lock-defaults)
   8.151 +		 (get 'yahtml-mode 'font-lock-defaults))))
   8.152 +    (and fld (not (memq 'yahtml-font-lock-keywords fld))
   8.153 +	 (YaTeX-warning-font-lock "yahtml"))))
   8.154 +
   8.155 +(defun yahtml-version ()
   8.156 +  "Return string of the version of running yahtml."
   8.157 +  (interactive)
   8.158 +  (message
   8.159 +   (concat "Yet Another HTML-mode "
   8.160 +	   (if YaTeX-japan "「HTML屋」" "`yahtml'")
   8.161 +	   " Revision "
   8.162 +	   yahtml-revision-number)))
   8.163 +
   8.164 +(defun yahtml-quit ()
   8.165 +  (interactive)
   8.166 +  (and yahtml-mode-old-mode
   8.167 +       (fboundp yahtml-mode-old-mode)
   8.168 +       (funcall yahtml-mode-old-mode)))
   8.169  
   8.170  (defun yahtml-define-menu (keymap bindlist)
   8.171    (cond
   8.172 @@ -817,8 +880,9 @@
   8.173  (defun yahtml-complete-url ()
   8.174    "Complete external URL from history or local file name."
   8.175    (interactive)
   8.176 -  (let ((p (point)) initial i2 cmpl path dir file listfunc beg labels)
   8.177 -    (setq initial (buffer-string))
   8.178 +  (let ((p (point)) initial i2 cmpl path dir file listfunc beg labels
   8.179 +	(lim (YaTeX-minibuffer-begin)))
   8.180 +    (setq initial (YaTeX-minibuffer-string))
   8.181      (cond
   8.182       ((string-match "^http:" initial)
   8.183        (setq cmpl (try-completion initial yahtml-urls)
   8.184 @@ -849,7 +913,7 @@
   8.185  	    listfunc (list 'lambda nil
   8.186  			   (list 'file-name-all-completions
   8.187  				 file dir))
   8.188 -	    beg (save-excursion (skip-chars-backward "^/") (point)))))
   8.189 +	    beg (save-excursion (skip-chars-backward "^/" lim) (point)))))
   8.190      (cond
   8.191       ((stringp cmpl)
   8.192        (if (string= initial cmpl)
   8.193 @@ -869,11 +933,6 @@
   8.194  	      (insert " [Sole completion]"))
   8.195  	  (delete-region p (point-max))))))))
   8.196  
   8.197 -(defvar yahtml-escape-chars 'ask
   8.198 -  "*Escape reserved characters to URL-encoding or not.
   8.199 -Nil for never, t for everytime, and 'ask for inquiring
   8.200 -at each reserved chars.")
   8.201 -
   8.202  ;
   8.203  ; Subject: [yatex:02849] Re: [yahtml] tilda in href tag
   8.204  ; From: Masayasu Ishikawa <mimasa@sfc.keio.ac.jp>
   8.205 @@ -1096,6 +1155,7 @@
   8.206  	  width height bytes depth comment
   8.207  	  (file-coding-system-alist (list (cons "." 'no-conversion))) ;20
   8.208  	  (file-coding-system-for-read (and (boundp '*noconv*) *noconv*)) ;19
   8.209 +	  (coding-system-for-read 'no-conversion)
   8.210  	  (seekpoint 1)
   8.211  	  c1 c2 c3 c4 beg end
   8.212  	  (case-fold-search nil))
   8.213 @@ -1506,10 +1566,11 @@
   8.214  		  (if (string-match "/$" file)
   8.215  		      (or (catch 'dirindex
   8.216  			    (mapcar
   8.217 -			     (lambda (f)
   8.218 -			       (if (file-exists-p (concat file f))
   8.219 -				   (throw 'dirindex
   8.220 -					  (setq file (concat file f)))))
   8.221 +			     (function
   8.222 +			      (lambda (f)
   8.223 +				(if (file-exists-p (concat file f))
   8.224 +				    (throw 'dirindex
   8.225 +					   (setq file (concat file f))))))
   8.226  			     (yahtml-get-directory-index)))
   8.227  			  (setq file (concat file yahtml-directory-index))))
   8.228  		  (if (string-match "^/" file)
   8.229 @@ -1888,23 +1949,22 @@
   8.230    ))
   8.231  
   8.232  ;;; ---------- commenting ----------
   8.233 -(defvar yahtml-translate-hyphens-when-comment-region t
   8.234 -  "*Non-nil for translate hyphens to &#45; when comment-region")
   8.235  
   8.236  (defun yahtml-comment-region (&optional uncom)
   8.237    "Comment out region or environment."
   8.238    (interactive)
   8.239 -  (let ((e (make-marker)) beg p)
   8.240 +  (let ((e (make-marker)) be beg p)
   8.241      (cond
   8.242 -     ((marker-position (set-marker e (yahtml-on-begend-p)))
   8.243 +     (;(marker-position (set-marker e (yahtml-on-begend-p)))
   8.244 +      (setq be (yahtml-on-begend-p))
   8.245        (save-excursion
   8.246  	(setq p (point))
   8.247 -	(if (string-match "^/" e)
   8.248 +	(if (string-match "^/" be)
   8.249  	    (setq beg (progn (forward-line 1) (point)))
   8.250  	  (setq beg (progn (beginning-of-line) (point))))
   8.251  	(goto-char p)
   8.252  	(yahtml-goto-corresponding-begend)
   8.253 -	(if (string-match "^/" e)
   8.254 +	(if (string-match "^/" be)
   8.255  	    (beginning-of-line)
   8.256  	  (forward-line 1))
   8.257  	(set-marker e (point))
   8.258 @@ -2216,6 +2276,9 @@
   8.259       ((string-match "r" c)
   8.260        (yahtml-browse-reload)))))
   8.261  
   8.262 +(if (fboundp 'wrap-function-to-control-ime)
   8.263 +    (wrap-function-to-control-ime 'yahtml-browse-menu t nil))
   8.264 +
   8.265  (defvar yahtml-lint-buffer "*weblint*")
   8.266  
   8.267  (defun yahtml-lint-buffer (buf)
   8.268 @@ -2327,7 +2390,6 @@
   8.269        (if (string-match yahtml-p-prefered-env-regexp env)
   8.270  	  (yahtml-insert-p)))))
   8.271  
   8.272 -(defvar yahtml-faithful-to-htmllint nil)
   8.273  (defun yahtml-intelligent-newline-ul ()
   8.274    (interactive)
   8.275    (yahtml-insert-single "li")
   8.276 @@ -2409,9 +2471,6 @@
   8.277  
   8.278  
   8.279  ;;; ---------- jump to error line ----------
   8.280 -(defvar yahtml-error-line-regexp
   8.281 -  "^\\(.*\\)(\\([0-9]+\\)):"
   8.282 -  "*Regexp of error position which is produced by lint program.")
   8.283  (defun yahtml-prev-error ()
   8.284    "Jump to previous error seeing lint buffer."
   8.285    (interactive)
   8.286 @@ -2425,8 +2484,11 @@
   8.287    (let ((p (point)) (e (point-end-of-line)))
   8.288      (end-of-line)
   8.289      (if (re-search-backward yahtml-error-line-regexp nil t)
   8.290 -	(let ((f (YaTeX-match-string 1))
   8.291 -	      (l (string-to-int (YaTeX-match-string 2))))
   8.292 +	(let ((f (if (string= "" (YaTeX-match-string 1))
   8.293 +		     YaTeX-current-file-name
   8.294 +		   (YaTeX-match-string 1)))
   8.295 +	      (l (string-to-int (or (YaTeX-match-string 2)
   8.296 +				    (YaTeX-match-string 3)))))
   8.297  	  (if sit (sit-for 1))
   8.298  	  (forward-line -1)
   8.299  	  (YaTeX-showup-buffer (YaTeX-switch-to-buffer f t) nil t)
   8.300 @@ -2481,8 +2543,10 @@
   8.301    (save-excursion
   8.302      (goto-char (point-min))
   8.303      (set (make-local-variable 'yahtml-css-class-alist) nil)
   8.304 -    (while (re-search-forward "<\\(style\\|link\\)" nil t)
   8.305 -      (let ((b (match-beginning 0))(tag (YaTeX-match-string 1)) e href alist)
   8.306 +    (let (b tag type e href alist)
   8.307 +      (while (re-search-forward "<\\(style\\|link\\)" nil t)
   8.308 +	(setq b (match-beginning 0)
   8.309 +	      tag (YaTeX-match-string 1))
   8.310  	(cond
   8.311  	 ((string-match "style" tag)
   8.312  	  (goto-char b)
   8.313 @@ -2494,6 +2558,8 @@
   8.314  		   (point) (progn (search-forward "</style>") (point))
   8.315  		   alist)))))
   8.316  	 ((and (string-match "link" tag)
   8.317 +	       (stringp (setq type (yahtml-get-attrvalue "type")))
   8.318 +	       (string-match "text/css" type)
   8.319  	       (setq href (yahtml-get-attrvalue "href"))
   8.320  	       (file-exists-p (yahtml-url-to-path href)))
   8.321  	    (setq alist
   8.322 @@ -2525,21 +2591,26 @@
   8.323      ("<!--#\\(include\\|exec\\|config\\|fsize\\|flastmod\\)" "-->" include)
   8.324      ;; string
   8.325      (hilit-string-find ?\\ string)
   8.326 -    (yahtml-hilit-region-tag "\\(em\\|strong\\)" bold)
   8.327 +    (yahtml-hilit-region-tag "<\\(em\\|strong\\|b\\)\\>" bold)
   8.328      ("</?[uod]l>" 0 decl)
   8.329      ("<\\(di\\|dt\\|li\\|dd\\)>" 0 label)
   8.330 -    ("<a\\s +href" "</a>" crossref)
   8.331 +    (yahtml-hilit-region-tag "<\\(i\\>\\)" italic)
   8.332 +    ;("<a\\s +href" "</a>" crossref) ;good for hilit19, but odd for font-lock..
   8.333 +    (yahtml-hilit-region-tag "<\\(a\\)\\s +href" crossref)
   8.334      (yahtml-hilit-region-tag-itself "</?\\sw+\\>" decl)
   8.335      ))
   8.336  
   8.337  (defun yahtml-hilit-region-tag (tag)
   8.338    "Return list of start/end point of <TAG> form."
   8.339 -  (if (re-search-forward (concat "<" tag ">") nil t)
   8.340 -      (let ((m0 (match-beginning 0)))
   8.341 -	(skip-chars-forward " \t\n")
   8.342 -	(cons (point)
   8.343 -	      (progn (re-search-forward (concat "</" tag ">") nil t)
   8.344 -		     (match-beginning 0))))))
   8.345 +  (if (re-search-forward tag nil t)
   8.346 +      (let ((m0 (match-beginning 0)) (e0 (match-end 0))
   8.347 +	    (elm (YaTeX-match-string 1)))
   8.348 +	(skip-chars-forward "^>")
   8.349 +	(prog1
   8.350 +	    (cons (1+ (point))
   8.351 +		  (progn (re-search-forward (concat "</" elm ">") nil t)
   8.352 +			 (match-beginning 0)))
   8.353 +	  (goto-char e0)))))
   8.354  
   8.355  (defun yahtml-hilit-region-tag-itself (ptn)
   8.356    "Return list of start/end point of <tag options...> itself."
   8.357 @@ -2554,6 +2625,57 @@
   8.358  	 (setq hilit-patterns-alist
   8.359  	       (cons (cons 'yahtml-mode yahtml-hilit-patterns-alist)
   8.360  		     hilit-patterns-alist))))
   8.361 +;;;
   8.362 +;; for font-lock
   8.363 +;;;
   8.364 +
   8.365 +; <<STATIC KEYWORDS BELOW NOT USED>>
   8.366 +;(defvar yahtml-font-lock-keywords
   8.367 +;  '(
   8.368 +;    ;; comments
   8.369 +;    ("<!--\\s .* -->" . font-lock-comment-face)
   8.370 +;    ;; include&exec
   8.371 +;    ("<!--#\\(include\\|exec\\|config\\|fsize\\|flastmod\\).*-->"
   8.372 +;     0 font-lock-include-face keep)
   8.373 +;    ;; string
   8.374 +;    ;(hilit-string-find ?\\ string)
   8.375 +;    ;(yahtml-hilit-region-tag "\\(em\\|strong\\)" bold)
   8.376 +;    ("</?[uod]l>" 0 font-lock-keyword-face)
   8.377 +;    ("<\\(di\\|dt\\|li\\|dd\\)>" 0 font-lock-label-face)
   8.378 +;    ("<a\\s +href=.*</a>" (0 font-lock-crossref-face keep))
   8.379 +;    ;(yahtml-hilit-region-tag-itself "</?\\sw+\\>" decl)
   8.380 +;    ("</?\\sw+\\>" (yahtml-fontify-to-tagend nil nil))
   8.381 +;    )
   8.382 +;  "*Defualt font-lock-keywords for yahtml-mode.")
   8.383 +(defvar yahtml-font-lock-keywords
   8.384 +  (YaTeX-convert-pattern-hilit2fontlock yahtml-hilit-patterns-alist)
   8.385 +  "Default fontifying patterns for yahtml-mode")
   8.386 +
   8.387 +(defun yahtml-font-lock-set-default-keywords ()
   8.388 +  (put 'yahtml-mode 'font-lock-defaults
   8.389 +       '(yahtml-font-lock-keywords nil t)))
   8.390 +
   8.391 +(if yahtml-use-font-lock
   8.392 +    (progn
   8.393 +      (if (and (boundp 'hilit-mode-enable-list) hilit-mode-enable-list)
   8.394 +	  ;;for those who use both hilit19 and font-lock
   8.395 +	  (if (eq (car hilit-mode-enable-list) 'not)
   8.396 +	      (or (member 'yahtml-mode hilit-mode-enable-list)
   8.397 +		  (nconc hilit-mode-enable-list (list 'yahtml-mode)))
   8.398 +	    (setq hilit-mode-enable-list
   8.399 +		  (delq 'yahtml-mode hilit-mode-enable-list))))
   8.400 +      (yahtml-font-lock-set-default-keywords)))
   8.401 +
   8.402 +;; (defun yahtml-fontify-to-tagend (lim)
   8.403 +;;   "*Fontify any tag including < and >.
   8.404 +;; This is invalid use of font-lock function.  Therefore
   8.405 +;; this fontifying will loose effectiveness soon or later."
   8.406 +;;   (let ((start (match-beginning 0))
   8.407 +;; 	(end (progn (skip-chars-forward "^>") (1+ (point)))))
   8.408 +;;     (or nil; (font-lock-any-faces-p start end)
   8.409 +;; 	(font-lock-fillin-text-property
   8.410 +;; 	 start end 'face 'font-lock font-lock-keyword-face)))
   8.411 +;;   nil)
   8.412  
   8.413  (run-hooks 'yahtml-load-hook)
   8.414  (provide 'yahtml)
   8.415 @@ -2562,4 +2684,5 @@
   8.416  ; fill-prefix: ";;; "
   8.417  ; paragraph-start: "^$\\|\\|;;;$"
   8.418  ; paragraph-separate: "^$\\|\\|;;;$"
   8.419 +; buffer-file-coding-system: sjis
   8.420  ; End:
     9.1 --- a/yatex.el	Thu Nov 16 05:46:53 2000 +0000
     9.2 +++ b/yatex.el	Mon Dec 25 10:19:28 2000 +0000
     9.3 @@ -1,8 +1,8 @@
     9.4  ;;; -*- Emacs-Lisp -*-
     9.5  ;;; Yet Another tex-mode for emacs - //野鳥//
     9.6 -;;; yatex.el rev. 1.68
     9.7 +;;; yatex.el rev. 1.69
     9.8  ;;; (c )1991-2000 by HIROSE Yuuji.[yuuji@yatex.org]
     9.9 -;;; Last modified Sun Apr  9 12:35:15 2000 on firestorm
    9.10 +;;; Last modified Mon Dec 25 18:57:10 2000 on firestorm
    9.11  ;;; $Id$
    9.12  ;;; The latest version of this software is always available at;
    9.13  ;;; http://www.yatex.org/
    9.14 @@ -24,7 +24,7 @@
    9.15  
    9.16  (require 'comment)
    9.17  (require 'yatexlib)
    9.18 -(defconst YaTeX-revision-number "1.6*"
    9.19 +(defconst YaTeX-revision-number "1.69"
    9.20    "Revision number of running yatex.el")
    9.21  
    9.22  ;---------- Local variables ----------
    9.23 @@ -59,7 +59,13 @@
    9.24  ;;'main-file	: switch tmp-dic according to main-file directory.
    9.25  ;;'directory	: switch tmp-dic dir by dir."
    9.26  ;;)
    9.27 -(defvar tex-command (if YaTeX-japan "jlatex" "latex")
    9.28 +(defvar YaTeX-use-LaTeX2e t "*Use LaTeX2e or not.  Nil meas latex 2.09")
    9.29 +
    9.30 +(defvar tex-command
    9.31 +  (cond
    9.32 +   (YaTeX-use-LaTeX2e "platex")
    9.33 +   (YaTeX-japan "jlatex")
    9.34 +   (t "latex"))
    9.35    "*Default command for typesetting LaTeX text.")
    9.36  
    9.37  (defvar bibtex-command (if YaTeX-japan "jbibtex" "bibtex")
    9.38 @@ -130,8 +136,6 @@
    9.39  tにする(古いNTT-jTeXで顕著に現れる)。具体的には、fillするときに各行の終わりに
    9.40  %を付加する。")
    9.41  
    9.42 -(defvar YaTeX-use-LaTeX2e t "*Use LaTeX2e or not.  Nil meas latex 2.09")
    9.43 -
    9.44  
    9.45  (defvar YaTeX-item-regexp
    9.46    (concat (regexp-quote "\\") "\\(sub\\|bib\\)*item")
    9.47 @@ -206,8 +210,16 @@
    9.48    "*List of functions to be called at the end of yatex-mode initializations.")
    9.49  
    9.50  (defvar YaTeX-search-file-from-top-directory t
    9.51 -  "*Non-nil means to search input-files from the directory where main file
    9.52 -exists.")
    9.53 +  "*Non-nil means to search input-files from the directory where main file exists.")
    9.54 +
    9.55 +(defvar YaTeX-use-font-lock (and (featurep 'font-lock)
    9.56 +				 (fboundp 'x-color-values)
    9.57 +				 (fboundp 'font-lock-fontify-region))
    9.58 +  "*Use font-lock to fontify buffer or not.")
    9.59 +
    9.60 +(defvar YaTeX-use-hilit19 (and (featurep 'hilit19) (fboundp 'x-color-values)
    9.61 +			       (fboundp 'hilit-translate))
    9.62 +  "*Use hilit19 to highlight buffer or not.")
    9.63  
    9.64  ;;-- Math mode values --
    9.65  
    9.66 @@ -240,7 +252,7 @@
    9.67     '(("part") ("chapter") ("chapter*") ("section") ("section*")
    9.68       ("subsection") ("subsection*")
    9.69       ("subsubsection") ("paragraph") ("subparagraph")
    9.70 -     ("author") ("thanks") ("documentstyle") ("pagestyle")
    9.71 +     ("author") ("thanks") ("documentstyle") ("pagestyle") ("thispagestyle")
    9.72       ("title") ("underline") ("label") ("makebox")
    9.73       ("footnote") ("footnotetext") ("index")
    9.74       ("hspace*") ("vspace*") ("bibliography") ("bibitem") ("cite")
    9.75 @@ -480,10 +492,12 @@
    9.76    (define-key YaTeX-recursive-map YaTeX-prefix YaTeX-prefix-map))
    9.77  
    9.78  ;---------- Define other variable ----------
    9.79 -(defvar env-name "document" "*Initial tex-environment completion")
    9.80 -(defvar section-name "documentstyle" "*Initial tex-section completion")
    9.81 -(defvar fontsize-name "large" "*Initial fontsize completion")
    9.82 -(defvar single-command "maketitle" "*Initial LaTeX single command")
    9.83 +(defvar YaTeX-env-name "document" "*Initial tex-environment completion")
    9.84 +(defvar YaTeX-section-name
    9.85 +  (if YaTeX-use-LaTeX2e "documentclass" "documentstyle")
    9.86 +  "*Initial tex-section completion")
    9.87 +(defvar YaTeX-fontsize-name "large" "*Initial fontsize completion")
    9.88 +(defvar YaTeX-single-command "maketitle" "*Initial LaTeX single command")
    9.89  (defvar YaTeX-kanji-code (if YaTeX-dos 1 2)
    9.90    "*File kanji code used by Japanese TeX.")
    9.91  
    9.92 @@ -592,7 +606,11 @@
    9.93    (cond ((boundp 'MULE)
    9.94  	 (set-file-coding-system  YaTeX-coding-system))
    9.95  	((and YaTeX-emacs-20 (boundp 'buffer-file-coding-system))
    9.96 -	 (setq buffer-file-coding-system YaTeX-coding-system))
    9.97 +	 (setq buffer-file-coding-system
    9.98 +	       (or (and (fboundp 'set-auto-coding) buffer-file-name
    9.99 +			(save-excursion
   9.100 +			  (set-auto-coding buffer-file-name 2000)))
   9.101 +		   YaTeX-coding-system)))
   9.102  	((featurep 'mule)
   9.103  	 (set-file-coding-system YaTeX-coding-system))
   9.104  	((boundp 'NEMACS)
   9.105 @@ -607,6 +625,17 @@
   9.106  	comment-end ""
   9.107  	comment-start-skip "[^\\\\]%+[ \t]*"
   9.108  	)
   9.109 +  (if (boundp 'kill-buffer-hook)	;For Recent Emacs
   9.110 +      (set (make-local-variable 'kill-buffer-hook)
   9.111 +	   (cons 'YaTeX-kill-buffer-hook kill-buffer-hook)))
   9.112 +  (if (and YaTeX-use-font-lock (featurep 'font-lock))
   9.113 +      (progn
   9.114 +	(YaTeX-font-lock-set-default-keywords)
   9.115 +	(or  (featurep 'xemacs)
   9.116 +	     (set (make-local-variable 'font-lock-defaults)
   9.117 +		  (get 'yatex-mode 'font-lock-defaults)))
   9.118 +	;;(font-lock-mode 1)
   9.119 +	))
   9.120    (use-local-map YaTeX-mode-map)
   9.121    (set-syntax-table YaTeX-mode-syntax-table)
   9.122    (if YaTeX-dos (setq YaTeX-saved-screen-height (screen-height)))
   9.123 @@ -756,19 +785,45 @@
   9.124        ((mode (if arg " region" ""))
   9.125         (env
   9.126  	(YaTeX-read-environment
   9.127 -	 (format "Begin environment%s(default %s): " mode env-name))))
   9.128 +	 (format "Begin environment%s(default %s): " mode YaTeX-env-name))))
   9.129      (if (string= env "")
   9.130 -	(setq env env-name))
   9.131 -    (setq env-name env)
   9.132 +	(setq env YaTeX-env-name))
   9.133 +    (setq YaTeX-env-name env)
   9.134      (YaTeX-update-table
   9.135 -     (list env-name) 'env-table 'user-env-table 'tmp-env-table)
   9.136 -    (YaTeX-insert-begin-end env-name arg)))
   9.137 +     (list YaTeX-env-name) 'env-table 'user-env-table 'tmp-env-table)
   9.138 +    (YaTeX-insert-begin-end YaTeX-env-name arg)))
   9.139  
   9.140  (defun YaTeX-make-begin-end-region ()
   9.141    "Call YaTeX-make-begin-end with ARG to specify region mode."
   9.142    (interactive)
   9.143    (YaTeX-make-begin-end t))
   9.144  
   9.145 +(defun YaTeX-guess-section-type ()
   9.146 +  (if (eq major-mode 'yatex-mode)
   9.147 +      (save-excursion
   9.148 +	(cond
   9.149 +	 ((save-excursion (not (search-backward YaTeX-ec nil t)))
   9.150 +	  (if YaTeX-use-LaTeX2e "documentclass" "documentstyle"))
   9.151 +	 ((progn (forward-char -1) (looking-at "表\\|図\\|式"))
   9.152 +	  "ref")
   9.153 +	 ((and (looking-at "[a-z \t]")
   9.154 +	       (progn (skip-chars-backward "a-z \t")
   9.155 +		      (looking-at "table\\|figure\\|formula")))
   9.156 +	  "ref")
   9.157 +	 ((save-excursion
   9.158 +	    (skip-chars-backward "[^ア-ン]")
   9.159 +	    (looking-at "プログラム\\|リスト"))
   9.160 +	  "ref")
   9.161 +	 ((YaTeX-re-search-active-backward
   9.162 +	   (concat YaTeX-ec-regexp "begin{\\([^}]+\\)}")
   9.163 +	   (regexp-quote YaTeX-comment-prefix)
   9.164 +	   (save-excursion (forward-line -1) (point))
   9.165 +	   t)
   9.166 +	  (let ((env (YaTeX-match-string 1)))
   9.167 +	    (cdr (assoc env
   9.168 +			'(("table" . "caption"))))))
   9.169 +	 ))))
   9.170 +
   9.171  (defun YaTeX-make-section (arg &optional beg end cmd)
   9.172    "Make LaTeX \\section{} type command with completing read.
   9.173  With numeric ARG, you can specify the number of arguments of
   9.174 @@ -793,18 +848,23 @@
   9.175    (unwind-protect
   9.176        (let*
   9.177  	  ((source-window (selected-window))
   9.178 +	   guess
   9.179  	   (section
   9.180  	    (or cmd
   9.181 -		(YaTeX-read-section
   9.182 -		 (if YaTeX-simple-messages
   9.183 -		     (format "Section-type (default %s): " section-name)
   9.184 -		   (if (> (minibuffer-depth) 0)
   9.185 -		       (format "%s???{} (default %s)%s: " YaTeX-ec section-name
   9.186 -			       (format "[level:%d]" (minibuffer-depth)))
   9.187 -		     (format "(C-v for view-section) %s???{%s} (default %s): "
   9.188 -			     YaTeX-ec (if beg "region" "") section-name)))
   9.189 -		 nil)))
   9.190 -	   (section (if (string= section "") section-name section))
   9.191 +		(progn
   9.192 +		  (setq guess
   9.193 +			(or (YaTeX-guess-section-type) YaTeX-section-name))
   9.194 +		  (YaTeX-read-section
   9.195 +		   (if YaTeX-simple-messages
   9.196 +		       (format "Section-type (default %s): " guess)
   9.197 +		     (if (> (minibuffer-depth) 0)
   9.198 +			 (format "%s???{} (default %s)%s: "
   9.199 +				 YaTeX-ec guess
   9.200 +				 (format "[level:%d]" (minibuffer-depth)))
   9.201 +		       (format "(C-v for view-section) %s???{%s} (default %s): "
   9.202 +			       YaTeX-ec (if beg "region" "") guess)))
   9.203 +		   nil))))
   9.204 +	   (section (if (string= section "") guess section))
   9.205  	   (numarg	;; The number of section-type command's argument
   9.206  	    (or (and (numberp arg) arg)
   9.207  		(nth 1 (YaTeX-lookup-table section 'section))
   9.208 @@ -813,21 +873,22 @@
   9.209  	   (addin-args (and arg-reader (fboundp arg-reader)))
   9.210  	   (title "")
   9.211  	   (j 1)
   9.212 +	   (after-change-functions nil)	;inhibit font-locking temporarily
   9.213  	   (enable-recursive-minibuffers t));;let
   9.214 -	(setq section-name section)
   9.215 +	(setq YaTeX-section-name section)
   9.216  	(if beg
   9.217  	    (let ((e (make-marker)))
   9.218  	      (goto-char end)
   9.219  	      (insert "}")
   9.220  	      (set-marker e (point))
   9.221  	      (goto-char beg)
   9.222 -	      (insert YaTeX-ec section-name "{")
   9.223 +	      (insert YaTeX-ec YaTeX-section-name "{")
   9.224  	      (goto-char e)
   9.225  	      (set-marker e nil))
   9.226  	  (use-global-map YaTeX-recursive-map)
   9.227 -	  (if (= numarg 0) (YaTeX-make-singlecmd section-name)
   9.228 -	    (progn (insert YaTeX-ec section-name)
   9.229 -		   (insert (YaTeX-addin section-name))))
   9.230 +	  (if (= numarg 0) (YaTeX-make-singlecmd YaTeX-section-name)
   9.231 +	    (progn (insert YaTeX-ec YaTeX-section-name)
   9.232 +		   (insert (YaTeX-addin YaTeX-section-name))))
   9.233  	  (while (<= j numarg)
   9.234  	    (insert
   9.235  	     "{"
   9.236 @@ -849,7 +910,8 @@
   9.237  	  (forward-char -1))
   9.238  	(while (string= (buffer-substring (- (point) 3) (1- (point))) "{}")
   9.239  	  (forward-char -2)))
   9.240 -    (if (<= (minibuffer-depth) 0) (use-global-map global-map))))
   9.241 +    (if (<= (minibuffer-depth) 0) (use-global-map global-map))
   9.242 +    (insert "")))		;insert dummy string to fontify(Emacs20)
   9.243  
   9.244  (defun YaTeX-make-section-region (args beg end)
   9.245    "Call YaTeX-make-section with arguments to specify region mode."
   9.246 @@ -868,33 +930,35 @@
   9.247  	  (or fontsize
   9.248  	      (YaTeX-read-fontsize
   9.249  	       (if YaTeX-simple-messages
   9.250 -		   (format "Font or size (default %s): " fontsize-name)
   9.251 -		 (format "{\\??? %s} (default %s)%s: " mode fontsize-name
   9.252 +		   (format "Font or size (default %s): " YaTeX-fontsize-name)
   9.253 +		 (format "{\\??? %s} (default %s)%s: " mode YaTeX-fontsize-name
   9.254  			 (if (> (minibuffer-depth) 0)
   9.255  			     (format "[level:%d]" (minibuffer-depth)) "")))
   9.256  	       nil nil))))
   9.257      (if (string= fontsize "")
   9.258 -	(setq fontsize fontsize-name))
   9.259 +	(setq fontsize YaTeX-fontsize-name))
   9.260      (setq YaTeX-current-completion-type 'large)
   9.261 -    (setq fontsize-name fontsize)
   9.262 +    (setq YaTeX-fontsize-name fontsize)
   9.263      (YaTeX-update-table
   9.264 -     (list fontsize-name)
   9.265 +     (list YaTeX-fontsize-name)
   9.266       'fontsize-table 'user-fontsize-table 'tmp-fontsize-table)
   9.267      (and YaTeX-use-LaTeX2e
   9.268  	 (YaTeX-latex2e-p)
   9.269 -	 (setq fontsize (cdr (assoc fontsize-name LaTeX2e-fontstyle-alist)))
   9.270 -	 (setq fontsize-name fontsize))
   9.271 +	 (setq fontsize
   9.272 +	       (cdr (assoc YaTeX-fontsize-name LaTeX2e-fontstyle-alist)))
   9.273 +	 (setq YaTeX-fontsize-name fontsize))
   9.274      (if arg
   9.275  	(save-excursion
   9.276  	  (if (> (point) (mark)) (exchange-point-and-mark))
   9.277 -	  (insert "{\\" fontsize-name " ")
   9.278 +	  (insert "{\\" YaTeX-fontsize-name " ")
   9.279  	  (exchange-point-and-mark)
   9.280  	  (insert "}"))
   9.281 -      (insert "{\\" fontsize-name " ")
   9.282 +      (insert (concat "{\\" YaTeX-fontsize-name " }"))
   9.283 +      (forward-char -1)
   9.284        (if YaTeX-current-position-register
   9.285  	  (point-to-register YaTeX-current-position-register))
   9.286        (save-excursion
   9.287 -	(insert (YaTeX-addin fontsize-name) "}")))))
   9.288 +	(insert (YaTeX-addin YaTeX-fontsize-name))))))
   9.289  
   9.290  (defun YaTeX-make-fontsize-region ()
   9.291    "Call function:YaTeX-make-fontsize with ARG to specify region mode."
   9.292 @@ -908,21 +972,21 @@
   9.293    (interactive
   9.294     (list (YaTeX-cplread-with-learning
   9.295  	  (if YaTeX-simple-messages
   9.296 -	      (format "maketitle-type (default %s): " single-command)
   9.297 -	    (format "%s??? (default %s)%s: " YaTeX-ec single-command
   9.298 +	      (format "maketitle-type (default %s): " YaTeX-single-command)
   9.299 +	    (format "%s??? (default %s)%s: " YaTeX-ec YaTeX-single-command
   9.300  		    (if (> (minibuffer-depth) 0)
   9.301  			(format "[level:%d]" (minibuffer-depth)) "")))
   9.302  	  'singlecmd-table 'user-singlecmd-table 'tmp-singlecmd-table
   9.303  	  nil nil nil 'YaTeX-read-singlecmd-history)))
   9.304    (if (string= single "")
   9.305 -      (setq single single-command))
   9.306 -  (setq single-command single)
   9.307 +      (setq single YaTeX-single-command))
   9.308 +  (setq YaTeX-single-command single)
   9.309    (setq YaTeX-current-completion-type 'maketitle)
   9.310    (let ((dollar (and (not (YaTeX-in-math-mode-p))
   9.311 -		     (YaTeX-math-member-p single-command)))
   9.312 +		     (YaTeX-math-member-p YaTeX-single-command)))
   9.313  	p q)
   9.314      (if dollar (insert "$"))
   9.315 -    (insert YaTeX-ec single-command)
   9.316 +    (insert YaTeX-ec YaTeX-single-command)
   9.317      (setq p (point))
   9.318      (insert (YaTeX-addin single) YaTeX-singlecmd-suffix)
   9.319      (if dollar (insert "$"))
   9.320 @@ -1122,6 +1186,8 @@
   9.321       ((fboundp 'skk-latin-mode)	(skk-latin-mode t))
   9.322       ((fboundp 'skk-mode-off)	(skk-mode-off))
   9.323       (t (j-mode-off))))
   9.324 +   ((and (fboundp 'toggle-input-method) current-input-method)
   9.325 +    (toggle-input-method))
   9.326     ((and (fboundp 'fep-force-off) (fep-force-off)))))
   9.327  
   9.328  (defun YaTeX-self-insert (arg)
   9.329 @@ -1328,6 +1394,10 @@
   9.330       ((= c ?b) (YaTeX-insert-string "\\"))
   9.331       ((= c ?s) (YaTeX-xdvi-remote-search arg)))))
   9.332  
   9.333 +(if (fboundp 'wrap-function-to-control-ime)
   9.334 +    (wrap-function-to-control-ime 'YaTeX-typeset-menu t "P"))
   9.335 +
   9.336 +
   9.337  (defun YaTeX-%-menu (&optional beg end char)
   9.338    "Operate %# notation."
   9.339    ;;Do not use interactive"r" for the functions which require no mark
   9.340 @@ -2042,8 +2112,7 @@
   9.341  		      "Sectioning(Up=C-p, Down=C-n, Help=?): "
   9.342  		      YaTeX-sectioning-level (YaTeX-section-overview))))
   9.343        (select-window sw))
   9.344 -    (if (eq (selected-window) (minibuffer-window))
   9.345 -	(erase-buffer))
   9.346 +    (YaTeX-minibuffer-erase)
   9.347      (insert sect)
   9.348      (exit-minibuffer)))
   9.349  
   9.350 @@ -2698,14 +2767,21 @@
   9.351  (provide 'yatex)
   9.352  (defvar yatex-mode-load-hook nil
   9.353    "*List of functions to be called when yatex.el is loaded.")
   9.354 -(if (and YaTeX-emacs-19 window-system (not (featurep 'yatex19)))
   9.355 +(if (and YaTeX-emacs-19 YaTeX-display-color-p (not (featurep 'yatex19)))
   9.356      (load "yatex19"))
   9.357  (load "yatexhks" t)
   9.358  
   9.359  ;;-------------------- Final hook jobs --------------------
   9.360  (substitute-all-key-definition
   9.361   'fill-paragraph 'YaTeX-fill-paragraph YaTeX-mode-map)
   9.362 +(substitute-all-key-definition
   9.363 + 'kill-buffer 'YaTeX-kill-buffer yahtml-mode-map)
   9.364  (run-hooks 'yatex-mode-load-hook)
   9.365  
   9.366  ;; `History' was moved to ChangeLog
   9.367  ;----------------------------- End of yatex.el -----------------------------
   9.368 +
   9.369 +
   9.370 +;;; Local variables: 
   9.371 +;;; buffer-file-coding-system: sjis
   9.372 +;;; End: 
    10.1 --- a/yatex.new	Thu Nov 16 05:46:53 2000 +0000
    10.2 +++ b/yatex.new	Mon Dec 25 10:19:28 2000 +0000
    10.3 @@ -1,6 +1,27 @@
    10.4  	What's new in YaTeX/yahtml
    10.5  	野鳥/yahtml - 各バージョンの変更点について
    10.6  
    10.7 +1.69	font-lock 対応(XEmacs, Emacs-20, Emacs-21 のみ)。
    10.8 +	hilit19, font-lockを共存させている場合 YaTeX-use-hilit19 か、	
    10.9 +	YaTeX-use-font-lock どちらか一方を Non-nil にする。
   10.10 +	~/.emacs で (put 'yatex-mode 'font-lock-defaults ....) や
   10.11 +	(put 'yahtml-mode 'font-lock-defaults ...)などを入れている人はその
   10.12 +	設定を削り、(setq YaTeX-use-font-lock t) を入れてください。
   10.13 +	Emacs-21(pretest version)で動くようにした。
   10.14 +	kill-bufferしたときに親ファイルが出現するよう努力。
   10.15 +	野鳥起動時の段階でEmacsに italic, bold フォントが登録されていれ
   10.16 +	ば、それを積極的に利用するようにした。
   10.17 +	=== yatex ===
   10.18 +	section型補完のときに直前の文字列でデフォルト候補を変える機能を
   10.19 +	試験的に入れてみた。
   10.20 +	(Meadow)Typeset menu での IME OFF。
   10.21 +	yatexmth, ;[TAB] 一覧の最初の \| が選択できなかったのを修正。
   10.22 +	=== yahtml ===
   10.23 +	XEmacsで img src での画像サイズ取得ができなかったのを修正。
   10.24 +	[prefix] ESC で yahtml-mode に入る前の major-mode に復帰(メイルの
   10.25 +	draftバッファでHTMLを書くために一時的にyahtmlを読んで元に戻るとき
   10.26 +	に有効)。
   10.27 +
   10.28  1.68	=== yatex ===
   10.29  	XEmacsでyatexgenが動かなくなったのに対処。
   10.30  	Windowsでのインストールが少し楽になるように makefile を修正。
    11.1 --- a/yatex19.el	Thu Nov 16 05:46:53 2000 +0000
    11.2 +++ b/yatex19.el	Mon Dec 25 10:19:28 2000 +0000
    11.3 @@ -1,21 +1,24 @@
    11.4  ;;; -*- Emacs-Lisp -*-
    11.5  ;;; YaTeX facilities for Emacs 19
    11.6 -;;; (c )1994-1999 by HIROSE Yuuji.[yuuji@yatex.org]
    11.7 -;;; Last modified Fri Nov 26 09:56:09 1999 on firestorm
    11.8 +;;; (c )1994-2000 by HIROSE Yuuji.[yuuji@yatex.org]
    11.9 +;;; Last modified Mon Dec 25 19:16:04 2000 on firestorm
   11.10  ;;; $Id$
   11.11  
   11.12 -;;; とりあえず hilit19 を使っている時に色が付くようにして
   11.13 -;;; メニューバーでごにょごにょできるようにしただけ。
   11.14 -;;; いったい誰がメニューバー使ってLaTeXソース書くんだろうか?
   11.15 -;;; まあいいや練習練習。後ろの方にちょっとコメントあり。
   11.16 -;;; 真中辺にあるけど、hilit19.el 対応の方は結構本気。
   11.17 -;;; とかいってるうちに hilit19 って obsolete になってしまった…
   11.18 -
   11.19  ;(require 'yatex)
   11.20  
   11.21 -(defvar YaTeX-use-hilit19 (and (featurep 'hilit19) (fboundp 'x-color-values)
   11.22 -			       (fboundp 'hilit-translate))
   11.23 -  "*Use hilit19 to fontify buffer or not.")
   11.24 +(cond
   11.25 + (YaTeX-use-hilit19	(require 'hilit19))
   11.26 + (YaTeX-use-font-lock	(require 'font-lock)))
   11.27 +
   11.28 +(defvar YaTeX-use-highlighting (or YaTeX-use-font-lock YaTeX-use-hilit19)
   11.29 +  "*Use highlighting buffer or not.")
   11.30 +(defvar YaTeX-background-mode
   11.31 +  (cond
   11.32 +   ((boundp 'hilit-background-mode) hilit-background-mode)
   11.33 +   ((boundp 'frame-background-mode) frame-background-mode)
   11.34 +   ((fboundp 'get-frame-background-mode)
   11.35 +    (get-frame-background-mode (selected-frame)))
   11.36 +   (t nil)))
   11.37  
   11.38  (defvar YaTeX-mode-menu-map (make-sparse-keymap "YaTeX"))
   11.39  (defvar YaTeX-mode-menu-map-process (make-sparse-keymap "Process"))
   11.40 @@ -226,6 +229,12 @@
   11.41  ;; メニューに比べてこっちは結構本気でやってます。
   11.42  ;; だって文書構造がとっても分かり易いんだもん。
   11.43  ;; みんなも hilit19.el を使おう!
   11.44 +;; とかいってるうちに hilit19 って obsolete になってしまった…
   11.45 +;; …ということで、hilit19 用のパターンを font-lock に変換する関数を
   11.46 +;; 作成してなんとか font-lock にも対応(2000年12月)。
   11.47 +;; しかし、font-lock は仕様が変わりやすい雰囲気でずっと動き続けるか
   11.48 +;; どうかは不明。むしろ進化の止まったhilit19を使い続ける方が安心と
   11.49 +;; 言えないこともないが世の流れは読めず……。
   11.50  ;;
   11.51  ;; さて、まずは対応する {} をピカピカ範囲とするような関数を作る。
   11.52  ;; これは hilit-LaTeX.el を参考にした。でも、ちゃんと section 型コマンドの
   11.53 @@ -241,28 +250,38 @@
   11.54  	  (skip-chars-forward " \n\t*")
   11.55  	  (while (looking-at "\\[") (forward-list 1)) ;optionならスキップ
   11.56  	  (skip-chars-forward " \n\t")
   11.57 -	  (if (looking-at "{")		;{}が始まるならちゃんとしたsection型
   11.58 -	      (cons m0
   11.59 -		    (progn ;(skip-chars-backward "^{") (forward-char -2)
   11.60 -		      (while (> argc 0)
   11.61 -			(skip-chars-forward "^{")
   11.62 -			(forward-list 1)
   11.63 -			(setq argc (1- argc)))
   11.64 -		      (point)))
   11.65 -	    ;{}でないならたぶん \verb 環境などにあるダミー
   11.66 -	    (cons m0 e0))))))
   11.67 +	  (prog1
   11.68 +	      (if (looking-at "{")	;{}が始まるならちゃんとしたsection型
   11.69 +		  (cons m0
   11.70 +			(condition-case err
   11.71 +			    (progn
   11.72 +			      ;;(skip-chars-backward "^{") (forward-char -2)
   11.73 +			      (while (> argc 0)
   11.74 +				(skip-chars-forward "^{")
   11.75 +				(forward-list 1)
   11.76 +				(setq argc (1- argc)))
   11.77 +			      (point))
   11.78 +			  (error m0)))
   11.79 +			;{}でないならたぶん \verb 環境などにあるダミー
   11.80 +		(cons m0 e0))
   11.81 +	    ;;move to re-search end not to make font-lock confused
   11.82 +	    (goto-char e0))))))
   11.83  
   11.84  (defun YaTeX-19-region-large-type (pattern)
   11.85    "Return list of large-type contents.
   11.86  Assumes PATTERN begins with `{'."
   11.87    (if (re-search-forward pattern nil t)
   11.88 -      (let ((m0 (match-beginning 0)))
   11.89 +      (let ((m0 (match-beginning 0)) (e0 (match-end 0))p)
   11.90  	(goto-char m0)
   11.91  	(skip-chars-forward "^ \t\n")
   11.92  	(skip-chars-forward " \t\n")
   11.93 -	(cons (point)
   11.94 -	      (progn (goto-char m0) (forward-list 1)
   11.95 -		     (1- (point)))))))
   11.96 +	(prog1
   11.97 +	    (cons (setq p (point))
   11.98 +		  (condition-case err
   11.99 +		      (progn (goto-char m0) (forward-list 1) (1- (point)))
  11.100 +		    (error (1+ p))))
  11.101 +	  ;;move to re-search end not to make font-lock confused
  11.102 +	  (goto-char e0)))))
  11.103  
  11.104  ;; 些細なことだが % の前の文字もピカリとさせてしまうようで… >hilit19
  11.105  ;; ↓この関数は下の hilit-set-mode-patterns の "[^\\]\\(%\\).*$" に
  11.106 @@ -328,7 +347,7 @@
  11.107      ("\\\\begin{\\(eqn\\|equation\\|x?x?align\\|split\\|multline\\|gather\\)"
  11.108       "\\\\end{\\(eqn\\|equation\\|x?x?align\\|split\\|multline\\|gather\\).*}"
  11.109       formula)
  11.110 -    ("[^\\$]\\($\\($[^$]*\\$\\|[^$]*\\)\\$\\)" 1 formula); '$...$' or '$$...$$'
  11.111 +    ("\\([^\\$]\\|^\\)\\($\\($[^$]*\\$\\|[^$]*\\)\\$\\)" 2 formula); '$...$' or '$$...$$'
  11.112  
  11.113      ;; "wysiwyg" emphasis -- these don't work on nested expressions
  11.114      (YaTeX-19-region-large-type "{\\\\\\(em\\|it\\|sl\\)"  italic)
  11.115 @@ -337,7 +356,7 @@
  11.116      ;;;("\\\\begin{verbatim" "\\\\end{verbatim" tt)
  11.117  
  11.118      ("``" "''" string))
  11.119 -"*Hiliting pattern alist for LaTeX text.")
  11.120 +  "*Hiliting pattern alist for LaTeX text.")
  11.121  
  11.122  ;;(defvar YaTeX-hilit-pattern-adjustment-default nil)
  11.123  ;; ↑いらなくなった。
  11.124 @@ -354,80 +373,126 @@
  11.125  (defvar YaTeX-sectioning-patterns-alist nil
  11.126    "Hilightening patterns for sectioning units.")
  11.127  (defvar YaTeX-hilit-singlecmd-face
  11.128 -  '(slateblue2 aquamarine)
  11.129 +  '("slateblue2" . "aquamarine")
  11.130    "*Hilightening face for maketitle type.  '(FaceForLight FaceForDark)")
  11.131  
  11.132  ;;; セクションコマンドを、構造レベルの高さに応じて色の濃度を変える
  11.133  ;;; 背景が黒でないと何が嬉しいのか分からないに違いない.
  11.134  ;;; もしかして白地の時は構造レベルに応じて色を明るくしたほうが良いのか?
  11.135 +;;; ...どうやらそうでもないらしい。これでいいみたい(2000/12)。
  11.136  ;(if (fboundp 'win32-color-values)
  11.137  ;    (fset 'x-color-values 'win32-color-values))
  11.138  
  11.139 +(defun YaTeX-19-create-face (sym fgcolor &optional bgcolor)
  11.140 +  "Create face named SYM with face of FGCOLOR/BGCOLOR."
  11.141 +  (cond
  11.142 +   ((and YaTeX-use-font-lock (fboundp 'defface))
  11.143 +    (custom-declare-face
  11.144 +     sym
  11.145 +     (list
  11.146 +      (list (list
  11.147 +	     '(class color)
  11.148 +	     ;(list 'background YaTeX-background-mode)
  11.149 +	     )
  11.150 +	    (delq nil
  11.151 +		  (append
  11.152 +		   (list ':foreground fgcolor)
  11.153 +		   (if bgcolor
  11.154 +		       (list ':background bgcolor))
  11.155 +		   ))
  11.156 +	    )
  11.157 +      (list t (list ':bold t ':underline t))
  11.158 +      )
  11.159 +     (format "Font lock face for %s" sym)
  11.160 +      ':group 'font-lock-faces)
  11.161 +    (set sym sym)
  11.162 +    sym)
  11.163 +   ((and YaTeX-use-hilit19 (and (fboundp 'hilit-translate)))
  11.164 +    (let ((face (intern (concat fgcolor "/" bgcolor))))
  11.165 +      (hilit-translate sym face)
  11.166 +      face))))
  11.167 +
  11.168  (cond
  11.169 - (YaTeX-use-hilit19
  11.170 -  (let*((sectface
  11.171 -	 (car (if (eq hilit-background-mode 'dark)
  11.172 -		  (cdr YaTeX-hilit-sectioning-face)
  11.173 -		YaTeX-hilit-sectioning-face)))
  11.174 -	(sectcol (symbol-name sectface))
  11.175 -	sect-pat-alist)
  11.176 -    (if (string-match "/" sectcol)
  11.177 -	(let ((fmin (nth 0 YaTeX-hilit-sectioning-attenuation-rate))
  11.178 -	      (bmin (nth 1 YaTeX-hilit-sectioning-attenuation-rate))
  11.179 -	      colorvalue fR fG fB bR bG bB pat fg bg level from face list lm)
  11.180 -	  (require 'yatexsec)
  11.181 -	  (setq fg (substring sectcol 0 (string-match "/" sectcol))
  11.182 -		bg (substring sectcol (1+ (string-match "/" sectcol)))
  11.183 -		colorvalue (x-color-values fg)
  11.184 -		fR (/ (nth 0 colorvalue) 256)
  11.185 -		fG (/ (nth 1 colorvalue) 256)
  11.186 -		fB (/ (nth 2 colorvalue) 256)
  11.187 -		colorvalue (x-color-values bg)
  11.188 -		bR (/ (nth 0 colorvalue) 256)
  11.189 -		bG (/ (nth 1 colorvalue) 256)
  11.190 -		bB (/ (nth 2 colorvalue) 256)
  11.191 -		lm YaTeX-sectioning-max-level
  11.192 -		list YaTeX-sectioning-level)
  11.193 -	  (while list
  11.194 -	    (setq pat (concat YaTeX-ec-regexp (car (car list))
  11.195 -			      ;"\\*?\\(\\[[^]]*\\]\\)?\\>" ;改行はさむと駄目
  11.196 -			      "\\>"
  11.197 -			      )
  11.198 -		  level (cdr (car list))
  11.199 -		  fg (format "hex-%02x%02x%02x"
  11.200 -			     (- fR (/ (* level fR fmin) lm 100))
  11.201 -			     (- fG (/ (* level fG fmin) lm 100))
  11.202 -			     (- fB (/ (* level fB fmin) lm 100)))
  11.203 -		  bg (format "hex-%02x%02x%02x"
  11.204 -			     (- bR (/ (* level bR bmin) lm 100))
  11.205 -			     (- bG (/ (* level bG bmin) lm 100))
  11.206 -			     (- bB (/ (* level bB bmin) lm 100)))
  11.207 -		  from (intern (format "sectioning-%d" level))
  11.208 -		  face (intern (concat fg "/" bg)))
  11.209 -	    (hilit-translate from face)
  11.210 -	    (setq sect-pat-alist
  11.211 -		  (cons;;(list pat "}" face)
  11.212 -		   (list 'YaTeX-19-region-section-type pat face)
  11.213 -		   sect-pat-alist))
  11.214 -	    (setq list (cdr list)))
  11.215 -	  (setq YaTeX-sectioning-patterns-alist sect-pat-alist))))))
  11.216 + (YaTeX-use-highlighting
  11.217 +  (cond
  11.218 +   (window-system
  11.219 +    (let*((sectface
  11.220 +	   (car (if (eq YaTeX-background-mode 'dark)
  11.221 +		    (cdr YaTeX-hilit-sectioning-face)
  11.222 +		  YaTeX-hilit-sectioning-face)))
  11.223 +	  (sectcol (symbol-name sectface))
  11.224 +	  (fl YaTeX-use-font-lock)
  11.225 +	  (form (if fl "#%02x%02x%02x" "hex-%02x%02x%02x"))
  11.226 +	  sect-pat-alist)
  11.227 +      (if (string-match "/" sectcol)
  11.228 +	  (let ((fmin (nth 0 YaTeX-hilit-sectioning-attenuation-rate))
  11.229 +		(bmin (nth 1 YaTeX-hilit-sectioning-attenuation-rate))
  11.230 +		colorvalue fR fG fB bR bG bB pat fg bg level from face list lm)
  11.231 +	    (require 'yatexsec)
  11.232 +	    (setq fg (substring sectcol 0 (string-match "/" sectcol))
  11.233 +		  bg (substring sectcol (1+ (string-match "/" sectcol)))
  11.234 +		  colorvalue (x-color-values fg)
  11.235 +		  fR (/ (nth 0 colorvalue) 256)
  11.236 +		  fG (/ (nth 1 colorvalue) 256)
  11.237 +		  fB (/ (nth 2 colorvalue) 256)
  11.238 +		  colorvalue (x-color-values bg)
  11.239 +		  bR (/ (nth 0 colorvalue) 256)
  11.240 +		  bG (/ (nth 1 colorvalue) 256)
  11.241 +		  bB (/ (nth 2 colorvalue) 256)
  11.242 +		  lm YaTeX-sectioning-max-level
  11.243 +		  list YaTeX-sectioning-level)
  11.244 +	    (while list
  11.245 +	      (setq pat (concat YaTeX-ec-regexp (car (car list))
  11.246 +				;;"\\*?\\(\\[[^]]*\\]\\)?\\>" ;改行はさむと駄目
  11.247 +				"\\>"
  11.248 +				)
  11.249 +		    level (cdr (car list))
  11.250 +		    fg (format form
  11.251 +			       (- fR (/ (* level fR fmin) lm 100))
  11.252 +			       (- fG (/ (* level fG fmin) lm 100))
  11.253 +			       (- fB (/ (* level fB fmin) lm 100)))
  11.254 +		    bg (format form
  11.255 +			       (- bR (/ (* level bR bmin) lm 100))
  11.256 +			       (- bG (/ (* level bG bmin) lm 100))
  11.257 +			       (- bB (/ (* level bB bmin) lm 100)))
  11.258 +		    from (intern (format "YaTeX-sectioning-%d" level))
  11.259 +		    ;;face (intern (concat fg "/" bg))
  11.260 +		    )
  11.261 +	      (setq face (YaTeX-19-create-face from fg bg))
  11.262 +	      (setq sect-pat-alist
  11.263 +		    (cons;;(list pat "}" face)
  11.264 +		     (list 'YaTeX-19-region-section-type pat face)
  11.265 +		     sect-pat-alist))
  11.266 +	      (setq list (cdr list)))
  11.267 +	    (setq YaTeX-sectioning-patterns-alist sect-pat-alist)))))
  11.268 +   (t					;not window-system
  11.269 +    (setq YaTeX-sectioning-patterns-alist
  11.270 +	  (list
  11.271 +	   (list
  11.272 +	    (concat YaTeX-ec-regexp
  11.273 +		    "\\(\\(sub\\)*\\(section\\|paragraph\\)\\|chapter"
  11.274 +		    "\\|part\\){[^}]*}")
  11.275 +	    0
  11.276 +	    'define)))))))
  11.277  
  11.278  ;; ローカルなマクロを読み込んだ後 redraw すると
  11.279  ;; ローカルマクロを keyword として光らせる(keywordじゃまずいかな…)。
  11.280 +(defvar hilit-patterns-alist nil)	;for absence of hilit19
  11.281 +
  11.282  (defun YaTeX-19-collect-macros ()
  11.283    (cond
  11.284 -   (YaTeX-use-hilit19
  11.285 +   (YaTeX-use-highlighting
  11.286      (let ((get-face
  11.287  	   (function
  11.288  	    (lambda (table)
  11.289  	      (cond
  11.290 -	       ((eq hilit-background-mode 'light) (car table))
  11.291 -	       ((eq hilit-background-mode 'dark) (car (cdr table)))
  11.292 +	       ((eq YaTeX-background-mode 'light) (car table))
  11.293 +	       ((eq YaTeX-background-mode 'dark) (cdr table))
  11.294  	       (t nil)))))
  11.295  	  sect single)
  11.296 -      (hilit-translate
  11.297 +      (YaTeX-19-create-face ;;hilit-translate
  11.298         ;;sectioning (funcall get-face YaTeX-hilit-sectioning-face)
  11.299 -       macro (funcall get-face YaTeX-hilit-singlecmd-face))
  11.300 +       'macro (funcall get-face YaTeX-hilit-singlecmd-face))
  11.301        (if (setq sect (append user-section-table tmp-section-table))
  11.302  	  (setq sect (concat "\\\\\\("
  11.303  			     (mapconcat
  11.304 @@ -468,10 +533,52 @@
  11.305    (interactive "P")
  11.306    (YaTeX-19-collect-macros)
  11.307    (hilit-recenter arg))
  11.308 -(if (fboundp 'hilit-recenter)		;Replace hilit-recenter with
  11.309 -    (mapcar (function (lambda (key)	;YaTeX-hilit-recenter in yatex-mode
  11.310 -			(define-key YaTeX-mode-map key 'YaTeX-hilit-recenter)))
  11.311 -	    (where-is-internal 'hilit-recenter)))
  11.312 +(defvar YaTeX-19-recenter-function
  11.313 +  (cond
  11.314 +   (YaTeX-use-hilit19	(cons 'YaTeX-hilit-recenter 'hilit-recenter))
  11.315 +   (YaTeX-use-font-lock	(cons 'YaTeX-font-lock-recenter 'recenter))
  11.316 +   (t nil)))
  11.317 +
  11.318 +(if YaTeX-19-recenter-function
  11.319 +    (let ((k (where-is-internal (cdr YaTeX-19-recenter-function))))
  11.320 +      (while k
  11.321 +	(define-key YaTeX-mode-map (car k) (car YaTeX-19-recenter-function))
  11.322 +	(setq k (cdr k)))))
  11.323 +
  11.324 +(defun YaTeX-font-lock-recenter (&optional arg)
  11.325 +  (interactive "P")
  11.326 +  (setq YaTeX-font-lock-keywords
  11.327 +	(YaTeX-convert-pattern-hilit2fontlock
  11.328 +	 (cdr (assq 'yatex-mode (YaTeX-19-collect-macros))))
  11.329 +	font-lock-keywords nil)
  11.330 +  ;(save-excursion
  11.331 +   ; (font-lock-fontify-region (window-start) (window-end)))
  11.332 +  (font-lock-mode -1)			;is stupid, but sure.
  11.333 +  (font-lock-mode 1))
  11.334 +
  11.335 +(defvar YaTeX-font-lock-keywords nil
  11.336 +  "Pattern-face alist of yahtml-mode for font-lock")
  11.337 +
  11.338 +(defun YaTeX-font-lock-set-default-keywords ()
  11.339 +  (put 'yatex-mode 'font-lock-defaults
  11.340 +       (list 'YaTeX-font-lock-keywords nil nil))
  11.341 +  (setq YaTeX-font-lock-keywords
  11.342 +	(YaTeX-convert-pattern-hilit2fontlock
  11.343 +	 (cons nil
  11.344 +	       (append YaTeX-sectioning-patterns-alist
  11.345 +		       YaTeX-hilit-pattern-adjustment-private
  11.346 +		       YaTeX-hilit-patterns-alist)))))
  11.347 +
  11.348 +(if YaTeX-use-font-lock
  11.349 +    (progn
  11.350 +      (if (and (boundp 'hilit-mode-enable-list) hilit-mode-enable-list)
  11.351 +	  ;;for those who use both hilit19 and font-lock
  11.352 +	  (if (eq (car hilit-mode-enable-list) 'not)
  11.353 +	      (or (member 'yatex-mode hilit-mode-enable-list)
  11.354 +		  (nconc hilit-mode-enable-list (list 'yatex-mode)))
  11.355 +	    (setq hilit-mode-enable-list
  11.356 +		  (delq 'yatex-mode hilit-mode-enable-list))))
  11.357 +      (YaTeX-font-lock-set-default-keywords)))
  11.358  
  11.359  (defun YaTeX-switch-to-new-window ()
  11.360    (let ((c 0) (i 1) (free (make-string win:max-configs ? )))
  11.361 @@ -517,8 +624,7 @@
  11.362        (switch-to-buffer b)
  11.363        (goto-char p))
  11.364       (t (switch-to-buffer-other-frame (buffer-name b))
  11.365 -	(goto-char p))))
  11.366 -)
  11.367 +	(goto-char p)))))
  11.368  
  11.369  ;;; reverseVideo にして hilit-background-mode を 'dark
  11.370  ;;; にしている人は数式などが暗くなりすぎて見づらいかもしれない。
  11.371 @@ -532,8 +638,19 @@
  11.372  (and YaTeX-emacs-19
  11.373       (not (featurep 'xemacs))
  11.374       (boundp 'byte-compile-current-file)
  11.375 -     (if (and (boundp 'window-system) window-system)
  11.376 -	 (require 'hilit19)
  11.377 -       (error "Byte compile this file on window system! Not `-nw'!")))
  11.378 +     byte-compile-current-file
  11.379 +     (progn
  11.380 +       (if YaTeX-emacs-20 (require 'font-lock))
  11.381 +       (if (and (boundp 'window-system) window-system)
  11.382 +	   (require 'hilit19)
  11.383 +	 (error "Byte compile this file on window system! Not `-nw'!"))))
  11.384  
  11.385  (provide 'yatex19)
  11.386 +
  11.387 +
  11.388 +; Local variables:
  11.389 +; fill-prefix: ";;; "
  11.390 +; paragraph-start: "^$\\|\\|;;;$"
  11.391 +; paragraph-separate: "^$\\|\\|;;;$"
  11.392 +; buffer-file-coding-system: sjis
  11.393 +; End:
    12.1 --- a/yatexadd.el	Thu Nov 16 05:46:53 2000 +0000
    12.2 +++ b/yatexadd.el	Mon Dec 25 10:19:28 2000 +0000
    12.3 @@ -1,8 +1,8 @@
    12.4  ;;; -*- Emacs-Lisp -*-
    12.5  ;;; YaTeX add-in functions.
    12.6  ;;; yatexadd.el rev.14
    12.7 -;;; (c )1991-1999 by HIROSE Yuuji.[yuuji@yatex.org]
    12.8 -;;; Last modified Fri Mar 17 20:21:45 2000 on firestorm
    12.9 +;;; (c )1991-2000 by HIROSE Yuuji.[yuuji@yatex.org]
   12.10 +;;; Last modified Mon Dec 25 19:17:09 2000 on firestorm
   12.11  ;;; $Id$
   12.12  
   12.13  ;;;
   12.14 @@ -23,7 +23,7 @@
   12.15  Notice that this function refers the let-variable `env' in
   12.16  YaTeX-make-begin-end."
   12.17    (let ((width "") bars (rule "") (and "") (j 1) loc ans (hline "\\hline"))
   12.18 -    (if (string= env "tabular*")
   12.19 +    (if (string= YaTeX-env-name "tabular*")
   12.20  	(setq width (concat "{" (read-string "Width: ") "}")))
   12.21      (setq loc (YaTeX:read-position "tb")
   12.22  	  bars (string-to-int
   12.23 @@ -51,7 +51,7 @@
   12.24  		hline "\\hline"))))
   12.25  
   12.26      (setq rule (read-string "rule format: " rule))
   12.27 -    (setq single-command "hline")
   12.28 +    (setq YaTeX-single-command "hline")
   12.29  
   12.30      (format "%s%s{%s}" width loc rule)))
   12.31  
   12.32 @@ -90,8 +90,8 @@
   12.33  
   12.34  (defun YaTeX:table ()
   12.35    "YaTeX add-in function for table environment."
   12.36 -  (setq env-name "tabular"
   12.37 -	section-name "caption")
   12.38 +  (setq YaTeX-env-name "tabular"
   12.39 +	YaTeX-section-name "caption")
   12.40    (YaTeX:read-position "htbp"))
   12.41  
   12.42  (fset 'YaTeX:figure 'YaTeX:table)
   12.43 @@ -100,12 +100,12 @@
   12.44  
   12.45  (defun YaTeX:description ()
   12.46    "Truly poor service:-)"
   12.47 -  (setq single-command "item[]")
   12.48 +  (setq YaTeX-single-command "item[]")
   12.49    "")
   12.50  
   12.51  (defun YaTeX:itemize ()
   12.52    "It's also poor service."
   12.53 -  (setq single-command "item")
   12.54 +  (setq YaTeX-single-command "item")
   12.55    "")
   12.56  
   12.57  (fset 'YaTeX:enumerate 'YaTeX:itemize)
   12.58 @@ -135,7 +135,7 @@
   12.59  	  "{" (read-string "Width: ") "}"))
   12.60  
   12.61  (defun YaTeX:thebibliography ()
   12.62 -  (setq section-name "bibitem")
   12.63 +  (setq YaTeX-section-name "bibitem")
   12.64    "")
   12.65  
   12.66  ;;;
   12.67 @@ -194,7 +194,7 @@
   12.68  
   12.69  (defun YaTeX:left ()
   12.70    (let ((minibuffer-completion-table YaTeX:left-right-delimiters)
   12.71 -	delimiter (leftp (string= single-command "left")))
   12.72 +	delimiter (leftp (string= YaTeX-single-command "left")))
   12.73      (setq delimiter
   12.74  	  (read-from-minibuffer
   12.75  	   (format "Delimiter%s: "
   12.76 @@ -203,7 +203,7 @@
   12.77  		     "(SPC for menu)"))
   12.78  	   nil YaTeX-minibuffer-quick-map))
   12.79      (if (string= "" delimiter) (setq delimiter YaTeX:left-right-default))
   12.80 -    (setq single-command (if leftp "right" "left")
   12.81 +    (setq YaTeX-single-command (if leftp "right" "left")
   12.82  	  YaTeX:left-right-default
   12.83  	  (or (cdr (assoc delimiter YaTeX:left-right-delimiters)) delimiter))
   12.84      delimiter))
   12.85 @@ -259,7 +259,7 @@
   12.86  (fset 'YaTeX:verb* 'YaTeX:verb)
   12.87  
   12.88  (defun YaTeX:footnotemark ()
   12.89 -  (setq section-name "footnotetext")
   12.90 +  (setq YaTeX-section-name "footnotetext")
   12.91    nil)
   12.92  
   12.93  (defun YaTeX:cite ()
   12.94 @@ -274,7 +274,7 @@
   12.95  
   12.96  (defun YaTeX:item ()
   12.97    (YaTeX-indent-line)
   12.98 -  (setq section-name "label")
   12.99 +  (setq YaTeX-section-name "label")
  12.100    " ")
  12.101  (fset 'YaTeX:item\[\] 'YaTeX:item)
  12.102  (fset 'YaTeX:subitem 'YaTeX:item)
  12.103 @@ -476,7 +476,7 @@
  12.104  	(skip-chars-forward "^{")
  12.105  	(forward-list 1)
  12.106  	(skip-chars-forward " \t\n")
  12.107 -	(setq boundary "\\S "))
  12.108 +	(setq boundary "[^\\]"))
  12.109         ((looking-at "item\\s ")
  12.110  	(setq cc (+ cc 6))
  12.111  	(setq boundary (concat YaTeX-ec-regexp "\\(item\\|begin\\|end\\)\\b")))
  12.112 @@ -528,7 +528,7 @@
  12.113    "enumerate")
  12.114  
  12.115  (defvar YaTeX::ref-labeling-section-level 2
  12.116 -  "ref補完で収集するセクショニングコマンドの下限レベル
  12.117 +  "*ref補完で収集するセクショニングコマンドの下限レベル
  12.118  YaTeX-sectioning-levelの数値で指定.")
  12.119  
  12.120  (defun YaTeX::ref (argp &optional labelcmd refcmd)
  12.121 @@ -549,9 +549,10 @@
  12.122  		 'concat
  12.123  		 (delq nil
  12.124  		       (mapcar
  12.125 -			(lambda (s)
  12.126 -			  (if (>= llv (cdr s))
  12.127 -			      (car s)))
  12.128 +			(function
  12.129 +			 (lambda (s)
  12.130 +			   (if (>= llv (cdr s))
  12.131 +			       (car s))))
  12.132  			YaTeX-sectioning-level))
  12.133  		 "\\|")
  12.134  		"\\|caption\\){"
  12.135 @@ -602,7 +603,7 @@
  12.136  	      ;(goto-char (match-beginning 0))
  12.137  	      (setq e0 (match-end 0))
  12.138  	      (cond
  12.139 -	       ((match-string 1)
  12.140 +	       ((YaTeX-match-string 1)
  12.141  		;;if standard counter commands found 
  12.142  		(setq cmd (YaTeX-match-string 2))
  12.143  		(setq match-point (match-beginning 0))
  12.144 @@ -1103,7 +1104,7 @@
  12.145    "YaTeX add-in function for arguments of \\documentstyle."
  12.146    (cond
  12.147     ((equal argp 1)
  12.148 -    (setq env-name "document")
  12.149 +    (setq YaTeX-env-name "document")
  12.150      (let ((sname
  12.151  	   (YaTeX-cplread-with-learning
  12.152  	    (format "Documentstyle (default %s): "
  12.153 @@ -1170,7 +1171,7 @@
  12.154  (defun YaTeX::documentclass (&optional argp)
  12.155    (cond
  12.156     ((equal argp 1)
  12.157 -    (setq env-name "document")
  12.158 +    (setq YaTeX-env-name "document")
  12.159      (let ((sname
  12.160  	   (YaTeX-cplread-with-learning
  12.161  	    (format "Documentclass (default %s): " YaTeX-default-documentclass)
  12.162 @@ -1252,7 +1253,7 @@
  12.163      (read-file-name "EPS File: " ""))))
  12.164   
  12.165  (defun YaTeX:caption ()
  12.166 -  (setq section-name "label")
  12.167 +  (setq YaTeX-section-name "label")
  12.168    nil)
  12.169  
  12.170  ;;; -------------------- math-mode stuff --------------------
  12.171 @@ -1312,3 +1313,9 @@
  12.172  
  12.173  ;;; -------------------- End of yatexadd --------------------
  12.174  (provide 'yatexadd)
  12.175 +; Local variables:
  12.176 +; fill-prefix: ";;; "
  12.177 +; paragraph-start: "^$\\|\\|;;;$"
  12.178 +; paragraph-separate: "^$\\|\\|;;;$"
  12.179 +; buffer-file-coding-system: sjis
  12.180 +; End:
    13.1 --- a/yatexgen.el	Thu Nov 16 05:46:53 2000 +0000
    13.2 +++ b/yatexgen.el	Mon Dec 25 10:19:28 2000 +0000
    13.3 @@ -1,8 +1,8 @@
    13.4  ;;; -*- Emacs-Lisp -*-
    13.5  ;;; YaTeX add-in function generator.
    13.6  ;;; yatexgen.el rev.5
    13.7 -;;; (c )1991-1995,1999 by HIROSE Yuuji.[yuuji@yatex.org]
    13.8 -;;; Last modified Thu Aug 26 18:15:14 1999 on firestorm
    13.9 +;;; (c )1991-1995,1999,2000 by HIROSE Yuuji.[yuuji@yatex.org]
   13.10 +;;; Last modified Mon Dec 25 19:17:30 2000 on firestorm
   13.11  ;;; $Id$
   13.12  
   13.13  (require 'yatex)
   13.14 @@ -180,7 +180,7 @@
   13.15  	  (YaTeX-suppress-sparse-keymap map)
   13.16  	  ;;First get input form.
   13.17  	  (recursive-edit)
   13.18 -	  (setq input (buffer-string)
   13.19 +	  (setq input (YaTeX-minibuffer-string)
   13.20  		end (1- (length input)))
   13.21  	  (if (string= "" input) (error YaTeX-generate-abort-message))
   13.22  	  (YaTeX-generate-move-to-add-in-position)
   13.23 @@ -200,7 +200,7 @@
   13.24  	  (unwind-protect
   13.25  	      (recursive-edit)
   13.26  	    (fset 'self-insert-command (symbol-function 'si)))
   13.27 -	  (setq output (buffer-string))
   13.28 +	  (setq output (YaTeX-minibuffer-string))
   13.29  	  (cond ((string= "" output)	(error YaTeX-generate-abort-message))
   13.30  		((string= input output)	(error YaTeX-generate-same-message))
   13.31  		((< (length output) (length input))
   13.32 @@ -356,7 +356,7 @@
   13.33     ((eq YaTeX-current-completion-type 'begin)
   13.34      (goto-char (point-min))
   13.35      (skip-chars-forward "^{")
   13.36 -    (setq env-name
   13.37 +    (setq YaTeX-env-name
   13.38  	  (buffer-substring (1+ (point))
   13.39  			    (progn (skip-chars-forward "^}") (point))))
   13.40      (forward-char 1))
   13.41 @@ -374,9 +374,9 @@
   13.42    (concat
   13.43     "YaTeX:"
   13.44     (cond
   13.45 -    ((eq YaTeX-current-completion-type 'begin) env-name)
   13.46 -    ((eq YaTeX-current-completion-type 'section) section-name)
   13.47 -    ((eq YaTeX-current-completion-type 'maketitle) single-command)))
   13.48 +    ((eq YaTeX-current-completion-type 'begin) YaTeX-env-name)
   13.49 +    ((eq YaTeX-current-completion-type 'section) YaTeX-section-name)
   13.50 +    ((eq YaTeX-current-completion-type 'maketitle) YaTeX-single-command)))
   13.51  )
   13.52  
   13.53  (defun YaTeX-generate-lisp-quote (str)
   13.54 @@ -590,13 +590,14 @@
   13.55    (or command
   13.56        (setq command
   13.57  	    (completing-read
   13.58 -	     (format "Making add-in function for (default %s): " section-name)
   13.59 +	     (format
   13.60 +	      "Making add-in function for (default %s): " YaTeX-section-name)
   13.61  	     (append
   13.62  	      section-table user-section-table tmp-section-table
   13.63  	      env-table     user-env-table     tmp-env-table
   13.64  	      singlecmd-table user-singlecmd-table tmp-singlecmd-table)
   13.65  	     nil nil)
   13.66 -	    command (if (string= "" command) section-name command)))
   13.67 +	    command (if (string= "" command) YaTeX-section-name command)))
   13.68    (message
   13.69     (cond
   13.70      (YaTeX-japan "(o)追加型? (a)引数型? (yatexadd.docを参照のこと) :")
    14.1 --- a/yatexlib.el	Thu Nov 16 05:46:53 2000 +0000
    14.2 +++ b/yatexlib.el	Mon Dec 25 10:19:28 2000 +0000
    14.3 @@ -2,17 +2,25 @@
    14.4  ;;; YaTeX and yahtml common libraries, general functions and definitions
    14.5  ;;; yatexlib.el
    14.6  ;;; (c )1994-2000 by HIROSE Yuuji.[yuuji@yatex.org]
    14.7 -;;; Last modified Sun Apr  9 12:36:25 2000 on firestorm
    14.8 +;;; Last modified Mon Dec 25 18:51:11 2000 on firestorm
    14.9  ;;; $Id$
   14.10  
   14.11  ;; General variables
   14.12  (defvar YaTeX-dos (memq system-type '(ms-dos windows-nt OS/2)))
   14.13  (defvar YaTeX-emacs-19 (>= (string-to-int emacs-version) 19))
   14.14  (defvar YaTeX-emacs-20 (>= (string-to-int emacs-version) 20))
   14.15 +(defvar YaTeX-emacs-21 (>= (string-to-int emacs-version) 21))
   14.16  (defvar YaTeX-user-completion-table
   14.17    (if YaTeX-dos "~/_yatexrc" "~/.yatexrc")
   14.18    "*Default filename in which user completion table is saved.")
   14.19  
   14.20 +(defvar YaTeX-display-color-p
   14.21 +  (or (and (fboundp 'display-color-p) (display-color-p))
   14.22 +      (and (fboundp 'device-class)
   14.23 +	   (eq 'color (device-class (selected-device))))
   14.24 +      window-system)  ; falls down lazy check..
   14.25 +  "Current display's capability of expressing colors.")
   14.26 +
   14.27  (defvar YaTeX-japan (or (boundp 'NEMACS) (boundp 'MULE) YaTeX-emacs-20)
   14.28    "Whether yatex mode is running on Japanese environment or not.")
   14.29  
   14.30 @@ -55,6 +63,11 @@
   14.31    "*If you are nervous about maintenance of yatexrc, set this value to T.
   14.32  And you will have the local dictionary.")
   14.33  
   14.34 +(defvar YaTeX-use-italic-bold (string< "20" emacs-version)
   14.35 +  "*Non-nil tries to find italic/bold fontset.
   14.36 +This variable is effective when font-lock is used.
   14.37 +\it, \bf 内部での日本語が□になってしまう場合はこれをnilにして下さい。")
   14.38 +
   14.39  ;----------- work variables ----------------------------------------
   14.40  (defvar YaTeX-typesetting-mode-map nil
   14.41    "Keymap used in YaTeX typesetting buffer")
   14.42 @@ -295,6 +308,7 @@
   14.43  		 (and (eq major-mode 'yatex-mode)
   14.44  		      (YaTeX-in-verb-p (match-beginning 0)))
   14.45  		 (save-excursion
   14.46 +		   (goto-char (match-beginning 0))
   14.47  		   (beginning-of-line)
   14.48  		   (re-search-forward cmntrx (match-beginning 0) t)))))
   14.49      (store-match-data md)
   14.50 @@ -517,6 +531,19 @@
   14.51  	  (setq wlist (cons win wlist))))
   14.52      wlist))
   14.53  
   14.54 +(if YaTeX-emacs-21
   14.55 +    ;; Emacs-21's next-window returns other frame's window even if called
   14.56 +    ;; with argument ALL-FRAMES nil, when called from minibuffer context.
   14.57 +    ;; Therefore, check frame identity here.
   14.58 +    (defun YaTeX-window-list ()
   14.59 +      (let*((curw (selected-window)) (win curw) (wlist (list curw))
   14.60 +	    (curf (window-frame curw)))
   14.61 +	(while (and (not (eq curw (setq win (next-window win))))
   14.62 +		    (eq curf (window-frame win)))
   14.63 +	  (or (eq win (minibuffer-window))
   14.64 +	      (setq wlist (cons win wlist))))
   14.65 +	wlist)))
   14.66 +
   14.67  ;;;###autoload
   14.68  (defun substitute-all-key-definition (olddef newdef keymap)
   14.69    "Replace recursively OLDDEF with NEWDEF for any keys in KEYMAP now
   14.70 @@ -544,53 +571,57 @@
   14.71    If the symbol 'quick is bound and is 't, when the try-completion results
   14.72  in t, exit minibuffer immediately."
   14.73    (interactive)
   14.74 -  (let ((md (match-data)) beg word compl
   14.75 -	(quick (and (boundp 'quick) (eq quick t)))
   14.76 -	(displist			;function to display completion-list
   14.77 -	 (function
   14.78 -	  (lambda ()
   14.79 -	    (with-output-to-temp-buffer "*Completions*"
   14.80 -	      (display-completion-list
   14.81 -	       (all-completions word minibuffer-completion-table)))))))
   14.82 -    (setq beg (if (and (boundp 'delim) (stringp delim))
   14.83 -		  (save-excursion
   14.84 -		    (skip-chars-backward (concat "^" delim))
   14.85 -		    (point))
   14.86 -		(point-min))
   14.87 -	  word (buffer-substring beg (point-max))
   14.88 -	  compl (try-completion word minibuffer-completion-table))
   14.89 -    (cond
   14.90 -     ((eq compl t)
   14.91 -      (if quick (exit-minibuffer)
   14.92 -	(let ((p (point)) (max (point-max)))
   14.93 -	  (unwind-protect
   14.94 -	      (progn
   14.95 -		(goto-char max)
   14.96 -		(insert " [Sole completion]")
   14.97 -		(goto-char p)
   14.98 -		(sit-for 1))
   14.99 -	    (delete-region max (point-max))
  14.100 -	    (goto-char p)))))
  14.101 -     ((eq compl nil)
  14.102 -      (ding)
  14.103 -      (save-excursion
  14.104 -	(let (p)
  14.105 -	  (unwind-protect
  14.106 -	      (progn
  14.107 -		(goto-char (setq p (point-max)))
  14.108 -		(insert " [No match]")
  14.109 -		(goto-char p)
  14.110 -		(sit-for 2))
  14.111 -	    (delete-region p (point-max))))))
  14.112 -     ((string= compl word)
  14.113 -      (funcall displist))
  14.114 -     (t (delete-region beg (point-max))
  14.115 -	(insert compl)
  14.116 -	(if quick
  14.117 -	    (if (eq (try-completion compl minibuffer-completion-table) t)
  14.118 -		(exit-minibuffer)
  14.119 -	      (funcall displist)))))
  14.120 -    (store-match-data md)))
  14.121 +  (save-restriction
  14.122 +    (narrow-to-region
  14.123 +     (if (fboundp 'field-beginning) (field-beginning (point-max)) (point-min))
  14.124 +     (point-max))
  14.125 +    (let ((md (match-data)) beg word compl
  14.126 +	  (quick (and (boundp 'quick) (eq quick t)))
  14.127 +	  (displist ;function to display completion-list
  14.128 +	   (function
  14.129 +	    (lambda ()
  14.130 +	      (with-output-to-temp-buffer "*Completions*"
  14.131 +		(display-completion-list
  14.132 +		 (all-completions word minibuffer-completion-table)))))))
  14.133 +      (setq beg (if (and (boundp 'delim) (stringp delim))
  14.134 +		    (save-excursion
  14.135 +		      (skip-chars-backward (concat "^" delim))
  14.136 +		      (point))
  14.137 +		  (point-min))
  14.138 +	    word (buffer-substring beg (point-max))
  14.139 +	    compl (try-completion word minibuffer-completion-table))
  14.140 +      (cond
  14.141 +       ((eq compl t)
  14.142 +	(if quick (exit-minibuffer)
  14.143 +	  (let ((p (point)) (max (point-max)))
  14.144 +	    (unwind-protect
  14.145 +		(progn
  14.146 +		  (goto-char max)
  14.147 +		  (insert " [Sole completion]")
  14.148 +		  (goto-char p)
  14.149 +		  (sit-for 1))
  14.150 +	      (delete-region max (point-max))
  14.151 +	      (goto-char p)))))
  14.152 +       ((eq compl nil)
  14.153 +	(ding)
  14.154 +	(save-excursion
  14.155 +	  (let (p)
  14.156 +	    (unwind-protect
  14.157 +		(progn
  14.158 +		  (goto-char (setq p (point-max)))
  14.159 +		  (insert " [No match]")
  14.160 +		  (goto-char p)
  14.161 +		  (sit-for 2))
  14.162 +	      (delete-region p (point-max))))))
  14.163 +       ((string= compl word)
  14.164 +	(funcall displist))
  14.165 +       (t (delete-region beg (point-max))
  14.166 +	  (insert compl)
  14.167 +	  (if quick
  14.168 +	      (if (eq (try-completion compl minibuffer-completion-table) t)
  14.169 +		  (exit-minibuffer)
  14.170 +		(funcall displist)))))
  14.171 +      (store-match-data md))))
  14.172  
  14.173  (defun YaTeX-minibuffer-quick-complete ()
  14.174    "Set 'quick to 't and call YaTeX-minibuffer-complete.
  14.175 @@ -691,12 +722,12 @@
  14.176  
  14.177  (defun YaTeX-insert-file-contents (file visit &optional beg end)
  14.178    (cond
  14.179 -   ((string< "19" emacs-version)
  14.180 +   ((and (string< "19" emacs-version) (not (featurep 'xemacs)))
  14.181      (insert-file-contents file visit beg end))
  14.182     ((string-match "unix" (symbol-name system-type))
  14.183      (let ((default-process-coding-system
  14.184 -	    (and (boundp '*noconv*) (list *noconv*)))
  14.185 -	  file-coding-system (and (boundp '*noconv*) *noconv*)
  14.186 +	    (and (boundp '*noconv*) (list '*noconv*)))
  14.187 +	  (file-coding-system (and (boundp '*noconv*) '*noconv*))
  14.188  	  kanji-fileio-code
  14.189  	  (default-process-kanji-code 0))
  14.190        (call-process shell-file-name file (current-buffer) nil
  14.191 @@ -870,6 +901,16 @@
  14.192        (end-of-line)
  14.193        (if (eobp) nil (forward-char 1)))))
  14.194  
  14.195 +(defun YaTeX-kill-buffer (buffer)
  14.196 +  "Make effort to show parent buffer after kill."
  14.197 +  (interactive "bKill buffer: ")
  14.198 +  (or (get-buffer buffer)
  14.199 +      (error "No such buffer %s" buffer))
  14.200 +  (let ((pf YaTeX-parent-file))
  14.201 +    (kill-buffer buffer)
  14.202 +    (and pf
  14.203 +	 (get-file-buffer pf)
  14.204 +	 (switch-to-buffer (get-file-buffer pf)))))
  14.205  
  14.206  ;;;VER2
  14.207  (defun YaTeX-insert-struc (what env)
  14.208 @@ -921,6 +962,216 @@
  14.209  	(define-key (symbol-value keymap) (vector (car bind)) (cdr bind))))
  14.210       bindlist))))
  14.211  
  14.212 +;;;
  14.213 +;; Emacs 21 compensational wrapper
  14.214 +;;;
  14.215 +(defun YaTeX-minibuffer-begin ()
  14.216 + (if (fboundp 'field-beginning)
  14.217 +     (field-beginning (point-max))
  14.218 +   (point-min)))
  14.219 +
  14.220 +(defun YaTeX-minibuffer-end ()
  14.221 + (if (fboundp 'field-end)
  14.222 +     (field-end (point-max))
  14.223 +   (point-max)))
  14.224 +
  14.225 +(defun YaTeX-minibuffer-string ()
  14.226 +  (buffer-substring (YaTeX-minibuffer-begin) (YaTeX-minibuffer-end)))
  14.227 +
  14.228 +(defun YaTeX-minibuffer-erase ()
  14.229 +  (if (eq (selected-window) (minibuffer-window))
  14.230 +      (if (fboundp 'delete-field) (delete-field) (erase-buffer))))
  14.231 +
  14.232 +;;;
  14.233 +;; hilit19 vs. font-lock
  14.234 +;;;
  14.235 +(defun YaTeX-convert-pattern-hilit2fontlock (h19pa)
  14.236 +  "Convert hilit19's H19PA patterns alist to font-lock's one.
  14.237 +This function is a makeshift for YaTeX and yahtml."
  14.238 +  (let ((ignorecase (not (null (car h19pa))))
  14.239 +	(palist (cdr h19pa))
  14.240 +	flpa i newface
  14.241 +	(mapping
  14.242 +	 '((bold . YaTeX-font-lock-bold-face)
  14.243 +	   (italic . YaTeX-font-lock-italic-face)
  14.244 +	   (define . font-lock-function-name-face)
  14.245 +	   (keyword . font-lock-keyword-face)
  14.246 +	   (decl . YaTeX-font-lock-declaration-face)
  14.247 +	   (label . YaTeX-font-lock-label-face)
  14.248 +	   (crossref . YaTeX-font-lock-crossref-face)
  14.249 +	   (include . YaTeX-font-lock-include-face)
  14.250 +	   (formula . YaTeX-font-lock-formula-face)
  14.251 +	   (string . ignore) (comment . ignore)
  14.252 +	   )))
  14.253 +    (while (setq i (car palist))
  14.254 +      (setq newface (nth 2 i)
  14.255 +	    newface (or (cdr (assq newface mapping)) newface))
  14.256 +      (cond
  14.257 +       ((eq newface 'ignore) nil)	;no translation
  14.258 +       ((stringp (car i))		;hiliting by regexp
  14.259 +	(setq flpa
  14.260 +	      (cons
  14.261 +	       (if (numberp (car (cdr i)))
  14.262 +		   (list (car i)	;regexp
  14.263 +			 (car (cdr i))	;matching group number
  14.264 +			 newface t) ;'keep)	;keep is hilit19 taste
  14.265 +		 (list
  14.266 +		  (concat
  14.267 +		   (car i)		;original regexp and..
  14.268 +		   ;;"[^"
  14.269 +		   ;;(regexp-quote (substring (car (cdr i)) 0 1))
  14.270 +		   ;;"]+" ;for shortest match
  14.271 +		   ".*"
  14.272 +		   (car (cdr i)))
  14.273 +		  0 (list 'quote newface) t)) ;;'keep))
  14.274 +	       flpa)))
  14.275 +       ((and (symbolp (car i)) (fboundp (car i)))
  14.276 +	(setq flpa
  14.277 +	      (cons
  14.278 +	       (list (car (cdr i))	;regexp
  14.279 +		     (list
  14.280 +		      (list
  14.281 +		       'lambda (list 'dummy)
  14.282 +		       '(goto-char (match-beginning 0))
  14.283 +		       '(remove-text-properties
  14.284 +			 (point) (1+ (point))
  14.285 +			 '(face nil font-lock-multiline nil))
  14.286 +		       (list
  14.287 +			'let (list '(e (match-end 0))
  14.288 +				   (list 'm (list (car i) (car (cdr i)))))
  14.289 +			(list
  14.290 +			 'if 'm
  14.291 +			 (list
  14.292 +			  'YaTeX-font-lock-fillin
  14.293 +			  (list 'car 'm)
  14.294 +			  (list 'cdr 'm)
  14.295 +			  (list 'quote 'face)
  14.296 +			  (list 'quote 'font-lock)
  14.297 +			  (list 'quote newface))
  14.298 +			 '(goto-char e)
  14.299 +			 ))
  14.300 +		       nil)		;retun nil to cheat font-lock
  14.301 +		      nil nil))		;pre-match, post-match both nil
  14.302 +	       flpa))))
  14.303 +      (setq palist (cdr palist)));while
  14.304 +    (if (featurep 'xemacsp)
  14.305 +	(nreverse flpa)
  14.306 +      flpa)))
  14.307 +
  14.308 +(cond
  14.309 + ((featurep 'font-lock)
  14.310 +  ;; In each defface, '(class static-color) is for Emacs-21 -nw
  14.311 +  ;; '(class tty) is for XEmacs-21 -nw
  14.312 +  (defface YaTeX-font-lock-label-face
  14.313 +    '((((class static-color)) (:foreground "yellow" :underline t))
  14.314 +      (((type tty)) (:foreground "yellow" :underline t))
  14.315 +      (((class color) (background dark)) (:foreground "pink" :underline t))
  14.316 +      (((class color) (background light)) (:foreground "red" :underline t))
  14.317 +      (t (:bold t :underline t)))
  14.318 +    "Font Lock mode face used to highlight labels."
  14.319 +    :group 'font-lock-faces)
  14.320 +  (defvar YaTeX-font-lock-label-face 'YaTeX-font-lock-label-face)
  14.321 +
  14.322 +  (defface YaTeX-font-lock-declaration-face
  14.323 +    '((((class color) (background dark)) (:foreground "cyan"))
  14.324 +      (((class color) (background light)) (:foreground "RoyalBlue"))
  14.325 +      (t (:bold t :underline t)))
  14.326 +    "Font Lock mode face used to highlight some declarations."
  14.327 +    :group 'font-lock-faces)
  14.328 +  (defvar YaTeX-font-lock-declaration-face 'YaTeX-font-lock-declaration-face)
  14.329 +
  14.330 +  (defface YaTeX-font-lock-include-face
  14.331 +    '((((class color) (background dark)) (:foreground "Plum1"))
  14.332 +      (((class color) (background light)) (:foreground "purple"))
  14.333 +      (t (:bold t :underline t)))
  14.334 +    "Font Lock mode face used to highlight expression for including."
  14.335 +    :group 'font-lock-faces)
  14.336 +  (defvar YaTeX-font-lock-include-face 'YaTeX-font-lock-include-face)
  14.337 +
  14.338 +  (defface YaTeX-font-lock-formula-face
  14.339 +    '((((class static-color)) (:bold t))
  14.340 +      (((type tty)) (:bold t))
  14.341 +      (((class color) (background dark)) (:foreground "khaki" :bold t))
  14.342 +      (((class color) (background light)) (:foreground "Goldenrod"))
  14.343 +      (t (:bold t :underline t)))
  14.344 +    "Font Lock mode face used to highlight formula."
  14.345 +    :group 'font-lock-faces)
  14.346 +  (defvar YaTeX-font-lock-formula-face 'YaTeX-font-lock-formula-face)
  14.347 +
  14.348 +  (defface YaTeX-font-lock-crossref-face
  14.349 +    '((((class color) (background dark)) (:foreground "lightgoldenrod"))
  14.350 +      (((class color) (background light)) (:foreground "DarkGoldenrod"))
  14.351 +      (t (:bold t :underline t)))
  14.352 +    "Font Lock mode face used to highlight cress references."
  14.353 +    :group 'font-lock-faces)
  14.354 +  (defvar YaTeX-font-lock-crossref-face 'YaTeX-font-lock-crossref-face)
  14.355 +
  14.356 +  (defface YaTeX-font-lock-bold-face
  14.357 +    '((t (:bold t)))
  14.358 +    "Font Lock mode face used to express bold itself."
  14.359 +    :group 'font-lock-faces)
  14.360 +  (defvar YaTeX-font-lock-bold-face 'YaTeX-font-lock-bold-face)
  14.361 +
  14.362 +  (defface YaTeX-font-lock-italic-face
  14.363 +    '((t (:italic t)))
  14.364 +    "Font Lock mode face used to express italic itself."
  14.365 +    :group 'font-lock-faces)
  14.366 +  (defvar YaTeX-font-lock-italic-face 'YaTeX-font-lock-italic-face)
  14.367 +
  14.368 +  ;; Make sure the 'YaTeX-font-lock-{italic,bold}-face is bound with
  14.369 +  ;; italic/bold fontsets
  14.370 +  (if (and (fboundp 'fontset-list) YaTeX-use-italic-bold)
  14.371 +      (let ((flist (fontset-list)) fnt italic bold)
  14.372 +	(while flist
  14.373 +	  (setq fnt (car flist))
  14.374 +	  (condition-case err
  14.375 +	      (cond
  14.376 +	       ((and (string-match "-medium-i-" fnt) (null italic))
  14.377 +		(set-face-font 'YaTeX-font-lock-italic-face (setq italic fnt)))
  14.378 +	       ((and (string-match "-bold-r-" fnt) (null bold))
  14.379 +		(set-face-font 'YaTeX-font-lock-bold-face (setq bold fnt))))
  14.380 +	    (error nil))
  14.381 +	  (setq flist (cdr flist)))))
  14.382 +
  14.383 +  ;;Borrowed from XEmacs's font-lock.el
  14.384 +  (defsubst YaTeX-font-lock-fillin (start end setprop markprop value &optional object)
  14.385 +    "Fill in one property of the text from START to END.
  14.386 +Arguments PROP and VALUE specify the property and value to put where none are
  14.387 +already in place.  Therefore existing property values are not overwritten.
  14.388 +Optional argument OBJECT is the string or buffer containing the text."
  14.389 +    (let ((start (text-property-any start end markprop nil object)) next
  14.390 +	  (putfunc (if (fboundp 'put-nonduplicable-text-property)
  14.391 +		       'put-nonduplicable-text-property
  14.392 +		     'put-text-property)))
  14.393 +      (if (eq putfunc 'put-text-property)
  14.394 +	  (setq markprop setprop))
  14.395 +      (while start
  14.396 +	(setq next (next-single-property-change start markprop object end))
  14.397 +	(funcall putfunc start next setprop value object)
  14.398 +	(funcall putfunc start next markprop value object)
  14.399 +	(setq start (text-property-any next end markprop nil object)))))
  14.400 +
  14.401 +  (defun YaTeX-warning-font-lock (mode)
  14.402 +    (let ((sw (selected-window)))
  14.403 +      ;;(pop-to-buffer (format " *%s warning*" mode))
  14.404 +      ;;(erase-buffer)
  14.405 +      (momentary-string-display
  14.406 +      (cond
  14.407 +       (YaTeX-japan
  14.408 +	(concat mode " は、既に font-lock に対応しました。\n"
  14.409 +		"~/.emacs などにある\n"
  14.410 +		"\t(put 'yatex-mode 'font-lock-keywords 'tex-mode)\n"
  14.411 +		"\t(put 'yahtml-mode 'font-lock-keywords 'html-mode)\n"
  14.412 +		"などの間に合わせの記述はもはや不要です。"))
  14.413 +       (t
  14.414 +	(concat mode " now supports the font-lock by itself.\n"
  14.415 +		"So you can remove the descriptions such as\n"
  14.416 +		"\t(put 'yatex-mode 'font-lock-keywords 'tex-mode)\n"
  14.417 +		"\t(put 'yahtml-mode 'font-lock-keywords 'html-mode)\n"
  14.418 +		"in your ~/.emacs file.  Thank you."))) (point))
  14.419 +      (select-window sw)))
  14.420 +  ))
  14.421 +
  14.422  
  14.423  ;;;
  14.424  ;; Functions for the Installation time
  14.425 @@ -937,3 +1188,9 @@
  14.426  	(kill-emacs))))
  14.427  
  14.428  (provide 'yatexlib)
  14.429 +; Local variables:
  14.430 +; fill-prefix: ";;; "
  14.431 +; paragraph-start: "^$\\|\\|;;;$"
  14.432 +; paragraph-separate: "^$\\|\\|;;;$"
  14.433 +; buffer-file-coding-system: sjis
  14.434 +; End:
    15.1 --- a/yatexmth.el	Thu Nov 16 05:46:53 2000 +0000
    15.2 +++ b/yatexmth.el	Mon Dec 25 10:19:28 2000 +0000
    15.3 @@ -1,8 +1,8 @@
    15.4  ;;; -*- Emacs-Lisp -*-
    15.5  ;;; YaTeX math-mode-specific functions.
    15.6  ;;; yatexmth.el
    15.7 -;;; (c )1993-1999 by HIROSE Yuuji [yuuji@yatex.org]
    15.8 -;;; Last modified Thu Sep 23 16:39:40 1999 on firestorm
    15.9 +;;; (c)1993-2000 by HIROSE Yuuji [yuuji@yatex.org]
   15.10 +;;; Last modified Tue Dec 19 11:03:51 2000 on buell
   15.11  ;;; $Id$
   15.12  
   15.13  ;;; [Customization guide]
   15.14 @@ -406,7 +406,7 @@
   15.15  (defmacro YaTeX-math-japanese-sign (list)
   15.16    (list 'nth 1 list))
   15.17  
   15.18 -(defvar YaTeX-math-cmd-regexp (concat (regexp-quote YaTeX-ec) "[A-z]"))
   15.19 +(defvar YaTeX-math-cmd-regexp (concat (regexp-quote YaTeX-ec) "[A-z|]"))
   15.20  (defvar YaTeX-math-verbatim-environments
   15.21    '("alltt")
   15.22    "*List of environments in which LaTeX math mode is disabled.
    16.1 --- a/yatexprc.el	Thu Nov 16 05:46:53 2000 +0000
    16.2 +++ b/yatexprc.el	Mon Dec 25 10:19:28 2000 +0000
    16.3 @@ -1,8 +1,8 @@
    16.4  ;;; -*- Emacs-Lisp -*-
    16.5  ;;; YaTeX process handler.
    16.6  ;;; yatexprc.el
    16.7 -;;; (c )1993-1999 by HIROSE Yuuji.[yuuji@yatex.org]
    16.8 -;;; Last modified Sat Dec 18 22:16:11 1999 on firestorm
    16.9 +;;; (c )1993-2000 by HIROSE Yuuji.[yuuji@yatex.org]
   16.10 +;;; Last modified Mon Dec 25 19:18:19 2000 on firestorm
   16.11  ;;; $Id$
   16.12  
   16.13  ;(require 'yatex)
   16.14 @@ -363,6 +363,40 @@
   16.15  	  "system" buffer shell-file-name YaTeX-shell-command-option command)
   16.16  	 (get-buffer buffer))))))
   16.17  
   16.18 +(defvar YaTeX-default-paper-type "a4"
   16.19 +  "*Default paper type.")
   16.20 +(defconst YaTeX-paper-type-alist
   16.21 +  '(("a4paper" . "a4")
   16.22 +    ("a5paper" . "a5")
   16.23 +    ("b4paper" . "b4")
   16.24 +    ("b5paper" . "b5"))
   16.25 +  "Holds map of options and paper types.")
   16.26 +(defconst YaTeX-dvips-paper-option-alist
   16.27 +  '(("a4" . "-t a4")
   16.28 +    ("a5" . "-t a5")
   16.29 +    ("b4" . "-t b4")
   16.30 +    ("b5" . "-t b5")
   16.31 +    ("a4r" . "-t landscape"); Can't specify options, `-t a4' and `-t landscape', at the same time.
   16.32 +    ("a5r" . "-t landscape")
   16.33 +    ("b4r" . "-t landscape")
   16.34 +    ("b5r" . "-t landscape"))
   16.35 +  "Holds map of dvips options and paper types.")
   16.36 +(defun YaTeX-get-paper-type ()
   16.37 +  "Search options in header and return a paper type, such as \"a4\", \"a4r\", etc."
   16.38 +  (save-excursion
   16.39 +    (goto-char (point-min))
   16.40 +    (if (re-search-forward
   16.41 +	 "^[ \t]*\\\\document\\(style\\|class\\)[ \t]*\\[\\([^]]*\\)\\]" nil t)
   16.42 +	(let ((opts (YaTeX-split-string (YaTeX-match-string 2) "[ \t]*,[ \t]*")))
   16.43 +	  (concat
   16.44 +	   (catch 'found-paper
   16.45 +	     (mapcar (lambda (pair)
   16.46 +		       (if (member (car pair) opts)
   16.47 +			   (throw 'found-paper (cdr pair))))
   16.48 +		     YaTeX-paper-type-alist)
   16.49 +	     YaTeX-default-paper-type)
   16.50 +	   (if (member "landscape" opts) "r" ""))))))
   16.51 +
   16.52  (defvar YaTeX-preview-command-history nil
   16.53    "Holds minibuffer history of preview command.")
   16.54  (put 'YaTeX-preview-command-history 'no-default t)
   16.55 @@ -375,7 +409,9 @@
   16.56     (list
   16.57      (read-string-with-history
   16.58       "Preview command: "
   16.59 -     (or (YaTeX-get-builtin "PREVIEW") dvi2-command)
   16.60 +     (YaTeX-replace-format
   16.61 +      (or (YaTeX-get-builtin "PREVIEW") dvi2-command)
   16.62 +      "p" (concat "-paper " (YaTeX-get-paper-type)))
   16.63       'YaTeX-preview-command-history)
   16.64      (read-string-with-history
   16.65       "Preview file[.dvi]: "
   16.66 @@ -677,6 +713,11 @@
   16.67  	  ""
   16.68  	(YaTeX-replace-format dviprint-to-format "e" to)))
   16.69       )
   16.70 +    (setq
   16.71 +     cmd
   16.72 +     (YaTeX-replace-format
   16.73 +      cmd "p"
   16.74 +      (cdr (assoc (YaTeX-get-paper-type) YaTeX-dvips-paper-option-alist))))
   16.75      (setq cmd
   16.76  	  (read-string-with-history
   16.77  	   "Edit command line: "
    17.1 --- a/yatexsec.el	Thu Nov 16 05:46:53 2000 +0000
    17.2 +++ b/yatexsec.el	Mon Dec 25 10:19:28 2000 +0000
    17.3 @@ -1,8 +1,8 @@
    17.4  ;;; -*- Emacs-Lisp -*-
    17.5  ;;; YaTeX sectioning browser.
    17.6  ;;; yatexsec.el
    17.7 -;;; (c ) 1994, 1998 by HIROSE Yuuji [yuuji@yatex.org]
    17.8 -;;; Last modified Sun Dec 19 13:13:17 1999 on firestorm
    17.9 +;;; (c ) 1994,1998,1999 by HIROSE Yuuji [yuuji@yatex.org]
   17.10 +;;; Last modified Mon Dec 25 19:18:36 2000 on firestorm
   17.11  ;;; $Id$
   17.12  
   17.13  (defvar YaTeX-sectioning-level
   17.14 @@ -203,7 +203,7 @@
   17.15  Refers the YaTeX-read-section-in-minibuffer's local variable minibuffer-start."
   17.16    (interactive "p")
   17.17    (if (eq (selected-window) (minibuffer-window))
   17.18 -      (let*((command (buffer-string))
   17.19 +      (let*((command (YaTeX-minibuffer-string))
   17.20  	    (aster (and (string< "" command)
   17.21  			(equal (substring command -1) "*")))
   17.22  	    (command (if aster (substring command 0 -1) command))
   17.23 @@ -215,7 +215,7 @@
   17.24  	(setq level (- level n))
   17.25  	(if (or (< level 0) (>= level (length alist)))
   17.26  	    (ding)
   17.27 -	  (erase-buffer)
   17.28 +	  (YaTeX-minibuffer-erase)
   17.29  	  (insert (concat (car (nth level alist)) (if aster "*" ""))))))
   17.30  )
   17.31  
   17.32 @@ -278,7 +278,7 @@
   17.33  
   17.34  (defvar YaTeX-sectioning-buffer "*Sectioning lines*")
   17.35  (defvar YaTeX-sectioning-indent 1)
   17.36 -(defun YaTeX-colloect-sections ()
   17.37 +(defun YaTeX-collect-sections ()
   17.38    "Collect all the lines which contains sectioning command."
   17.39    (let ((cw (selected-window)) level indent begp (prevp 1) (prevl 1)
   17.40  	(pattern (concat YaTeX-ec-regexp
   17.41 @@ -324,7 +324,7 @@
   17.42  	(pattern "(line:\\([0-9]+\\))")
   17.43  	secbuf (command ""))
   17.44      (save-excursion
   17.45 -      (setq secbuf (YaTeX-colloect-sections))
   17.46 +      (setq secbuf (YaTeX-collect-sections))
   17.47        (YaTeX-showup-buffer secbuf nil t)
   17.48        (set-buffer secbuf)
   17.49        (goto-char (point-max))