yatex

changeset 33:56f7676ed8ca

Change the document for YaTeX-nervous.
author yuuji
date Wed, 13 Jul 1994 16:11:27 +0000
parents 546c4baad92f
children c61405ef1bd1
files docs/yatexe.tex docs/yatexj.tex
diffstat 2 files changed, 59 insertions(+), 61 deletions(-) [+]
line diff
     1.1 --- a/docs/yatexe.tex	Mon Jul 11 14:56:13 1994 +0000
     1.2 +++ b/docs/yatexe.tex	Wed Jul 13 16:11:27 1994 +0000
     1.3 @@ -233,7 +233,7 @@
     1.4  * Editing %# notation::         
     1.5  @end menu
     1.6  
     1.7 -@node Changing typesetter, Static region for typesetting,  , %# notation
     1.8 +@node Changing typesetter, Static region for typesetting, %# notation, %# notation
     1.9  @comment  node-name,  next,  previous,  up
    1.10  @section To change the `latex' command or to split a source text.
    1.11  @cindex typesetter
    1.12 @@ -410,7 +410,7 @@
    1.13  * Greek letters completion::    
    1.14  @end menu
    1.15  
    1.16 -@node Begin-type completion, Section-type completion,  , Completion
    1.17 +@node Begin-type completion, Section-type completion, Completion, Completion
    1.18  @comment  node-name,  next,  previous,  up
    1.19  @section Begin-type completion
    1.20  @cindex begin-type completion
    1.21 @@ -622,7 +622,7 @@
    1.22  * view-sectioning::             
    1.23  @end menu
    1.24  
    1.25 -@node view-sectioning,  ,  , Section-type completion
    1.26 +@node view-sectioning,  , Section-type completion, Section-type completion
    1.27  @comment  node-name,  next,  previous,  up
    1.28  @subsection view-sectioning
    1.29  @cindex view sectioning
    1.30 @@ -1017,36 +1017,33 @@
    1.31  
    1.32  @node Local dictionaries, Updation of @code{\includeonly}, Filling an item, Top
    1.33  @comment  node-name,  next,  previous,  up
    1.34 -@chapter Local dictionaries: For nervous users
    1.35 +@chapter Local dictionaries
    1.36  @cindex local dictionaries
    1.37  @cindex nervous users
    1.38  
    1.39 -  If you have had the experience that you couldn't concentrate on editing
    1.40 -because you typed miss-spelled word on completion and the registration of
    1.41 -the wrong word to @file{.yatexrc} weighed on your mind.  Or if you have
    1.42 -thought that you want YaTeX not to register a local newcommand which goes
    1.43 -only in current text, into the standard user completion dictionary;
    1.44 -@file{.yatexrc}.  Write this in your @file{~/.emacs}.
    1.45 +  Tables for completion consist of three dictionaries; `standard
    1.46 +dictionary' built in @file{yatex.el}, `user dictionary' for your common
    1.47 +private commands, and `local dictionary' that is effective in a certain
    1.48 +directory.
    1.49 +
    1.50 +  When you input the command unknown to YaTeX at a completion in the
    1.51 +minibuffer, YaTeX asks you with the following prompt;
    1.52 +
    1.53 +@example
    1.54 +  `foo' is not in table. Register into: U)serTable L)ocal N)one
    1.55 +@end example
    1.56 +
    1.57 +@noindent 
    1.58 +In this menu, typing `u' updates your `user dictionary', `l' updates your
    1.59 +local dictionary, and `n' updates no dictionary and throws the word away.
    1.60 +
    1.61 +  If you find this switching feature meaningless and bothersome, put the
    1.62 +next expression into your @file{~/.emacs}
    1.63  
    1.64  @lisp
    1.65 - 	(setq YaTeX-nervous t)
    1.66 + 	(setq YaTeX-nervous nil)
    1.67  @end lisp
    1.68  
    1.69 -  In addition to `standard table' built in yatex.el and `user table' which
    1.70 -is always saved into @file{~/.yatexrc}, the statement above allows you to
    1.71 -use `temporary table' for completion.  When you enter a word which is
    1.72 -never seen in these tables, you can select the table in which you want to
    1.73 -save the word; `user table'(UserTable), `temporary table'(TempTable) or
    1.74 -discard it(None).
    1.75 -
    1.76 -  But you may want to complete newcommand semi-permanently that is defined
    1.77 -in rather large text as graduation thesis, even if the newcommand is a
    1.78 -local declaration.  After setting @code{YaTeX-nervous} to @code{t}, make
    1.79 -an empty file named @file{.yatexrc} (the same name as your user
    1.80 -dictionary).  YaTeX will use it as the local dictionary to keep the
    1.81 -contents of temporary completion table.  This local dictionary will be
    1.82 -loaded only when you edit the file which exists in the same directory.
    1.83 -
    1.84  @node Updation of @code{\includeonly}, What column?, Local dictionaries, Top
    1.85  @comment  node-name,  next,  previous,  up
    1.86  @chapter Updation of @code{\includeonly}
    1.87 @@ -1253,7 +1250,7 @@
    1.88  * Add-in functions::            
    1.89  @end menu
    1.90  
    1.91 -@node Lisp variables, Add-in functions,  , Customizations
    1.92 +@node Lisp variables, Add-in functions, Customizations, Customizations
    1.93  @comment  node-name,  next,  previous,  up
    1.94  @section Lisp variables
    1.95  @cindex customizable variables
    1.96 @@ -1279,7 +1276,7 @@
    1.97  * Hook file::                   
    1.98  @end menu
    1.99  
   1.100 -@node All customizable variables, Sample definitions,  , Lisp variables
   1.101 +@node All customizable variables, Sample definitions, Lisp variables, Lisp variables
   1.102  @comment  node-name,  next,  previous,  up
   1.103  @subsection All customizable variables
   1.104  @cindex all customizable variables
     2.1 --- a/docs/yatexj.tex	Mon Jul 11 14:56:13 1994 +0000
     2.2 +++ b/docs/yatexj.tex	Wed Jul 13 16:11:27 1994 +0000
     2.3 @@ -30,7 +30,7 @@
     2.4  * Cursor jump - カーソルジャンプ::  
     2.5  * Modifying/Deleting - 変更/削除::  
     2.6  * Filling item - itemの桁揃え::  
     2.7 -* Local dictionary - ローカル辞書(神経質な人へ)::  
     2.8 +* Local dictionary - ローカル辞書::  
     2.9  * Includeonly - 勝手にincludeonly::  
    2.10  * Where am I? - 今はどこ?::     
    2.11  * Intelligent newline - おまかせ改行::  
    2.12 @@ -151,7 +151,7 @@
    2.13  * Print out - プリントアウト用コマンドの起動::  
    2.14  @end menu
    2.15  
    2.16 -@node Calling typesetter - タイプセッタ起動, Print out - プリントアウト用コマンドの起動,  , Invocation - 外部コマンドの起動
    2.17 +@node Calling typesetter - タイプセッタ起動, Print out - プリントアウト用コマンドの起動, Invocation - 外部コマンドの起動, Invocation - 外部コマンドの起動
    2.18  @comment  node-name,  next,  previous,  up
    2.19  @section タイプセッタ起動
    2.20  @cindex タイプセッタ起動
    2.21 @@ -219,7 +219,7 @@
    2.22  * Editing %# notation - %#記法の編集::  
    2.23  @end menu
    2.24  
    2.25 -@node Changing typesetter - タイプセット用コマンドの変更, Splitting input files - 入力ファイル分割,  , %#記法
    2.26 +@node Changing typesetter - タイプセット用コマンドの変更, Splitting input files - 入力ファイル分割, %#記法, %#記法
    2.27  @comment  node-name,  next,  previous,  up
    2.28  @section タイプセット用コマンド変更
    2.29  
    2.30 @@ -426,7 +426,7 @@
    2.31  * Greek letter completion - ギリシャ文字補完::  
    2.32  @end menu
    2.33  
    2.34 -@node begin型補完, section型補完,  , Completion - 補完入力
    2.35 +@node begin型補完, section型補完, Completion - 補完入力, Completion - 補完入力
    2.36  @comment  node-name,  next,  previous,  up
    2.37  @section begin型補完
    2.38  @cindex begin型補完[beginがたほかん]
    2.39 @@ -604,7 +604,7 @@
    2.40  * view-sectioning - セクション区切りのアウトライン表示::  
    2.41  @end menu
    2.42  
    2.43 -@node 2個以上の引数をとる section型コマンド, Input argument without copletion - 引数入力時に補完しない,  , section型補完
    2.44 +@node 2個以上の引数をとる section型コマンド, Input argument without copletion - 引数入力時に補完しない, section型補完, section型補完
    2.45  @comment  node-name,  next,  previous,  up
    2.46  @subsection 2個以上の引数をとる section型コマンド
    2.47  @cindex 引数[ひきすう]
    2.48 @@ -1072,7 +1072,7 @@
    2.49  	        ↑(カーソル位置)
    2.50  @end example
    2.51  
    2.52 -@node Filling item - itemの桁揃え, Local dictionary - ローカル辞書(神経質な人へ), Modifying/Deleting - 変更/削除, Top
    2.53 +@node Filling item - itemの桁揃え, Local dictionary - ローカル辞書, Modifying/Deleting - 変更/削除, Top
    2.54  @comment  node-name,  next,  previous,  up
    2.55  @chapter itemの桁揃え
    2.56  @cindex itemの桁揃え[itemのけたぞろえ]
    2.57 @@ -1107,41 +1107,42 @@
    2.58  この変数の指定の仕方がよく分からない場合は、独自の項目列挙コマンドの名前を
    2.59  @code{@code{"\item"}で始まるものにして下さい(例えば"\itembf"})。
    2.60  
    2.61 -@node Local dictionary - ローカル辞書(神経質な人へ), Includeonly - 勝手にincludeonly, Filling item - itemの桁揃え, Top
    2.62 +@node Local dictionary - ローカル辞書, Includeonly - 勝手にincludeonly, Filling item - itemの桁揃え, Top
    2.63  @comment  node-name,  next,  previous,  up
    2.64 -@chapter 神経質な人へ
    2.65 +@chapter ローカル辞書
    2.66  @cindex ローカル辞書[ろーかるじしょ]
    2.67 -@cindex 神経質な人へ[しんけいしつなひとへ]
    2.68  @cindex .yatexrc
    2.69  @cindex へんなたんご[へんなたんご]
    2.70  
    2.71 -  補完入力で間違った単語を入れてしまい、@file{.yatexrc} に変な単語が記録さ
    2.72 -れるのが気になってしまって、もはや編集に集中できないあなた。学習させたコマ
    2.73 -ンドは、今書いている文書中で定義しているローカルなものなので、やはり標準の 
    2.74 -@file{.yatexrc} には保存して欲しくない、と思ったことのあるあなた。そんなあ
    2.75 -なたは、@file{~/.emacs} に次の一行を足してください。
    2.76 +  補完入力用の候補は三種類の辞書から構成されています。一つは
    2.77 +@file{yatex.el}に組み込まれた「標準辞書」、もう一つはユーザが個人的に常用
    2.78 +するコマンドを保存する「ユーザ辞書」、そしてもうひとつはあるディレクトリで
    2.79 +のみ有効なコマンドを保存する「ローカル辞書」です。
    2.80 +
    2.81 +  補完入力時に新しい単語を入れた場合に、その単語をどの辞書に入れるか聞いて
    2.82 +来ます。
    2.83 +
    2.84 +@example
    2.85 +  `foo' is not in table. Register into: U)serTable L)ocal N)one
    2.86 +@end example
    2.87 +
    2.88 +@noindent 
    2.89 +というプロンプトに対し、@kbd{u}と答えると「ユーザ辞書」を、@kbd{l}と答える
    2.90 +とローカル辞書を更新することになり、@kbd{n}と答えると新たな単語を学習せず
    2.91 +に捨てることになります。
    2.92 +
    2.93 +  もし、ローカル辞書の機能はいらず、全てユーザ辞書の更新のみでよいと言う場
    2.94 +合には@file{~/.emacs}などで、
    2.95  
    2.96  @lisp
    2.97 - 	(setq YaTeX-nervous t)
    2.98 + 	(setq YaTeX-nervous nil)
    2.99  @end lisp
   2.100  @cindex YaTeX-nervous
   2.101  
   2.102 -  通常の、@file{yatex.el} に組み込まれた「標準テーブル」と 
   2.103 -@file{~/.yatexrc} に保存される「ユーザテーブル」に加え、「一時テーブル」が
   2.104 -使えるようになります。これら補完テーブルにない単語を入れた時に、ユーザテー
   2.105 -ブル(UserTable)、その日だけ有効な一時テーブルに保存するか(TempTable)、覚え
   2.106 -ずに捨てる(None)かが選べるようになります。
   2.107 +@noindent 
   2.108 +として下さい。
   2.109  
   2.110 -  ところが、卒論などのように長期に渡って書く大きなものになると、その論文で
   2.111 -定義しているローカルなコマンドであっても「その日だけ」ではなく、その論文を
   2.112 -書いている間は補完してもらいたいものです。そんなときは、上記の変数
   2.113 -@code{YaTeX-nervous} を@code{t}にセットしたうえで、その論文を置いているディ
   2.114 -レクトリに@file{.yatexrc}(ユーザ辞書と同じ名前で中身は空)を作ってください。
   2.115 -すると、そのファイルをローカル辞書として一時テーブルの内容を保存するために
   2.116 -用います。以後、このローカル辞書の存在するディレクトリのファイルを編集する
   2.117 -時のみ、その辞書に含まれる補完候補が有効になります。
   2.118 -
   2.119 -@node Includeonly - 勝手にincludeonly, Where am I? - 今はどこ?, Local dictionary - ローカル辞書(神経質な人へ), Top
   2.120 +@node Includeonly - 勝手にincludeonly, Where am I? - 今はどこ?, Local dictionary - ローカル辞書, Top
   2.121  @comment  node-name,  next,  previous,  up
   2.122  @chapter 勝手にincludeonly
   2.123  @cindex 勝手にincludeonly[かってにincludeonly]
   2.124 @@ -1341,7 +1342,7 @@
   2.125  * Add-in functions - 付加関数(アドイン関数)::  
   2.126  @end menu
   2.127  
   2.128 -@node Lisp variables - lisp 変数, Add-in functions - 付加関数(アドイン関数),  , Customizations - カスタマイズ
   2.129 +@node Lisp variables - lisp 変数, Add-in functions - 付加関数(アドイン関数), Customizations - カスタマイズ, Customizations - カスタマイズ
   2.130  @comment  node-name,  next,  previous,  up
   2.131  @section lisp 変数
   2.132  @cindex prefixキー変更[prefixきーへんこう]
   2.133 @@ -1362,7 +1363,7 @@
   2.134  * Hook file - hook用ファイル::  
   2.135  @end menu
   2.136  
   2.137 -@node All customizable variables - カスタマイズ変数一覧, Sample definitions - カスタマイズ変数設定例,  , Lisp variables - lisp 変数
   2.138 +@node All customizable variables - カスタマイズ変数一覧, Sample definitions - カスタマイズ変数設定例, Lisp variables - lisp 変数, Lisp variables - lisp 変数
   2.139  @comment  node-name,  next,  previous,  up
   2.140  @subsection カスタマイズ変数一覧
   2.141  @cindex カスタマイズ変数一覧[かすたまいずへんすういちらん]
   2.142 @@ -1470,7 +1471,7 @@
   2.143  
   2.144  @item YaTeX-nervous
   2.145  
   2.146 -ローカル辞書を用いる時 @code{t} (@code{nil})
   2.147 +ローカル辞書を用いる時 @code{t} (@code{t})
   2.148  
   2.149  @item YaTeX-sectioning-regexp
   2.150