yatex

changeset 366:77a2fd4fd634

merged
author HIROSE Yuuji <yuuji@gentei.org>
date Fri, 26 Dec 2014 01:06:32 +0900
parents 30f1a2659a39 d69fd7b1ac4d
children c0827f80b18e
files newpage.rb yahtml.el yatex.el yatex19.el yatex23.el yatexadd.el yatexenv.el yatexgen.el yatexhie.el yatexhlp.el yatexlib.el yatexmth.el yatexpkg.el yatexprc.el yatexsec.el
diffstat 26 files changed, 2991 insertions(+), 1861 deletions(-) [+]
line diff
     1.1 --- a/docs/yahtmle	Mon Apr 01 23:03:34 2013 +0900
     1.2 +++ b/docs/yahtmle	Fri Dec 26 01:06:32 2014 +0900
     1.3 @@ -507,29 +507,30 @@
     1.4  
     1.5  
     1.6  
     1.7 +
     1.8  
     1.9  Tag table:
    1.10 -Node: Top259
    1.11 -Node: Intro836
    1.12 -Node: Installation1234
    1.13 -Node: Setting up yahtml1515
    1.14 -Node: Setting environments for weblint browsers and image viewers2306
    1.15 -Node: Setting environment variables for WWW pages3002
    1.16 -Node: Command Invocation3973
    1.17 -Node: Completion4401
    1.18 -Node: Jump5917
    1.19 -Node: Changing and Deleting6397
    1.20 -Node: Changing tags in pairs6681
    1.21 -Node: Changing entities7176
    1.22 -Node: URLencoding of strings within region7712
    1.23 -Node: td-enclosure/tr-enclosure8013
    1.24 -Node: CSS Support8979
    1.25 -Node: CSS-class completion9205
    1.26 -Node: Reread CSS definition10058
    1.27 -Node: Customizations10333
    1.28 -Node: All customizable variables10609
    1.29 -Node: Hook variables14377
    1.30 -Node: Copying14503
    1.31 -Node: Concept Index15294
    1.32 +Node: Top256
    1.33 +Node: Intro833
    1.34 +Node: Installation1231
    1.35 +Node: Setting up yahtml1512
    1.36 +Node: Setting environments for weblint browsers and image viewers2303
    1.37 +Node: Setting environment variables for WWW pages2999
    1.38 +Node: Command Invocation3970
    1.39 +Node: Completion4398
    1.40 +Node: Jump5914
    1.41 +Node: Changing and Deleting6394
    1.42 +Node: Changing tags in pairs6678
    1.43 +Node: Changing entities7173
    1.44 +Node: URLencoding of strings within region7709
    1.45 +Node: td-enclosure/tr-enclosure8010
    1.46 +Node: CSS Support8976
    1.47 +Node: CSS-class completion9202
    1.48 +Node: Reread CSS definition10055
    1.49 +Node: Customizations10330
    1.50 +Node: All customizable variables10606
    1.51 +Node: Hook variables14374
    1.52 +Node: Copying14500
    1.53 +Node: Concept Index15291
    1.54  
    1.55  End tag table
     2.1 --- a/docs/yahtmlj	Mon Apr 01 23:03:34 2013 +0900
     2.2 +++ b/docs/yahtmlj	Fri Dec 26 01:06:32 2014 +0900
     2.3 @@ -322,17 +322,17 @@
     2.4  力確定のときにリターンキー(またはC-m)ではなく、C-jを押せばclass補完入力を
     2.5  キャンセルできます。たとえば
     2.6  
     2.7 -      [prefix] l                    行内タグ補完を起動
     2.8 -         (または[prefix] l SPC)
     2.9 +      `[prefix] l'                    行内タグ補完を起動
    2.10 +         (または`[prefix] l SPC')
    2.11        tt                                  <tt></tt>をいれたいのでttと入力
    2.12 -      C-m
    2.13 +      `C-m'
    2.14  
    2.15  とした場合は続いて class= と補完プロンプトが出ますが、
    2.16  
    2.17 -      [prefix] l                    行内タグ補完を起動
    2.18 -         (または[prefix] l SPC)
    2.19 +      `[prefix] l'                    行内タグ補完を起動
    2.20 +         (または`[prefix] l SPC')
    2.21        tt                                  <tt></tt>をいれたいのでttと入力
    2.22 -      C-j
    2.23 +      `C-j'
    2.24  
    2.25  と最後を `C-j' で入力した場合は class 補完プロンプトは出ません。
    2.26  
    2.27 @@ -511,35 +511,36 @@
    2.28  * カスタマイズ[かすたまいす]:   Customizations.         4.
    2.29  * キーアサイン[きいあさいん]:   Customizations.         4.
    2.30  * Demacs:                       Intro.                  4.
    2.31 -* HTML屋[HTMLや]:               Intro.                  4.
    2.32 +* HTMLョ[HTMLや]:               Intro.                  4.
    2.33  * LaTeX:                        Intro.                  4.
    2.34  * Mule:                         Intro.                  4.
    2.35  
    2.36  
    2.37  
    2.38 +
    2.39  
    2.40  Tag table:
    2.41 -Node: Top260
    2.42 -Node: Intro729
    2.43 -Node: Installation1008
    2.44 -Node: yahtml起動のための設定1196
    2.45 -Node: lintプログラム/ブラウザ/イメージヴューア環境等の設定1850
    2.46 -Node: WWWページ環境用変数の設定2350
    2.47 -Node: Command Invocation3121
    2.48 -Node: Completion3448
    2.49 -Node: Jump4432
    2.50 -Node: Changing and Deleting4831
    2.51 -Node: 対タグの変更5005
    2.52 -Node: 文字参照への変更5355
    2.53 -Node: リジョン内文字のURLencode5738
    2.54 -Node: td括り/tr括り5972
    2.55 -Node: CSS Support6601
    2.56 -Node: CSS-class completion6799
    2.57 -Node: Reread CSS file7783
    2.58 -Node: Customizations8005
    2.59 -Node: All customizable variables8229
    2.60 -Node: Hook variables11227
    2.61 -Node: Copying11339
    2.62 -Node: Concept Index11842
    2.63 +Node: Top257
    2.64 +Node: Intro726
    2.65 +Node: Installation1005
    2.66 +Node: yahtml起動のための設定1193
    2.67 +Node: lintプログラム/ブラウザ/イメージヴューア環境等の設定1847
    2.68 +Node: WWWページ環境用変数の設定2347
    2.69 +Node: Command Invocation3118
    2.70 +Node: Completion3445
    2.71 +Node: Jump4429
    2.72 +Node: Changing and Deleting4828
    2.73 +Node: 対タグの変更5002
    2.74 +Node: 文字参照への変更5352
    2.75 +Node: リジョン内文字のURLencode5735
    2.76 +Node: td括り/tr括り5969
    2.77 +Node: CSS Support6598
    2.78 +Node: CSS-class completion6796
    2.79 +Node: Reread CSS file7792
    2.80 +Node: Customizations8014
    2.81 +Node: All customizable variables8238
    2.82 +Node: Hook variables11236
    2.83 +Node: Copying11348
    2.84 +Node: Concept Index11851
    2.85  
    2.86  End tag table
     3.1 --- a/docs/yatexe	Mon Apr 01 23:03:34 2013 +0900
     3.2 +++ b/docs/yatexe	Fri Dec 26 01:06:32 2014 +0900
     3.3 @@ -376,6 +376,9 @@
     3.4        `%#MAKEINDEX'
     3.5       
     3.6       	... Command line for bibtex ([prefix] t b)
     3.7 +      `%#DVIPDF'
     3.8 +     
     3.9 +     	... Command line for dvipdf(mx) ([prefix] t b)
    3.10  
    3.11  If you want to invoke "makeidx hogehoge" to update index, put the next
    3.12  line some upper place in the source, for example.
    3.13 @@ -1501,6 +1504,37 @@
    3.14   -- Variable: YaTeX-dvipdf-command
    3.15       Default command name to convert .dvi to PDF (`"dvipdfmx"')
    3.16  
    3.17 + -- Variable: YaTeX-cmd-gimp
    3.18 +     Command name of GIMP (code{"gimp"})
    3.19 + -- Variable: YaTeX-cmd-tgif
    3.20 +     Command name of tgif (code{"tgif"})
    3.21 + -- Variable: YaTeX-cmd-inkscape
    3.22 +     Command name of Inkscape (code{"inkscape"})
    3.23 + -- Variable: YaTeX-cmd-dia
    3.24 +     Command name of Dia (code{"dia"})
    3.25 + -- Variable: YaTeX-cmd-ooo
    3.26 +     Command name of OpenOffice.org/LibreOffice (code{"soffice"})
    3.27 + -- Variable: YaTeX-cmd-gs
    3.28 +     Command name of Ghostscript (code{"gs"})
    3.29 + -- Variable: YaTeX-cmd-dvips
    3.30 +     Command name of dvips (code{"dvips"})
    3.31 + -- Variable: YaTeX-cmd-displayline
    3.32 +     Command name of displayline
    3.33 +     (code{"/Applications/Skim.app/Contents/SharedSupport/displayline"})
    3.34 + -- Variable: YaTeX-cmd-edit-ps
    3.35 +     Command name for editing PostScript files(Value of
    3.36 +     code{"YaTeX-cmd-gimp"})
    3.37 + -- Variable: YaTeX-cmd-edit-pdf
    3.38 +     Command name for editing PDF files(Value of code{"YaTeX-cmd-ooo"})
    3.39 + -- Variable: YaTeX-cmd-edit-ai
    3.40 +     Command name for editing `.ai' files(Value of
    3.41 +     code{"YaTeX-cmd-inkscape"})
    3.42 + -- Variable: YaTeX-cmd-edit-svg
    3.43 +     Command name for editing SVG files(Value of
    3.44 +     code{"YaTeX-cmd-inkscape"})
    3.45 + -- Variable: YaTeX-cmd-edit-images
    3.46 +     Command name for editing image files(Value of code{"YaTeX-cmd-gimp"})
    3.47 +
    3.48   -- Variable: YaTeX-need-nonstop
    3.49       Put `\nonstopmode{}' or not (`nil')
    3.50  
    3.51 @@ -2178,69 +2212,70 @@
    3.52  
    3.53  
    3.54                                                                HIROSE Yuuji
    3.55 +
    3.56  
    3.57  Tag table:
    3.58 -Node: Top256
    3.59 -Node: What is YaTeX?1597
    3.60 -Node: Main features1970
    3.61 -Node: Installation3499
    3.62 -Node: Typesetting4276
    3.63 -Node: Calling typesetter5406
    3.64 -Node: Calling previewer7610
    3.65 -Node: Printing out7971
    3.66 -Node: %#notation8263
    3.67 -Node: Changing typesetter8681
    3.68 -Node: Splitting input files9045
    3.69 -Node: Static region for typesetting10470
    3.70 -Node: Lpr format11599
    3.71 -Node: Controlling which command to invoke12672
    3.72 -Node: Editing %# notation13265
    3.73 -Node: Completion13809
    3.74 -Node: Begin-type completion14369
    3.75 -Node: Section-type completion17412
    3.76 -Node: view-sectioning19847
    3.77 -Node: Large-type completion21427
    3.78 -Node: Maketitle-type completion22158
    3.79 -Node: Arbitrary completion22710
    3.80 -Node: End completion23100
    3.81 -Node: Accent completion23570
    3.82 -Node: Image completion24187
    3.83 -Node: Greek letters completion26444
    3.84 -Node: Local dictionaries27171
    3.85 -Node: Commenting out28108
    3.86 -Node: Cursor jump29567
    3.87 -Node: Jump to corresponding object29879
    3.88 -Node: Invoking image processor31280
    3.89 -Node: Jump to main file32623
    3.90 -Node: Jumping around the environment32988
    3.91 -Node: Jumping to last completion position33406
    3.92 -Node: Changing and Deleting33915
    3.93 -Node: Changing LaTeX commands34307
    3.94 -Node: Killing LaTeX commands35484
    3.95 -Node: Filling36669
    3.96 -Node: Updation of includeonly38520
    3.97 -Node: What column39317
    3.98 -Node: Intelligent newline40402
    3.99 -Node: Usepackage checker42056
   3.100 -Node: Online help42647
   3.101 -Node: Browsing file hierarchy44322
   3.102 -Node: Cooperation with other packages46059
   3.103 -Node: Customizations46764
   3.104 -Node: Lisp variables47098
   3.105 -Node: All customizable variables48102
   3.106 -Node: Sample definitions57901
   3.107 -Node: Hook variables58414
   3.108 -Node: Hook file59118
   3.109 -Node: Add-in functions59457
   3.110 -Node: How the add-in function works60317
   3.111 -Node: Defining option-add-in62516
   3.112 -Node: Defining argument-add-in63238
   3.113 -Node: Defining enclosing-add-in64120
   3.114 -Node: How the function is called64974
   3.115 -Node: Useful functions for creating add-in65650
   3.116 -Node: Contribution67055
   3.117 -Node: Add-in generator67329
   3.118 -Node: Etcetera72701
   3.119 -Node: Copying73306
   3.120 +Node: Top253
   3.121 +Node: What is YaTeX?1594
   3.122 +Node: Main features1967
   3.123 +Node: Installation3496
   3.124 +Node: Typesetting4273
   3.125 +Node: Calling typesetter5403
   3.126 +Node: Calling previewer7607
   3.127 +Node: Printing out7968
   3.128 +Node: %#notation8260
   3.129 +Node: Changing typesetter8678
   3.130 +Node: Splitting input files9042
   3.131 +Node: Static region for typesetting10467
   3.132 +Node: Lpr format11596
   3.133 +Node: Controlling which command to invoke12669
   3.134 +Node: Editing %# notation13339
   3.135 +Node: Completion13883
   3.136 +Node: Begin-type completion14443
   3.137 +Node: Section-type completion17486
   3.138 +Node: view-sectioning19921
   3.139 +Node: Large-type completion21501
   3.140 +Node: Maketitle-type completion22232
   3.141 +Node: Arbitrary completion22784
   3.142 +Node: End completion23174
   3.143 +Node: Accent completion23644
   3.144 +Node: Image completion24261
   3.145 +Node: Greek letters completion26518
   3.146 +Node: Local dictionaries27245
   3.147 +Node: Commenting out28182
   3.148 +Node: Cursor jump29641
   3.149 +Node: Jump to corresponding object29953
   3.150 +Node: Invoking image processor31354
   3.151 +Node: Jump to main file32697
   3.152 +Node: Jumping around the environment33062
   3.153 +Node: Jumping to last completion position33480
   3.154 +Node: Changing and Deleting33989
   3.155 +Node: Changing LaTeX commands34381
   3.156 +Node: Killing LaTeX commands35558
   3.157 +Node: Filling36743
   3.158 +Node: Updation of includeonly38594
   3.159 +Node: What column39391
   3.160 +Node: Intelligent newline40476
   3.161 +Node: Usepackage checker42130
   3.162 +Node: Online help42721
   3.163 +Node: Browsing file hierarchy44396
   3.164 +Node: Cooperation with other packages46133
   3.165 +Node: Customizations46838
   3.166 +Node: Lisp variables47172
   3.167 +Node: All customizable variables48176
   3.168 +Node: Sample definitions59211
   3.169 +Node: Hook variables59724
   3.170 +Node: Hook file60428
   3.171 +Node: Add-in functions60767
   3.172 +Node: How the add-in function works61627
   3.173 +Node: Defining option-add-in63826
   3.174 +Node: Defining argument-add-in64548
   3.175 +Node: Defining enclosing-add-in65430
   3.176 +Node: How the function is called66284
   3.177 +Node: Useful functions for creating add-in66960
   3.178 +Node: Contribution68365
   3.179 +Node: Add-in generator68639
   3.180 +Node: Etcetera74011
   3.181 +Node: Copying74616
   3.182  
   3.183  End tag table
     4.1 --- a/docs/yatexe.tex	Mon Apr 01 23:03:34 2013 +0900
     4.2 +++ b/docs/yatexe.tex	Fri Dec 26 01:06:32 2014 +0900
     4.3 @@ -8,7 +8,7 @@
     4.4  
     4.5  @iftex
     4.6  @c @syncodeindex fn cp
     4.7 -@c Last modified Fri May 11 15:40:49 2012 on firestorm
     4.8 +@c Last modified Fri Dec 26 00:09:22 2014 on firestorm
     4.9  @syncodeindex vr cp
    4.10  @end iftex
    4.11  
    4.12 @@ -419,6 +419,8 @@
    4.13  	@dots{} Command line for makeindex ([prefix] t i)
    4.14   @item %#MAKEINDEX
    4.15  	@dots{} Command line for bibtex ([prefix] t b)
    4.16 + @item %#DVIPDF
    4.17 +	@dots{} Command line for dvipdf(mx) ([prefix] t b)
    4.18  @end table
    4.19  
    4.20  If you want to invoke ``makeidx hogehoge'' to update index,
    4.21 @@ -1692,6 +1694,47 @@
    4.22  Default command name to convert .dvi to PDF (@code{"dvipdfmx"})
    4.23  @end defvar
    4.24  
    4.25 +@defvar YaTeX-cmd-gimp
    4.26 +Command name of GIMP (code{"gimp"})
    4.27 +@end defvar
    4.28 +@defvar YaTeX-cmd-tgif
    4.29 +Command name of tgif (code{"tgif"})
    4.30 +@end defvar
    4.31 +@defvar YaTeX-cmd-inkscape
    4.32 +Command name of Inkscape (code{"inkscape"})
    4.33 +@end defvar
    4.34 +@defvar YaTeX-cmd-dia
    4.35 +Command name of Dia (code{"dia"})
    4.36 +@end defvar
    4.37 +@defvar YaTeX-cmd-ooo
    4.38 +Command name of OpenOffice.org/LibreOffice (code{"soffice"})
    4.39 +@end defvar
    4.40 +@defvar YaTeX-cmd-gs
    4.41 +Command name of Ghostscript (code{"gs"})
    4.42 +@end defvar
    4.43 +@defvar YaTeX-cmd-dvips
    4.44 +Command name of dvips (code{"dvips"})
    4.45 +@end defvar
    4.46 +@defvar YaTeX-cmd-displayline
    4.47 +Command name of displayline
    4.48 +(code{"/Applications/Skim.app/Contents/SharedSupport/displayline"})
    4.49 +@end defvar
    4.50 +@defvar YaTeX-cmd-edit-ps
    4.51 +Command name for editing PostScript files(Value of code{"YaTeX-cmd-gimp"})
    4.52 +@end defvar
    4.53 +@defvar YaTeX-cmd-edit-pdf
    4.54 +Command name for editing PDF files(Value of code{"YaTeX-cmd-ooo"})
    4.55 +@end defvar
    4.56 +@defvar YaTeX-cmd-edit-ai
    4.57 +Command name for editing `.ai' files(Value of code{"YaTeX-cmd-inkscape"})
    4.58 +@end defvar
    4.59 +@defvar YaTeX-cmd-edit-svg
    4.60 +Command name for editing SVG files(Value of code{"YaTeX-cmd-inkscape"})
    4.61 +@end defvar
    4.62 +@defvar YaTeX-cmd-edit-images
    4.63 +Command name for editing image files(Value of code{"YaTeX-cmd-gimp"})
    4.64 +@end defvar
    4.65 +
    4.66  @defvar YaTeX-need-nonstop
    4.67  Put @code{\nonstopmode@{@}} or not (@code{nil})
    4.68  @end defvar
     5.1 --- a/docs/yatexj	Mon Apr 01 23:03:34 2013 +0900
     5.2 +++ b/docs/yatexj	Fri Dec 26 01:06:32 2014 +0900
     5.3 @@ -16,44 +16,47 @@
     5.4  
     5.5  * Menu:
     5.6  
     5.7 -* Intro::                       はじめに
     5.8 -* Terminology::                 マニュアル参照上の注意
     5.9 -* Main features::               主な機能
    5.10 -* Installation::                インストール
    5.11 -* Invocation::                  プロセス起動
    5.12 -* %#notation ::                 %#記法
    5.13 -* Completion::                  補完入力
    5.14 -* Local dictionary::            ローカル辞書
    5.15 -* Commenting out::              コメントアウト
    5.16 -* Cursor jump::                 カーソルジャンプ
    5.17 -* Modifying/Deleting::          LaTeXコマンドの変更/削除
    5.18 -* Filling::                     桁揃え
    5.19 -* Includeonly::                 勝手に includeonly
    5.20 -* What column::                 カラム位置ガイド
    5.21 -* Intelligent newline::         おまかせ改行
    5.22 -* Usepackage cheker::           先回りusepackage
    5.23 -* Changing mode of YaTeX::      野鳥動作モード変更
    5.24 -* Online help::                 LaTeXオンラインヘルプ
    5.25 -* Inclusion hierarchy browser::  ファイル分割階層構造の表示
    5.26 -* Cooperation with other packages::  他パッケージとの連携
    5.27 -* Customizations::              カスタマイズ
    5.28 -* Etc::                         その他
    5.29 -* Copying::                     取り扱い
    5.30 -* Concept Index::               索引
    5.31 +* Intro::                       マク睛
    5.32 +* Terminology::                 ゙ヒ蠅イネ衾ユ
    5.33 +* Main features::               醋。ス
    5.34 +* Installation::                、ケネシ
    5.35 +* Invocation::                  ラサケッー
    5.36 +* %#notation ::                 %#ュ。
    5.37 +* Completion::                  莢マ
    5.38 +* Local dictionary::            シォュ
    5.39 +* Commenting out::              ウ碯ネ「ヲネ
    5.40 +* Cursor jump::                 ォシスク胚ラ
    5.41 +* Modifying/Deleting::          LaTeXヴノホムケ/
    5.42 +* Filling::                     蟾ィ
    5.43 +* Includeonly::                 。ヒ includeonly
    5.44 +* What column::                 ォ鰲フヨャ、ノ
    5.45 +* Intelligent newline::         ェ゙ォサヤ
    5.46 +* Usepackage cheker::           頤黏sepackage
    5.47 +* Changing mode of YaTeX::      サー箴ノムケ
    5.48 +* Online help::                 LaTeXェ鬢リラ
    5.49 +* Inclusion hierarchy browser::  ユ。、ャ莅リス、ホスィ
    5.50 +* Cooperation with other packages::  セムテアシクネホ「ネ
    5.51 +* Customizations::              ォケゾ、コ
    5.52 +* Etc::                         スホセ
    5.53 +* Copying::                     韭キ、
    5.54 +* Concept Index::               
    5.55  
    5.56  
    5.57  
    5.58  
    5.59  File: yatexj, Node: Intro, Next: Terminology, Prev: Top, Up: Top
    5.60  
    5.61 -はじめに
    5.62 -********
    5.63 -
    5.64 -  野鳥は、GNU Emacs で LaTeX 用の文書を作成する時に pLaTeX などのタイプセッ
    5.65 -トコマンドや、プレヴューアの起動を Emacs 編集画面中から行えるようにすると
    5.66 -共に、拡張性の高い種々の補完機能によりソーステキストの編集を支援します。さ
    5.67 -らに LaTeX コマンドのオンラインヘルプによりマニュアルを調べる手間を軽減し
    5.68 -ます。
    5.69 +マク睛
    5.70 +****************
    5.71 +
    5.72 +  サマ「GNU Emacs ヌ LaTeX
    5.73 +ムホクョケヒ pLaTeX ハノホ
    5.74 +ソ、ラサテネヴノ茲ラ蠑「ホッー
    5.75 +Emacs ヤク靂讚
    5.76 +ヤィ隕ヒケネヲヒ「ネ・ュホ筅ケホ莢。スヒ韭スシケニュ
    5.77 +ケネホヤクル邱゙ケ」オ鰺 LaTeX
    5.78 +ヴノホェ鬢リラヒ
    5.79 +韭゙ヒ蠅エルヨレコギケ」
    5.80  
    5.81    English manual *Note Top: (yatexe)Top.
    5.82  
    5.83 @@ -61,312 +64,348 @@
    5.84  
    5.85  File: yatexj, Node: Terminology, Next: Main features, Prev: Intro, Up: Top
    5.86  
    5.87 -本マニュアル参照上の注意
    5.88 -************************
    5.89 -
    5.90 -  本マニュアルでは以下の表記を用います。
    5.91 -
    5.92 -   * begin型コマンド
    5.93 -
    5.94 -     `\begin{環境} 〜 \end{環境}'という形式のLaTeXコマンドを指します。
    5.95 -     begin型コマンドを補完入力することをbegin型補完と呼びます。
    5.96 -
    5.97 -   * section型コマンド
    5.98 -
    5.99 -     `\section{タイトル}'や`\mbox{内容}'のように引数を取るLaTeXコマンドを
   5.100 -     指します。
   5.101 -
   5.102 -   * maketitle型コマンド
   5.103 -
   5.104 -     `\maketitle'や`\tableofcontents'のように引数を取らないLaTeXコマンドを
   5.105 -     指します。
   5.106 -
   5.107 -   * large型コマンド
   5.108 -
   5.109 -     `{\large ...}' や `{\tt ...}' のようなフォント/サイズ指定子を指します。
   5.110 +ヷヒ蠅イネ衾ユ
   5.111 +************************************************
   5.112 +
   5.113 +  ヷヒ蠅ヌマハシホスュム、゙ケ」
   5.114 +
   5.115 +   * beginソヴノ
   5.116 +
   5.117 +     `\begin{トュ} チ
   5.118 +     \end{トュ}'ネ、ヲチーホLaTeXヴノリギケ」
   5.119 +     beginソヴノ莢マケウネbeginソ莢ネニモ゙ケ」
   5.120 +
   5.121 +   * sectionソヴノ
   5.122 +
   5.123 +     `\section{ソ、ネ}'臍\mbox{簇}'ホ隕ヒ
   5.124 +     齏LaTeXヴノリギケ」
   5.125 +
   5.126 +   * maketitleソヴノ
   5.127 +
   5.128 +     `\maketitle'臍\tableofcontents'ホ隕ヒ韜ハ、LaTeXヴ
   5.129 +     ノリギケ」
   5.130 +
   5.131 +   * largeソヴノ
   5.132 +
   5.133 +     `{\large ...}'  `{\tt ...}'
   5.134 +     ホ隕ハユゥネ/オ、コリメ
   5.135 +     リギケ」
   5.136  
   5.137     * `[prefix]'
   5.138  
   5.139 -     野鳥の機能を呼び出すためのプリフィクスキー。デフォルトでは`C-c'に割り
   5.140 -     当てられているので、特に変更していない場合本マニュアルの `[prefix]' 
   5.141 -     という表記は、`C-c' と読み換えてください。
   5.142 +     サホ。スニモミケソ睾ラユ」ッケュシ」ヌユゥネヌマ`C-c'ヒ蓐
   5.143 +     ニ鴈ニ、ホヌ「テヒムケキニ、ハ、釛゙ヒ蠅ホ
   5.144 +     `[prefix]' ネ 、ヲスュマ「`C-c'
   5.145 +     ネノ゚ケィニッタオ、」
   5.146  
   5.147  
   5.148  
   5.149  File: yatexj, Node: Main features, Next: Installation, Prev: Terminology, Up: Top
   5.150  
   5.151 -主な機能
   5.152 -********
   5.153 -
   5.154 -   * タイプセッタやプレヴューアなどの編集画面からの起動(`C-c t')
   5.155 -   * カーソル位置によらない固定リジョンの部分タイプセット
   5.156 -   * \includeonlyのワンタッチ更新
   5.157 -   * エラー箇所への自動ジャンプ(`C-c '')
   5.158 -   * `\begin{}, \end{}, \section...' などの LaTeX コマンドの補完入力(`C-c
   5.159 -     b', `C-c s', `C-c l', `C-c m')
   5.160 -   * 既に入力したテキストを環境やコマンド引数の中に取り込む括り補完(`C-u'
   5.161 -     +通常補完キー)
   5.162 -   * セクション区切り入力時の文書構造アウトライン表示
   5.163 -   * セクションコマンドの一括シフト (*Note view-sectioning::)
   5.164 -   * 補完辞書の学習
   5.165 -   * LaTeX の環境やコマンドに応じたガイド付き引数入力
   5.166 -   * 野鳥にないガイド付き引数入力関数の自動生成(`yatexgen.el')
   5.167 -   * LaTeX コマンドの削除/変更(`C-c k', `C-c c')
   5.168 -   * ファイル間、`\begin'<->`\end'間、`\ref'<->`\label'間、
   5.169 -     `\cite'<->`\bibitem'ジャンプ(`C-c g')
   5.170 -   * 一括コメントアウト/アンコメントアウト(`C-c >', `C-c <', `C-c ,', `C-c
   5.171 -     .')
   5.172 -   * アクセント記号/数式環境用コマンド/ギリシャ文字の入力支援(`C-c a',
   5.173 -     `;', `/')
   5.174 -   * tabular/array環境のカラム位置ガイド
   5.175 -   * 標準的 LaTeX コマンドのオンラインヘルプ(`C-c ?', `C-c /')
   5.176 -   * ドキュメントのインクルード構造の視覚的表示とバッファ切り替え(`C-c d')
   5.177 -   * 補完入力したマクロに応じて必要な \userpackage を入れてくれる先回り
   5.178 -     userpackage
   5.179 -   * \labelを打つことはもう忘れよう! refやcite補完入力で自動生成します
   5.180 +醋。ス
   5.181 +****************
   5.182 +
   5.183 +   * ソ、ラサテソ葫蠑「ハノホヤク靂ォ鯰ッー(`C-c t')
   5.184 +   * ォシスフヨヒ韜ハ、ヌク銛ホャソ、ラサテネ
   5.185 +   * \includeonlyホソテチケキ
   5.186 +   * ィ鮠ユリホォーク胚ラ(`C-c '')
   5.187 +   * `\begin{}, \end{}, \section...' ハノホ LaTeX
   5.188 +     ヴノホ莢マ (`C-c b', `C-c s', `C-c l', `C-c
   5.189 +     m')
   5.190 +   * ヒマキソニュケネトュ莎゙ノホ賤韭珸莢
   5.191 +     (`C-u' +フ莢ュシ)
   5.192 +   * サッキ銛靺マホクス、「ヲネ鬢スィ
   5.193 +   * サッキ銛ヴノホ邱ユネ (*Note view-sectioning::)
   5.194 +   * 莢ュホリャ
   5.195 +   * LaTeX ホトュ莎゙ノヒクソャ、ノユュマ
   5.196 +   * サヒハ、ャ、ノユュマリホォークョ(`yatexgen.el')
   5.197 +   * LaTeX ヴノホ/ムケ(`C-c k', `C-c c')
   5.198 +   * ユ。、ヨ「`\begin'<->`\end'ヨ「
   5.199 +     `\ref'<->`\label'ヨ「 `\cite'<->`\bibitem'ク胚ラ(`C-c
   5.200 +     g')
   5.201 +   * 邉碯ネ「ヲネ/「ウ碯ネ「ヲネ
   5.202 +     (`C-c >', `C-c <', `C-c ,', `C-c .')
   5.203 +   * 「ッサネュ/ートュムヴノ/ョキ羣ホマル
   5.204 +     (`C-c a', `;', `/')
   5.205 +   * tabular/arrayトュホォ鰲フヨャ、ノ
   5.206 +   * ク爼 LaTeX ヴノホェ鬢リラ(`C-c ?', `C-c /')
   5.207 +   * ノュ裔ネホ、ッシノス、ホミェスィネミテユ。レリィ
   5.208 +     (`C-c d')
   5.209 +   * 莢マキゾッヒクニャラハ
   5.210 +     \userpackage ニッ頤 userpackage
   5.211 +   * \labelヌトウネマ筥コ隕! ref臘ite莢マヌォークョギケ
   5.212  
   5.213  
   5.214  
   5.215  File: yatexj, Node: Installation, Next: Invocation, Prev: Main features, Up: Top
   5.216  
   5.217 -起動法
   5.218 -******
   5.219 -
   5.220 -野鳥起動のための設定
   5.221 -====================
   5.222 -
   5.223 -  ~/.emacsに下の2項目を加えます。
   5.224 +ッー。
   5.225 +************
   5.226 +
   5.227 +サッーホソ睾゚
   5.228 +========================================
   5.229 +
   5.230 +  ~/.emacsヒシホ2玳ティ゙ケ」
   5.231  
   5.232       (setq auto-mode-alist
   5.233             (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist))
   5.234       (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
   5.235  
   5.236 -次に野鳥の emacs-lisp ファイル群を置くディレクトリを load-path に加えます。
   5.237 -たとえば、 `~/src/emacs/yatex'に置くのであれば、
   5.238 +。ヒサホ emacs-lisp
   5.239 +ユ。、イヨッヌ」ッネ load-path
   5.240 +ヒティ゙ケ」 ソネィミ「
   5.241 +`~/src/emacs/yatex'ヒヨッホヌ「ミ「
   5.242  
   5.243       (setq load-path (cons (expand-file-name "~/src/emacs/yatex") load-path))
   5.244  
   5.245 -などとします。
   5.246 -
   5.247 -  以上の設定により、拡張子が .tex であるファイルを編集すると自動的に野鳥が
   5.248 -ロードされます。野鳥が正常に起動できたときはモードラインの表示が「やてふ」
   5.249 -に変わります。
   5.250 -
   5.251 -
   5.252 -タイプセッタ/プレヴューア環境の設定
   5.253 -===================================
   5.254 -
   5.255 -  利用する外部プログラムに関する以下の変数を確認し、必要なら正しい値に変更
   5.256 -します。
   5.257 +ハノネギケ」
   5.258 +
   5.259 +  ハ衾゚ヒ韭「ネ・メャ .tex
   5.260 +ヌ「ユ。、ヤクケネォーェヒサャ
   5.261 +シノオ゙ケ」サャオヒッーヌュソネュマ箴ノ鬢ホスィャヨ菷ユラ
   5.262 +ヒム゙ケ」
   5.263 +
   5.264 +
   5.265 +ソ、ラサテソ/ラ蠑「トュポ
   5.266 +=====================================================================
   5.267 +
   5.268 +  ムケーラー鰲ヒリケハシホムホァキ「ャラハ魴キ、ヘヒムケ
   5.269 +ギケ」
   5.270  `tex-command'
   5.271 -             ... 起動するタイプセッタのコマンド名
   5.272 +             ... ッーケソ、ラサテソホヴノセ
   5.273  `dvi2-command'
   5.274 -             ... 起動するプレヴューアのコマンド名
   5.275 +             ... ッーケラ蠑「ホヴノセ
   5.276  `NTT-jTeX'
   5.277 -             ... 改行+インデントによって、タイプセット後の字間が空いてしま
   5.278 -     うのを抑制する場合にtにする(古いNTT-jTeXで顕著に現れる)。具体的には、
   5.279 -     fillするときに各行の終わりに%を付加するようになる。
   5.280 +             ... ヤ+、ヌネヒ霤ニ「ソ、ラサテネ衾ヨャ、ニギ
   5.281 +     ヲボゥケ醉tヒケ(ナ、NTT-jTeXヌイヒス)」ホェヒマ「
   5.282 +     fillケネュヒニヤホェヒ%ユテケ隕ヒハ」
   5.283  `YaTeX-kanji-code'
   5.284 -             ... 文書を作成する時の漢字コード
   5.285 +             ... クョケホチウシノ
   5.286  `dviprint-command-format'
   5.287 -             ... ファイルの印刷に使われるコマンド列の書式
   5.288 -`makeindex-command'
   5.289 -             ... makeindexコマンド
   5.290 -
   5.291 -これらを変更する場合は、やはり`~/.emacs'にて、たとえば(setq tex-command
   5.292 -"pdflatex") のようにしてください。どのような値をセットすれば良いかについて
   5.293 -は、*Note All customizable variables::を参照してください。
   5.294 +             ... ユ。、ホヒネヴノホー
   5.295 +`YaTeX-dvipdf-command'
   5.296 +             ... DVIPDFヒムケケヴノ
   5.297 +
   5.298 +ウ鶯ムケケ醯「蔆鸛~/.emacs'ヒニ「ソネィミ
   5.299 +(setq tex-command "pdflatex")
   5.300 +ホ隕ヒキニッタオ、」ノホ隕ハヘサテネケミノ、ォヒト、ニマ「
   5.301 +*Note All customizable variables::イネキニッタオ、」
   5.302  
   5.303  
   5.304  
   5.305  
   5.306  File: yatexj, Node: Invocation, Next: %#notation, Prev: Installation, Up: Top
   5.307  
   5.308 -latexコマンド起動
   5.309 -*****************
   5.310 -
   5.311 -LaTeXソースの編集中、次のキー入力により、platex などのタイプセットプログラ
   5.312 -ム(以後タイプセッタと呼ぶ)、プレヴューアなどの起動ができます。
   5.313 +latexヴノッー
   5.314 +*****************************
   5.315 +
   5.316 +LaTeXスシケホヤク譴。ホュシマヒ韭「platex
   5.317 +ハノホソ、ラサテネラー
   5.318 +(ハ蠢、ラサテソネニヨ)「ラ蠑「ハノホッーャヌュ゙ケ」
   5.319  
   5.320  `[prefix] t j'
   5.321 -             ... タイプセッタ(platex)起動
   5.322 +             ... ソ、ラサテソ(platex)ッー
   5.323  `[prefix] t r'
   5.324 -             ... タイプセッタ起動(領域指定)
   5.325 +             ... ソ、ラサテソッー(ホ靼)
   5.326  `[prefix] t e'
   5.327 -             ... タイプセッタ起動(ポイント位置の環境または数式モードのみ対
   5.328 -     象)
   5.329 +             ... ソ、ラサテソッー
   5.330 +     (ン、ネフヨホトュ゙ソマー箴ノポミン)
   5.331  `[prefix] t k'
   5.332 -             ... 動作中のタイプセッタの停止
   5.333 +             ... ー賽ソ、ラサテソホ葹
   5.334  `[prefix] t b'
   5.335 -             ... jbibtex起動
   5.336 +             ... jbibtexッー
   5.337  `[prefix] t i'
   5.338 -             ... makeindex起動
   5.339 +             ... makeindexッー
   5.340  `[prefix] t d'
   5.341 -     	... タイプセット完了後dvipdfmx起動
   5.342 +     	... ソ、ラサテネーサ蘚vipdfmxッー
   5.343  `[prefix] t p'
   5.344 -             ... プレヴューア起動
   5.345 +             ... ラ蠑「ッー
   5.346  `[prefix] t l'
   5.347 -             ... lpr(プリントアウト用)コマンド起動
   5.348 +             ... lpr(ラネ「ヲネム)ヴノッー
   5.349  `[prefix] t s'
   5.350 -             ... xdvi -remote でのサーチ
   5.351 +             ... xdvi -remote ヌホオシチ
   5.352  
   5.353  * Menu:
   5.354  
   5.355 -* Calling typesetter::          タイプセッタ起動
   5.356 -* Calling previewer::           プレヴューア起動
   5.357 -* Print out::                   プリントアウト用コマンドの起動
   5.358 +* Calling typesetter::          ソ、ラサテソッー
   5.359 +* Calling previewer::           ラ蠑「ッー
   5.360 +* Print out::                   ラネ「ヲネムヴノホッー
   5.361  
   5.362  
   5.363  
   5.364  File: yatexj, Node: Calling typesetter, Next: Calling previewer, Prev: Invocation, Up: Invocation
   5.365  
   5.366 -タイプセッタ起動
   5.367 -================
   5.368 -
   5.369 -  タイプセッタを起動すると、編集ウィンドウが2つに分割され、片方のウィンド
   5.370 -ウにタイプセット画面が表示されます。出力されるメッセージと連動しタイプセッ
   5.371 -トバッファは自動的にスクロールします。もし、途中でエラーが起こって止まって
   5.372 -しまった場合にはタイプセットバッファに移り、(`C-x o') タイプセッタの出して
   5.373 -いる ? プロンプトに対して、`x' (処理の中断)などの指示を送ることができます。
   5.374 -エラーを修正する場合は、
   5.375 +ソ、ラサテソッー
   5.376 +================================
   5.377 +
   5.378 +  ソ、ラサテソッーケネ「ヤクヲ」ノヲャ2トヒャ莊「メホヲ」ノ
   5.379 +ヲヒソ、ラサテネ靂ャスィオ゙ケ」ミマオ眦サシクネ「ーキソ、ラサテ
   5.380 +ネミテユ。マォーェヒケッシギケ」箙「モ貮ィ鮠ャッウテニ゚゙テニ
   5.381 +ギテソ醉マソ、ラサテネミテユ。ヒワ瑤(`C-x
   5.382 +o') ソ、ラサテソホミ キニ、 ?
   5.383 +ララネヒミキニ「`x'
   5.384 +(ホ貮)ハノホリィウネャ
   5.385 +ヌュ゙ケ」ィ鮠、オケ醯「
   5.386  
   5.387  `[prefix] ''
   5.388 -`(prefix+アポストロフィ)'
   5.389 -             ... 直前のエラー発生行へジャンプ
   5.390 -
   5.391 -を入力することにより、タイプセッタがエラーを発生した行に移ることができます。
   5.392 -また、タイプセッタの出力する overfull hbox などのウォーニング行にも対応し
   5.393 -ていますので、順次 `[prefix] '' を押すことにより、一つ前のウォーニング発生
   5.394 -行にジャンプしていきます。
   5.395 -
   5.396 -  もし、気になるエラー行があった場合は、タイプセットバッファで、エラーの表
   5.397 -示されている行にカーソルを合わせスペースキーを押すと LaTeX ソースの対応す
   5.398 -る行にジャンプします。
   5.399 -
   5.400 -
   5.401 -領域タイプセット
   5.402 -----------------
   5.403 -
   5.404 -  ポイントとマークの間、あるいはテキスト中に埋め込んだ `%#BEGIN' と`%#END'
   5.405 -の間の領域(*Note %#notation::)だけを切り取ってタイプセットすることができま
   5.406 -す。この場合メインファイルのプリアンブルが一時ファイルのプリアンブルとして
   5.407 -使われます。したがってプリアンブルにないマクロ定義が領域内にあるとエラーに
   5.408 -なります。領域タイプセットを使う場合、必ずマクロ定義はプリアンブル
   5.409 -(`\begin{document}'より前)に置くようにして下さい。一時ファイルはメインファ
   5.410 -イルのあるディレクトリの`texput.tex'という名前で出力されるので、上書きには
   5.411 -注意してください。
   5.412 -
   5.413 -
   5.414 -環境タイプセット
   5.415 -----------------
   5.416 -
   5.417 -  `[prefix] te' を押すと、ポイント位置の最も内側の環境、または数式モード内
   5.418 -の場合はその数式モード全体が自動的に領域選択されて、領域タイプセットを呼び
   5.419 -出します。tabular環境や数式モードで複雑なものを作っている場合は確かめたい
   5.420 -部分だけを確認できるので便利です。これも `texput.tex' に該当部分を書き出し
   5.421 -ます。プレヴューアで `texput.dvi' を開いたままにしておけば修正と確認が素早
   5.422 -くできるでしょう。
   5.423 +`(prefix+「ンケネユ」)'
   5.424 +             ... セーホィ鮠ックヤリク胚ラ
   5.425 +
   5.426 +マケウネヒ韭「ソ、ラサテソャィ鮠ックキソヤヒワウネャヌュ゙ケ」
   5.427 +゙ソ「ソ、ラサテソホミマケ overfull hbox
   5.428 +ハノホヲゥシヒーヤヒ簟キ
   5.429 +ニ、゙ケホヌ「遑 `[prefix] ''
   5.430 +。ケウネヒ韭「トーホヲゥシヒー
   5.431 +ックヤヒク胚ラキニ、ュ゙ケ」
   5.432 +
   5.433 +  箙「、ヒハィ鮠ヤャ「テソ醯「ソ、ラサテネミテユ。ヌ「ィ
   5.434 +鮠ホスィオニ、ヤヒォシス鉐サケレシケュシ。ケネ
   5.435 +LaTeX
   5.436 +スシケホミケヤヒク胚ラギケ」
   5.437 +
   5.438 +
   5.439 +ホ霑、ラサテネ
   5.440 +--------------------------------
   5.441 +
   5.442 +  ン、ネネ゙シッホヨ「「、マニュケネ賤蓊タ
   5.443 +`%#BEGIN' ネ `%#END'ホヨホホ(*Note
   5.444 +%#notation::)タアレ霤ニソ、ラサテネケウネャ
   5.445 +ヌュ゙ケ」ウホ釿、ユ。、ホラ瑤ヨャユ。、ホ
   5.446 +ラ瑤ヨネキニネ゙ケ」キソャテニラ瑤ヨヒハ、゙ッチャ
   5.447 +ホ鞣ヒ「ネィ鮠ヒバケ」ホ霑、ラサテネネヲ遒
   5.448 +ャゴッチマラ瑤ヨ(`\begin{document}'韭ー)ヒヨッ隕
   5.449 +ヒキニシオ、」ユ。、マ皃ユ。、ホ「
   5.450 +ヌ」ッネホ`texput.tex'ネ、ヲセーヌミマオホヌ「
   5.451 +褥ュヒマユキニッタオ、」
   5.452 +
   5.453 +
   5.454 +トュソ、ラサテネ
   5.455 +--------------------------------
   5.456 +
   5.457 +  `[prefix] te'
   5.458 +。ケネ「ン、ネフヨホヌ粐ヲホトュ「゙ソマー箴
   5.459 +ノ簧醯スホー箴ノエホャォーェヒホ隱オニ「ホ霑、ラサテネ
   5.460 +ニモミギケ」tabularトュ蔬ー箴ノヌ」ィハ簧テニ、醯ホォ眩
   5.461 +、ャタアホァヌュホヌリヌケ」ウ
   5.462 +`texput.tex' ヒコャ
   5.463 +ュミギケ」ラ蠑「ヌ `texput.dvi'
   5.464 +ォ、ゾ゙ヒキニェアミ
   5.465 +、オネホァャヌ皹ヌュヌキ遖」
   5.466  
   5.467  
   5.468  
   5.469  File: yatexj, Node: Calling previewer, Next: Print out, Prev: Calling typesetter, Up: Invocation
   5.470  
   5.471 -プレヴューア起動
   5.472 -================
   5.473 -  `[prefix] t p' によりプレヴューアの起動ができます。さらに、もしあなたが、-
   5.474 -remote 機能つきのxdviを利用している場合は `[prefix] t s' を押すことにより
   5.475 -カーソル位置の文字列を検索してそのページを表示するようにすでに起動中のxdvi
   5.476 -に命令を送ります。これにより、現在編集中の箇所のタイプセット結果を即座に見
   5.477 -ることができます。
   5.478 +ラ蠑「ッー
   5.479 +================================
   5.480 +  `[prefix] t p'
   5.481 +ヒ韭ラ蠑「ホッーャヌュ゙ケ」オ鰺「箙「ハ
   5.482 +ソャ「-remote
   5.483 +。ストュホxdviムキニ、醯 `[prefix]
   5.484 +t s' 。ケ
   5.485 +ウネヒ韭ォシスフヨホク。キニスホレシクスィケ隕ヒケヌヒッ
   5.486 +ー賽xdviヒソ碪゙ケ」ウヒ韭「ス゚ヤク賽ユホソ、ラサテネフ
   5.487 +ィツヒォウネャヌュ゙ケ」
   5.488  
   5.489  
   5.490  
   5.491  
   5.492  File: yatexj, Node: Print out, Prev: Calling previewer, Up: Invocation
   5.493  
   5.494 -プリントアウト
   5.495 -==============
   5.496 -
   5.497 -  `[prefix] t l'を押してプリントアウトを指示すると、出力開始/終了ページを
   5.498 -聞いてくるので、それぞれに答えます。これを省略したい時は、
   5.499 -universal-argument をつけ、
   5.500 +ラネ「ヲネ
   5.501 +============================
   5.502 +
   5.503 +  `[prefix] t
   5.504 +l'。キニラネ「ヲネリィケネ「ミマォマ/ェサレシ
   5.505 +クケ、ニッホヌ「スセヒィ゙ケ」ウハャキソ、マ「
   5.506 +universal-argument トア「
   5.507  
   5.508  
   5.509  `C-u [prefix] t l'
   5.510 -             ... ページ確認省略lpr起動
   5.511 -
   5.512 -のように起動してください。
   5.513 +             ... レシクホァハャlprッー
   5.514 +
   5.515 +ホ隕ヒッーキニッタオ、」
   5.516  
   5.517  
   5.518  
   5.519  File: yatexj, Node: %#notation, Next: Completion, Prev: Invocation, Up: Top
   5.520  
   5.521 -%#記法
   5.522 -******
   5.523 -
   5.524 -  本文中に`%#'ではじまるキーワードを埋め込むことでタイプセッタ起動等の制御
   5.525 -をすることができます。
   5.526 +%#ュ。
   5.527 +**********
   5.528 +
   5.529 +  ワク賤`%#'ヌマグュシシノ蓊犁ネヌソ、ラサテソッー
   5.530 +ホゥ踉ケウネャヌュ゙ケ」
   5.531  
   5.532  * Menu:
   5.533  
   5.534 -* Changing typesetter::         タイプセット用コマンドの変更
   5.535 -* Splitting input files::       入力ファイル分割
   5.536 -* Fix region for typesetting::  領域の固定
   5.537 -* lpr format::                  プリントアウトコマンド用フォーマット
   5.538 -* Controlling which command to invoke::  その他の起動コマンド制御
   5.539 -* Editing %# notation::         %#記法の編集
   5.540 +* Changing typesetter::         ソ、ラサテネムヴノホムケ
   5.541 +* Splitting input files::       マユ。、ャ
   5.542 +* Fix region for typesetting::  ホ靜ヌ
   5.543 +* lpr format::                  ラネ「ヲネヴノムユゥジテネ
   5.544 +* Controlling which command to invoke::  スホセホッーヴノゥ
   5.545 +* Editing %# notation::         %#ュ。ホヤク
   5.546  
   5.547  
   5.548  
   5.549  File: yatexj, Node: Changing typesetter, Next: Splitting input files, Prev: %#notation, Up: %#notation
   5.550  
   5.551 -タイプセット用コマンド変更
   5.552 -==========================
   5.553 -
   5.554 -  起動するコマンドを変えたい時は本文中に次のような行を書きます。
   5.555 +ソ、ラサテネムヴノムケ
   5.556 +====================================================
   5.557 +
   5.558 +  ッーケヴノムィソ、マワク賤。ホ隕ハヤュ゙ケ」
   5.559  
   5.560  
   5.561               %#!jlatex-ntt
   5.562  
   5.563 -NTT jTeX と、ASCII jTeX を使い分けたいような場合に便利でしょう。
   5.564 +NTT jTeX ネ「ASCII jTeX
   5.565 +ネ、ャアソ、隕ハ醉リヌキ遖」
   5.566  
   5.567  
   5.568  
   5.569  
   5.570  File: yatexj, Node: Splitting input files, Next: Fix region for typesetting, Prev: Changing typesetter, Up: %#notation
   5.571  
   5.572 -入力ファイル分割
   5.573 -================
   5.574 -
   5.575 -また、章毎に別ファイルの .tex を作成している場合で、`main.tex'から 
   5.576 -`sub.tex' を `\include'しているような時は、`sub.tex'の任意の位置に次のよう
   5.577 -な行を埋め込みます。
   5.578 +マユ。、ャ
   5.579 +================================
   5.580 +
   5.581 +゙ソ「マ靈フユ。、ホ .tex
   5.582 +ョキニ、酩「`main.tex'ォ `sub.tex'
   5.583 +
   5.584 +`\include'キニ、隕ハマ「`sub.tex'ホ、ユホ
   5.585 +フヨヒ。ホ隕ハヤ蓊゚゙ケ」
   5.586  
   5.587               %#!platex main.tex
   5.588  
   5.589  
   5.590 -上の例のようにコマンド名だけでなく引数も書いた場合には、全てをそのまま 
   5.591 -shell に渡すので次のように書けば、ghostview などをプレヴューアに使う時に便
   5.592 -利です。
   5.593 +衾耒隕ヒヴノセタアヌハッ糂、ソ醉マ「エニスボ゙
   5.594 +shell ヒマケホヌ。ホ隕ヒアミ「ghostview
   5.595 +ハノラ蠑「ヒネヲヒリ
   5.596 +ヌケ」
   5.597  
   5.598  
   5.599               %#!platex main && dvi2ps main.dvi > main
   5.600  
   5.601 -なお、この行の最後の単語のピリオド以前を「メインファイル」のベースネームで
   5.602 -あると仮定します(上の2つの場合どちらも`main')。この行に記述した、`%f'はメ
   5.603 -インファイル名に、 `%r' はメインファイルの拡張子を取り除いた部分に置換され
   5.604 -ます。ただし、`%f,%r'を利用した場合、初回タイプセット時に必ずメインファイ
   5.605 -ル名の入力を促されます。
   5.606 -
   5.607 -  `[prefix] g' (*Note Cursor jump::参照) でのファイル間ジャンプを有効に機
   5.608 -能させるため、入力ファイル分割時には次のことに注意して下さい。
   5.609 -
   5.610 -  1. サブディレクトリを作って、その中にサブファイルを置くことはできるがサ
   5.611 -     ブディレクトリのサブディレクトリには置けない。
   5.612 -  2. メインファイルからサブディレクトリ内のファイルを include する時には、
   5.613 -     相対パス指定を用いて、`\include{chap1/sub}'のように記述。
   5.614 -  3. メインファイルが一つ上のディレクトリにある場合も、サブファイルには
   5.615 -     %#!platex main.tex のように記述する(../mainではない)。
   5.616 +ハェ「ウホヤホヌ衾アホヤェノハーヨ皃ユ。、ラホルシケ
   5.617 +ヘシ猊「ネセギケ(衾2トホ酲チ鰾`main')」
   5.618 +ウホヤヒュメキソ「`%f'マ皃ユ。、セヒ「
   5.619 +`%r'
   5.620 +マ皃ユ。、ホネ・メ韭、ソャヒヨケオ゙ケ」
   5.621 +ソタキ「`%f,%r'ムキソ遒鴣ソ、ラサテネヒャコ皃ユ。、
   5.622 +セホマ・オ゙ケ」
   5.623 +
   5.624 +  `[prefix] g' (*Note Cursor jump::イネ) ヌホ
   5.625 +ユ。、ヨク胚ラュヒ。スオサソ發マユ。、ャヒマ。ホウネヒ
   5.626 +ユキニシオ、」
   5.627 +
   5.628 +  1. オヨヌ」ッネテニ「スホ賤オヨユ。、ヨッウネマヌュャ
   5.629 +     オヨヌ」ッネホオヨヌ」ッネヒマヨアハ、」
   5.630 +  2. 皃ユ。、ォ魴ヨヌ」ッネ簧ユ。、
   5.631 +     include ケヒマ「
   5.632 +     ミムケリム、ニ「
   5.633 +     `\include{chap1/sub}'ホ隕ヒュメ」
   5.634 +  3. 皃ユ。、ャト衾ヌ」ッネヒ「鈔「オヨユ。、ヒマ
   5.635 +     %#!platex main.tex
   5.636 +     ホ隕ヒュメケ(../mainヌマハ、)」
   5.637  
   5.638  
   5.639  
   5.640 @@ -374,50 +413,58 @@
   5.641  
   5.642  File: yatexj, Node: Fix region for typesetting, Next: lpr format, Prev: Splitting input files, Up: %#notation
   5.643  
   5.644 -領域の固定
   5.645 -==========
   5.646 -
   5.647 -  `[prefix] tr' の領域指定のタイプセットでは、とくに指定のないかぎり、 
   5.648 -`C-SPC'でマークした位置と、ポイント(カーソル位置)の間を領域とみなしますが、
   5.649 -必ず決まった領域をタイプセットしたい場合は、その領域を
   5.650 +ホ靜ヌ
   5.651 +====================
   5.652 +
   5.653 +  `[prefix] tr'
   5.654 +ホホ靼ホソ、ラサテネヌマ「ネッヒリホハ、ォョ瑤
   5.655 +`C-SPC'ヌ゙シッキソフヨネ「ン、ネ(ォシスフヨ)ホヨホ霾゚ハギ
   5.656 +ケャ「ャコ鞐テソホ頸ソ、ラサテネキソ、醯「スホホ頸
   5.657  
   5.658               %#BEGIN
   5.659 -             <渡したい領域>
   5.660 +             <マキソ、ホ>
   5.661               %#END
   5.662  
   5.663 -のように`%#BEGIN'と`%#END'で囲み、カーソルを「`%#BEGIN'以降」に置いてくだ
   5.664 -さい。この時の領域決定規則をまとめると次のようになります。
   5.665 -
   5.666 -
   5.667 -  1. カーソル位置よりバッファの先頭方向に`%#BEGIN'というキーワードがある場
   5.668 -     合
   5.669 -
   5.670 -       1. `%#BEGIN'よりバッファの末尾方向に`%#END'というキーワードが見つかっ
   5.671 -          た場合。
   5.672 -          =>`%#BEGIN' から、その `%#END' のある位置まで。
   5.673 -       2. `%#END' が見つからなかった場合。=>バッファの最後尾まで。
   5.674 -
   5.675 -  2. カーソル位置よりバッファの先頭方向に `%#BEGIN' というキーワードが
   5.676 -     見つからなかった場合。
   5.677 -     =>マーク(`C-SPC'位置)とポイント(カーソル位置)の間の領域。
   5.678 -
   5.679 -  tabular 環境を何度も試行錯誤しているような場合は、`\begin'の前の行に 
   5.680 -`%#BEGIN' と書き、`\end' の次の行に `%#END' と書いておくと簡単に作表結果を
   5.681 -テストすることができます。また、長い .tex ファイルの後半に `%#BEGIN' を書
   5.682 -いておけば、前半の部分は無視できます。このBEGINとEND の消し忘れには十分ご
   5.683 -注意下さい。
   5.684 +ホ隕ヒ`%#BEGIN'ネ`%#END'ヌマ゚「ォシスヨ`%#BEGIN'パラ
   5.685 +ヒヨ、ニッタオ、」ウホホホ韋ャァ゙ネ硴ネ。ホ隕ヒバケ」
   5.686 +
   5.687 +
   5.688 +  1. ォシスフヨ韭ミテユ。ホ隰ヒ`%#BEGIN'ネ、ヲュシシノャ
   5.689 +     「
   5.690 +
   5.691 +       1. `%#BEGIN'韭ミテユ。ホヒ`%#END'ネ、ヲュシシノャォトォテ
   5.692 +          ソ逎
   5.693 +          =>`%#BEGIN' ォ鬚スホ `%#END' ホ「フヨ゙ヌ」
   5.694 +       2. `%#END' ャォトォ鯡ォテソ逎
   5.695 +          =>ミテユ。ホヌ褸゙ヌ」
   5.696 +
   5.697 +  2. ォシスフヨ韭ミテユ。ホ隰ヒ
   5.698 +     `%#BEGIN' ネ、ヲュシシノャ
   5.699 +     ォトォ鯡ォテソ逎
   5.700 +     =>゙シッ(`C-SPC'フヨ)ネン、ネ(ォシスフヨ)ホヨホホ陬
   5.701 +
   5.702 +  tabular
   5.703 +トュソル粽ヤキニ、隕ハ醯「`\begin'ホーホヤ
   5.704 +ヒ `%#BEGIN' ネュ「`\end' ホ。ホヤヒ
   5.705 +`%#END' ネ、ニェッ
   5.706 +ネハアヒスフニケネケウネャヌュ゙ケ」゙ソ「ケ、
   5.707 +.tex ユ。、ホ蠕 ヒ `%#BEGIN'
   5.708 +、ニェアミ「ーセホャマオヌュ゙ケ」ウホBEGINネEND
   5.709 +ホテキコヒマスャエユシオ、」
   5.710  
   5.711  
   5.712  
   5.713  
   5.714  File: yatexj, Node: lpr format, Next: Controlling which command to invoke, Prev: Fix region for typesetting, Up: %#notation
   5.715  
   5.716 -lprフォーマット
   5.717 -===============
   5.718 -
   5.719 -  まず、プリントアウト用コマンド列のフォーマットについて説明します。コマン
   5.720 -ド列フォーマットは、3つの Lisp 変数によって表現されます。デフォルトの 
   5.721 -dvi2ps 用のフォーマットを例に説明します。
   5.722 +lprユゥジテネ
   5.723 +===========================
   5.724 +
   5.725 +  ゙コ「ラネ「ヲネムヴノホユゥジテネヒト、ニ簑ギケ」
   5.726 +ヴノユゥジテネマ「3トホ Lisp
   5.727 +ムヒ霤ニススオ゙ケ」ヌ
   5.728 +ユゥネホ dvi2ps
   5.729 +ムホユゥジテネ耆簑ギケ」
   5.730  
   5.731  `(1)dviprint-command-format'
   5.732       `"dvi2ps %f %t %s | lpr"'
   5.733 @@ -428,100 +475,117 @@
   5.734  `(3)dviprint-to-format'
   5.735       `"-t %e"'
   5.736  
   5.737 -実際にプリントアウトする時は、(1)中の %s がファイル名に置き換えられ、%f が
   5.738 -(2)の内容、%t が(3)の内容に置き換えられます。その際に(2)の文字列中の %b は
   5.739 -「出力開始ページ」、(3)の文字列中の %e は「出力終了ページ」に置き換えられ
   5.740 -ます。もし、ページを指定しない時には、%f, %t 両方とも無視されます。
   5.741 -
   5.742 -  この、dviprint-command-format を臨時に変えたい時は、LaTeX のソーステキス
   5.743 -ト中の任意の場所に、
   5.744 +ツンヒラネ「ヲネケマ「(1)賽 %s
   5.745 +ャユ。、セヒヨュケィ鴈「%f ャ
   5.746 +(2)ホ簇「%t
   5.747 +ャ(3)ホ簇ヒヨュケィ鴈゙ケ」スホンヒ(2)ホク賽
   5.748 +%b マ
   5.749 +ヨミマォマレシクラ「(3)ホク賽 %e
   5.750 +マヨミマェサレシクラヒヨュケィ鴈
   5.751 +゙ケ」箙「レシクリキハ、ヒマ「%f,
   5.752 +%t セネ箏オ゙ケ」
   5.753 +
   5.754 +  ウホ「dviprint-command-format
   5.755 +ラヒムィソ、マ「LaTeX ホ
   5.756 +スシケニュケネ賽、ユホヒ「
   5.757  
   5.758               %#LPR dvi2ps %f %t %s | 4up -page 4 | texfix | lpr -Plp2
   5.759  
   5.760 -のように書いて下さい。プリントアウトするページ範囲をいちいち聞かせないよう
   5.761 -にする時に
   5.762 +ホ隕ヒ、ニシオ、」ラネ「ヲネケレシクママ、チ、チケォサハ、隕
   5.763 +ヒケヒ
   5.764  
   5.765               %#LPR dvi2ps %s | lpr
   5.766  
   5.767 -などとするのも便利かもしれません。
   5.768 +ハノネケホ籀ォ箙゙サ」
   5.769  
   5.770  
   5.771  
   5.772  File: yatexj, Node: Controlling which command to invoke, Next: Editing %# notation, Prev: lpr format, Up: %#notation
   5.773  
   5.774 -その他の起動コマンド制御
   5.775 -========================
   5.776 -
   5.777 -LaTeX 文書に関連するコマンドは以下の %# 記法で指定することができます。
   5.778 +スホセホッーヴノゥ
   5.779 +================================================
   5.780 +
   5.781 +LaTeX クヒリ「ケヴノマハシホ %#
   5.782 +ュ。ヌリケウネャヌュ゙ケ」
   5.783  
   5.784        `%#BIBTEX'
   5.785       
   5.786 -     	... makeindexを行なうコマンドライン([prefix] t b)
   5.787 +     	... makeindexヤハヲヴノ鬢([prefix] t b)
   5.788        `%#MAKEINDEX'
   5.789       
   5.790 -     	... bibtexを行なうコマンドライン([prefix] t i)
   5.791 -
   5.792 -行頭がこれらのキーワードで始まる行をLaTeX文書の先頭付近に書いておけば、そ
   5.793 -れで指定したコマンドを起動できます。
   5.794 +     	... bibtexヤハヲヴノ鬢([prefix] t i)
   5.795 +      `%#DVIPDF'
   5.796 +     
   5.797 +     	... DVIォ餘DFムケヤハヲヴノ鬢([prefix]
   5.798 +     t d)
   5.799 +
   5.800 +ヤャャウ鯰ュシシノヌマ゙ヤLaTeXクホ隰ユ睛、ニェアミ「
   5.801 +スヌリキソヴノッーヌュ゙ケ」
   5.802  
   5.803  
   5.804  
   5.805  File: yatexj, Node: Editing %# notation, Prev: Controlling which command to invoke, Up: %#notation
   5.806  
   5.807 -%#記法自体の編集
   5.808 -================
   5.809 -
   5.810 -以上のような`%#'で始まる各種制御記法を編集するためには
   5.811 +%#ュ。ォホホヤク
   5.812 +==============================
   5.813 +
   5.814 +ハ衾隕ハ`%#'ヌマ゙ニゥ豁。ヤクケソ睛マ
   5.815  
   5.816  `[prefix] %'
   5.817 -             ... `%#'記法編集メニュー
   5.818 -
   5.819 -を押します。
   5.820 +             ... `%#'ュ。ヤク睛蠑
   5.821 +
   5.822 +。ギケ」
   5.823  
   5.824               !)Edit-%#! B)EGIN-END-region L)Edit-%#LPR
   5.825  
   5.826 -というメニューが出て来るので、`%#!'に続くコマンドを変更したい時には`!'を、
   5.827 -`%#LPR'で lpr フォーマットを変えたい時は`l'を、あらかじめ設定したリジョン
   5.828 -を `%#BEGIN' 〜 `%#END' で括りたい時は、`b'を押します。`b'を選んだ時には、
   5.829 -それまでバッファ中に置かれていた`%#BEGIN', `%#END' が自動的に消去されます。
   5.830 +ネ、ヲ睛蠑ャミニ齏ホヌ「`%#!'ヒウッヴノムケキソ、ヒマ
   5.831 +`!'「`%#LPR'ヌ lpr
   5.832 +ユゥジテネムィソ、マ`l'「「鬮
   5.833 +ク矚キソク銛 `%#BEGIN' チ `%#END'
   5.834 +ヌ鉤ソ、マ「
   5.835 +`b'。ギケ」`b'ェタヒマ「ズヌミテユ。賤ヨォニ、ソ
   5.836 +`%#BEGIN', `%#END' ャォーェヒテオ゙ケ」
   5.837  
   5.838  
   5.839  
   5.840  File: yatexj, Node: Completion, Next: Local dictionary, Prev: %#notation, Up: Top
   5.841  
   5.842 -補完入力
   5.843 -********
   5.844 -
   5.845 -  LaTeX での環境名などは、野鳥の補完機能を利用して能率的に入力することがで
   5.846 -きます。
   5.847 +莢マ
   5.848 +****************
   5.849 +
   5.850 +  LaTeX
   5.851 +ヌホトュセハノマ「サホ莢。スムキニスィェヒマケウネ
   5.852 +ャヌュ゙ケ」
   5.853  
   5.854  * Menu:
   5.855  
   5.856 -* begin型補完::                 
   5.857 -* section型補完::               
   5.858 -* large型補完::                 
   5.859 -* maketitle型補完::             
   5.860 -* Arbitrary completion::        随時補完
   5.861 -* end補完::                     
   5.862 -* Accent mark completion::      アクセント記号補完
   5.863 -* Image completion::            数式記号イメージ補完
   5.864 -* Greek letter completion::     ギリシャ文字補完
   5.865 +* beginソ莢::                 
   5.866 +* sectionソ莢::               
   5.867 +* largeソ莢::                 
   5.868 +* maketitleソ莢::             
   5.869 +* Arbitrary completion::        莢
   5.870 +* end莢::                     
   5.871 +* Accent mark completion::      「ッサネュ趾ー
   5.872 +* Image completion::            ーュ讀眈ク莢
   5.873 +* Greek letter completion::     ョキ羣莢
   5.874  
   5.875  
   5.876  
   5.877 -File: yatexj, Node: begin型補完, Next: section型補完, Prev: Completion, Up: Completion
   5.878 -
   5.879 -begin型補完
   5.880 -===========
   5.881 -
   5.882 -  `\begin{env}...\end{env}'の様な形式の入力の補完をbegin型補完と呼ぶことに
   5.883 -します。begin 型補完は、
   5.884 +File: yatexj, Node: beginソ莢, Next: sectionソ莢, Prev: Completion, Up: Completion
   5.885 +
   5.886 +beginソ莢
   5.887 +=================
   5.888 +
   5.889 +  `\begin{env}...\end{env}'ホヘハチーホマホ莢beginソ莢ネ
   5.890 +ニヨウネヒギケ」begin ソ莢マ「
   5.891  
   5.892  `[prefix] b'
   5.893 -             ... begin 型補完開始(標準では `C-c b')
   5.894 -
   5.895 -で始まります。頻繁に用いられる次の LaTeX 環境の補完は、[prefix] `b' に続く
   5.896 -次の1文字を入力するだけで、`\begin{xxx}...\end{xxx}'を完成させます。
   5.897 +             ... begin ソ莢ォマ(ク猊マ `C-c b')
   5.898 +
   5.899 +ヌマ゙゙ケ」ムヒヒム、鴈。ホ LaTeX
   5.900 +トュホ莢マ「[prefix] `b'
   5.901 +ヒウッ。ホ1クマケタアヌ「`\begin{xxx}...\end{xxx}'ーョ
   5.902 +オザケ」
   5.903  
   5.904  `[prefix] b c'
   5.905               ... `\begin{center}...\end{center}'
   5.906 @@ -558,342 +622,393 @@
   5.907  `[prefix] b V'
   5.908               ... `\begin{verse}...\end{verse}'
   5.909  
   5.910 -  上記のもの以外の環境名は Emacs の持つインクリメンタルな補完機能を用いて
   5.911 -入力します(上記の環境名も以下の補完入力可能)。
   5.912 +  蟄ホ簧ハーホトュセマ Emacs
   5.913 +ホト、ッ碯ソハ莢。スム、ニ
   5.914 +マギケ(蟄ホトュセ簗シホ莢マトス)」
   5.915  
   5.916  `[prefix] b SPC'
   5.917 -             ... begin 型補完入力
   5.918 -
   5.919 -`[prefix] b SPC' と入力すると、最下行のミニバッファに
   5.920 +             ... begin ソ莢マ
   5.921 +
   5.922 +`[prefix] b SPC'
   5.923 +ネマケネ「ヌシヤポヒミテユ。ヒ
   5.924  
   5.925               Begin environment(default document):
   5.926  
   5.927 -と表示されます。ここで、何も入れずにリターンキーのみ押すと、括弧内に出てい
   5.928 -るデフォルトの環境名が入力されますが、適当な環境名を入力すると、`\begin{環
   5.929 -境名} … \end{環境名}'が文書中に挿入されます。ミニバッファで環境名を入力す
   5.930 -るときに、環境名の頭文字を入力し「スペース」をたたくと、一致する環境名が内
   5.931 -部テーブルに存在した場合、正しい環境名に補完されるので、入力の手間が省けま
   5.932 -す。内部テーブルに存在しない環境名を入力した時はユーザ専用のテーブルに登録
   5.933 -され、さらにそのテーブルを自動的に、ユーザ辞書(デフォルトでは 
   5.934 -`~/.yatexrc')に保存します。
   5.935 -
   5.936 -さらに、特定の環境を補完入力した時にはその環境で必ず用いられるエントリを自
   5.937 -動挿入します(例: `itemize'環境における`\item'など)。挿入されたエントリが不
   5.938 -要な場合にはundoによって消去して下さい。
   5.939 -
   5.940 -
   5.941 -既に書いたテキストを環境で括る
   5.942 -------------------------------
   5.943 -
   5.944 -  ところで、最初に書いてしまったブロックを後から、itemize 環境の中に閉じこ
   5.945 -めたいと思うことがありますが、そのようなときは、あらかじめ閉じこめたい段落
   5.946 -をマークして、begin 型補完の各コマンドの `[prefix]' の次の『小文字の 'b'』 
   5.947 -を『大文字』に変えて起動して下さい。(または、`C-u' を先に打ち、universal
   5.948 -argument をつけても可能です)
   5.949 -
   5.950 -  例えばあるパラグラフを description 環境の中に入れたいときは、そのパラグ
   5.951 -ラフをマークしてから、
   5.952 +ネスィオ゙ケ」ウウヌ「ソコヒソシュシポ。ケネ「醂簍ミニ、
   5.953 +ヌユゥネホトュセャマオ゙ケャ「ャハトュセマケネ「
   5.954 +`\begin{トュセ} ト
   5.955 +\end{トュセ}'ャク賤゙オ゙ケ」゚ヒミテ
   5.956 +ユ。ヌトュセマケネュヒ「トュセホャクマキヨケレシケラソソッネ「
   5.957 +ラケトュセャ糜ニシヨヒク゚キソ遒オキ、トュセヒ莢オホヌ「
   5.958 +マホヨャハア゙ケ」糜ニシヨヒク゚キハ、トュセマキソマ貍カ
   5.959 +ムホニシヨヒミソオ「オ鰺スホニシヨォーェヒ「貍カュ(ヌユゥ
   5.960 +ネヌマ `~/.yatexrc')ヒンクギケ」
   5.961 +
   5.962 +オ鰺「テホトュ莢マキソヒマスホトュヌャコム、鴈ィネォ
   5.963 +ー゙ギケ(:
   5.964 +`itemize'トュヒェア`\item'ハノ)」゙オソィ
   5.965 +ネャヤラハ醉マundoヒ霤ニテキニシオ、」
   5.966 +
   5.967 +
   5.968 +ヒ、ソニュケネトュヌ鉈
   5.969 +------------------------------------------------------------
   5.970 +
   5.971 +  ネウヌ「ヌ鰺、ニギテソヨテッ雖鬚itemize
   5.972 +トュホ
   5.973 +ヒトクウ眩、ネラヲウネャ「゙ケャ「スホ隕ハネュマ「「鬮ク
   5.974 +トクウ眩、バシッキニ「begin
   5.975 +ソ莢ホニヴノホ `[prefix]'
   5.976 +ホ。ホリョクホ 'b'ル
   5.977 +リ邵ルヒムィニッーキニシオ、」(゙ソマ「
   5.978 +`C-u' 靈ヌチ「universal argument
   5.979 +トアニ籠スヌケ)
   5.980 +
   5.981 +  罟ミ「ム魏鰈 description
   5.982 +トュホ賤ソ、ネュマ「
   5.983 +スホム魏鰈゙シッキニォ鬚
   5.984  
   5.985  `[prefix] B D'
   5.986 -`(または ESC 1 [prefix] b D)'
   5.987 -`(または  C-u  [prefix] b D など)'
   5.988 -
   5.989 -とタイプしてください。これは、`[prefix] b SPC'の補完入力にもあてはまり、
   5.990 -`b' を大文字に変えて、`[prefix] B SPC' とタイプすれば、あらかじめマークし
   5.991 -ておいたリジョンを、begin と end の環境で括ります。
   5.992 +`(゙ソマ ESC 1 [prefix] b D)'
   5.993 +`(゙ソマ  C-u  [prefix] b D ハノ)'
   5.994 +
   5.995 +ネソ、ラキニッタオ、」ウマ「`[prefix] b
   5.996 +SPC'ホ莢マヒ笋ニマ゙瑤 `b'
   5.997 +邵ヒムィニ「`[prefix] B SPC'
   5.998 +ネソ、ラケミ「「鬮ク
   5.999 +゙シッキニェ、ソク銛「begin ネ end
  5.1000 +ホトュヌ鉤゙ケ」
  5.1001  
  5.1002  
  5.1003  
  5.1004 -File: yatexj, Node: section型補完, Next: large型補完, Prev: begin型補完, Up: Completion
  5.1005 -
  5.1006 -section型補完
  5.1007 -=============
  5.1008 -
  5.1009 -  `\section{目的}' のような形式の入力の補完を section 型補完と呼ぶことにし
  5.1010 -ます。section 型補完は、
  5.1011 +File: yatexj, Node: sectionソ莢, Next: largeソ莢, Prev: beginソ莢, Up: Completion
  5.1012 +
  5.1013 +sectionソ莢
  5.1014 +===================
  5.1015 +
  5.1016 +  `\section{ワェ}'
  5.1017 +ホ隕ハチーホマホ莢 section
  5.1018 +ソ莢ネニヨウ ネヒギケ」section
  5.1019 +ソ莢マ「
  5.1020  
  5.1021  `[prefix] s'
  5.1022 -             ... section 型補完
  5.1023 -
  5.1024 -
  5.1025 -で実行します。`[prefix] s' を入力するとミニバッファに、
  5.1026 +             ... section ソ莢
  5.1027 +
  5.1028 +
  5.1029 +ヌツヤギケ」`[prefix] s'
  5.1030 +マケネ゚ヒミテユ。ヒ「
  5.1031  
  5.1032               (C-v for view-section) \???{} (default documentclass):
  5.1033  
  5.1034 -というプロンプトが現れるので、そこで `section' のような LaTeX コマンド名を
  5.1035 -入力します。ここでもリターンキーのみで括弧内のデフォルト値が選択されるほか、
  5.1036 -`chapter'などのような頻度の高い名称入力にはスペースキーによる補完機能が有
  5.1037 -効です。 次に、{}の中身の入力を促す、
  5.1038 +ネ、ヲララネャスホヌ「スウヌ
  5.1039 +`section' ホ隕ハ LaTeX ヴ
  5.1040 +ノセマギケ」ウウヌ粲ソシュシポヌ醂簧ヌユゥネヘャェオ
  5.1041 +ロォ「`chapter'ハノホ隕ハムルホ筅セホマヒマケレシケュシヒ
  5.1042 +莢。スャュヌケ」
  5.1043 +。ヒ「{}ホ貶ホマ・ケ「
  5.1044  
  5.1045               \section{???}:
  5.1046  
  5.1047 -というプロンプトが現れるので、セクションのタイトルなどを入力します。たとえ
  5.1048 -ば、
  5.1049 +ネ、ヲララネャスホヌ「サッキ銛ホソ、ネハノマギケ」
  5.1050 +ソネィミ「
  5.1051  
  5.1052               (C-v for view-section) \???{} (default documentclass): section
  5.1053 -             \section{???}: 目的
  5.1054 -
  5.1055 -のように入力した場合は、文章中に
  5.1056 -
  5.1057 -             \section{目的}
  5.1058 -
  5.1059 -が挿入され、
  5.1060 +             \section{???}: ワェ
  5.1061 +
  5.1062 +ホ隕ヒマキソ醯「クマ賤
  5.1063 +
  5.1064 +             \section{ワェ}
  5.1065 +
  5.1066 +ャ゙オ「
  5.1067  
  5.1068               (C-v for view-section) \???{} (default section): vspace*
  5.1069               \vspace*{???}:
  5.1070  
  5.1071 -のように{}の中身を省略したときは、
  5.1072 +ホ隕ヒ{}ホ貶ハャキソネュマ「
  5.1073  
  5.1074               \vspace*{}
  5.1075  
  5.1076 -だけが挿入され、改行はせずカーソルは自動的に中括弧の内側に移動します。
  5.1077 +タアャ゙オ「ヤマサコォシスマォーェヒ跚フホ筥ヒワーギケ」
  5.1078  
  5.1079  * Menu:
  5.1080  
  5.1081 -* 2個以上の引数をとる section型コマンド::  
  5.1082 -* Enclose section-type command::  括り補完
  5.1083 -* Recursive completion::        再帰補完
  5.1084 -* view-sectioning::             セクション区切りのアウトライン表示
  5.1085 -* label-generation::            ラベル自動生成
  5.1086 +* 2トハ衾ネ sectionソヴノ::  
  5.1087 +* Enclose section-type command::  鉤莢
  5.1088 +* Recursive completion::        ニ「莢
  5.1089 +* view-sectioning::             サッキ銛靺ホ「ヲネ鬢スィ
  5.1090 +* label-generation::            鰮ォークョ
  5.1091  
  5.1092  
  5.1093  
  5.1094 -File: yatexj, Node: 2個以上の引数をとる section型コマンド, Next: Enclose section-type command, Prev: section型補完, Up: section型補完
  5.1095 -
  5.1096 -2個以上の引数をとる section型コマンド
  5.1097 --------------------------------------
  5.1098 -
  5.1099 -  ところで、`\addtolength{\topmargin}{8mm}' などのように、引数を二つ以上取
  5.1100 -る LaTeX コマンドがあります。このようなコマンドの補完入力には、 section 型
  5.1101 -補完呼び出しに引数を付けてください。例えば上の`addtolength' の例であれば、
  5.1102 -引数2を指定します。つまり、
  5.1103 -
  5.1104 -             C-u 2 [prefix] s   (または、ESC 2 [prefix] s)
  5.1105 -
  5.1106 -と section 型補完を呼び出した後、
  5.1107 +File: yatexj, Node: 2トハ衾ネ sectionソヴノ, Next: Enclose section-type command, Prev: sectionソ莢, Up: sectionソ莢
  5.1108 +
  5.1109 +2トハ衾ネ sectionソヴノ
  5.1110 +-----------------------------------------------------------------
  5.1111 +
  5.1112 +  ネウヌ「`\addtolength{\topmargin}{8mm}'
  5.1113 +ハノホ隕ヒ「ト ハ裴 LaTeX
  5.1114 +ヴノャ「゙ケ」ウホ隕ハヴノホ莢マヒマ「
  5.1115 +section
  5.1116 +ソ莢ニモミキヒユアニッタオ、」罟ミ衾`addtolength'
  5.1117 +ホ翩「ミ「2リギケ」ド瑤
  5.1118 +
  5.1119 +             C-u 2 [prefix] s   (゙ソマ「ESC 2 [prefix] s)
  5.1120 +
  5.1121 +ネ section ソ莢ニモミキソ蠅
  5.1122  
  5.1123               (Ctrl-v for view-section) \???{} (default vspace*): addtolength
  5.1124               \addtolength{???}: \topmargin
  5.1125               Argument 2: 8mm
  5.1126  
  5.1127 -のように入力してください。最初の addtolength の部分と、第一引数である 
  5.1128 -\topmargin の入力は当然スペースによる補完入力が可能です。ユーザ辞書に登録
  5.1129 -される LaTeX コマンドには、この引数の数も学習されるので、最初の補完の時引
  5.1130 -数の数を指定して起動しておけば、以後の補完時には、記憶された個数だけ引数を
  5.1131 -聞いて来るようになります。あとで引数の個数を変えたい時は、再び `C-u' を用
  5.1132 -いて個数を指定し直すことで、自動的に辞書中の引数の個数の部分を更新します。
  5.1133 +ホ隕ヒマキニッタオ、」ヌ鯰
  5.1134 +addtolength ホャネ「韲ヌ「 \topmargin
  5.1135 +ホママウケレシケヒ齏莢マャトスヌケ」貍カュヒミソ
  5.1136 +オ LaTeX
  5.1137 +ヴノヒマ「ウホホ籀ャオホヌ「ヌ鯰莢ホ
  5.1138 +ホリキニッーキニェアミ「ハ衾莢ヒマ「ュアオソトタア
  5.1139 +ケ、ニ齏隕ヒバケ」「ネヌホトムィソ、マ「ニモ
  5.1140 +`C-u'
  5.1141 +ム、ニトリキセケウネヌ「ォーェヒュ賽ホトホャケキギ
  5.1142 +ケ」
  5.1143  
  5.1144  
  5.1145  
  5.1146  
  5.1147 -File: yatexj, Node: Enclose section-type command, Next: Recursive completion, Prev: 2個以上の引数をとる section型コマンド, Up: section型補完
  5.1148 -
  5.1149 -既に書いたテキストを括る
  5.1150 -------------------------
  5.1151 -
  5.1152 -  また、起動コマンドの`s'を大文字に変えて起動すると、あらかじめ書いた文章
  5.1153 -を section 型コマンドの第一引数として括ります。
  5.1154 +File: yatexj, Node: Enclose section-type command, Next: Recursive completion, Prev: 2トハ衾ネ sectionソヴノ, Up: sectionソ莢
  5.1155 +
  5.1156 +ヒ、ソニュケネ鉈
  5.1157 +------------------------------------------------
  5.1158 +
  5.1159 +  ゙ソ「ッーヴノホ`s'邵ヒムィニッーケネ「「鬮ク碵
  5.1160 +、ソクマ section
  5.1161 +ソヴノホ韲ネキニ鉤゙ケ」
  5.1162  
  5.1163  
  5.1164  
  5.1165 -File: yatexj, Node: Recursive completion, Next: view-sectioning, Prev: Enclose section-type command, Up: section型補完
  5.1166 -
  5.1167 -再帰補完
  5.1168 ---------
  5.1169 -
  5.1170 -  高度な使い方になるかもしれませんが、section型補完の引数の入力時にさらに
  5.1171 -補完入力を利用することができます(section/large/maketitle型に限る)。section 
  5.1172 -型コマンドの引数に更に LaTeX コマンドが来る場合にはミニバッファで野鳥の補
  5.1173 -完キーを再帰的に入力することで引数の入力も効率的に行なえます。
  5.1174 +File: yatexj, Node: Recursive completion, Next: view-sectioning, Prev: Enclose section-type command, Up: sectionソ莢
  5.1175 +
  5.1176 +ニ「莢
  5.1177 +----------------
  5.1178 +
  5.1179 +  籐ハネ、ヒハォ箙゙サャ「sectionソ莢ホホマヒオ鰺
  5.1180 +莢マムケウネャヌュ゙ケ(section/large/maketitleソヒツ)」section
  5.1181 +ソヴノホヒケヒ LaTeX
  5.1182 +ヴノャ齏醉マ゚ヒミテユ。ヌサホ
  5.1183 +莢ュシニ「ェヒマケウネヌホマ糶ィェヒヤハィ゙ケ」
  5.1184  
  5.1185  
  5.1186  
  5.1187 -File: yatexj, Node: view-sectioning, Next: label-generation, Prev: Recursive completion, Up: section型補完
  5.1188 -
  5.1189 -セクション区切りのアウトライン表示
  5.1190 -----------------------------------
  5.1191 -
  5.1192 -  通常のsection型補完の時にミニバッファで`C-v'を押すと現在存在するセクショ
  5.1193 -ン区切りコマンド全てを `*Sectioning Lines*'というバッファに一覧表示します
  5.1194 -(「<<--」のついている行がもっとも近いセクション区切り)。この時ミニバッファ
  5.1195 -で`C-p', `C-n' を押すと`part', `chapter', ..., `subparagraph' のコマンドが
  5.1196 -論理階層の高さにしたがって上下します。また、`C-v', `M-v' を押すとセクショ
  5.1197 -ン区切り一覧バッファがスクロールし、数字の`0'〜`7'を押すとある高さ以上のセ
  5.1198 -クション区切りだけを選んで表示します(実際にやって見れば分かります)。
  5.1199 -
  5.1200 -`*Sectioning Lines*'バッファは、
  5.1201 +File: yatexj, Node: view-sectioning, Next: label-generation, Prev: Recursive completion, Up: sectionソ莢
  5.1202 +
  5.1203 +サッキ銛靺ホ「ヲネ鬢スィ
  5.1204 +--------------------------------------------------------------------
  5.1205 +
  5.1206 +  フホsectionソ莢ホピヒミテユ。ヌ`C-v'。ケネス゚ク゚ケサッ
  5.1207 +キ銛靺ヴノエニ `*Sectioning
  5.1208 +Lines*'ネ、ヲミテユ。ヒス
  5.1209 +ィギケ(ヨ<<--ラホト、ニ、ヤャ篥ネ粃、サッキ銛靺)」ウポヒ
  5.1210 +ミテユ。ヌ`C-p', `C-n' 。ケネ`part', `chapter', ...,
  5.1211 +`subparagraph'
  5.1212 +ホヴノャタャリホ箏ヒキソャテニ蠑ギケ」゙ソ「
  5.1213 +`C-v', `M-v'
  5.1214 +。ケネサッキ銛靺ミテユ。ャケッシキ「
  5.1215 +ホ`0'チ`7'。ケネ「箏ハ衾サッキ銛靺タアェヌス
  5.1216 +ィギケ(ツンヒ菘ニォミャォ゙ケ)」
  5.1217 +
  5.1218 +`*Sectioning Lines*'ミテユ。マ「
  5.1219  
  5.1220  `M-x YaTeX-section-overview'
  5.1221 -             ... セクション区切り一覧バッファを生成
  5.1222 -
  5.1223 -で作成することができます。このバッファを選択し任意の行でスペースを押すと、
  5.1224 -該当するセクション区切りのある本文中の場所にジャンプします。さらに、同バッ
  5.1225 -ファで `u' を押すと、ソーステキストの対応するセクションコマンドが一階層上
  5.1226 -がり(例: subsection が section に変わる)、`d'を押すと一階層下がります。
  5.1227 -`*Sectioning Lines*'バッファにあるセクション区切りの行をマークしておいて
  5.1228 -`U'を押すとリジョン内のものに対応するソーステキストのセクションコマンドす
  5.1229 -べてが一階層上がり、`D'を押すと下がります。セクション区切り一覧バッファで
  5.1230 -利用できるキーコマンドには以下のものがあります。
  5.1231 +             ... サッキ銛靺ミテユ。クョ
  5.1232 +
  5.1233 +ヌョケウネャヌュ゙ケ」ウホミテユ。ェキ、ユホヤヌケレシケ。ケネ「
  5.1234 +コケサッキ銛靺ホ「ワク賽ヒク胚ラギケ」オ鰺「アミテ
  5.1235 +ユ。ヌ `u'
  5.1236 +。ケネ「スシケニュケネホミケサッキ銛ヴノャャ
  5.1237 +リ螫(: subsection ャ section
  5.1238 +ヒム)「`d'。ケネャリシャ
  5.1239 +゙ケ」`*Sectioning
  5.1240 +Lines*'ミテユ。ヒ「サッキ銛靺ホヤ゙シッ
  5.1241 +キニェ、ニ`U'。ケネク銛簧簧ヒミケスシケニュケネホサッキ
  5.1242 +ヴノケルニャャリ螫瑤`D'。ケネシャ゙ケ」サッキ銛靺
  5.1243 +ミテユ。ヌムヌュュシヴノヒマハシホ簧ャ「゙ケ」
  5.1244  
  5.1245  `SPC'
  5.1246 -             ... 対応するソース行へジャンプ
  5.1247 +             ... ミケスシケヤリク胚ラ
  5.1248  `.'
  5.1249 -             ... 対応するソース行を表示
  5.1250 +             ... ミケスシケヤスィ
  5.1251  `u'
  5.1252 -             ... カーソル位置に対応するセクションコマンドを一階層上げる
  5.1253 +             ... ォシスフヨヒミケサッキ銛ヴノャリ蟯
  5.1254  `d'
  5.1255 -             ... カーソル位置に対応するセクションコマンドを一階層下げる
  5.1256 +             ... ォシスフヨヒミケサッキ銛ヴノャリシイ
  5.1257  `U'
  5.1258 -             ... マークしたセクションコマンドを一階層上げる
  5.1259 +             ... ゙シッキソサッキ銛ヴノャリ蟯
  5.1260  `D'
  5.1261 -             ... マークしたセクションコマンドを一階層上げる
  5.1262 -`0〜6'
  5.1263 -             ... レベル n 以下のセクションコマンドを隠して表示
  5.1264 +             ... ゙シッキソサッキ銛ヴノャリ蟯
  5.1265 +`0チ6'
  5.1266 +             ... ル n
  5.1267 +     ハシホサッキ銛ヴノ」キニスィ
  5.1268  
  5.1269  
  5.1270  
  5.1271  
  5.1272 -File: yatexj, Node: label-generation, Prev: view-sectioning, Up: section型補完
  5.1273 -
  5.1274 -ラベル自動生成
  5.1275 ---------------
  5.1276 -
  5.1277 -  `\ref{}' や `\cite{}' マクロをsection型補完で入れた場合参照先となり得る
  5.1278 -ものを全て探してメニューにして選択できます。参照先には`\label{}'をつけてお
  5.1279 -く必要はありません。もしあれば、そのラベルを使い、なければその場で参照先に
  5.1280 -`\label{}'を作らせてくれます。ラベル名を考えるのは苦痛に感じるものです。全
  5.1281 -てのカウンタにラベルをつけるのもたいへんです。もうラベル名に何をつけるか、
  5.1282 -ラベルをつけるかつけまいか、などということは忘れましょう!
  5.1283 +File: yatexj, Node: label-generation, Prev: view-sectioning, Up: sectionソ莢
  5.1284 +
  5.1285 +鰮ォークョ
  5.1286 +----------------------------
  5.1287 +
  5.1288 +  `\ref{}'  `\cite{}'
  5.1289 +゙ッsectionソ莢ヌソ
  5.1290 +イネ霾ハタ簧エニオキニ睛蠑ヒキニェヌュ゙ケ」イネ靈マ
  5.1291 +`\label{}'トアニェッャラマ「゙サ」箙「ミ「スホ鰮
  5.1292 +ネ、「ハアミスホヌイネ靈`\label{}'鮟ニッ゙ケ」
  5.1293 +鰮セヘィホマヒヒカク簧ヌケ」エニホォヲソヒ鰮
  5.1294 +トアホ篩、リヌケ」筥鰮セヒソトアォ「鰮トアォトア゙
  5.1295 +、ォ「ハノネ、ヲウネマゴキ遖!
  5.1296  
  5.1297  
  5.1298  
  5.1299 -File: yatexj, Node: large型補完, Next: maketitle型補完, Prev: section型補完, Up: Completion
  5.1300 -
  5.1301 -large型補完
  5.1302 +File: yatexj, Node: largeソ莢, Next: maketitleソ莢, Prev: sectionソ莢, Up: Completion
  5.1303 +
  5.1304 +largeソ莢
  5.1305 +=================
  5.1306 +
  5.1307 +  `{\large }' ホ隕ハチーホ莢 large
  5.1308 +ソ莢ネニヨウネヒギケ」
  5.1309 +
  5.1310 +`[prefix] l'
  5.1311 +             ... large ソ莢ォマ
  5.1312 +
  5.1313 +ャlargeソ莢ホォマヌケ」`[prefix] l'
  5.1314 +。ケネ「゚ヒミテユ。ヒ
  5.1315 +
  5.1316 +             {\??? } (default large):
  5.1317 +
  5.1318 +
  5.1319 +ネスィオホヌ「蟄ホ簧ネアクラホヌ莢マキニシオ、」莢萢ムユ
  5.1320 +オニ、ホマ「`footnotesize'  `huge'
  5.1321 +ホ隕ハクオ、コリ
  5.1322 +メネ「`bf'臍dg'ホ隕ハユゥネリメヌケ」
  5.1323 +
  5.1324 +
  5.1325 +ヒ、ソク鉈
  5.1326 +----------------------------------------
  5.1327 +
  5.1328 +  ゙ソ「beginソ莢ホネアヘ「靈、ニギテソ「ホクマホクホオ、コ
  5.1329 +ムィソ、ネラヲャ「゙ケャ「スホ隕ハマ「オ、コ蓍ュオムィソ、ク
  5.1330 +ホママ゙シッキニォ鬚ニモミキュシ
  5.1331 +`[prefix] L' ネ「邵ホ L
  5.1332 +ヒムィニニモミサミ「スホク銛エホャ「ヨシケヌマ゙゙ケ」
  5.1333 +
  5.1334 +
  5.1335 +
  5.1336 +File: yatexj, Node: maketitleソ莢, Next: Arbitrary completion, Prev: largeソ莢, Up: Completion
  5.1337 +
  5.1338 +maketitleソ莢
  5.1339 +=====================
  5.1340 +
  5.1341 +  `\maketitle' ホチーホ莢 maketitle
  5.1342 +ソ莢ネニヨウネヒギケ」
  5.1343 +
  5.1344 +`[prefix] m'
  5.1345 +             ... maketitle ソ莢ォマ
  5.1346 +
  5.1347 +ヌ「maketitle
  5.1348 +ソ莢ォマギケ」莢ホラホマ」゙ヌホ簧ネ゙テソッアクヌ
  5.1349 +ケ」LaTeX
  5.1350 +ムホヴノセャ莢菠キニムユオニ、゙ケ」
  5.1351 +
  5.1352 +
  5.1353 +
  5.1354 +File: yatexj, Node: Arbitrary completion, Next: end莢, Prev: maketitleソ莢, Up: Completion
  5.1355 +
  5.1356 +莢
  5.1357 +================
  5.1358 +
  5.1359 +  オニ「」゙ヌメルソオソェハ LaTeX
  5.1360 +ヴノチーホ莢マム、コヒ「」
  5.1361 +マキ隕ネキニ、 LaTeX
  5.1362 +ヴノク賽、ユホフヨヌ莢ケウ
  5.1363 +ネ簓ュ゙ケ」LaTeX
  5.1364 +ヴノ(隰ャ\ヌマ゙)マキニ、モ貮「
  5.1365 +
  5.1366 +`[prefix] SPC'
  5.1367 +             ... 莢
  5.1368 +
  5.1369 +マケミ「エニホ莢萸讚鴈ラケ簧ャェミォシスフヨビ
  5.1370 +オ゙ケ」
  5.1371 +
  5.1372 +
  5.1373 +
  5.1374 +File: yatexj, Node: end莢, Next: Accent mark completion, Prev: Arbitrary completion, Up: Completion
  5.1375 +
  5.1376 +end莢
  5.1377  ===========
  5.1378  
  5.1379 -  `{\large }' のような形式の補完を large 型補完と呼ぶことにします。
  5.1380 -
  5.1381 -`[prefix] l'
  5.1382 -             ... large 型補完開始
  5.1383 -
  5.1384 -がlarge型補完の開始です。`[prefix] l' を押すと、ミニバッファに
  5.1385 -
  5.1386 -             {\??? } (default large):
  5.1387 -
  5.1388 -
  5.1389 -と表示されるので、上記のものと同じ要領で補完入力して下さい。補完候補に用意
  5.1390 -されているのは、`footnotesize' や `huge' のような文字サイズ指定子と、`bf'
  5.1391 -や`dg'のようなフォント指定子です。
  5.1392 -
  5.1393 -
  5.1394 -既に書いた文字を括る
  5.1395 ---------------------
  5.1396 -
  5.1397 -  また、begin型補完の時と同様、先に書いてしまった一連の文章の文字のサイズ
  5.1398 -を変えたいと思う時がありますが、そのような時は、サイズや大きさを変えたい文
  5.1399 -字の範囲をマークしてから、呼び出しキーを `[prefix] L' と、大文字の L に変
  5.1400 -えて呼び出せば、そのリジョン全体が、ブレースで囲まれます。
  5.1401 +  ス゚ォ、ゾ゙ホトュセォーェヒ。ミキ「`\end{トュセ}'゙ギ
  5.1402 +ケ」begin
  5.1403 +ソ莢ム、ミトュホトクコマハ、ホヌケャ「ヒマト、ト、ヌ
  5.1404 +`\begin{トュセ}'
  5.1405 +ニギ、「盥、ラ、ケウネャ「゙ケ」ス
  5.1406 +ホ隕ハヒマ、ヒサコウアニクママキ「キォホチヒ
  5.1407 +
  5.1408 +`[prefix] e'
  5.1409 +             ... end 莢
  5.1410 +
  5.1411 +ネケウネヌ「ス゚ォ、ニ、トュセヌ
  5.1412 +\end{} ャ蔡゙ケ」
  5.1413  
  5.1414  
  5.1415  
  5.1416 -File: yatexj, Node: maketitle型補完, Next: Arbitrary completion, Prev: large型補完, Up: Completion
  5.1417 -
  5.1418 -maketitle型補完
  5.1419 -===============
  5.1420 -
  5.1421 -  `\maketitle' の形式の補完を maketitle 型補完と呼ぶことにします。
  5.1422 -
  5.1423 -`[prefix] m'
  5.1424 -             ... maketitle 型補完開始
  5.1425 -
  5.1426 -で、maketitle 型補完を開始します。補完の要領は今までのものとまったく同じで
  5.1427 -す。LaTeX 用のコマンド名が補完候補として用意されています。
  5.1428 -
  5.1429 -
  5.1430 -
  5.1431 -File: yatexj, Node: Arbitrary completion, Next: end補完, Prev: maketitle型補完, Up: Completion
  5.1432 -
  5.1433 -随時補完
  5.1434 -========
  5.1435 -
  5.1436 -  さて、今まで述べた典型的な LaTeX コマンド形式の補完入力を用いずに、今入
  5.1437 -力しようとしている LaTeX コマンドを文書中の任意の位置で随時補完することも
  5.1438 -できます。LaTeX コマンド(先頭が\で始まる)を入力している途中で、
  5.1439 -
  5.1440 -`[prefix] SPC'
  5.1441 -             ... 随時補完
  5.1442 -
  5.1443 -を入力すれば、全ての補完候補の中から一致するものが選ばれカーソル位置に挿入
  5.1444 -されます。
  5.1445 -
  5.1446 -
  5.1447 -
  5.1448 -File: yatexj, Node: end補完, Next: Accent mark completion, Prev: Arbitrary completion, Up: Completion
  5.1449 -
  5.1450 -end補完
  5.1451 -=======
  5.1452 -
  5.1453 -  現在開いたままの環境名を自動的に検出し、`\end{環境名}'を挿入します。
  5.1454 -begin 型補完を用いれば環境の閉じ忘れはないのですが、時にはついつい手で 
  5.1455 -`\begin{環境名}' を入れてしまい、悲しい思いをすることがあります。そのよう
  5.1456 -な時には気にせず続けて文章を入力し、しかるのちに
  5.1457 -
  5.1458 -`[prefix] e'
  5.1459 -             ... end 補完
  5.1460 -
  5.1461 -とすることで、現在開いている環境名で \end{} が補われます。
  5.1462 -
  5.1463 -
  5.1464 -
  5.1465 -File: yatexj, Node: Accent mark completion, Next: Image completion, Prev: end補完, Up: Completion
  5.1466 -
  5.1467 -アクセント記号補完
  5.1468 -==================
  5.1469 -
  5.1470 -  欧文のアクセント記号(`\`{o}'など)を入力する時は、
  5.1471 +File: yatexj, Node: Accent mark completion, Next: Image completion, Prev: end莢, Up: Completion
  5.1472 +
  5.1473 +「ッサネュ趾ー
  5.1474 +====================================
  5.1475 +
  5.1476 +  、クホ「ッサネュ(`\`{o}'ハノ)マケマ「
  5.1477  
  5.1478  `[prefix] a'
  5.1479 -             ... アクセント記号入力
  5.1480 -
  5.1481 -を押すと、ミニバッファに
  5.1482 +             ... 「ッサネュマ
  5.1483 +
  5.1484 +。ケネ「゚ヒミテユ。ヒ
  5.1485  
  5.1486               1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b
  5.1487  
  5.1488 -というメニューが出て来るので、数字、または対応する記号/英字を入力して下さ
  5.1489 -い。すると編集バッファに、
  5.1490 +ネ、ヲ睛蠑ャミニ齏ホヌ「「゙ソマミケュ/ムマ
  5.1491 +キニシオ、」ケネヤクミテユ。ヒ「
  5.1492  
  5.1493               \`{}
  5.1494  
  5.1495 -が現われ、カーソルが{}内に位置するので、さらに一文字入力する事で、
  5.1496 +ャス「ォシスャ{}簍フヨケホヌ「オ鰺クマケヌ「
  5.1497  
  5.1498               \`{o}
  5.1499  
  5.1500 -が完成され、カーソルは{}の外に戻ります。
  5.1501 +ャーョオ「ォシスマ{}ホーヒ碎゙ケ」
  5.1502  
  5.1503  
  5.1504  
  5.1505  File: yatexj, Node: Image completion, Next: Greek letter completion, Prev: Accent mark completion, Up: Completion
  5.1506  
  5.1507 -数式記号イメージ補完
  5.1508 -====================
  5.1509 -
  5.1510 -  主に数式モードで使用される、矢印やΣなどの記号を擬似的に表現するキー入力
  5.1511 -で、LaTeX コマンドを入力できます。これは野鳥自身の「数式モード」でのみ動作
  5.1512 -します。野鳥はカーソルがTeXの数式環境の中にある時に`;'や、`:'に特殊な機能
  5.1513 -を持たせます。
  5.1514 -
  5.1515 -  さて、例えば、←(leftarrow)をASCII文字だけで表現する場合、一般的には「<-」
  5.1516 -のようにしますが、これを利用して、数式記号イメージ入力モードで`\leftarrow'
  5.1517 -を入力するには、`;'(セミコロン)を打ってから`<-'と入力します。同様に、長い
  5.1518 -矢印←-(long-leftarrow) をASCII文字だけで表現する場合「<--」とするので、
  5.1519 -`\longleftarrow'を入力するためには、`;<--' と入力します。あるいは無限大記
  5.1520 -号をASCII文字だけで表現する時は「oo」のようにすることから、`\infty' を入力
  5.1521 -する時は、`;oo'とキー入力します。
  5.1522 -
  5.1523 -  これらの操作をまとめると次のようになります。
  5.1524 -
  5.1525 -     INPUT                   入力される LaTeX コマンド
  5.1526 +ーュ讀眈ク莢
  5.1527 +========================================
  5.1528 +
  5.1529 +  醉ー箴ノヌネムオ「茣ハノホュ踉シェヒススケュシマ
  5.1530 +ヌ「LaTeX
  5.1531 +ヴノマヌュ゙ケ」ウマサォネホヨー箴ノラヌポ
  5.1532 +ーギケ」サマォシスャTeXホートュホ賤「ヒ`;'茲
  5.1533 +`:'ヒテハ。スソザケ」
  5.1534 +
  5.1535 +  オニ「罟ミ「ォ(leftarrow)ASCIIクタアヌススケ遒フェヒマヨ<-ラ
  5.1536 +ホ隕ヒギケャ「ウムキニ「ーュ讀眈クマ箴ノヌ
  5.1537 +`\leftarrow'マケヒマ「`;'(サ゚ウ)ヌテニォ饒<-'ネ
  5.1538 +マギケ」アヘヒ「ケ、ォ-(long-leftarrow)
  5.1539 +ASCIIクタアヌススケ
  5.1540 +釉<--ラネケホヌ「`\longleftarrow'マケソ睛マ「`;<--'
  5.1541 +ネマギケ」「、マオツ遲踉ASCIIクタアヌススケマヨooラホ隕
  5.1542 +ヒケウネォ鬚`\infty'
  5.1543 +マケマ「`;oo'ネュシマギケ」
  5.1544 +
  5.1545 +  ウ鯰瑁゙ネ硴ネ。ホ隕ヒバケ」
  5.1546 +
  5.1547 +     INPUT                   マオ LaTeX ヴノ
  5.1548       ; < -                   `\leftarrow'
  5.1549       ; < - -                 `\longleftarrow'
  5.1550       ; < - - >               `\longleftrightarrow'
  5.1551 @@ -902,926 +1017,1113 @@
  5.1552  
  5.1553  
  5.1554  
  5.1555 -  いずれの場合も、イメージ入力を行っている途中で望みのものがバッファに表示
  5.1556 -されたなら、そこでイメージ入力を止めて次の編集動作に移っても構いません。
  5.1557 -
  5.1558 -  数式環境中で`;'自身を入力するには`;;'のようにします。イメージ入力の途中
  5.1559 -でTABを押すと、それまで入力した文字で始まるもの一覧が表示されます。ここで
  5.1560 -目的の LaTeX コマンドまでカーソルを移動し再度TABを押すことでその LaTeX コ
  5.1561 -マンドがバッファに挿入されます。
  5.1562 -
  5.1563 -  どのキー入力にどの記号が対応しているか全て知りたい時は、`;'を押した直後
  5.1564 -にTABを押してください。以下の例は、`;<'と押した後にTABを押したものです。
  5.1565 +  、コホ鈔「、眈クマヤテニ、モ貮セ゚ホ簧ャミテユ。
  5.1566 +ヒスィオソハ鬚スウヌ、眈クマ゚眸。ホヤクーヒワテニ
  5.1567 +ス、゙サ」
  5.1568 +
  5.1569 +  ートュ貮`;'ォネマケヒマ`;;'ホ隕ヒギケ」、眈ク
  5.1570 +マホモ貮TAB。ケネ「ズヌマキソクヌマ゙簧ャスィオ゙
  5.1571 +ケ」ウウヌワェホ LaTeX
  5.1572 +ヴノ゙ヌォシスワーキニルTAB。ケウネヌ
  5.1573 +スホ LaTeX
  5.1574 +ヴノャミテユ。ビオ゙ケ」
  5.1575 +
  5.1576 +  ノホュシマヒノホュ谺ミキニ、ォエニホソ、マ「`;'。キソ
  5.1577 +セ衢TAB。キニッタオ、」ハシホ耘「`;<'ネ。キソ衢TAB。キソ簧
  5.1578 +ヌケ」
  5.1579  
  5.1580       KEY             LaTeX sequence          sign
  5.1581 -     <               \leq                    ≦
  5.1582 -     <<              \ll                     《
  5.1583 -     <-              \leftarrow              ←
  5.1584 +     <               \leq                    
  5.1585 +     <<              \ll                     ヤ
  5.1586 +     <-              \leftarrow              ォ
  5.1587       <=              \Leftarrow              <=
  5.1588  
  5.1589 -左から[入力キー]、[対応する LaTeX コマンド]、[(擬似)記号図示]、という順で
  5.1590 -メニューが出て来るので、よく使うものを覚えておくと良いでしょう。ものによっ
  5.1591 -てはASCII文字で表現することが困難なので、あまり覚えやすいキー並びではない
  5.1592 -ものがあるでしょうから、そのような場合は \maketitle 型補完で入力するか、以
  5.1593 -下に述べる対応表の設定を行って単純なキー並びのものを設定すると良いでしょう。
  5.1594 -
  5.1595 -  入力キーと LaTeX コマンド、記号の対応表を個人的に設定したい場合は 
  5.1596 -Emacs-Lisp 変数 `YaTeX-math-sign-alist-private' に定義してください。その内
  5.1597 -容とデフォルトのものを合わせたものが対応表として使用されます(private の方
  5.1598 -が優先される)。なお、この変数の構造については `yatexmth.el' を参照してくだ
  5.1599 -さい。
  5.1600 +クォ饉マュシ]「[ミケ LaTeX
  5.1601 +ヴノ]「[(シ)ュ赭ィ]「ネ
  5.1602 +、ヲ酩睛蠑ャミニ齏ホヌ「隸ネヲ簧ミィニェッネノ、ヌキ
  5.1603 +ヲ」簧ヒ霤ニマASCIIクヌススケウネャ、ハホヌ「「゙ミィ
  5.1604 +荵、ュシツモヌマハ、簧ャ「ヌキ遖ォ鬚スホ隕ハ醯
  5.1605 +\maketitle
  5.1606 +ソ莢ヌマケォ「ハシヒメルミスポヤテニア
  5.1607 +飜ュシツモホ簧゚ケネノ、ヌキ遖」
  5.1608 +
  5.1609 +  マュシネ LaTeX
  5.1610 +ヴノ「ュ賽ミストヘェピキソ、醯
  5.1611 +Emacs-Lisp ム `YaTeX-math-sign-alist-private'
  5.1612 +ヒチキニッタオ、」
  5.1613 +スホ簇ネヌユゥネホ簧鉐サソ簧ャミスネキニネムオ゙ケ(private
  5.1614 +ホャ・襍)」ハェ「ウホムホス、ヒト、ニマ
  5.1615 +`yatexmth.el' イ ネキニッタオ、」
  5.1616  
  5.1617  
  5.1618  
  5.1619  File: yatexj, Node: Greek letter completion, Prev: Image completion, Up: Completion
  5.1620  
  5.1621 -ギリシャ文字補完
  5.1622 -================
  5.1623 -
  5.1624 -  もう一つ、数式環境中で`:'を押すとギリシャ文字入力モードに入ります。`:'を
  5.1625 -押した直後に`a'を押すと`\alpha'が、`g' を押すと `\gamma'が、などアルファベッ
  5.1626 -トに対応したギリシャ文字が挿入されます。操作方法は;の数式記号補完とまった
  5.1627 -く同じです。まずは`:'の直後にTABを押してどのアルファベットにどのギリシャ文
  5.1628 -字が対応しているか調べてみてください。
  5.1629 -
  5.1630 -  `;'と`:'を数式環境中で押しているにもかかわらず、イメージ補完が働かない場
  5.1631 -合は、`C-u ;'のように universal-argument をつけてキーを押すことにより、強
  5.1632 -制的にイメージ補完に入ることができます。また、この時にどのような状態で数式
  5.1633 -環境内判定に失敗したかをご連絡下さい。
  5.1634 +ョキ羣莢
  5.1635 +================================
  5.1636 +
  5.1637 +  筥ト「ートュ貮`:'。ケネョキ羣マ箴ノビケ」
  5.1638 +`:'。キソセ衢`a'。ケネ`\alpha'ャ「`g'
  5.1639 +。ケネ
  5.1640 +`\gamma'ャ「ハノ「ユ。ルテネヒミキソョキ羣ャ゙オ゙ケ」
  5.1641 +瑁。マ;ホーュ趾ーネ゙テソッアクヌケ」゙コマ`:'ホセ衢
  5.1642 +TAB。キニノホ「ユ。ルテネヒノホョキ羣ャミキニ、ォエルニ゚ニ
  5.1643 +ッタオ、」
  5.1644 +
  5.1645 +  `;'ネ`:'ートュ貮。キニ、ヒ筬ォ鮗「、眈ク莢ャッ
  5.1646 +ォハ、醯「`C-u ;'ホ隕ヒ universal-argument
  5.1647 +トアニュシ。ケウ
  5.1648 +ネヒ韭「ッゥェヒ、眈ク莢ヒウネャヌュ゙ケ」゙ソ「ウホヒノホ隕
  5.1649 +ハヨヌートュ篆ヒコヤキソォエ「シオ、」
  5.1650  
  5.1651  
  5.1652  
  5.1653  File: yatexj, Node: Local dictionary, Next: Commenting out, Prev: Completion, Up: Top
  5.1654  
  5.1655 -ローカル辞書
  5.1656 -************
  5.1657 -
  5.1658 -  補完入力用の候補は三種類の辞書から構成されています。一つは`yatex.el'に組
  5.1659 -み込まれた「標準辞書」、もう一つはユーザが個人的に常用するコマンドを保存す
  5.1660 -る「ユーザ辞書」、そしてもうひとつはあるディレクトリでのみ有効なコマンドを
  5.1661 -保存する「ローカル辞書」です。
  5.1662 -
  5.1663 -  補完入力時に新しい単語を入れた場合に、その単語をどの辞書に入れるか聞いて
  5.1664 -来ます。
  5.1665 +シォュ
  5.1666 +************************
  5.1667 +
  5.1668 +  莢マムホ蔆ー猥ュォ鮨ョオニ、゙ケ」トマ
  5.1669 +`yatex.el'ヒネ゚゙ソヨク牆ラ「筥トマ貍カャトヘェヒム
  5.1670 +ケヴノンクケヨ貍カュラ「スキニ筥メネトマ「ヌ」ッネヌ
  5.1671 +ポュハヴノンクケヨシォュラヌケ」
  5.1672 +
  5.1673 +  莢マヒキキ、アソ醉「スホアノホュヒォケ、ニ
  5.1674 +鞐ケ」
  5.1675  
  5.1676         `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscard
  5.1677  
  5.1678 -というプロンプトに対し、`u'と答えると「ユーザ辞書」を、`l'と答えるとローカ
  5.1679 -ル辞書を更新し、`n'と答えると辞書ファイルは更新せず現在のEmacs セッション
  5.1680 -のみ有効な単語とし、`d'と答えると新たな単語を学習せずに捨てることになりま
  5.1681 -す。
  5.1682 -
  5.1683 -  もし、ローカル辞書の機能はいらず、全てユーザ辞書の更新のみでよいと言う場
  5.1684 -合には`~/.emacs'などで、
  5.1685 +ネ、ヲララネヒミキ「`u'ネィネヨ貍カュラ「`l'ネィ
  5.1686 +ネシォュケキキ「`n'ネィネュユ。、マケキサコス゚ホEmacs
  5.1687 +サテキ銛ポュハアネキ「`d'ネィネキソハアリャサコヒホニ
  5.1688 +ウネヒバケ」
  5.1689 +
  5.1690 +  箙「シォュホ。スマ、鮗「エニ貍カュホケキポヌ隍ネタヲ
  5.1691 +醉マ`~/.emacs'ハノヌ「
  5.1692  
  5.1693               (setq YaTeX-nervous nil)
  5.1694  
  5.1695 -として下さい。
  5.1696 +ネキニシオ、」
  5.1697  
  5.1698  
  5.1699  
  5.1700  File: yatexj, Node: Commenting out, Next: Cursor jump, Prev: Local dictionary, Up: Top
  5.1701  
  5.1702 -コメントアウト
  5.1703 -**************
  5.1704 -
  5.1705 -
  5.1706 -  LaTeXの編集には試行錯誤がつきものです。ある部分を一括でコメントアウトし
  5.1707 -たり、コメントを外したりしたいことがあります。
  5.1708 +ウ碯ネ「ヲネ
  5.1709 +****************************
  5.1710 +
  5.1711 +
  5.1712 +  LaTeXホヤクヒマヤャトュ簧ヌケ」「ャ酩ウ碯ネ「ヲネ
  5.1713 +キソ瑤ウ碯ネーキソキソ、ウネャ「゙ケ」
  5.1714  
  5.1715  `[prefix] >'
  5.1716 -             ... リジョンを % でコメントアウト
  5.1717 +             ... ク銛 % ヌウ碯ネ「ヲネ
  5.1718  `[prefix] <'
  5.1719 -             ... リジョンの % のコメントを外す
  5.1720 -
  5.1721 -は、あらかじめ設定したリジョンに対しての操作、
  5.1722 +             ... ク銛ホ % ホウ碯ネーケ
  5.1723 +
  5.1724 +マ「「鬮ク矚キソク銛ヒミキニホ瑁「
  5.1725  
  5.1726  `[prefix] .'
  5.1727 -             ... 現在のパラグラフをコメントアウト
  5.1728 +             ... ス゚ホム魏鰈ウ碯ネ「ヲネ
  5.1729  `[prefix] ,'
  5.1730 -             ... 現在のパラグラフのコメントを外す
  5.1731 -
  5.1732 -は、カーソルの位置するパラグラフ全体に対しての操作です。なお、ここでいう
  5.1733 -「パラグラフ」は (`mark-paragraph') 関数によりマークされる範囲を指します
  5.1734 -(標準設定で`ESC h'にバインドされている)。なお、既に`%'でコメントアウトされ
  5.1735 -ているパラグラフに対して繰り返しパラグラフのコメントを使用した場合の動作は
  5.1736 -保証しませんので御注意ください。
  5.1737 -
  5.1738 -  さて、文章に対してだけでなく、時には`\begin', `\end' 自体に対してもコメ
  5.1739 -ントアウトの操作をしたいときがあります。このようなときは、`\begin{}' ある
  5.1740 -いは `\end{}' の行にカーソルを合わせ、
  5.1741 +             ... ス゚ホム魏鰈ホウ碯ネーケ
  5.1742 +
  5.1743 +マ「ォシスホフヨケム魏鰈エホヒミキニホ瑁ヌケ」ハェ「ウウヌ、ヲ
  5.1744 +ヨム魏鰈ラマ (`mark-paragraph')
  5.1745 +リヒ韭゙シッオママリキ
  5.1746 +゙ケ(ク珀ヌ`ESC
  5.1747 +h'ヒミ、ノオニ、)」ハェ「ヒ`%'ヌウ
  5.1748 +ネ「ヲネオニ、ム魏鰈ヒミキニォヨキム魏鰈ホウ碯ネネムキ
  5.1749 +ソ醫ーマンレギサホヌ跫ユッタオ、」
  5.1750 +
  5.1751 +  オニ「クマヒミキニタアヌハッ「ヒマ`\begin',
  5.1752 +`\end' ォホヒミ
  5.1753 +キニ箋碯ネ「ヲネホ瑁キソ、ネュャ「゙ケ」ウホ隕ハネュマ「
  5.1754 +`\begin{}' 「、マ `\end{}'
  5.1755 +ホヤヒォシス鉐サ「
  5.1756  
  5.1757  `[prefix] >'
  5.1758 -             ... `\begin{}'〜`\end{}' 全てコメントアウト
  5.1759 +             ... `\begin{}'チ`\end{}'
  5.1760 +     エニウ碯ネ「ヲネ
  5.1761  `[prefix] <'
  5.1762 -             ... `\begin{}'〜`\end{}' 全てコメントを外す
  5.1763 -
  5.1764 -とすることで、`\begin〜\end'で囲まれる環境全てに対してコメント操作し、
  5.1765 +             ... `\begin{}'チ`\end{}'
  5.1766 +     エニウ碯ネーケ
  5.1767 +
  5.1768 +ネケウネヌ「`\beginチ\end'ヌマ゙トュエニヒミキニウ碯ネ瑁キ「
  5.1769  
  5.1770  `[prefix] .'
  5.1771 -             ... `\begin{}' と `\end{}' をコメントアウト
  5.1772 +             ... `\begin{}' ネ `\end{}' ウ碯ネ「ヲネ
  5.1773  `[prefix] ,'
  5.1774 -             ... `\begin{}' と `\end{}' のコメントを外す
  5.1775 -
  5.1776 -は、対応する `\begin' と `\end' 2行だけを、コメント操作の対象とします。リ
  5.1777 -ジョンをコメントアウトしようとして、マークを設定したのちにカーソルを移動し
  5.1778 -`[preifx] >' を押してもカーソルが `\begin{}' の上にあると`\begin{}'〜
  5.1779 -`\end{}'モードでコメント機能が働いてしまうので注意して下さい。
  5.1780 +             ... `\begin{}' ネ `\end{}' ホウ碯ネーケ
  5.1781 +
  5.1782 +マ「ミケ `\begin' ネ `\end'
  5.1783 +2ヤタア「ウ碯ネ瑁ホミンネ
  5.1784 +ギケ」ク銛ウ碯ネ「ヲネキ隕ネキニ「゙シッ゚キソホチヒォシス
  5.1785 +ワーキ`[preifx] >' 。キニ筬シスャ
  5.1786 +`\begin{}' ホ衢「
  5.1787 +ネ`\begin{}'チ`\end{}'箴ノヌウ碯ネ。スャッ、ニギヲホ
  5.1788 +ヌユキニシオ、」
  5.1789  
  5.1790  
  5.1791  
  5.1792  File: yatexj, Node: Cursor jump, Next: Modifying/Deleting, Prev: Commenting out, Up: Top
  5.1793  
  5.1794 -カーソルジャンプ
  5.1795 -****************
  5.1796 +ォシスク胚ラ
  5.1797 +********************************
  5.1798  
  5.1799  
  5.1800  * Menu:
  5.1801  
  5.1802 -* 対応オブジェクトへのジャンプ::  
  5.1803 -* お絵描きツール起動::          
  5.1804 -* メインファイルへのジャンプ::  
  5.1805 -* 環境を単位としたジャンプ::    
  5.1806 -* 最後の補完位置へのジャンプ::  
  5.1807 +* ミェヨクァッネリホク胚ラ::  
  5.1808 +* ェィチュトシッー::          
  5.1809 +* 皃ユ。、リホク胚ラ::  
  5.1810 +* トュアフネキソク胚ラ::    
  5.1811 +* ヌ衾莢フヨリホク胚ラ::  
  5.1812  
  5.1813  
  5.1814  
  5.1815 -File: yatexj, Node: 対応オブジェクトへのジャンプ, Next: お絵描きツール起動, Prev: Cursor jump, Up: Cursor jump
  5.1816 -
  5.1817 -対応オブジェクトへのジャンプ
  5.1818 -============================
  5.1819 -
  5.1820 -  文書中のいろいろな場所で
  5.1821 +File: yatexj, Node: ミェヨクァッネリホク胚ラ, Next: ェィチュトシッー, Prev: Cursor jump, Up: Cursor jump
  5.1822 +
  5.1823 +ミェヨクァッネリホク胚ラ
  5.1824 +========================================================
  5.1825 +
  5.1826 +  ク賽、、ハヌ
  5.1827  
  5.1828  `[prefix] g'
  5.1829 -             ... 対応するオブジェクトにジャンプ
  5.1830 -
  5.1831 -を押すことにより、カーソル位置のLaTeXコマンドに対応する場所にジャンプしま
  5.1832 -す。対応関係が存在すると解釈されるコマンドには以下のものがあります。
  5.1833 -
  5.1834 -   * `\begin{}' ←→ `\end{}'
  5.1835 -   * `%#BEGIN' ←→ `%#END'
  5.1836 -   * 画像ファイルの取り込みマクロ → 対応するviewer/お絵かきツール起動
  5.1837 -   * `\label{}' ←→ `\ref{}'
  5.1838 -   * `\include(\input)' → 対応するファイル
  5.1839 -   * `\bibitem{}' ←→ `\cite{}'
  5.1840 -
  5.1841 -  `\begin{}' か `\end{}' の行で`[prefix] g'を押すことにより、対応する
  5.1842 -`end/begin'の行にジャンプします。もちろん対応するものがない場合はエラーに
  5.1843 -なります。またこれは、領域固定のための `%#BEGIN' と `%#END' のペアに対して
  5.1844 -も同様に動作します。なお、`label/ref'や`cite/bibitem'対応するものが別ファ
  5.1845 -イルにある時は、ジャンプ先となるファイルがオープンされていなければなりませ
  5.1846 -ん。*Note %#notation::.  メインの .tex ファイルの `\include{chap1}' などに
  5.1847 -カーソルを合わせ、`[prefix] g' を押すと、`chap1.tex' にジャンプします。
  5.1848 -
  5.1849 -また、
  5.1850 +             ... ミケェヨクァッネヒク胚ラ
  5.1851 +
  5.1852 +。ケウネヒ韭「ォシスフヨホLaTeXヴノヒミケヒク胚ラ
  5.1853 +ギケ」ミリクャク゚ケネ盞ヴノヒマハシホ簧ャ「゙ケ」
  5.1854 +
  5.1855 +   * `\begin{}' ォェ `\end{}'
  5.1856 +   * `%#BEGIN' ォェ `%#END'
  5.1857 +   * 顰ユ。、ホ韭゚゙ッ ェ ミケviewer/ェィォュトシッー
  5.1858 +   * `\label{}' ォェ `\ref{}'
  5.1859 +   * `\include(\input)' ェ ミケユ。、
  5.1860 +   * `\bibitem{}' ォェ `\cite{}'
  5.1861 +
  5.1862 +  `\begin{}' ォ `\end{}' ホヤヌ`[prefix]
  5.1863 +g'。ケウネヒ
  5.1864 +韭「ミケ`end/begin'ホヤヒク胚ラギケ」簔ミケ簧ャ
  5.1865 +ハ、醯ィ鮠ヒバケ」゙ソウマ「ホ霽ホソ睾
  5.1866 +`%#BEGIN' ネ `%#END'
  5.1867 +ホレ「ヒミキニ箜ヘヒーギケ」ハェ「`label/ref'
  5.1868 +`cite/bibitem'ミケ簧ャフユ。、ヒ「マ「ク胚ラ霾ハユ。
  5.1869 +、ャェシラオニ、ハアミバサ」*Note
  5.1870 +%#notation::.  皃ホ .tex ユ。、ホ
  5.1871 +`\include{chap1}' ハノヒォシス鉐サ「
  5.1872 +`[prefix] g' 。ケネ「`chap1.tex'
  5.1873 +ヒク胚ラギケ」
  5.1874 +
  5.1875 +゙ソ「
  5.1876  
  5.1877  `[prefix] 4 g'
  5.1878 -             ... 別ウィンドウで対応オブジェクトにジャンプ
  5.1879 -
  5.1880 -を押すと、対応するオブジェクトへのジャンプを別ウィンドウで行います。ただし、
  5.1881 -この機能は `begin/end', `%#BEGIN/%#END' 間のジャンプに対しては(意味がない
  5.1882 -と思われるので)機能しないので注意してください。
  5.1883 +             ... フヲ」ノヲヌミェヨクァッネヒク胚ラ
  5.1884 +
  5.1885 +。ケネ「ミケェヨクァッネリホク胚ラフヲ」ノヲヌヤ、゙ケ」ソタキ「
  5.1886 +ウホ。スマ `begin/end', `%#BEGIN/%#END'
  5.1887 +ヨホク胚ラヒミキニマ
  5.1888 +(ユ」ャハ、ネラホヌ)。スキハ、ホヌユキニッタオ、」
  5.1889  
  5.1890  
  5.1891  
  5.1892 -File: yatexj, Node: お絵描きツール起動, Next: メインファイルへのジャンプ, Prev: 対応オブジェクトへのジャンプ, Up: Cursor jump
  5.1893 -
  5.1894 -お絵描きツール起動
  5.1895 -==================
  5.1896 -
  5.1897 -上記の「画像ファイルの取り込みマクロ」とは、例えば `\epsfile{file=foo}' の
  5.1898 -ような挿絵取り込みコマンドのことで、この行にカーソルを合わせて`[prefix] g'
  5.1899 -を押すとその画像ファイルの元となったファイルを対応するお絵描きツールを起動
  5.1900 -してオープンします。起動するツールの判定は以下のようになされます。
  5.1901 -
  5.1902 -  1. カレント行が変数 `YaTeX-processed-file-regexp-alist' に定義されている
  5.1903 -     正規表現のいずれかとマッチしたら、ファイル名に相当する部分を \\(\\)か
  5.1904 -     ら抜き出して覚えておく(何番目の\\(\\)かは変数の各リストの cdr 部に入
  5.1905 -     れておく)。マッチしなければ何もしない。
  5.1906 -  2. 行末に、変数 `YaTeX-file-processor-alist' に登録されているコマンドが
  5.1907 -     「%コマンド」 のように書いてあれば強制的に「コマンド ファイル名.拡張
  5.1908 -     子」を起動。
  5.1909 -  3. なければ、変数 `YaTeX-file-processor-alist' の各リストのcdr部に入って
  5.1910 -     いる拡張子を「ファイル名」の後ろに足したファイルが存在するか順次調べ
  5.1911 -     て、存在した場合car部に入っているコマンドを起動する。
  5.1912 -  4. 以上どれかにマッチしなければあきらめる。
  5.1913 -
  5.1914 -
  5.1915 -変数 `YaTeX-file-processor-alist' と変数 `YaTeX-file-processor-alist' の設
  5.1916 -定方法についてはそれぞれの変数について describe-variable して説明を読んで
  5.1917 -下さい。うまく設定すると、画像ファイルにかぎらず、任意の形式のファイルを任
  5.1918 -意のプロセッサで処理するコマンドを簡単に呼び出すことができます。
  5.1919 +File: yatexj, Node: ェィチュトシッー, Next: 皃ユ。、リホク胚ラ, Prev: ミェヨクァッネリホク胚ラ, Up: Cursor jump
  5.1920 +
  5.1921 +ェィチュトシッー
  5.1922 +====================================
  5.1923 +
  5.1924 +蟄ホヨ顰ユ。、ホ韭゚゙ッラネマ「罟ミ
  5.1925 +`\epsfile{file=foo}'
  5.1926 +ホ隕バィ韭゚ヴノホウネヌ「ウホヤヒ
  5.1927 +ォシス鉐サニ`[prefix]
  5.1928 +g'。ケネスホ顰ユ。、ホオネハテソユ。
  5.1929 +、ミケェィチュトシッーキニェシラギケ」ッーケトシホス
  5.1930 +マハシホ隕ヒハオ゙ケ」
  5.1931 +
  5.1932 +  1. ォネヤャム `YaTeX-processed-file-regexp-alist'
  5.1933 +     ヒチオ
  5.1934 +     ニ、オャススホ、コォネ゙テチキソ鬚ユ。、セヒケャ
  5.1935 +     \\(\\)ォ魘ュミキニミィニェッ(ソヨワホ\\(\\)ォマムホニケネホ
  5.1936 +     cdr ヒ
  5.1937 +     ニェッ)」゙テチキハアミソ箙ハ、」
  5.1938 +  2. ヤヒ「ム `YaTeX-file-processor-alist'
  5.1939 +     ヒミソオニ、ヴノャ
  5.1940 +     ヨ%ヴノラ
  5.1941 +     ホ隕ヒ、ニ「ミッゥェヒヨヴノ
  5.1942 +     ユ。、セ.ネ・メラ ッー」
  5.1943 +  3. ハアミ「ム `YaTeX-file-processor-alist'
  5.1944 +     ホニケネホcdrヒテニ
  5.1945 +     、ネ・メヨユ。、セラホ褊ヒュキソユ。、ャク゚ケォ遑エルニ「ク
  5.1946 +     ゚キソ軣arヒテニ、ヴノッーケ」
  5.1947 +  4. ハ衙ォビテチキハアミ「ュ鱆」
  5.1948 +
  5.1949 +
  5.1950 +ム `YaTeX-file-processor-alist' ネム
  5.1951 +`YaTeX-file-processor-alist'
  5.1952 +ポ。ヒト、ニマスセホムヒト、
  5.1953 +ニ describe-variable
  5.1954 +キニ簑ノヌシオ、」ヺッ゚ケネ「顰ユ。、
  5.1955 +ヒォョ鮗「、ユホチーホユ。、、ユホラサテオヌケヴノハ
  5.1956 +アヒニモミケウネャヌュ゙ケ」
  5.1957  
  5.1958  
  5.1959  
  5.1960 -File: yatexj, Node: メインファイルへのジャンプ, Next: 環境を単位としたジャンプ, Prev: お絵描きツール起動, Up: Cursor jump
  5.1961 -
  5.1962 -メインファイルへのジャンプ
  5.1963 -==========================
  5.1964 -
  5.1965 -`chap1.tex'のようなサブファイルで、
  5.1966 +File: yatexj, Node: 皃ユ。、リホク胚ラ, Next: トュアフネキソク胚ラ, Prev: ェィチュトシッー, Up: Cursor jump
  5.1967 +
  5.1968 +皃ユ。、リホク胚ラ
  5.1969 +====================================================
  5.1970 +
  5.1971 +`chap1.tex'ホ隕ハオヨユ。、ヌ「
  5.1972  
  5.1973  `[prefix] ^'
  5.1974 -             ... メインファイルにジャンプ
  5.1975 +             ... 皃ユ。、ヒク胚ラ
  5.1976  `[prefix] 4 ^'
  5.1977 -             ... 別ウィンドウでメインファイルにジャンプ
  5.1978 -
  5.1979 -を押すと、メインファイルの編集バッファに切替えます。もし、メインファイルを
  5.1980 -オープンしていない場合は、カレントディレクトリから探して自動的にオープンし
  5.1981 -ます。
  5.1982 +             ... フヲ」ノヲヌ皃ユ。、ヒク胚ラ
  5.1983 +
  5.1984 +。ケネ「皃ユ。、ホヤクミテユ。ヒレリィ゙ケ」箙「皃ユ。、
  5.1985 +ェシラキニ、ハ、醯「ォネヌ」ッネォ魴キニォーェヒェシラキ
  5.1986 +゙ケ」
  5.1987  
  5.1988  
  5.1989  
  5.1990 -File: yatexj, Node: 環境を単位としたジャンプ, Next: 最後の補完位置へのジャンプ, Prev: メインファイルへのジャンプ, Up: Cursor jump
  5.1991 -
  5.1992 -環境を単位としたジャンプ
  5.1993 -========================
  5.1994 -
  5.1995 -さらに現在の環境を単位として機能するコマンドに以下のものがあります。
  5.1996 +File: yatexj, Node: トュアフネキソク胚ラ, Next: ヌ衾莢フヨリホク胚ラ, Prev: 皃ユ。、リホク胚ラ, Up: Cursor jump
  5.1997 +
  5.1998 +トュアフネキソク胚ラ
  5.1999 +================================================
  5.2000 +
  5.2001 +オ鰺ス゚ホトュアフネキニ。スケヴノヒハシホ簧ャ「゙ケ」
  5.2002  
  5.2003  `M-C-a'
  5.2004 -             ... 環境の先頭(`\begin')へジャンプ
  5.2005 +             ... トュホ隰(`\begin')リク胚ラ
  5.2006  `M-C-e'
  5.2007 -             ... 環境の末尾(`\end')へジャンプ
  5.2008 +             ... トュホ(`\end')リク胚ラ
  5.2009  `M-C-@'
  5.2010 -             ... 環境全体をマーク
  5.2011 -
  5.2012 -上記のコマンドは通常の`[prefix]'キーではなく`META'キーをプリフィクスとして
  5.2013 -機能するのでご注意下さい。
  5.2014 +             ... トュエボシッ
  5.2015 +
  5.2016 +蟄ホヴノマフホ`[prefix]'ュシヌマハッ`META'ュシラユ」ッ
  5.2017 +ケネキニ。スケホヌエユシオ、」
  5.2018  
  5.2019  
  5.2020  
  5.2021 -File: yatexj, Node: 最後の補完位置へのジャンプ, Prev: 環境を単位としたジャンプ, Up: Cursor jump
  5.2022 -
  5.2023 -最後の補完位置へのジャンプ
  5.2024 -==========================
  5.2025 -
  5.2026 -野鳥は補完入力した位置を常にレジスタ `3'に保存しています。入力途中で如何な
  5.2027 -るファイルの如何なる位置に行ったとしても、`C-x j 3'(`jump-to-register')を
  5.2028 -使って直ちに最後の補完入力位置に戻ることができます。
  5.2029 +File: yatexj, Node: ヌ衾莢フヨリホク胚ラ, Prev: トュアフネキソク胚ラ, Up: Cursor jump
  5.2030 +
  5.2031 +ヌ衾莢フヨリホク胚ラ
  5.2032 +====================================================
  5.2033 +
  5.2034 +サマ莢マキソフヨヒクケソ
  5.2035 +`3'ヒンクキニ、゙ケ」
  5.2036 +マモ貮。ソハユ。、ホ。ソハフヨヒヤテソネキニ笋
  5.2037 +`C-x j
  5.2038 +3'(`jump-to-register')ネテニセチヒヌ衾莢マフヨヒ
  5.2039 +ウネャヌュ゙ケ」
  5.2040  
  5.2041  
  5.2042  
  5.2043  File: yatexj, Node: Modifying/Deleting, Next: Filling, Prev: Cursor jump, Up: Top
  5.2044  
  5.2045 -変更/削除
  5.2046 -*********
  5.2047 -
  5.2048 -  既に入力されている LaTeX コマンドの変更/削除のために以下の機能が用意され
  5.2049 -ています。
  5.2050 +ムケ/
  5.2051 +*****************
  5.2052 +
  5.2053 +  ヒマオニ、 LaTeX
  5.2054 +ヴノホムケ/ホソ睛ハシホ。スャムユ
  5.2055 +オニ、゙ケ」
  5.2056  
  5.2057  `[prefix] c'
  5.2058 -             ... カーソル位置の LaTeX コマンドの変更
  5.2059 +             ... ォシスフヨホ LaTeX
  5.2060 +     ヴノホムケ
  5.2061  `[prefix] k'
  5.2062 -             ... カーソル位置の LaTeX コマンドの削除
  5.2063 -
  5.2064 -
  5.2065 -これらのコマンドは、コマンドを起動する場所によって動作を決定するので注意し
  5.2066 -て下さい。
  5.2067 +             ... ォシスフヨホ LaTeX
  5.2068 +     ヴノホ
  5.2069 +
  5.2070 +
  5.2071 +ウ鯰ヴノマ「ヴノッーケヒ霤ニー韭ケホヌユキ
  5.2072 +ニシオ、」
  5.2073  
  5.2074  * Menu:
  5.2075  
  5.2076 -* Changing LaTeX command::      LaTeX コマンドの変更
  5.2077 -* Killing LaTeX command::       LaTeX コマンドの削除
  5.2078 +* Changing LaTeX command::      LaTeX ヴノホムケ
  5.2079 +* Killing LaTeX command::       LaTeX ヴノホ
  5.2080  
  5.2081  
  5.2082  
  5.2083  File: yatexj, Node: Changing LaTeX command, Next: Killing LaTeX command, Prev: Modifying/Deleting, Up: Modifying/Deleting
  5.2084  
  5.2085 -LaTeX コマンドの変更
  5.2086 -====================
  5.2087 -
  5.2088 -変更したい LaTeX コマンドにカーソルを合わせて `[prefix] c' を押すとそのコ
  5.2089 -マンドを補完入力などを用いて手軽に変えることができます。`[prefix] c' で変
  5.2090 -更できるコマンドには以下のものがあります。
  5.2091 -
  5.2092 -   * `begin/end' の環境名
  5.2093 -   * section型コマンドのコマンド名
  5.2094 -   * section型コマンドの引数
  5.2095 -   * section型コマンドのオプションパラメータ([]で囲まれたもの)
  5.2096 -   * large型コマンド
  5.2097 -   * (イメージ補完で入力可能な)数式モード専用のmaketitle型コマンド
  5.2098 -
  5.2099 -  変えたいsection型コマンドの引数がさらに LaTeX コマンドを含む場合は、その
  5.2100 -引数を囲む中括弧の上で `[prefix] c' を押すことで中のコマンドを変更対象判定
  5.2101 -から除外することができます。
  5.2102 +LaTeX ヴノホムケ
  5.2103 +==================================
  5.2104 +
  5.2105 +ムケキソ、 LaTeX
  5.2106 +ヴノヒォシス鉐サニ `[prefix] c'
  5.2107 +。ケネスホヴノ莢マハノム、ニレヒムィウネャヌュ゙ケ」
  5.2108 +`[prefix] c'
  5.2109 +ヌムケヌュヴノヒマハシホ簧ャ「゙ケ」
  5.2110 +
  5.2111 +   * `begin/end' ホトュセ
  5.2112 +   * sectionソヴノホヴノセ
  5.2113 +   * sectionソヴノホ
  5.2114 +   * sectionソヴノホェラキ銛ム鱆シソ([]ヌマ゙ソ簧)
  5.2115 +   * largeソヴノ
  5.2116 +   * (、眈ク莢ヌマトスハ)ー箴ノムホmaketitleソヴノ
  5.2117 +
  5.2118 +  ムィソ、sectionソヴノホャオ鰺
  5.2119 +LaTeX ヴノ゙瑟醯「
  5.2120 +スホマ琥醂ホ衂 `[prefix] c'
  5.2121 +。ケウネヌ賽ヴノムケ
  5.2122 +ミンスォ鵈ーケウネャヌュ゙ケ」
  5.2123  
  5.2124  
  5.2125  
  5.2126  
  5.2127  File: yatexj, Node: Killing LaTeX command, Prev: Changing LaTeX command, Up: Modifying/Deleting
  5.2128  
  5.2129 -LaTeX コマンドの削除
  5.2130 -====================
  5.2131 -
  5.2132 -`[prefix] k' は起動する位置により次のような動作を行います。
  5.2133 -
  5.2134 -
  5.2135 -     起動位置                        動作
  5.2136 -     \begin, \endの行                `\begin\end'ペアの削除
  5.2137 -     %#BEGIN, %#END の行             %#BEGIN,%#ENDペアの削除
  5.2138 -     section型コマンドの上(中)       section型コマンドの削除
  5.2139 -     フォント指定括弧の上            フォント指定の削除
  5.2140 -     括弧の上                        対をなす括弧の削除
  5.2141 -
  5.2142 -
  5.2143 -`\begin, \end' および `%#BEGIN, %#END' を削除する場合、`\begin, \end' や 
  5.2144 -`%#BEGIN, %#END' の存在する行はまるごと削除されるので、それらの一行に 
  5.2145 -`\begin' などを二つ以上連ねて書かないように注意してください。上記のものは
  5.2146 -すべて本文を囲う「容器」を削除するように働きますが、universal-argument
  5.2147 -(`C-u') を打った後で`[prefix] k'をタイプすると、それぞれの「容器」に含まれ
  5.2148 -る「中身」も一気に削除します。以下の例を参考にして下さい。
  5.2149 -
  5.2150 -             元のテキスト:                   [prefix] k      C-u [prefix] k
  5.2151 -             本文\footnote{脚注}です。     本文脚注です。  本文です。
  5.2152 -                     ↑(カーソル位置)
  5.2153 +LaTeX ヴノホ
  5.2154 +==================================
  5.2155 +
  5.2156 +`[prefix] k' マッーケフヨヒ韭
  5.2157 +。ホ隕ハーヤ、゙ケ」
  5.2158 +
  5.2159 +
  5.2160 +     ッーフヨ                        ー
  5.2161 +     \begin, \endホヤ                `\begin\end'レ「ホ
  5.2162 +     %#BEGIN, %#END ホヤ             %#BEGIN,%#ENDレ「ホ
  5.2163 +     sectionソヴノホ()       sectionソヴノホ
  5.2164 +     ユゥネリ醂ホ            ユゥネリホ
  5.2165 +     醂ホ                        ミハケ醂ホ
  5.2166 +
  5.2167 +
  5.2168 +`\begin, \end' ェ勒 `%#BEGIN, %#END'
  5.2169 +ケ遒 `\begin, \end'  `%#BEGIN, %#END'
  5.2170 +ホク゚ケヤマ
  5.2171 +゙エネオホヌ「ス鯰ヤヒ
  5.2172 +`\begin' ハノトハ蠅ヘニ
  5.2173 +ォハ、隕ヒユキニッタオ、」
  5.2174 +蟄ホ簧マケルニワクマヲヨニラケ隕ヒッュ゙ケャ「
  5.2175 +universal-argument (`C-u') ヌテソ衂`[prefix]
  5.2176 +k'ソ、ラケネ「
  5.2177 +スセホヨニラビ゙ヨ貶ラ粮、ヒギケ」ハシホ胄イヘヒキ
  5.2178 +ニシオ、」
  5.2179 +
  5.2180 +             オホニュケネ:                   [prefix] k      C-u [prefix] k
  5.2181 +             ワク\footnote{モ}ヌケ」     ワクモヌケ」  ワクヌケ」
  5.2182 +                     ャ(ォシスフヨ)
  5.2183  
  5.2184  
  5.2185  
  5.2186  File: yatexj, Node: Filling, Next: Includeonly, Prev: Modifying/Deleting, Up: Top
  5.2187  
  5.2188 -桁揃え
  5.2189 -******
  5.2190 -
  5.2191 -
  5.2192 -itemの桁揃え
  5.2193 -============
  5.2194 -
  5.2195 -  itemize 環境中にある`\item'の項目(文章)が複数行に渡る場合に、項目の先頭
  5.2196 -を桁揃えしたい場合には、
  5.2197 +蟾ィ
  5.2198 +************
  5.2199 +
  5.2200 +
  5.2201 +itemホ蟾ィ
  5.2202 +====================
  5.2203 +
  5.2204 +  itemize
  5.2205 +トュ賤「`\item'ホ玳(クマ)ャ」ヤヒマ醉「
  5.2206 +ワホ隰蟾ィキソ、醉マ「
  5.2207  
  5.2208  
  5.2209  `M-q'
  5.2210 -             ... 桁揃え
  5.2211 -
  5.2212 -によって、その item のインデントの深さに応じて fill されます。なお、古い
  5.2213 -NTT jTeX を使用している場合には、Lisp 変数`NTT-jTeX'を`t'にセットして下さ
  5.2214 -い。
  5.2215 -
  5.2216 -  このとき、変数`YaTeX-item-regexp'の値(標準では `"\\\\item"')を項目指定コ
  5.2217 -マンドの正規表現として検索に使用します。itemize 環境で、独自のコマンドを定
  5.2218 -義して項目を列挙している場合(例えば`\underlineitem')は、`~/.emacs' で次の
  5.2219 -ように指定して下さい。
  5.2220 +             ... 蟾ィ
  5.2221 +
  5.2222 +ヒ霤ニ「スホ item
  5.2223 +ホ、ヌネホシオヒクニ fill
  5.2224 +オ゙ケ」ハェ「ナ、 NTT jTeX
  5.2225 +ネムキニ、醉マ「Lisp
  5.2226 +ム`NTT-jTeX'`t'ヒサテ ネキニシオ、」
  5.2227 +
  5.2228 +  ウホネュ「ム`YaTeX-item-regexp'ホヘ(ク猊マ
  5.2229 +`"\\\\item"')
  5.2230 +玳リヴノホオャススネキニ。ヒネムギケ」itemize
  5.2231 +トュヌ「ネォホウ
  5.2232 +゙ノチキニ玳キニ、(罟ミ`\underlineitem')マ「
  5.2233 +`~/.emacs' ヌ。ホ隕ヒリキニシオ、」
  5.2234  
  5.2235               (setq YaTeX-item-regexp
  5.2236                     "\\(\\\\\\(sub\\)*item\\)\\|\\(\\\\underlineitem\\)")
  5.2237  
  5.2238  
  5.2239 -この変数の指定の仕方がよく分からない場合は、独自の項目列挙コマンドの名前を
  5.2240 -``"\item"'で始まるものにして下さい(例えば"\itembf"')。
  5.2241 -
  5.2242 -野鳥の `M-q' では `\item' を環境に応じて以下のように「ハングインデント」し
  5.2243 -ます。
  5.2244 -
  5.2245 -     itemize, enumerate環境:
  5.2246 -            >\item[ほげほげ] 英語では、特に意味のない単語を `foo' であらわしま
  5.2247 -            >                すが、これの日本語版ともいえる単語が「ほげほげ」
  5.2248 -            >                です。
  5.2249 -     description環境:
  5.2250 -            > \item[へろへろ] 「ほげほげ」をでたらめが単語として使った時に、第
  5.2251 -            >            2のでたらめな単語として「へろへろ」が使われることが多
  5.2252 -            >            いようです。
  5.2253 -
  5.2254 -
  5.2255 -パラグラフの桁揃え
  5.2256 -==================
  5.2257 -
  5.2258 -  itemize環境以外でのパラグラフの桁揃え(fill)は、基本的に他のモードと同じ
  5.2259 -ように機能しますが、verbatim環境や、tabular環境など桁揃えをすると悲惨な状
  5.2260 -況になるような環境中では機能しません。また、\verb で括ってあるものは決して
  5.2261 -行分割されません(変数 `YaTeX-verb-regexp' で制御) )。さらに、一時的にイン
  5.2262 -デントの深さを変えてある箇所では、そのインデントの先頭で`M-q'を押すことに
  5.2263 -より fill-prefix をいちいち変更しなくて桁揃えができます。
  5.2264 +ウホムホリホナャ隸ャォ鯡、醯「ネォホ玳ヴノホセー
  5.2265 +``"\item"'ヌマ゙簧ヒキニシオ、(罟ミ"\itembf"')」
  5.2266 +
  5.2267 +サホ `M-q' ヌマ `\item'
  5.2268 +トュヒクニハシホ隕ヒヨマー、
  5.2269 +ヌネラギケ」
  5.2270 +
  5.2271 +     itemize, enumerateトュ:
  5.2272 +            >\item[ロイロイ] ムヌマ「テヒユ」ホハ、ア `foo' ヌ「鴆ギ
  5.2273 +            >                ケャ「ウホワヌネ筅ィアャヨロイロイラ
  5.2274 +            >                ヌケ」
  5.2275 +     descriptionトュ:
  5.2276 +            > \item[リリ] ヨロイロイラヌソ鱆ャアネキニネテソヒ「
  5.2277 +            >            2ホヌソ鱆ハアネキニヨリリラャネウネャソ
  5.2278 +            >            、隕ヌケ」
  5.2279 +
  5.2280 +
  5.2281 +ム魏鰈ホ蟾ィ
  5.2282 +====================================
  5.2283 +
  5.2284 +  itemizeトュハーヌホム魏鰈ホ蟾ィ(fill)マ「ワェヒセホ箴ノネアク
  5.2285 +隕ヒ。スギケャ「verbatimトュ茲tabularトュハノ蟾ィケネ盒ハ
  5.2286 +キヒハ隕ハトュ貮マ。スギサ」゙ソ「\verb
  5.2287 +ヌ酖ニ「簧マ霍ニ
  5.2288 +ヤャ莊゙サ(ム `YaTeX-verb-regexp'
  5.2289 +ヌゥ) )」オ鰺「ェヒ
  5.2290 +、ヌネホシオムィニ「ユヌマ「スホ、ヌネホ隰ヌ`M-q'。
  5.2291 +ケウネヒ韭 fill-prefix
  5.2292 +、チ、チムケキハッニ蟾ィャヌュ゙ケ」
  5.2293  
  5.2294  
  5.2295  
  5.2296  
  5.2297  File: yatexj, Node: Includeonly, Next: What column, Prev: Filling, Up: Top
  5.2298  
  5.2299 -勝手にincludeonly
  5.2300 -*****************
  5.2301 -
  5.2302 -  ファイルを分割して文章を入力している時には、メインファイル中に
  5.2303 -
  5.2304 -             \includeonly{現在編集中のファイル名}
  5.2305 -
  5.2306 -のように書いておくことで、タイプセットの時間を節約できますが、ちょっと他の
  5.2307 -ファイルを手直ししたい時には
  5.2308 -
  5.2309 -             \includeonly{ちょっと手直ししたいファイル名}
  5.2310 -
  5.2311 -
  5.2312 -と書き直さなければならず手間がかかります。野鳥では現在編集しているファイル
  5.2313 -名がメインファイルの`\includeonly'にない場合には自動的にこれを検出し、次の
  5.2314 -指示を仰ぎます。
  5.2315 +。ヒincludeonly
  5.2316 +***********************
  5.2317 +
  5.2318 +  ユ。、ャ莵ニクママキニ、ヒマ「皃ユ。、賤
  5.2319 +
  5.2320 +             \includeonly{ス゚ヤク賽ユ。、セ}
  5.2321 +
  5.2322 +ホ隕ヒ、ニェッウネヌ「ソ、ラサテネホヨ碯ヌュ゙ケャ「チ酖ネセホ
  5.2323 +ユ。、セキキソ、ヒマ
  5.2324 +
  5.2325 +             \includeonly{チ酖ネセキキソ、ユ。、セ}
  5.2326 +
  5.2327 +
  5.2328 +ネュセオハアミハ鮗ヨャォォ゙ケ」サヌマス゚ヤクキニ、ユ。、
  5.2329 +セャ皃ユ。、ホ`\includeonly'ヒハ、醉マォーェヒウ。ミキ「
  5.2330 +。ホリィトョ゙ケ」
  5.2331  
  5.2332               A)dd R)eplace %)comment?
  5.2333  
  5.2334  
  5.2335 -現在編集中のファイルを `\includeonly' のリストに加えたい時には`a' を、現在
  5.2336 -編集中のファイルだけを `\includeonly' にしたい時は`r'を、`\includeonly' の
  5.2337 -行をコメントアウトして無効化したい時には、`%'をそれぞれ押して下さい。
  5.2338 +ス゚ヤク賽ユ。、 `\includeonly'
  5.2339 +ホケネヒティソ、ヒマ`a'
  5.2340 +「ス゚ヤク賽ユ。、タア
  5.2341 +`\includeonly' ヒキソ、マ`r'「 `\includeonly'
  5.2342 +ホヤウ碯ネ「ヲネキニオスキソ、ヒマ「`%'
  5.2343 +スセ。キニシオ、」
  5.2344  
  5.2345  
  5.2346  
  5.2347  File: yatexj, Node: What column, Next: Intelligent newline, Prev: Includeonly, Up: Top
  5.2348  
  5.2349 -ここはどこ?
  5.2350 -***********
  5.2351 -
  5.2352 -  項目数の多い tabular などをたくさん書いていると下の方の行で、いま書いて
  5.2353 -いる桁がどこに対応するのかわからなくなってしまうことがあります。例えば、以
  5.2354 -下のような tabular において、
  5.2355 +ウウマノウ?
  5.2356 +*********************
  5.2357 +
  5.2358 +  玳ホソ、 tabular
  5.2359 +ハノソッオ、ニ、ネシホホヤヌ「、゙、ニ
  5.2360 +、螫ノウヒミケホォォ鯡ッハテニギヲウネャ「゙ケ」罟ミ「ハ
  5.2361 +シホ隕ハ tabular ヒェ、ニ「
  5.2362  
  5.2363               \begin{tabular}{|c|c|c|c|c|c|c|c|}\hline
  5.2364 -              氏名&所属&〒&住所&電話&FAX&帰省先&帰省先電話\\ \hline
  5.2365 -              矢上二郎 & 6 & 223 & 横浜市港北区日吉 & xxx-yyy &
  5.2366 -                     zzz-www & トンガ & 9876-54321 \\
  5.2367 -              日吉小僧 & 2 & \multicolumn{2}{c|}{教えない}
  5.2368 +              眄&ー&ゥ&サ&ナテ&FAX&「ハ&「ハ霰テ\\ \hline
  5.2369 +              褫コ & 6 & 223 & 」ヘヤチフ顰ネ & xxx-yyy &
  5.2370 +                     zzz-www & ネャ & 9876-54321 \\
  5.2371 +              ネョホ & 2 & \multicolumn{2}{c|}{オィハ、}
  5.2372                       &&&(???)
  5.2373                \\ \hline
  5.2374               \end{tabular}
  5.2375  
  5.2376  
  5.2377 -(???)の部分がどの項目なのかすぐに判断するのは難しいでしょう。こんな時は、
  5.2378 +(???)ホャャノホ玳ハホォケーヒスヌケホマキ、ヌキ遖」ウハマ「
  5.2379  
  5.2380  `[prefix] &'
  5.2381 -             ... 現在のカラム表示
  5.2382 -
  5.2383 -を押すとカーソル位置のカラムがどの項目に該当するかをミニバッファに表示しま
  5.2384 -す。tabular/array環境の第1行目を項目名の並びとみなして対応するものを探しま
  5.2385 -す。もし項目名として別のものを表示して欲しい場合は、行頭を`%'にしてダミー
  5.2386 -の項目並びを作っておくと良いでしょう。
  5.2387 +             ... ス゚ホォ鰲スィ
  5.2388 +
  5.2389 +。ケネォシスフヨホォ鰲ャノホ玳ヒコケォ゚ヒミテユ。ヒスィギ
  5.2390 +ケ」tabular/arrayトュホ1ヤワ玳セホツモネ゚ハキニミケ簧オギ
  5.2391 +ケ」箙玳セネキニフホ簧スィキニ゚キ、醯「ヤャ`%'ヒキニタ
  5.2392 +゚シホ玳ツモテニェッネノ、ヌキ遖」
  5.2393  
  5.2394  
  5.2395  
  5.2396  File: yatexj, Node: Intelligent newline, Next: Usepackage cheker, Prev: What column, Up: Top
  5.2397  
  5.2398 -おまかせ改行
  5.2399 -************
  5.2400 -
  5.2401 -  tabular[*], array, itemize, enumerate, tabbing 環境をbegin型補完で入力し
  5.2402 -た時、または各環境内で
  5.2403 +ェ゙ォサヤ
  5.2404 +************************
  5.2405 +
  5.2406 +  tabular[*], array, itemize, enumerate, tabbing
  5.2407 +トュbeginソ莢ヌマキ
  5.2408 +ソ「゙ソマニトュ簓
  5.2409  
  5.2410  `ESC RET'
  5.2411 -             ... おまかせ改行
  5.2412 -
  5.2413 -
  5.2414 -を押すと、その環境に応じた行エントリを次の行に挿入します(begin型補完時に自
  5.2415 -動挿入されたエントリが不要な場合は undo によって消去できます)。例えば、
  5.2416 -tabular環境では、その環境のカラム数に対応した個数の `&' に加え、行末の 
  5.2417 -`\\' を入れます。この時それ以前に `\hline' があればそれも付け加えます。環
  5.2418 -境とそれに応じて自動入力するものの対応は以下のようになります。
  5.2419 +             ... ェ゙ォサヤ
  5.2420 +
  5.2421 +
  5.2422 +。ケネ「スホトュヒクソヤィネ。ホヤビギケ(beginソ莢ヒォ
  5.2423 +ー゙オソィネャヤラハ醯 undo
  5.2424 +ヒ霤ニテヌュ゙ケ)」罟ミ「
  5.2425 +tabularトュヌマ「スホトュホォ鰲ヒミキソトホ
  5.2426 +`&' ヒティ「ヤ ホ `\\'
  5.2427 +゙ケ」ウホスハーヒ `\hline'
  5.2428 +ャ「ミス籃ア
  5.2429 +ティ゙ケ」トュネスヒクニォーマケ簧ホミマハシホ隕ヒバケ」
  5.2430  
  5.2431     * `tabular', `tabular*', `array'
  5.2432  
  5.2433 -             カラム数-1 だけの `&' と `\\'。必要に応じて `\hline'
  5.2434 +             ォ鰲-1 タアホ `&' ネ
  5.2435 +     `\\'」ャラヒクニ `\hline'
  5.2436  
  5.2437     * `tabbing'
  5.2438  
  5.2439 -             一行目で定義している `\=' と同じ個数の `\>'。
  5.2440 +             ヤワヌチキニ、 `\='
  5.2441 +     ネアクトホ `\>'」
  5.2442  
  5.2443     * `itemize', `enumerate', `description', `list'
  5.2444  
  5.2445 -             `\item' または `item[]'
  5.2446 -
  5.2447 -  tabular 環境の例のように、本機能は各環境の一行目の内容を参考にして動作す
  5.2448 -るので、なるべく二行目以降で呼び出すようにしてください。
  5.2449 -
  5.2450 -  もし、その他の環境、例えば `foo'、に対して`おまかせ改行'を動作させたい時
  5.2451 -は、`YaTeX-intelligent-newline-foo' という名前の関数を定義します。定義した
  5.2452 -関数は、現在の行に改行を挿入した直後の行頭の位置で呼ばれます。関数 
  5.2453 -`YaTeX-indent-line' を呼ぶと現在の環境のネストに応じた深さにインデントされ
  5.2454 -るので、これを呼んでから何かを挿入するようなコードを書くとよいでしょう。
  5.2455 -`yatexenv.el'内の関数 `YaTeX-intelligent-newline-itemize' の定義などを参考
  5.2456 -にしてください。
  5.2457 +             `\item' ゙ソマ `item[]'
  5.2458 +
  5.2459 +  tabular
  5.2460 +トュホ耒隕ヒ「ワ。スマニトュホヤワホ簇イヘヒキニーケ
  5.2461 +ホヌ「ハルッヤワパヌニモミケ隕ヒキニッタオ、」
  5.2462 +
  5.2463 +  箙「スホセホトュ「罟ミ
  5.2464 +`foo'「ヒミキニ`ェ゙ォサヤ'ー
  5.2465 +オサソ、マ「`YaTeX-intelligent-newline-foo'
  5.2466 +ネ、ヲセーホリチ
  5.2467 +ギケ」チキソリマ「ス゚ホヤヒヤ゙キソセ衾ヤャホフヨヌニミ゙
  5.2468 +ケ」リ `YaTeX-indent-line'
  5.2469 +ニヨネス゚ホトュホヘケネヒクソシオヒ
  5.2470 +、ヌネオホヌ「ウニヌォ鯀ォ゙ケ隕ハウシノッネ
  5.2471 +、ヌキ遖」`yatexenv.el'簧リ
  5.2472 +`YaTeX-intelligent-newline-itemize'
  5.2473 +ホチハノイヘヒキニッタオ、」
  5.2474  
  5.2475  
  5.2476  
  5.2477  
  5.2478  File: yatexj, Node: Usepackage cheker, Next: Changing mode of YaTeX, Prev: Intelligent newline, Up: Top
  5.2479  
  5.2480 -先回りusepackage
  5.2481 -****************
  5.2482 -
  5.2483 -  begin型、section型、maketitle型、いずれかのLaTeX2eマクロを補完入力すると、
  5.2484 -そのマクロの利用に外部パッケージを必要とする場合、そのパッケージを本文中で 
  5.2485 -`\usepackage{}' しているかどうかを調査し、もししていなければプリアンブルに
  5.2486 -対応するパッケージを引数にした `\usepackage' 文を(確認後に)挿入します。
  5.2487 -
  5.2488 -  ただしこの機能が働くためには、パッケージ名とその中で定義されているマクロ
  5.2489 -群をalistの形式で変数 `YaTeX-package-alist-private' に設定しておく必要があ
  5.2490 -ります。
  5.2491 +頤黏sepackage
  5.2492 +**********************
  5.2493 +
  5.2494 +  beginソ「sectionソ「maketitleソ「、コォホLaTeX2e゙ッ莢マケネ「
  5.2495 +スボッホムヒームテアシクャラネケ遒スホムテアシク
  5.2496 +ワク貮 `\usepackage{}'
  5.2497 +キニ、ォノヲォエコキ「箙キニ、ハアミ
  5.2498 +ラ瑤ヨヒミケムテアシクヒキソ
  5.2499 +`\usepackage' ク (ホァ衢)゙ギケ」
  5.2500 +
  5.2501 +  ソタキウホ。スャッッソ睛マ「ムテアシクセネスホ貮チオニ、゙ッ
  5.2502 +イalistホチーヌム `YaTeX-package-alist-private'
  5.2503 +ピキニェッャ ラャ「゙ケ」
  5.2504  
  5.2505  
  5.2506  
  5.2507  File: yatexj, Node: Changing mode of YaTeX, Next: Online help, Prev: Usepackage cheker, Up: Top
  5.2508  
  5.2509 -野鳥の動作モード切り替え
  5.2510 -************************
  5.2511 +サホー箴ノレリィ
  5.2512 +************************************************
  5.2513  
  5.2514  `[prefix] w'
  5.2515 -             ... 野鳥動作モード切り替えメニュー
  5.2516 -
  5.2517 -で野鳥自身の動作を決定する以下のモードを切り替えます。
  5.2518 -
  5.2519 -   * 修正モード
  5.2520 -   * 野鳥数式モード
  5.2521 -
  5.2522 -修正モードは、開き括弧入力時の処理をコントロールし、修正モードONの時は開き
  5.2523 -括弧の入力は開き括弧のみの入力になり、修正モードOFFの時は開き括弧の入力だ
  5.2524 -けで閉じ括弧まで入力します。デフォルト(起動時)の設定は*OFF*です。
  5.2525 -
  5.2526 -  野鳥数式モードは、変数 `YaTeX-auto-math-mode' が `nil' の時のみ有効で、
  5.2527 -このとき`;'や`:'を押した時(*Note Image completion::参照)に、どのようなイメー
  5.2528 -ジ補完を機能させるか、通常のキーとして機能させるかを手動で切り替えます。自
  5.2529 -動判定が遅いマシンでは`YaTeX-auto-math-mode' `nil'にセットし、野鳥数式モー
  5.2530 -ドを手動で切り替えると良いでしょう。
  5.2531 +             ... サー箴ノレリィ睛蠑
  5.2532 +
  5.2533 +ヌサォネホー韭ケハシホ箴ノレリィ゙ケ」
  5.2534 +
  5.2535 +   * 、オ箴ノ
  5.2536 +   * サー箴ノ
  5.2537 +
  5.2538 +、オ箴ノマ「ォュ醂マホウネシキ「、オ箴ノONホマォュ
  5.2539 +醂ホママォュ醂ポホマヒハ瑤、オ箴ノOFFホマォュ醂ホマタ
  5.2540 +アヌトク醂゙ヌマギケ」ヌユゥネ(ッー)ポマ*OFF*ヌケ」
  5.2541 +
  5.2542 +  サー箴ノマ「ム `YaTeX-auto-math-mode' ャ
  5.2543 +`nil' ホホ
  5.2544 +゚ュヌ「ウホネュ`;'臍:'。キソ(*Note
  5.2545 +Image completion::イネ)ヒ「
  5.2546 +ノホ隕ハ、眈ク莢。スオサォ「フホュシネキニ。スオサォーヌ
  5.2547 +レリィ゙ケ」ォースャル、゙キヌマ`YaTeX-auto-math-mode'
  5.2548 +`nil'ヒサテネキ「サー箴ノーヌレリィネノ、ヌキ遖」
  5.2549  
  5.2550  
  5.2551  
  5.2552  
  5.2553  File: yatexj, Node: Online help, Next: Inclusion hierarchy browser, Prev: Changing mode of YaTeX, Up: Top
  5.2554  
  5.2555 -オンラインヘルプ
  5.2556 -****************
  5.2557 -
  5.2558 -  使おうとする LaTeX コマンドの用法がよく分からない時は、オンラインヘルプ
  5.2559 -をひきましょう。ヘルプに関するキーには以下のものがあります。
  5.2560 +ェ鬢リラ
  5.2561 +********************************
  5.2562 +
  5.2563 +  ネェヲネケ LaTeX
  5.2564 +ヴノホム。ャ隸ャォ鯡、マ「ェ鬢リ
  5.2565 +ラメュ゙キ遖」リラヒリケュシヒマハシホ簧ャ「゙ケ」
  5.2566  
  5.2567  `[prefix] ?'
  5.2568 -             ... オンラインヘルプ
  5.2569 +             ... ェ鬢リラ
  5.2570  `[prefix] /'
  5.2571 -             ... オンラインapropos
  5.2572 -
  5.2573 -
  5.2574 -オンラインヘルプ
  5.2575 -================
  5.2576 -
  5.2577 -  「オンラインヘルプ」は、一般的な LaTeX コマンド(デフォルトでカーソル位置
  5.2578 -のコマンド)に対する説明を隣のバッファに表示します。この時参照されるヘルプ
  5.2579 -用ファイルには「グローバルヘルプ」と「プライベートヘルプ」の二種類があり、
  5.2580 -前者は LaTeX の標準コマンドの主なものの説明を含むファイルで、変数
  5.2581 -`YaTeX-help-file'の値で指定されます。このファイルは通常公共の場所(デフォル
  5.2582 -トで`$EMACSEXECPATH')に置かれ、誰もがその内容を更新できるように全員に書き
  5.2583 -込み権が与えられるべきものです。後者は、非標準もしくは個人的なマクロ定義に
  5.2584 -関する説明が書かれているファイルで、変数`YaTeX-help-file-private'の値で指
  5.2585 -定されます。こちらはユーザのホームディレクトリの下などに置かれます。
  5.2586 -
  5.2587 -
  5.2588 -オンラインapropos
  5.2589 -=================
  5.2590 -
  5.2591 -  「オンラインapropos」は GNU Emacs の apropos と同様、ユーザが指定したキー
  5.2592 -ワードを説明文に含む項目すべてを隣のバッファに表示します。
  5.2593 -
  5.2594 -  もし、調べようとしたLaTeXコマンドに対する説明がヘルプファイル中に見つか
  5.2595 -らなかった場合は、説明文の入力を求めてくるので、可能であれば参考書などを調
  5.2596 -べてそのコマンドの説明を入力してください。もし、なにか標準的なコマンドに対
  5.2597 -する説明を書いたならばぜひ私までその説明をお送り下さい。次回の配布に含めた
  5.2598 -いと思います。
  5.2599 +             ... ェ鬢apropos
  5.2600 +
  5.2601 +
  5.2602 +ェ鬢リラ
  5.2603 +================================
  5.2604 +
  5.2605 +  ヨェ鬢リララマ「フェハ LaTeX
  5.2606 +ヴノ(ヌユゥネヌォシス
  5.2607 +フヨホヴノ)ヒミケ簑ルホミテユ。ヒスィギケ」ウホイネオリ
  5.2608 +ラムユ。、ヒマヨーシミリララネヨラ鬢ルシネリララホ牀「
  5.2609 +瑤ーヤマ LaTeX
  5.2610 +ホク犁゙ノホ醋簧ホ簑゙獨。、ヌ「ム
  5.2611 +`YaTeX-help-file'ホヘヌリオ゙ケ」ウホユ。、マフヲホ(ヌ
  5.2612 +ユゥネヌ`$EMACSEXECPATH')ヒヨォ「ッ筮スホ簇ケキヌュ隕ヒ
  5.2613 +エヒュ゚「ャソィ鴈ルュ簧ヌケ」袂マ「ク珞キッマトヘェバ
  5.2614 +ッチヒリケ簑ャォニ、ユ。、ヌ「ム
  5.2615 +`YaTeX-help-file-private'ホヘヌリオ゙ケ」ウチ鰕貍カホロシ猊」
  5.2616 +ッネホシハノヒヨォ゙ケ」
  5.2617 +
  5.2618 +
  5.2619 +ェ鬢apropos
  5.2620 +===========================
  5.2621 +
  5.2622 +  ヨェ鬢aproposラマ GNU Emacs ホ apropos
  5.2623 +ネアヘ「貍カャリキソュシ
  5.2624 +シノ簑クビ珥ワケルニルホミテユ。ヒスィギケ」
  5.2625 +
  5.2626 +  箙「エル隕ネキソLaTeXヴノヒミケ簑ャリラユ。、賤ォト
  5.2627 +ォ鯡ォテソ醯「簑クホマ矣ニッホヌ「トスヌ「ミイヘハノ
  5.2628 +エルニスホヴノホ簑マキニッタオ、」箙「ハヒォク爼ハヴノヒ
  5.2629 +ミケ簑、ソハ鰔シメ葯ヌスホ簑ェシオ、」。ホロロビ
  5.2630 +ソ、ネラ、゙ケ」
  5.2631  
  5.2632  
  5.2633  
  5.2634  File: yatexj, Node: Inclusion hierarchy browser, Next: Cooperation with other packages, Prev: Online help, Up: Top
  5.2635  
  5.2636 -インクルード構造ブラウザ
  5.2637 -************************
  5.2638 -
  5.2639 -複数のファイルに分割しているドキュメントを書いている場合、
  5.2640 +、ッシノス、ヨ鬥カ
  5.2641 +************************************************
  5.2642 +
  5.2643 +」ホユ。、ヒャ莵ニ、ノュ裔ネ、ニ、遒
  5.2644  
  5.2645  `[prefix] d'
  5.2646 -             ... インクルード構造ブラウズ
  5.2647 -
  5.2648 -を押すと、そのドキュメントの親ファイルを聞いて来ます。ここで全てのファイル
  5.2649 -の親となるファイル(デフォルトが示されているので大抵はRETのみ)を入力すると
  5.2650 -インクルードしている全てのファイルを解析し、インクルード状況を視覚的に表示
  5.2651 -します。このバッファでは以下のキー操作が有効です。
  5.2652 +             ... 、ッシノス、ヨ鬥コ
  5.2653 +
  5.2654 +。ケネ「スホノュ裔ネホニユ。、ケ、ニ鞐ケ」ウウヌエニホユ。、
  5.2655 +ホニネハユ。、(ヌユゥネャィオニ、ホヌ銖マRETポ)マケネ
  5.2656 +、ッシノキニ、エニホユ。、マキ「、ッシノキミェヒスィ
  5.2657 +ギケ」ウホミテユ。ヌマハシホュシ瑁ャュヌケ」
  5.2658  
  5.2659  `n'
  5.2660 -             ... 次の行に移動し対応するファイルを隣のバッファに表示
  5.2661 +             ... 。ホヤヒワーキミケユ。、ルホミテユ。ヒスィ
  5.2662  `p'
  5.2663 -             ... 上の行に移動し対応するファイルを隣のバッファに表示
  5.2664 +             ... 衾ヤヒワーキミケユ。、ルホミテユ。ヒスィ
  5.2665  `N'
  5.2666 -             ... 同じインクルードレベルの次のファイルに移動
  5.2667 +             ... アク、ッシノルホ。ホユ。、ヒワー
  5.2668  `P'
  5.2669 -             ... 同じインクルードレベルの前のファイルに移動
  5.2670 +             ... アク、ッシノルホーホユ。、ヒワー
  5.2671  `j'
  5.2672 -             ... 次の行に移動
  5.2673 +             ... 。ホヤヒワー
  5.2674  `k'
  5.2675 -             ... 上の行に移動
  5.2676 +             ... 衾ヤヒワー
  5.2677  `u'
  5.2678 -             ... 一代親にあたるファイルに移動
  5.2679 +             ... 衄ヒ「ソユ。、ヒワー
  5.2680  `.'
  5.2681 -             ... カーソル位置のファイルを隣のバッファに表示
  5.2682 +             ... ォシスフヨホユ。、ルホミテユ。ヒスィ
  5.2683  `SPC'
  5.2684 -             ... 隣のバッファの対応ファイルをスクロールアップ
  5.2685 +             ... ルホミテユ。ホミユ。、ケッシ「テラ
  5.2686  `DEL, b'
  5.2687 -             ... 隣のバッファの対応ファイルをスクロールダウン
  5.2688 +             ... ルホミテユ。ホミユ。、ケッシタヲ
  5.2689  `<'
  5.2690 -             ... 隣のバッファの対応ファイルの先頭を表示
  5.2691 +             ... ルホミテユ。ホミユ。、ホ隰スィ
  5.2692  `>'
  5.2693 -             ... 隣のバッファの対応ファイルの末尾を表示
  5.2694 +             ... ルホミテユ。ホミユ。、ホスィ
  5.2695  `''
  5.2696 -             ... (`<'や`>'の後で)元の表示位置に戻る
  5.2697 +             ... (`<'臍>'ホ衂)オホスィフヨヒ硴
  5.2698  `RET, g'
  5.2699 -             ... カーソル位置のファイルを隣のバッファでオープン
  5.2700 +             ... ォシスフヨホユ。、ルホミテユ。ヌェシラ
  5.2701  `mouse-2'
  5.2702 -             ... RETと同じ(ウィンドウ使用時のみ)
  5.2703 +             ... RETネアク(ヲ」ノヲネムポ)
  5.2704  `o'
  5.2705 -             ... 隣のウィンドウに移動
  5.2706 +             ... ルホヲ」ノヲヒワー
  5.2707  `1'
  5.2708 -             ... 他のウィンドウを消す
  5.2709 +             ... セホヲ」ノヲテケ
  5.2710  `-'
  5.2711 -             ... ブラウズウィンドウを小さくする
  5.2712 +             ... ヨ鬥コヲ」ノヲョオッケ
  5.2713  `+'
  5.2714 -             ... ブラウズウィンドウを大きくする
  5.2715 +             ... ヨ鬥コヲ」ノヲ遲ッケ
  5.2716  `?'
  5.2717 -             ... ヘルプ表示
  5.2718 +             ... リラスィ
  5.2719  `q'
  5.2720 -             ... 表示前の状態に戻る
  5.2721 -
  5.2722 -  ただし、隣のウィンドウのファイルの内容を表示する機能に関しては、対応する
  5.2723 -ファイルをクローズしてしまうとうまく働きませんのでご注意ください。
  5.2724 +             ... スィーホヨヒ硴
  5.2725 +
  5.2726 +  ソタキ「ルホヲ」ノヲホユ。、ホ簇スィケ。スヒリキニマ「ミケ
  5.2727 +ユ。、ッシコキニギヲネヺッッュ゙サホヌエユッタオ、」
  5.2728  
  5.2729  
  5.2730  
  5.2731  File: yatexj, Node: Cooperation with other packages, Next: Customizations, Prev: Inclusion hierarchy browser, Up: Top
  5.2732  
  5.2733 -他パッケージとの連携
  5.2734 -********************
  5.2735 +セムテアシクネホ「ネ
  5.2736 +****************************************
  5.2737  
  5.2738  
  5.2739  gmhist
  5.2740  ======
  5.2741  
  5.2742 -  `gmhist.el'と`gmhist-mh.el' をロードしている場合、プレヴューコマンドの入
  5.2743 -力(`[prefix] tp]')、印刷コマンドの入力(`[prefix] tl')の時に独立したヒスト
  5.2744 -リを利用できます。それぞれのプロンプトで、`M-p' を押すと直前に利用したコマ
  5.2745 -ンド文字列をくり返し呼び出すことができます。
  5.2746 +  `gmhist.el'ネ`gmhist-mh.el'
  5.2747 +シノキニ、遒ラ蠑ウ
  5.2748 +゙ノホマ(`[prefix]
  5.2749 +tp]')「ヴノホマ(`[prefix] tl')ホ
  5.2750 +ヒネゥキソメケネムヌュ゙ケ」スセホララネヌ「`M-p'
  5.2751 +。
  5.2752 +ケネセーヒムキソヴノクッヨキニモミケウネャヌュ゙ケ」
  5.2753  
  5.2754  
  5.2755  min-out
  5.2756  =======
  5.2757  
  5.2758 -  `min-out.el' (`outline-minor-mode') と野鳥を組み合わせて使うことももちろ
  5.2759 -ん可能です。設定の方法に関しては`yatexm-o.el'をご覧ください。
  5.2760 +  `min-out.el' (`outline-minor-mode')
  5.2761 +ネサネ゚鉐サニネヲウ
  5.2762 +ネ粐チトスヌケ」゚ホ。ヒリキニマ`yatexm-o.el'エッタオ、」
  5.2763  
  5.2764  
  5.2765  
  5.2766  File: yatexj, Node: Customizations, Next: Etc, Prev: Cooperation with other packages, Up: Top
  5.2767  
  5.2768 -カスタマイズ
  5.2769 -************
  5.2770 -
  5.2771 -  野鳥の動作を制御する種々の変数を独自に設定することにより、補完入力を起動
  5.2772 -するキーアサインを変えたり、環境名の補完候補をさらに充実させることなどがで
  5.2773 -きます。
  5.2774 +ォケゾ、コ
  5.2775 +************************
  5.2776 +
  5.2777 +  サホーゥ貉ケホムネォピケウネヒ韭「莢
  5.2778 +マッーケュシ「オ、ムィソ瑤トュセホ莢蔗オ鰺シツオ
  5.2779 +サウネハノャヌュ゙ケ」
  5.2780  
  5.2781  * Menu:
  5.2782  
  5.2783 -* Lisp variables::              lisp 変数
  5.2784 -* Add-in functions::            付加関数(アドイン関数)
  5.2785 +* Lisp variables::              lisp ム
  5.2786 +* Add-in functions::            ユテリ(「ノ、リ)
  5.2787  
  5.2788  
  5.2789  
  5.2790  File: yatexj, Node: Lisp variables, Next: Add-in functions, Prev: Customizations, Up: Customizations
  5.2791  
  5.2792 -lisp 変数
  5.2793 -=========
  5.2794 -
  5.2795 -  例えば prefix キーを `C-c' 以外のキーにしたい場合は、`YaTeX-prefix'に 
  5.2796 -prefix キーにしたいシンボルを定義してください。さらに、「`C-c 英字'」とい
  5.2797 -うキーバインドは独自の関数が割り当ててあるので使いたくない。このような時は、
  5.2798 -`YaTeX-inhibit-prefix-letter' を `t' に設定することにより、`C-c 英字…'の
  5.2799 -バインドが全て、対応する`C-c C-英字…'に変わります(ただし、begin型 large型
  5.2800 -補完の大文字起動によるリジョン指定は可能なままです。これも無効にしたい場合
  5.2801 -は`t'ではなく 1 にセットして下さい。)。
  5.2802 +lisp ム
  5.2803 +=============
  5.2804 +
  5.2805 +  罟ミ prefix ュシ `C-c'
  5.2806 +ハーホュシヒキソ、醯「 `YaTeX-prefix'ヒ
  5.2807 +prefix
  5.2808 +ュシヒキソ、キワチキニッタオ、」オ
  5.2809 +ヒ「ヨ`C-c
  5.2810 +ム'ラネ、ヲュシミ、ノマネォホリャ蓐ニニ「ホヌネ
  5.2811 +、ソッハ、」ウホ隕ハマ「`YaTeX-inhibit-prefix-letter'
  5.2812 + `t' ピケウネヒ韭「`C-c
  5.2813 +ムト'ホミ、ノャエニ「ミケ`C-c
  5.2814 +C-ムト'ヒム゙ケ(ソタキ「beginソ
  5.2815 +largeソ莢ホ邵ッーヒ齏ク
  5.2816 +リマトスバ゙ヌケ」ウ箏ヒキソ、醯`t'ヌマハッ
  5.2817 +1 ヒサテ ネキニシオ、」)」
  5.2818  
  5.2819  * Menu:
  5.2820  
  5.2821 -* All customizable variables::  カスタマイズ変数一覧
  5.2822 -* Sample definitions::          カスタマイズ変数設定例
  5.2823 -* Hook variables::              hook変数
  5.2824 -* Hook file::                   hook用ファイル
  5.2825 +* All customizable variables::  ォケゾ、コム
  5.2826 +* Sample definitions::          ォケゾ、コム゚
  5.2827 +* Hook variables::              hookム
  5.2828 +* Hook file::                   hookムユ。、
  5.2829  
  5.2830  
  5.2831  
  5.2832  File: yatexj, Node: All customizable variables, Next: Sample definitions, Prev: Lisp variables, Up: Lisp variables
  5.2833  
  5.2834 -カスタマイズ変数一覧
  5.2835 ---------------------
  5.2836 -
  5.2837 -  yatex-mode における次の変数がカスタマイズ可能です。`~/.emacs' で `setq' 
  5.2838 -しておけば、そちらの定義が優先されます。括弧の中はデフォルト値です。実際に
  5.2839 -変数の値を変更する場合は `M-x describe-variable' で変数の詳細な説明を参照
  5.2840 -してください。
  5.2841 +ォケゾ、コム
  5.2842 +----------------------------------------
  5.2843 +
  5.2844 +  yatex-mode
  5.2845 +ヒェア。ホムャォケゾ、コトスヌケ」`~/.emacs'
  5.2846 +ヌ `setq'
  5.2847 +キニェアミ「スチ鯰チャ・襍゙ケ」醂ホ賺ヌユゥネヘ
  5.2848 +ヌケ」ツンヒムホヘムケケ醯
  5.2849 +`M-x describe-variable' ヌ
  5.2850 +ムホワルハ簑イネキニッタオ、」
  5.2851  
  5.2852   -- Variable: YaTeX-prefix
  5.2853 -     yatex-mode 中のプリフィクスキー (`\C-c')
  5.2854 +     yatex-mode 賽ラユ」ッケュシ (`\C-c')
  5.2855  
  5.2856   -- Variable: YaTeX-inhibit-prefix-letter
  5.2857 -     prefix キーの直後のキーバインドで `英字' のものを `C-英字' に変更 
  5.2858 +     prefix ュシホセ衾ュシミ、ノヌ
  5.2859 +     `ム' ホ簧 `C-ム' ヒムケ (`nil')
  5.2860 +
  5.2861 + -- Variable: YaTeX-fill-prefix
  5.2862 +     ワクッホヤャビケワャュケハチ
  5.2863 +     fill-prefix (`""(nil)')
  5.2864 +
  5.2865 + -- Variable: YaTeX-user-completion-table
  5.2866 +     リャキソLaTeXヴノンクユ。、セ
  5.2867 +     (`"~/.yatexrc"')
  5.2868 +
  5.2869 + -- Variable: YaTeX-kanji-code
  5.2870 +     クョケホチウシノ
  5.2871 +     nil=クホウシノボ゙ 0=no-conversion 1=Shift JIS,
  5.2872 +     2=JIS, 3=EUC, 4=UTF-8 (2 (MS-DOSヌマ1))
  5.2873 +
  5.2874 + -- Variable: tex-command
  5.2875 +     LaTeXソ、ラサテソヴノセ (`"platex"')
  5.2876 
  5.2877 +
  5.2878 + -- Variable: dvi2-command
  5.2879 +     ラ蠑「ヴノセ (`"xdvi -geo +0+0 -s
  5.2880 +     4"')
  5.2881 +
  5.2882 + -- Variable: dviprint-command-format
  5.2883 +     dviユ。、ホヒネヴノー
  5.2884 +     (`"dvi2ps %f %t %s | lpr"')
  5.2885 +
  5.2886 + -- Variable: dviprint-from-format
  5.2887 +     衾`%f'ヒケォマレシクリー「`%b'
  5.2888 +     ャォマレシクヨ賤ム  (`"-f %b"')
  5.2889 +
  5.2890 + -- Variable: dviprint-to-format
  5.2891 +     `%t'
  5.2892 +     ヒケェサレシクリー「`%e'ャェサレシクヨ賤ム
  5.2893 +     (`"-t %e"')
  5.2894 +
  5.2895 + -- Variable: makeindex-command
  5.2896 +     makeindexヴノ (`"makeindex"' (MS-DOSヌマ`"makeind"'))
  5.2897 +
  5.2898 + -- Variable: YaTeX-dvipdf-command
  5.2899 +     dviPDFヒムケケヴノ (`"dvipdfmx"')
  5.2900 +
  5.2901 + -- Variable: YaTeX-cmd-gimp
  5.2902 +     GIMPッーケヴノ (code{"gimp"})
  5.2903 + -- Variable: YaTeX-cmd-tgif
  5.2904 +     tgifッーケヴノ (code{"tgif"})
  5.2905 + -- Variable: YaTeX-cmd-inkscape
  5.2906 +     Inkscapeッーケヴノ (code{"inkscape"})
  5.2907 + -- Variable: YaTeX-cmd-dia
  5.2908 +     Diaッーケヴノ (code{"dia"})
  5.2909 + -- Variable: YaTeX-cmd-ooo
  5.2910 +     OpenOffice.org゙ソマLibreOfficeッーケヴノ
  5.2911 +     (code{"soffice"})
  5.2912 + -- Variable: YaTeX-cmd-gs
  5.2913 +     Ghostscriptッーケヴノ (code{"gs"})
  5.2914 + -- Variable: YaTeX-cmd-dvips
  5.2915 +     dvipsッーケヴノ(トュヒ霤ニマpdvipsハノ)
  5.2916 +     (code{"dvips"})
  5.2917 + -- Variable: YaTeX-cmd-displayline
  5.2918 +     displaylineッーケヴノ
  5.2919 +     (code{"/Applications/Skim.app/Contents/SharedSupport/displayline"})
  5.2920 + -- Variable: YaTeX-cmd-edit-ps
  5.2921 +     PostScriptユ。、ヤクケヴノ
  5.2922 +     (ムcode{"YaTeX-cmd-gimp"}ホヘ)
  5.2923 + -- Variable: YaTeX-cmd-edit-pdf
  5.2924 +     PDFユ。、ヤクケヴノ
  5.2925 +     (ムcode{"YaTeX-cmd-ooo"}ホヘ)
  5.2926 + -- Variable: YaTeX-cmd-edit-ai
  5.2927 +     .aiユ。、ヤクケヴノ (ムcode{"YaTeX-cmd-inkscape"}ホヘ)
  5.2928 + -- Variable: YaTeX-cmd-edit-svg
  5.2929 +     SVGユ。、ヤクケヴノ
  5.2930 +     (ムcode{"YaTeX-cmd-inkscape"}ホヘ)
  5.2931 + -- Variable: YaTeX-cmd-edit-images
  5.2932 +     スホセ顰ユ。、ヤクケヴノ
  5.2933 +     (ムcode{"YaTeX-cmd-gimp"}ホヘ)
  5.2934 +
  5.2935 + -- Variable: YaTeX-need-nonstop
  5.2936 +     `\nonstopmode{}'ォーェヒユテケォ (`nil')
  5.2937 +
  5.2938 + -- Variable: latex-warning-regexp
  5.2939 +     latexヴノホミマケヲゥシヒーヤホオャスス
  5.2940 +     (`"line.* [0-9]*"')
  5.2941 +
  5.2942 + -- Variable: latex-error-regexp
  5.2943 +     アクッィ鮠ヤホオャスス
  5.2944 +     (`"l\\.[1-9][0-9]*"')
  5.2945 +
  5.2946 + -- Variable: latex-dos-emergency-message
  5.2947 +     MS-DOS衂ーケ latex
  5.2948 +     ヴノャ「ィ鮠ヒ韭葹ケネュミマケ眦
  5.2949 +     サシク (`"Emergency stop"')
  5.2950 +
  5.2951 + -- Variable: latex-message-kanji-code
  5.2952 +     ソ、ラサテソホミマケ眦サシクホチウシノ.ソ、ラサテネミテユ。
  5.2953 +     ホミマャスアマ「ウ゚ケ
  5.2954 +     (2, Nemacsヌポュ)
  5.2955 +
  5.2956 + -- Variable: NTT-jTeX
  5.2957 +     ナ、NTT-jTeXネムホ隕ヒ、ヌネキソヤホ隰ネーホヤホ
  5.2958 +     (ソ、ラサテネ衾)ヨャ、ニギヲホヲ醯`t'ヒケ
  5.2959       (`nil')
  5.2960  
  5.2961 - -- Variable: YaTeX-fill-prefix
  5.2962 -     本文を書く時の行頭に挿入する接頭辞すなわち fill-prefix (`""(nil)')
  5.2963 -
  5.2964 - -- Variable: YaTeX-user-completion-table
  5.2965 -     学習したLaTeXコマンド保存ファイル名 (`"~/.yatexrc"')
  5.2966 -
  5.2967 - -- Variable: YaTeX-kanji-code
  5.2968 -     文書を作成する時の漢字コードnil=既存のコードのまま 0=no-conversion
  5.2969 -     1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (2 (MS-DOSでは1))
  5.2970 -
  5.2971 - -- Variable: tex-command
  5.2972 -     LaTeXタイプセッタコマンド名 (`"platex"')
  5.2973 -
  5.2974 -
  5.2975 - -- Variable: dvi2-command
  5.2976 -     プレヴューアコマンド名 (`"xdvi -geo +0+0 -s 4"')
  5.2977 -
  5.2978 - -- Variable: dviprint-command-format
  5.2979 -     dviファイルの印刷に使われるコマンド式 (`"dvi2ps %f %t %s | lpr"')
  5.2980 -
  5.2981 - -- Variable: dviprint-from-format
  5.2982 -     上の`%f'に相当する開始ページ指定書式、`%b' が開始ページ番号に変わる 
  5.2983 -     (`"-f %b"')
  5.2984 -
  5.2985 - -- Variable: dviprint-to-format
  5.2986 -     `%t' に相当する終了ページ指定書式、`%e'が終了ページ番号に変わる (`"-t
  5.2987 -     %e"')
  5.2988 -
  5.2989 - -- Variable: makeindex-command
  5.2990 -     makeindexコマンド (`"makeindex"' (MS-DOSでは`"makeind"'))
  5.2991 -
  5.2992 - -- Variable: YaTeX-dvipdf-command
  5.2993 -     dviをPDFに変換するコマンド (`"dvipdfmx"')
  5.2994 -
  5.2995 - -- Variable: YaTeX-need-nonstop
  5.2996 -     `\nonstopmode{}'を自動的に付加するか (`nil')
  5.2997 -
  5.2998 - -- Variable: latex-warning-regexp
  5.2999 -     latexコマンドの出力するウォーニング行の正規表現 (`"line.* [0-9]*"')
  5.3000 -
  5.3001 - -- Variable: latex-error-regexp
  5.3002 -     同じくエラー行の正規表現 (`"l\\.[1-9][0-9]*"')
  5.3003 -
  5.3004 - -- Variable: latex-dos-emergency-message
  5.3005 -     MS-DOS上で動作する latex コマンドが、エラーにより停止するとき出力する
  5.3006 -     メッセージ (`"Emergency stop"')
  5.3007 -
  5.3008 - -- Variable: latex-message-kanji-code
  5.3009 -     タイプセッタの出力するメッセージの漢字コード.タイプセットバッファの出
  5.3010 -     力が化ける時は、これを設定する (2, Nemacsでのみ有効)
  5.3011 -
  5.3012 - -- Variable: NTT-jTeX
  5.3013 -     古いNTT-jTeX使用時のようにインデントした行の先頭と前の行の(タイプセッ
  5.3014 -     ト後の)字間が空いてしまうのを嫌う場合は`t'にする(`nil')
  5.3015 -
  5.3016   -- Variable: YaTeX-item-regexp
  5.3017 -     itemの桁揃えの時に用いる、itemの正規表現 (`"\\\\(sub\\)*item"')
  5.3018 +     itemホ蟾ィホヒム、「itemホオャスス
  5.3019 +     (`"\\\\(sub\\)*item"')
  5.3020  
  5.3021   -- Variable: YaTeX-verb-regexp
  5.3022 -     verbコマンドの正規表現。先頭の\\\\はつけない (`"verb\\*?\\|path"')
  5.3023 +     verbヴノホオャスス」隰ホ\\\\マトアハ、
  5.3024 +     (`"verb\\*?\\|path"')
  5.3025  
  5.3026   -- Variable: YaTeX-nervous
  5.3027 -     ローカル辞書を用いる時 `t' (`t')
  5.3028 +     シォュム、 `t' (`t')
  5.3029  
  5.3030   -- Variable: YaTeX-sectioning-regexp
  5.3031 -     セクション区切り設定コマンドの正規表現 
  5.3032 +     サッキ銛靺゚ヴノホオャスス
  5.3033       (`"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"')
  5.3034  
  5.3035   -- Variable: YaTeX-fill-inhibit-environments
  5.3036 -     fill を抑止する環境名のリスト (`'("tabular" "tabular*" "array"
  5.3037 -     "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath"
  5.3038 -     "verbatim" "verbatim*")')
  5.3039 +     fill ゙゚ケトュセホケネ (`'("tabular"
  5.3040 +     "tabular*" "array" "picture" "eqnarray" "eqnarray*" "equation" "math"
  5.3041 +     "displaymath" "verbatim" "verbatim*")')
  5.3042  
  5.3043   -- Variable: YaTeX-uncomment-once
  5.3044 -     領域uncommentで行頭の複数の`%'を全て削除するか (`nil')
  5.3045 +     ホ鑾ncommentヌヤャホ」ホ`%'エニケォ
  5.3046 +     (`nil')
  5.3047  
  5.3048   -- Variable: YaTeX-close-paren-always
  5.3049 -     開き括弧の入力で常に閉じ括弧を入力する (`t')
  5.3050 +     ォュ醂ホマヌヒトク醂マケ
  5.3051 +     (`t')
  5.3052  
  5.3053   -- Variable: YaTeX-auto-math-mode
  5.3054 -     数式モードの切り替えを自動的に行う (`t')
  5.3055 +     ー箴ノホレリィォーェヒヤヲ
  5.3056 +     (`t')
  5.3057  
  5.3058   -- Variable: YaTeX-math-key-list-private
  5.3059 -     数式イメージ補完で用いる (プリフィクスキー . 対応補完テーブル) の
  5.3060 -     alist (`nil')。補完テーブルの書き方については`yatexmth.el'を参照。
  5.3061 +     ー、眈ク莢ヌム、
  5.3062 +     (ラユ」ッケュシ . ミ莢ニシヨ)
  5.3063 +     ホ alist
  5.3064 +     (`nil')」莢ニシヨホュヒト、ニマ`yatexmth.el'イネ」
  5.3065  
  5.3066   -- Variable: YaTeX-default-pop-window-height
  5.3067 -     1画面の時にタイプセットバッファを初めて作成する時の高さ。数値で行数、
  5.3068 -     数字文字列でEmacsウィンドウに対する百分率 (10)
  5.3069 +     1靂ホヒソ、ラサテネミテユ。鱆ニョケホ箏」ヘヌヤ「
  5.3070 +     クヌEmacsヲ」ノヲヒミケエャィ
  5.3071 +     (10)
  5.3072  
  5.3073   -- Variable: YaTeX-help-file
  5.3074 -     共用ヘルプファイル (`$doc-directory/../../site-lisp/YATEXHLP.jp')
  5.3075 +     ヲムリラユ。、
  5.3076 +     (`$doc-directory/../../site-lisp/YATEXHLP.jp')
  5.3077  
  5.3078   -- Variable: YaTeX-help-file-private
  5.3079 -     個人用ヘルプファイル (`"~/YATEXHLP.jp"')
  5.3080 +     トヘムリラユ。、 (`"~/YATEXHLP.jp"')
  5.3081  
  5.3082   -- Variable: YaTeX-no-begend-shortcut
  5.3083 -     `[prefix] b ??' のショートカットを使わず、`[prefix] b' だけで補完入力
  5.3084 -     に入る (`nil')
  5.3085 +     `[prefix] b ??'
  5.3086 +     ホキ郛ネォテネネコ「`[prefix] b'
  5.3087 +     タアヌ莢 マヒ (`nil')
  5.3088  
  5.3089   -- Variable: YaTeX-hilit-pattern-adjustment-private
  5.3090 -     正規表現とそれにマッチするものの論理的意味をシンボルであらわしたもの
  5.3091 -     のリスト…のリスト。hilit19 を組み込んでいる時のみ有効。詳しくは 
  5.3092 -     `(assq 'yatex-mode hilit-patterns-alist)' した結果と、変数 
  5.3093 -     `YaTeX-hilit-pattern-adjustment-default' の値(と場合によっては 
  5.3094 -     hilit19 のドキュメント)を参照せよ。
  5.3095 +     オャススネスビテチケ簧ホタェユ」キワヌ「鴆キソ簧ホ
  5.3096 +     ケネトホケネ」hilit19
  5.3097 +     ネ゚ヌ、ポュ」
  5.3098 +     ワキッマ `(assq 'yatex-mode hilit-patterns-alist)'
  5.3099 +     キソフネ「ム
  5.3100 +     `YaTeX-hilit-pattern-adjustment-default' ホヘ(ネ
  5.3101 +     ヒ霤ニマ hilit19
  5.3102 +     ホノュ裔ネ)イネサ陬
  5.3103  
  5.3104   -- Variable: YaTeX-sectioning-level
  5.3105 -     LaTeXのセクション単位宣言コマンドとその論理的高さのalist。
  5.3106 +     LaTeXホサッキ銛アフタヴノネスホタェ箏ホalist」
  5.3107  
  5.3108   -- Variable: YaTeX-hierarchy-ignore-heading-regexp
  5.3109 -     Hierarchy バッファは通常ファイルヘッダとして、LaTeXのセクション宣言コ
  5.3110 -     マンドの引数を検索し、それがなければコメント行を探すが、その際にヘッ
  5.3111 -     ダとしては意味を持たないパターンをこの変数に設定する。デフォルトでは 
  5.3112 -     RCS ヘッダとモード指定行(-*- xxx -*-)が設定されている。
  5.3113 +     Hierarchy
  5.3114 +     ミテユ。マフユ。、リテタネキニ「LaTeXホサッキ銛タヴ
  5.3115 +     ノホ。キ「スャハアミウ碯ネヤオケャ「スホンヒリテタネキニマ
  5.3116 +     ユ」ソハ、ムソシウホムピケ」ヌユゥネヌマ
  5.3117 +     RCS リテタネ箴 ノリヤ(-*- xxx
  5.3118 +     -*-)ャ゚オニ、」
  5.3119  
  5.3120   -- Variable: YaTeX-skip-default-reader
  5.3121 -     Non-nil に設定するとsection型コマンドの引数入力時、アドイン関数がなけ
  5.3122 -     ればミニバッファでの読み込みをせずに入力を完了させる (`nil')
  5.3123 +     Non-nil
  5.3124 +     ピケネsectionソヴノホマ「「ノ、リャハアミ
  5.3125 +     ゚ヒミテユ。ヌホノ゚゚サコヒマーサオサ
  5.3126 +     (`nil')
  5.3127  
  5.3128   -- Variable: YaTeX-create-file-prefix-g
  5.3129 -     `\include'などで `prefix g'した時に、ジャンプ先が存在しないファイルで
  5.3130 -     あってもオープンする (`nil')
  5.3131 +     `\include'ハノヌ `prefix
  5.3132 +     g'キソヒ「ク胚ラ隰ク゚キハ、ユ。、
  5.3133 +     ヌ「テニ筱シラケ (`nil')
  5.3134  
  5.3135   -- Variable: YaTeX-simple-messages
  5.3136 -     各種補完時のメッセージ出力を簡素化する (`nil')
  5.3137 +     ニ莢ホ眦サシクミマハヌスケ
  5.3138 +     (`nil')
  5.3139  
  5.3140   -- Variable: YaTeX-hilit-sectioning-face
  5.3141 -     色付けが有効な時の `\part' の色 (`'(yellow/dodgerblue
  5.3142 -     yellow/slateblue)')。リストの第一要素は `hilit-background-mode' が 
  5.3143 -     `'light' の時の、第二要素は `'dark' の時の `\chapter' の色で、文字色/
  5.3144 -     背景色 のように指定する。
  5.3145 +     ァユアャュハホ `\part' ホァ
  5.3146 +     (`'(yellow/dodgerblue yellow/slateblue)')」
  5.3147 +     ケネホ韲ラヌマ `hilit-background-mode' ャ
  5.3148 +     `'light' ホホ「 頤ラヌマ `'dark' ホホ
  5.3149 +     `\chapter' ホァヌ「クァ/リハァ ホ
  5.3150 +     ヲヒリケ」
  5.3151  
  5.3152   -- Variable: YaTeX-hilit-sectioning-attenuation-rate
  5.3153 -     色付けが有効な時の、`\subparagraph' の色を `\chapter' の濃度の何%薄く
  5.3154 -     したものにするか (`'(15 40)') `YaTeX-hilit-sectioning-face' の項参照。
  5.3155 +     ァユアャュハホ「`\subparagraph' ホァ
  5.3156 +     `\chapter' ホサルホソ
  5.3157 +     %ッキソ簧ヒケォ (`'(15 40)')
  5.3158 +     `YaTeX-hilit-sectioning-face' ホ犂ネ」
  5.3159  
  5.3160   -- Variable: YaTeX-use-AMS-LaTeX
  5.3161 -     AMS-LaTeX を使用する場合は `t' に設定する (`nil')
  5.3162 +     AMS-LaTeX ネムケ醯 `t' ピケ
  5.3163 +     (`nil')
  5.3164  
  5.3165   -- Variable: YaTeX-use-LaTeX2e
  5.3166 -     LaTeX2e を使用する場合は `t' に設定する (`t')
  5.3167 +     LaTeX2e ネムケ醯 `t' ピケ
  5.3168 +     (`t')
  5.3169  
  5.3170   -- Variable: YaTeX-template-file
  5.3171 -     新規ファイル作成時に自動挿入するファイル名 (`~/work/template.tex')
  5.3172 +     キャユ。、ョヒォー゙ケユ。、セ
  5.3173 +     (`~/work/template.tex')
  5.3174  
  5.3175   -- Variable: YaTeX-search-file-from-top-directory
  5.3176 -     inputするファイルを探すときの基準ディレクトリをmainファイルのあるディ
  5.3177 -     レクトリにするか (`t')
  5.3178 +     inputケユ。、オケネュホ猊」ッネmainユ。、ホ「ヌ」ッネ
  5.3179 +     ヒケォ (`t')
  5.3180   -- Variable: YaTeX-use-font-lock
  5.3181 -     ソースの色づけパッケージとして font-lock を利用するかどうか
  5.3182 -     (`(featurep 'font-lock)')
  5.3183 +     スシケホァナアムテアシクネキニ
  5.3184 +     font-lock ムケォノヲォ (`(featurep
  5.3185 +     'font-lock)')
  5.3186  
  5.3187   -- Variable: YaTeX-use-hilit19
  5.3188 -     ソースの色づけパッケージとして hilit19 を利用するかどうか(`(featurep
  5.3189 -     'hilit19)')
  5.3190 +     スシケホァナアムテアシクネキニ hilit19
  5.3191 +     ムケォノヲォ (`(featurep 'hilit19)')
  5.3192  
  5.3193   -- Variable: YaTeX-use-italic-bold
  5.3194 -     italic, boldフォントを野鳥が探すかどうか (Emacs20以降なら`t')
  5.3195 -     font-lock利用時のみ有効。(`(featurep 'hilit19)'
  5.3196 +     italic, boldユゥネサャオケォノヲォ
  5.3197 +     (Emacs20パハ饒t')
  5.3198 +     font-lockムポュ」 (`(featurep 'hilit19)'
  5.3199  
  5.3200   -- Variable: YaTeX-singlecmd-suffix
  5.3201 -     全てのmaketitle型コマンドの補完入力直後に挿入する文字列。`"{}"' など
  5.3202 -     がお勧め。
  5.3203 +     エニホmaketitleソヴノホ莢マセ衢゙ケク」
  5.3204 +     `"{}"' ハノャェォ皀
  5.3205  
  5.3206   -- Variable: YaTeX-package-alist-private
  5.3207 -     LaTeX2eのパッケージ名とその中に含まれるマクロのリスト。適切に設定して
  5.3208 -     おくと本文入力時にマクロを補完入力するとそのマクロに必要なパッケージ
  5.3209 -     を usepackage するか自動的に検査してくれる。していなければ 
  5.3210 -     \usepackage を自動追加することもできる。リストは'((パッケージ名1 (補
  5.3211 -     完タイプ マクロのリスト……) (補完タイプ マクロのリスト……)) (パッケー
  5.3212 -     ジ名2 (補完タイプ マクロのリスト……) (補完タイプ マクロのリス
  5.3213 -     ト……))………) という形式にする。補完タイプは `env, section,
  5.3214 -     maketitle' のどれか。具体例は変数 `YaTeX-package-alist-default' の値
  5.3215 -     参照。
  5.3216 +     LaTeX2eホムテアシクセネスホ賤゙゙゙ッホケネ」
  5.3217 +     ャレピキニェッネワクマビッ莢マケネ
  5.3218 +     スボッヒャラハムテアシク
  5.3219 +     usepackage
  5.3220 +     ケォォーェヒ。コキニッ」
  5.3221 +     キニ、ハアミ \usepackage
  5.3222 +     ォーノテケウネ簓ュ」
  5.3223 +     ケネマ '((ムテアシクセ1 (莢ソ、ラ
  5.3224 +     ゙ッホケネトト) (莢ソ、ラ
  5.3225 +     ゙ッホケネトト)) (ムテアシクセ2
  5.3226 +     (莢ソ、ラ ゙ッホケネトト)
  5.3227 +     (莢ソ、ラ
  5.3228 +     ゙ッホケネトト))トトト)
  5.3229 +     ネ、ヲチーヒケ」莢ソ、ラマ `env,
  5.3230 +     section, maketitle' ホノォ」 ホ耘ム
  5.3231 +     `YaTeX-package-alist-default' ホヘイネ」
  5.3232  
  5.3233   -- Variable: YaTeX-tabular-indentation
  5.3234 -     tabular/array 環境で現在行の先頭位置が表の第Nカラムのときは標準インデ
  5.3235 -     ント位置から N*YaTeX-tabular-indentation 桁下げたインデントにする。
  5.3236 +     tabular/array
  5.3237 +     トュヌス゚ヤホ隰フヨャスホ鎭ォ鰲ホネュマ
  5.3238 +     ク爨ヌネフヨォ
  5.3239 +     N*YaTeX-tabular-indentation 蠑イソ
  5.3240 +     、ヌネヒケ」
  5.3241  
  5.3242   -- Variable: YaTeX-noindent-env-regexp
  5.3243 -     別の環境内にあっても \begin{} が行頭から始まるべき環境名の正規表現。
  5.3244 -     verbatim環境などを指定する。
  5.3245 +     フホトュ簍「テニ \begin{}
  5.3246 +     ャヤャォ鰕゙ルュトュセホオャスス」
  5.3247 +     verbatimトュハノリケ」
  5.3248  
  5.3249   -- Variable: YaTeX-ref-default-label-string
  5.3250 -     \ref{} のラベル補完でラベル未設定のものに自動的に生成するラベル名の書
  5.3251 -     式。strftime(3)関数に似た日付ベースで指定する。利用できる書式は以下の
  5.3252 -     とおり。%y -> 西暦下二桁, %b -> 月の英名, %m -> 月(1〜12) %d -> 日,
  5.3253 -     %H -> 時, %M -> 分, %S -> 秒, %qx -> アルファベットで26進数化した 
  5.3254 -     yymmdd.  %qX -> アルファベットで26進数化した HHMMSS.  デフォルトは 
  5.3255 -     "%H%M%S_%d%b%y"
  5.3256 +     \ref{}
  5.3257 +     ホ鰮莢ヌ鰮、゚ホ簧ヒォーェヒクョケ
  5.3258 +     鰮セホー」strftime(3)リヒソユルシケヌリケ」
  5.3259 +     ムヌューマハシホネェ凜 %y ->
  5.3260 +     セシ, %b -> ホムセ, %m -> (1チ12) %d
  5.3261 +     -> , %H -> , %M -> ャ, %S -> テ, %qx ->
  5.3262 +     「ユ。ルテネヌ26ハスキソ yymmdd.  %qX
  5.3263 +     -> 「ユ。ルテネヌ26ハスキソ HHMMSS.
  5.3264 +     ヌユゥネマ "%H%M%S_%d%b%y"
  5.3265  
  5.3266   -- Variable: YaTeX-ref-generate-label-function
  5.3267 -     \ref{}のラベル名自動生成のときに使う関数のシンボル。デフォルトは標準
  5.3268 -     の YaTeX::ref-generate-label 関数が割り当ててある。引数を2つ取る関数
  5.3269 -     を定義して、この変数にセットするとその関数を呼んだ結果をデフォルトの
  5.3270 -     ラベル名候補とする。設定例:
  5.3271 +     \ref{}ホ鰮セォークョホネュヒネヲリホキワ」
  5.3272 +     ヌユゥネマク猥 YaTeX::ref-generate-label
  5.3273 +     リャ蓐ニニ「」
  5.3274 +     2ト齏リチキニ「ウホムヒサテネケネスホリニタ
  5.3275 +     フヌユゥネホ鰮セ菠ケ」゚:
  5.3276              (setq YaTeX-ref-generate-label-function 'my-yatex-generate-label)
  5.3277              (defun my-yatex-generate-label (command value)
  5.3278                (and (string= command "caption")
  5.3279 @@ -1840,229 +2142,246 @@
  5.3280  
  5.3281  File: yatexj, Node: Sample definitions, Next: Hook variables, Prev: All customizable variables, Up: Lisp variables
  5.3282  
  5.3283 -カスタマイズ変数設定例
  5.3284 -----------------------
  5.3285 -
  5.3286 -  たとえば、prefix キーとして`ESC'を使用し、新たな補完候補を格納するファイ
  5.3287 -ルを、`~/src/emacs/yatexrc' にし、行頭の prefix をタブ文字一つに変えたいと
  5.3288 -きは、
  5.3289 +ォケゾ、コム゚
  5.3290 +--------------------------------------------
  5.3291 +
  5.3292 +  ソネィミ「prefix
  5.3293 +ュシネキニ`ESC'ネムキ「キソハ莢蔗ハシケユ。
  5.3294 +、「`~/src/emacs/yatexrc' ヒキ「ヤャホ prefix
  5.3295 +ソヨクトヒム ィソ、ネュマ「
  5.3296  
  5.3297               (setq YaTeX-prefix "\e"
  5.3298                     YaTeX-user-completion-table "~/src/emacs/yatexrc"
  5.3299                     YaTeX-fill-prefix "       ")
  5.3300  
  5.3301 -を `~/.emacs' に加えます。
  5.3302 + `~/.emacs' ヒティ゙ケ」
  5.3303  
  5.3304  
  5.3305  
  5.3306  File: yatexj, Node: Hook variables, Next: Hook file, Prev: Sample definitions, Up: Lisp variables
  5.3307  
  5.3308 -hook変数
  5.3309 ---------
  5.3310 -
  5.3311 -  また、hook 変数 `yatex-mode-hook', `yatex-mode-load-hook' を用意していま
  5.3312 -す。すべての yatex-mode のバッファで作用させたいものは、`yatex-mode-hook' 
  5.3313 -に記述し、`yatex.el' をロードする時だけ作用させたいものは
  5.3314 -`yatex-mode-load-hook' に記述します。例えば、`outline-minor-mode' を利用す
  5.3315 -る場合、それぞれのバッファで `outline-minor-mode' を有効にしたいので、
  5.3316 -`yatex-mode-hook' を次のように設定します。
  5.3317 +hookム
  5.3318 +------------
  5.3319 +
  5.3320 +  ゙ソ「hook ム `yatex-mode-hook', `yatex-mode-load-hook'
  5.3321 +ム ユキニ、゙ケ」ケルニホ yatex-mode
  5.3322 +ホミテユ。ヌムオサソ、簧マ「
  5.3323 +`yatex-mode-hook' ヒュメキ「`yatex.el'
  5.3324 +シノケタアムオ
  5.3325 +サソ、簧マ`yatex-mode-load-hook'
  5.3326 +ヒュメギケ」罟ミ「 `outline-minor-mode'
  5.3327 +ムケ遒スセホミテユ。ヌ
  5.3328 +`outline-minor-mode'
  5.3329 +ュヒキソ、ホヌ「`yatex-mode-hook' 。
  5.3330 +ホ隕ピギケ」
  5.3331  
  5.3332               (setq yatex-mode-hook
  5.3333                     '(lambda () (outline-minor-mode t)))
  5.3334  
  5.3335  
  5.3336 -逆に、独自のキー定義を行いたい時などは、`yatex-mode-load-hook' を利用しま
  5.3337 -す。例えば、begin 型補完において、 document や、enumerate 以外の環境名も
  5.3338 -ショートカットキーで入れたいなどという時は、次のようにします。以下の例は、
  5.3339 -`[prefix] ba' で `\begin{abstract}', `\end{abstract}' を挿入します。
  5.3340 +ユヒ「ネォホュシチヤ、ソ、ハノマ「`yatex-mode-load-hook'
  5.3341 +ム ギケ」罟ミ「begin
  5.3342 +ソ莢ヒェ、ニ「 document 茲enumerate
  5.3343 +ハーホトュセ
  5.3344 +箙郛ネォテネュシヌソ、ハノネ、ヲマ「。ホ隕ヒギケ」ハシホ耘「
  5.3345 +`[prefix] ba' ヌ `\begin{abstract}', `\end{abstract}' 
  5.3346 +゙ギケ」
  5.3347  
  5.3348               (setq yatex-mode-load-hook
  5.3349                     '(lambda() (YaTeX-define-begend-key "ba" "abstract")))
  5.3350  
  5.3351 -なお、新たなキーの定義には、関数 `YaTeX-define-key'
  5.3352 -`YaTeX-define-begend-key'を利用するようにしてください。
  5.3353 +ハェ「キソハュシホチヒマ「リ
  5.3354 +`YaTeX-define-key'
  5.3355 +`YaTeX-define-begend-key'ムケ隕ヒキニッタオ、」
  5.3356  
  5.3357  
  5.3358  
  5.3359  File: yatexj, Node: Hook file, Prev: Hook variables, Up: Lisp variables
  5.3360  
  5.3361 -hook用ファイル
  5.3362 ---------------
  5.3363 -
  5.3364 -  変数 `yatex-mode-load-hook' で定義する内容が多い時は、`yatexhks.el'とい
  5.3365 -うファイルを作り、その中に野鳥関連の設定を書く事で、初期化の時に自動的にロー
  5.3366 -ドします。
  5.3367 +hookムユ。、
  5.3368 +------------------------
  5.3369 +
  5.3370 +  ム `yatex-mode-load-hook'
  5.3371 +ヌチケ簇ャソ、マ「
  5.3372 +`yatexhks.el'ネ、ヲユ。、瑤スホ賤サリ「ポッヌ「
  5.3373 +鵈スホヒォーェヒシノギケ」
  5.3374  
  5.3375  
  5.3376  
  5.3377  
  5.3378  File: yatexj, Node: Add-in functions, Prev: Lisp variables, Up: Customizations
  5.3379  
  5.3380 -付加関数(アドイン関数)
  5.3381 -======================
  5.3382 -
  5.3383 -  各種補完時に、環境名やコマンド名に応じたきめ細やかな補完入力機能を実現す
  5.3384 -るための関数を作成することができます。この関数の作成方法や、組み込み方法に
  5.3385 -関しては、`yatexadd.doc' をご覧ください。
  5.3386 +ユテリ(「ノ、リ)
  5.3387 +==========================================
  5.3388 +
  5.3389 +  ニ莢ヒ「トュセ莎゙ノセヒクソュ瞼茘ハ莢マ。スツスケ
  5.3390 +ソ睾リョケウネャヌュ゙ケ」ウホリホョ。茲ネ゚゚。ヒ
  5.3391 +リキニマ「`yatexadd.doc' エッタオ、」
  5.3392  
  5.3393  
  5.3394  
  5.3395  File: yatexj, Node: Etc, Next: Copying, Prev: Customizations, Up: Top
  5.3396  
  5.3397 -その他
  5.3398 -******
  5.3399 -
  5.3400 -  野鳥の標準の LaTeX コマンドの辞書には、作者が頻繁に使うものしか登録され
  5.3401 -ていません。これは、補完候補に使いそうもないコマンドが存在して、補完したい
  5.3402 -コマンドを出すまでのストローク数を増やしてしまう事を防止するためです。標準
  5.3403 -辞書にないコマンドも、できるだけ補完入力方式を利用し、ユーザ辞書を充実させ
  5.3404 -ることで、あなたの LaTeX スタイルにあった野鳥へと育っていくことでしょう。
  5.3405 +スホセ
  5.3406 +************
  5.3407 +
  5.3408 +  サホク猥 LaTeX
  5.3409 +ヴノホュヒマ「ヤャムヒヒネヲ簧キォミソオ
  5.3410 +ニ、゙サ」ウマ「莢萢ネ、スヲ簗、ヴノャク゚キニ「莢キソ
  5.3411 +、ヴノミゲヌホケネシッ莵ニギヲノ゚ケソ睇ケ」ク
  5.3412 +牆ヒハ、ヴノ笋ヌュタア莢マームキ「貍カュシツオ
  5.3413 +サウネヌ「「ハソホ LaTeX
  5.3414 +ケソ、ヒ「テソサリネ鯏ニ、ッウネヌキ
  5.3415 +ヲ」
  5.3416  
  5.3417  
  5.3418  
  5.3419  File: yatexj, Node: Copying, Next: Concept Index, Prev: Etc, Up: Top
  5.3420  
  5.3421 -取り扱い
  5.3422 -********
  5.3423 -
  5.3424 -  本プログラムはフリーソフトウェアです。本プログラムを使用して生じたいかな
  5.3425 -る結果に対しても作者は責任を負わないこととします。転載等に関しては制限いた
  5.3426 -しません。常識的に扱ってください。また、本プログラムに含まれるコードを利用
  5.3427 -すること、改造することも自由に行なって構いませんが、流用することにより契約
  5.3428 -締結の必要が生じる場合、私はいかなる契約も締結しません。具体的にはGPLへの
  5.3429 -サインはしませんので、GNUに寄贈するものを作っている場合私の作品から取り込
  5.3430 -んだコードを流用すると苦労するかもしれません。いかなるコード流用も拒否しま
  5.3431 -せんが契約締結は辞退します。
  5.3432 -
  5.3433 -  苦情、希望、バグ報告、感想等は歓迎いたします。連絡は yuuji@yatex.org ま
  5.3434 -で(2004年1月現在)。継続的に使用してくださる方はメイリングリスト「fj野鳥の
  5.3435 -会」に是非加入してください。加入方法については本パッケージの `docs/qanda' 
  5.3436 -ファイルの「その他」の章を御覧ください。
  5.3437 -
  5.3438 -仕様は、予告なく確実に(気分次第で)変更されます:-p。
  5.3439 -
  5.3440 -                                                                  広瀬雄二
  5.3441 +韭キ、
  5.3442 +****************
  5.3443 +
  5.3444 +  ワラー鰲マユシスユネヲァ「ヌケ」ワラー鰲ネムキニククソ、ォハ
  5.3445 +フヒミキニ粽ヤマユ、鴆ハ、ウネネギケ」セワヒリキニマゥツ、ソ
  5.3446 +ギサ」アェヒキテニッタオ、」゙ソ「ワラー鰲ビ゙ウシノム
  5.3447 +ケウネ「、ケウネ筬ウヒヤハテニス、゙サャ「ョムケウネヒ韭タ
  5.3448 +ホャラャクク遒蔆、ォハタ糴ギサ」ホェヒマGPLリホ
  5.3449 +オ、マギサホヌ「GNUヒ」ケ簧テニ、鈕ホハォ鳧
  5.3450 +タウシノョムケネォケォ箙゙サ」、ォハウシノョム糂ンギ
  5.3451 +サャタマュ犢゙ケ」
  5.3452 +
  5.3453 +  「セ「ミー「カロマゾ、ソギケ」
  5.3454 +「マ yuuji@yatex.org ゙ヌ(2004ッ1ス゚)」
  5.3455 +ムウェヒネムキニッタオマ皃ーケネヨfjサホラヒ
  5.3456 +ァテキニッタオ、」テ。ヒト、ニマワムテアシクホ
  5.3457 +`docs/qanda'
  5.3458 +ユ。、ホヨスホセラホマ踟ッタオ、」
  5.3459 +
  5.3460 +ナヘマ「スハッホツヒ(、ャ。霽)ムケオ゙ケ:-p」
  5.3461 +
  5.3462 +                                                          ュ・コ
  5.3463  
  5.3464  
  5.3465  
  5.3466  File: yatexj, Node: Concept Index, Prev: Copying, Up: Top
  5.3467  
  5.3468 -索引
  5.3469 -****
  5.3470 +
  5.3471 +********
  5.3472  
  5.3473  * Menu:
  5.3474  
  5.3475  * ::                            Greek letter completion.  4.
  5.3476  * ;:                            Image completion.       4.
  5.3477 -* Σ[しくま]:                   Image completion.       4.
  5.3478 -* 括る[くくる]:                 Enclose section-type command.  4.
  5.3479 -* 括る[くくる]:                 large型補完.            22.
  5.3480 -* 引数[ひきすう]:               2個以上の引数をとる section型コマンド.  4.
  5.3481 -* 欧文[おうふん]:               Accent mark completion.  4.
  5.3482 -* ;自身[;ししん]:               Image completion.       32.
  5.3483 -* ∞[むけんたい]:               Image completion.       4.
  5.3484 -* 矢印[やしるし]:               Image completion.       4.
  5.3485 -* ブロック[ふろつく]:           begin型補完.            81.
  5.3486 -* ヒストリ[ひすとり]:           Cooperation with other packages.  8.
  5.3487 -* 桁揃え[けたそろえ]:           Filling.                4.
  5.3488 -* やちょう[やちよう]:           Intro.                  4.
  5.3489 -* ジャンプ[しやんふ]:           view-sectioning.        42.
  5.3490 -* &入力[&にゆうりよく]:         Intelligent newline.    4.
  5.3491 -* 設定例[せつていれい]:         Sample definitions.     4.
  5.3492 -* 随時補完[すいしほかん]:       Arbitrary completion.   4.
  5.3493 -* 閉じ込める[としこめる]:       begin型補完.            81.
  5.3494 -* 再帰補完[さいきほかん]:       Recursive completion.   4.
  5.3495 -* ユーザ辞書[ゆうさししよ]:     begin型補完.            71.
  5.3496 -* 論理階層[ろんりかいそう]:     view-sectioning.        42.
  5.3497 -* ここはどこ?[ここはとこ?]:     What column.            4.
  5.3498 -* お絵描きツール起動[おえかきつうるきとう]: お絵描きツール起動.  4.
  5.3499 -* 環境の先頭へ[かんきようのせんとうへ]: 環境を単位としたジャンプ.  7.
  5.3500 -* 環境の末尾へ[かんきようのまつひへ]: 環境を単位としたジャンプ.  7.
  5.3501 -* 環境をマーク[かんきようをまあく]: 環境を単位としたジャンプ.  7.
  5.3502 -* カスタマイズ[かすたまいす]:   Customizations.         4.
  5.3503 -* キーアサイン[きいあさいん]:   Customizations.         4.
  5.3504 -* 数式モード[すうしきもおと]:   Image completion.       4.
  5.3505 -* インストール[いんすとおる]:   Installation.           4.
  5.3506 -* タイプセッタ[たいふせつた]:   Invocation.             4.
  5.3507 -* プレヴューア[ふれひゆうあ]:   Invocation.             4.
  5.3508 -* アウトライン[あうとらいん]:   view-sectioning.        4.
  5.3509 -* 引数の個数を変える[ひきすうのこすうをかえる]: 2個以上の引数をとる section型コマンド.  24.
  5.3510 -* アクセント記号補完[あくせんときこうほかん]: Accent mark completion.  4.
  5.3511 -* カスタマイズ変数一覧[かすたまいすへんすういちらん]: All customizable variables.  4.
  5.3512 -* 環境名の補完[かんきようめいのほかん]: begin型補完.    4.
  5.3513 -* エラー修正[えらあしゆうせい]: Calling typesetter.     4.
  5.3514 -* タイプセッタ起動[たいふせつたきとう]: Calling typesetter.  4.
  5.3515 -* タイプセットエラー[たいふせつとえらあ]: Calling typesetter.  4.
  5.3516 -* 環境名の変更[かんきようめいのへんこう]: Changing LaTeX command.  20.
  5.3517 -* モード切り替え[もうときりかえ]: Changing mode of YaTeX.  4.
  5.3518 -* タイプセッタの使い分け[たいふせつたのつかいわけ]: Changing typesetter.  12.
  5.3519 -* 起動するコマンドを変える[きとうするこまんとをかえる]: Changing typesetter.  7.
  5.3520 -* コメントアウト[こめんとあうと]: Commenting out.       4.
  5.3521 -* その他のコマンド制御[そのたのこまんとせいきよ]: Controlling which command to invoke.  4.
  5.3522 -* 他パッケージとの連携[たはつけえしとのれんけい]: Cooperation with other packages.  4.
  5.3523 -* コマンドヒストリ[こまんとひすとり]: Cooperation with other packages.  8.
  5.3524 -* カーソルジャンプ[かあそるしやんふ]: Cursor jump.      4.
  5.3525 -* %#記法自体の編集[%#きほうしたいのへんしゆう]: Editing %# notation.  4.
  5.3526 -* パラグラフの桁揃え[はらくらふのけたそろえ]: Filling.  47.
  5.3527 -* 領域決定規則[りよういきけつていきそく]: Fix region for typesetting.  25.
  5.3528 -* 長いファイルの編集[なかいふあいるのへんしゆう]: Fix region for typesetting.  34.
  5.3529 -* 固定領域のタイプセット[こていりよういきのたいふせつと]: Fix region for typesetting.  4.
  5.3530 -* ギリシャ文字補完[きりしやもしほかん]: Greek letter completion.  4.
  5.3531 -* イメージ補完[いめえしほかん]: Image completion.       4.
  5.3532 -* 数式記号イメージ補完[すうしききこういめえしほかん]: Image completion.  4.
  5.3533 -* 他のファイルの手直し[ほかのふあいるのてなおし]: Includeonly.  11.
  5.3534 -* インクルード構造[いんくるうとこうそう]: Inclusion hierarchy browser.  4.
  5.3535 -* おまかせ改行[おまかせかいきよう]: Intelligent newline.  4.
  5.3536 -* プリントアウト[ふりんとあうと]: Invocation.           4.
  5.3537 -* 環境の削除[かんきようのさくしよ]: Killing LaTeX command.  6.
  5.3538 -* ラベル自動生成[らへるしとうせいせい]: label-generation.  4.
  5.3539 -* フォント指定子[ふおんとしていし]: large型補完.        18.
  5.3540 -* 文字サイズ指定子[もしさいすしていし]: large型補完.    18.
  5.3541 -* ローカル辞書[ろおかるししよ]: Local dictionary.       4.
  5.3542 -* 変更/削除[へんこう/さくしよ]: Modifying/Deleting.     4.
  5.3543 -* グローバルヘルプ[くろおはるへるふ]: Online help.      16.
  5.3544 -* オンラインヘルプ[おんらいんへるふ]: Online help.      4.
  5.3545 -* キーワード検索[きいわあとけんさく]: Online help.      4.
  5.3546 -* プライベートヘルプ[ふらいへえとへるふ]: Online help.  16.
  5.3547 -* 入力ファイル分割[にゆうりよくふあいるふんかつ]: Splitting input files.  11.
  5.3548 -* セクション区切り一覧バッファ[せくしよんくきりいちらんはつふあ]: view-sectioning.  18.
  5.3549 -* セクション区切り[せくしよんくきり]: view-sectioning.  42.
  5.3550 -* 現在のカラム表示[けんさいのからむひようし]: What column.  23.
  5.3551 +* イ[キッ゙]:           Image completion.       4.
  5.3552 +* 鉈[ッッ]:       Enclose section-type command.  4.
  5.3553 +* 鉈[ッッ]:       largeソ莢.      25.
  5.3554 +* ;ォネ[;キキ]:     Image completion.       36.
  5.3555 +* [メュケヲ]:   2トハ衾ネ sectionソヴノ.  4.
  5.3556 +* ェィチュトシッー[ェィォュトヲュネヲ]: ェィチュトシッー.  4.
  5.3557 +* トュホ隰リ[ォュ隕ホサネヲリ]: トュアフネキソク胚ラ.  7.
  5.3558 +* トュホリ[ォュ隕ボトメリ]: トュアフネキソク胚ラ.  7.
  5.3559 +* トュ゙シッ[ォュ隕゙「ッ]: トュアフネキソク胚ラ.  7.
  5.3560 +* 、ク[ェヲユ]:   Accent mark completion.  4.
  5.3561 +* 躰牾ソ、]:   Image completion.       4.
  5.3562 +* [莵キ]:   Image completion.       4.
  5.3563 +* ホトムィ[メュケヲホウケヲォィ]: 2トハ衾ネ sectionソヴノ.  30.
  5.3564 +* 「ッサネュ趾ー[「ッサネュウヲロォ]: Accent mark completion.  4.
  5.3565 +* ォケゾ、コム[ォケゾ、ケリケヲ、チ鴣]: All customizable variables.  4.
  5.3566 +* 莢[ケ、キロォ]: Arbitrary completion.  4.
  5.3567 +* トュセホ莢[ォュ隕皃ホロォ]: beginソ莢.  4.
  5.3568 +* 貍カュ[讎オキキ鐓: beginソ莢.  77.
  5.3569 +* トク硴[ネキウ硴]: beginソ莢.  91.
  5.3570 +* ヨテッ[ユトッ]: beginソ莢.  91.
  5.3571 +* ィ鮠、オ[ィ鬚キ讎サ、]: Calling typesetter.  4.
  5.3572 +* ソ、ラサテソッー[ソ、ユサトソュネヲ]: Calling typesetter.  4.
  5.3573 +* ソ、ラサテネィ鮠[ソ、ユサトネィ鬚]: Calling typesetter.  4.
  5.3574 +* トュセホムケ[ォュ隕皃ホリウヲ]: Changing LaTeX command.  24.
  5.3575 +* 箴ノレリィ[筥ネュォィ]: Changing mode of YaTeX.  4.
  5.3576 +* ソ、ラサテソホネ、ャア[ソ、ユサトソホトォ、ア]: Changing typesetter.  13.
  5.3577 +* ッーケヴノムィ[ュネヲケヴネォィ]: Changing typesetter.  7.
  5.3578 +* ウ碯ネ「ヲネ[ウ碯ネ「ヲネ]: Commenting out.  4.
  5.3579 +* スホセホヴノゥ觴スホソホヴネサ、ュ鐓: Controlling which command to invoke.  4.
  5.3580 +* セムテアシクネホ「ネ[ソマトアィキネホア、]: Cooperation with other packages.  4.
  5.3581 +* ヴノメケネ鷦ヴネメケネ鷯: Cooperation with other packages.  8.
  5.3582 +* メケネ鷦メケネ鷯: Cooperation with other packages.  8.
  5.3583 +* ォシスク胚ラ[ォ「スキ蔘ユ]: Cursor jump.  4.
  5.3584 +* ォケゾ、コ[ォケゾ、ケ]: Customizations.  4.
  5.3585 +* ュシ「オ、[ュ、「オ、]: Customizations.  4.
  5.3586 +* %#ュ。ォホホヤク[%#ュロヲキソ、ホリキ讎]: Editing %# notation.  4.
  5.3587 +* 蟾ィ[アソスィ]: Filling.          4.
  5.3588 +* ム魏鰈ホ蟾ィ[マ魃鰈ホアソスィ]: Filling.  53.
  5.3589 +* ホ韋ャァ[隕、ュアトニ、ュスッ]: Fix region for typesetting.  27.
  5.3590 +* ヌホ靜ソ、ラサテネ[ウニ、隕、ュホソ、ユサトネ]: Fix region for typesetting.  4.
  5.3591 +* ケ、ユ。、ホヤク[ハォ、ユ「、ホリキ讎]: Fix region for typesetting.  40.
  5.3592 +* ョキ羣莢[ュキ葢キロォ]: Greek letter completion.  4.
  5.3593 +* 、眈ク莢[、皖キロォ]: Image completion.  4.
  5.3594 +* ーュ讀眈ク莢[ケヲキュュウヲ、皖キロォ]: Image completion.  4.
  5.3595 +* ー箴ノ[ケヲキュ筱ネ]: Image completion.  4.
  5.3596 +* セホユ。、ホセキ[ロォホユ「、ホニハェキ]: Includeonly.  11.
  5.3597 +* 、ッシノス、[、ッヲネウヲスヲ]: Inclusion hierarchy browser.  4.
  5.3598 +* 、ケネシ[、ケネェ]: Installation.  4.
  5.3599 +* &マ[&ヒ讎隸]: Intelligent newline.  4.
  5.3600 +* ェ゙ォサヤ[ェ゙ォサォ、ュ隕]: Intelligent newline.  4.
  5.3601 +* 菽遖[菽隕]: Intro.            4.
  5.3602 +* ソ、ラサテソ[ソ、ユサトソ]: Invocation.  4.
  5.3603 +* ラネ「ヲネ[ユネ「ヲネ]: Invocation.  4.
  5.3604 +* ラ蠑「[ユメ讎「]: Invocation.  4.
  5.3605 +* トュホ[ォュ隕ホオッキ鐓: Killing LaTeX command.  7.
  5.3606 +* 鰮ォークョ[鰄キネヲサ、サ、]: label-generation.  4.
  5.3607 +* クオ、コリメ[箙オ、ケキニ、キ]: largeソ莢.  21.
  5.3608 +* ユゥネリメ[ユェネキニ、キ]: largeソ莢.  21.
  5.3609 +* シォュ[ェォキキ鐓: Local dictionary.  4.
  5.3610 +* ムケ/[リウヲ/オッキ鐓: Modifying/Deleting.  4.
  5.3611 +* ーシミリラ[ッェマリユ]: Online help.  17.
  5.3612 +* ラ鬢ルシネリラ[ユ鬢リィネリユ]: Online help.  17.
  5.3613 +* ェ鬢リラ[ェ鬢リユ]: Online help.  4.
  5.3614 +* ュシシノ。[ュ、「ネアオッ]: Online help.  4.
  5.3615 +* ミマェサレシク[キ貽隸キ讎隕リィキ]: Print out.  10.
  5.3616 +* ミマォマレシク[キ貽隸ォ、キリィキ]: Print out.  10.
  5.3617 +* ニ「莢[オ、ュロォ]: Recursive completion.  4.
  5.3618 +* ゚綣サトニ、、]: Sample definitions.  4.
  5.3619 +* マユ。、ャ膽ヒ讎隸ユ「、ユォト]: Splitting input files.  13.
  5.3620 +* サッキ銛靺ミテユ。[サッキ頤ッュ熙チ鴣マトユ「]: view-sectioning.  22.
  5.3621 +* 「ヲネ鬢[「ヲネ鬢]: view-sectioning.  4.
  5.3622 +* ク胚ラ[キ蔘ユ]: view-sectioning.  50.
  5.3623 +* サッキ銛靺鷦サッキ頤ッュ鷯: view-sectioning.  50.
  5.3624 +* タャリ[ォ、スヲ]: view-sectioning.  50.
  5.3625 +* ス゚ホォ鰲スィ[アオ、ホォ鰲メ隕キ]: What column.  24.
  5.3626 +* ウウマノウ?[ウウマネウ?]: What column.  4.
  5.3627 +* 」ィハtabular[ユッオトハtabular]: What column.  4.
  5.3628  * apropos:                      Online help.            4.
  5.3629  * autoload:                     Installation.           4.
  5.3630  * auto-mode-alist:              Installation.           4.
  5.3631  * %#BEGIN:                      Fix region for typesetting.  4.
  5.3632 -* begin型補完[beginかたほかん]: begin型補完.            4.
  5.3633 +* beginソ莢[beginォソロォ]: beginソ莢.  4.
  5.3634  * C-c:                          Invocation.             4.
  5.3635  * Demacs:                       Intro.                  4.
  5.3636  * .emacs:                       Installation.           4.
  5.3637  * %#END:                        Fix region for typesetting.  4.
  5.3638 -* end補完[endほかん]:           end補完.                4.
  5.3639 -* ghostview:                    Splitting input files.  16.
  5.3640 +* end莢[endロォ]: end莢.            4.
  5.3641 +* ghostview:                    Splitting input files.  19.
  5.3642  * gmhist:                       Cooperation with other packages.  8.
  5.3643 -* hook変数[hookへんすう]:       Hook variables.         4.
  5.3644 -* 出力終了ページ[しゆつりよくしゆうりようへえし]: Print out.  9.
  5.3645 +* hookム[hookリケヲ]: Hook variables.   4.
  5.3646  * includeonly:                  Includeonly.            4.
  5.3647  * Install:                      Installation.           4.
  5.3648 -* itemなどの桁揃え[itemなとのけたそろえ]: Filling.      8.
  5.3649 -* 出力開始ページ[しゆつりよくかいしへえし]: Print out.  9.
  5.3650 +* itemハノホ蟾ィ[itemハネホアソスィ]: Filling.  8.
  5.3651  * jlatex:                       Invocation.             4.
  5.3652 -* large型補完[largeかたほかん]: large型補完.            4.
  5.3653 +* largeソ莢[largeォソロォ]: largeソ莢.  4.
  5.3654  * LaTeX:                        Intro.                  4.
  5.3655  * leftarrow:                    Image completion.       4.
  5.3656  * lpr format:                   lpr format.             4.
  5.3657 -* lprフォーマットの変更[lprふおおまつとのへんこう]: Editing %# notation.  18.
  5.3658 -* lprふぉーまっと[lprふおおまつと]: lpr format.         4.
  5.3659 -* lprフォーマット[lprふおおまつと]: lpr format.         4.
  5.3660 -* maketitle型補完[maketitleかたほかん]: maketitle型補完.  4.
  5.3661 -* M-C-@:                        環境を単位としたジャンプ.  7.
  5.3662 -* M-C-a:                        環境を単位としたジャンプ.  7.
  5.3663 -* M-C-e:                        環境を単位としたジャンプ.  7.
  5.3664 -* min-out:                      Cooperation with other packages.  17.
  5.3665 -* M-q:                          Filling.                47.
  5.3666 +* lprユゥジテネホムケ[lprユェェ゙トネホリウヲ]: Editing %# notation.  21.
  5.3667 +* lprユゥジテネ[lprユェェ゙トネ]: lpr format.  4.
  5.3668 +* lprユゥジテネ[lprユェェ゙トネ]: lpr format.  4.
  5.3669 +* maketitleソ莢[maketitleォソロォ]: maketitleソ莢.  4.
  5.3670 +* M-C-@:                        トュアフネキソク胚ラ.  7.
  5.3671 +* M-C-a:                        トュアフネキソク胚ラ.  7.
  5.3672 +* M-C-e:                        トュアフネキソク胚ラ.  7.
  5.3673 +* min-out:                      Cooperation with other packages.  20.
  5.3674 +* M-q:                          Filling.                53.
  5.3675  * Mule:                         Intro.                  4.
  5.3676 -* 勝手にincludeonly[かつてにincludeonly]: Includeonly.  4.
  5.3677 -* NTT-jTeX[えぬていいていいしえいてつく]: Filling.      15.
  5.3678 +* 。ヒincludeonly[ォトニヒincludeonly]: Includeonly.  4.
  5.3679 +* NTT-jTeX[ィフニ、、ニ、、キィ、ニトッ]: Filling.  16.
  5.3680  * platex:                       Invocation.             4.
  5.3681  * prefix ,:                     Commenting out.         4.
  5.3682  * prefix .:                     Commenting out.         4.
  5.3683 @@ -2072,28 +2391,27 @@
  5.3684  * prefix ?:                     Online help.            4.
  5.3685  * prefix &:                     What column.            4.
  5.3686  * prefix a:                     Accent mark completion.  4.
  5.3687 -* prefix b:                     begin型補完.            4.
  5.3688 +* prefix b:                     beginソ莢.      4.
  5.3689  * prefix c:                     Modifying/Deleting.     4.
  5.3690  * prefix d:                     Inclusion hierarchy browser.  4.
  5.3691 -* prefix e:                     end補完.                4.
  5.3692 +* prefix e:                     end莢.            4.
  5.3693  * prefix g:                     Cursor jump.            4.
  5.3694  * prefix i:                     Filling.                8.
  5.3695  * prefix k:                     Modifying/Deleting.     4.
  5.3696  * prefix key:                   Invocation.             4.
  5.3697 -* prefix l:                     large型補完.            4.
  5.3698 -* prefix m:                     maketitle型補完.        4.
  5.3699 -* prefix s:                     section型補完.          4.
  5.3700 +* prefix l:                     largeソ莢.      4.
  5.3701 +* prefix m:                     maketitleソ莢.  4.
  5.3702 +* prefix s:                     sectionソ莢.    4.
  5.3703  * prefix SPC:                   Arbitrary completion.   4.
  5.3704  * prefix w:                     Changing mode of YaTeX.  4.
  5.3705 -* prefixキー変更[prefixきいへんこう]: Lisp variables.   4.
  5.3706 -* ページ確認省略lpr起動[へえしかくにんしようりやくlprきとう]: Print out.  12.
  5.3707 -* section型補完[sectionかたほかん]: section型補完.      4.
  5.3708 -* 複雑なtabular[ふくさつなtabular]: What column.        4.
  5.3709 -* 先回りusepackage[さきまわり]: Usepackage cheker.      4.
  5.3710 -* YaTeX-help-file:              Online help.            16.
  5.3711 -* YaTeX-help-file-private:      Online help.            16.
  5.3712 -* YaTeX-item-regexp:            Filling.                20.
  5.3713 -* YaTeX-math-sign-alist-private: Image completion.      57.
  5.3714 +* prefixュシムケ[prefixュ、リウヲ]: Lisp variables.  4.
  5.3715 +* レシクホァハャlprッー[リィキォッヒキ隕莟lprュネヲ]: Print out.  13.
  5.3716 +* sectionソ莢[sectionォソロォ]: sectionソ莢.  4.
  5.3717 +* 頤黏sepackage[オュ゙鷯: Usepackage cheker.  4.
  5.3718 +* YaTeX-help-file:              Online help.            17.
  5.3719 +* YaTeX-help-file-private:      Online help.            17.
  5.3720 +* YaTeX-item-regexp:            Filling.                23.
  5.3721 +* YaTeX-math-sign-alist-private: Image completion.      69.
  5.3722  * yatex-mode-hook:              Hook variables.         4.
  5.3723  * yatex-mode-load-hook:         Hook variables.         4.
  5.3724  * YaTeX-nervous:                Local dictionary.       22.
  5.3725 @@ -2101,68 +2419,69 @@
  5.3726  
  5.3727  
  5.3728  
  5.3729 +
  5.3730  
  5.3731  Tag table:
  5.3732 -Node: Top257
  5.3733 -Node: Intro1311
  5.3734 -Node: Terminology1614
  5.3735 -Node: Main features2249
  5.3736 -Node: Installation3282
  5.3737 -Node: Invocation4500
  5.3738 -Node: Calling typesetter5319
  5.3739 -Node: Calling previewer6556
  5.3740 -Node: Print out6872
  5.3741 -Node: %#notation7138
  5.3742 -Node: Changing typesetter7566
  5.3743 -Node: Splitting input files7824
  5.3744 -Node: Fix region for typesetting8776
  5.3745 -Node: lpr format9677
  5.3746 -Node: Controlling which command to invoke10486
  5.3747 -Node: Editing %# notation10887
  5.3748 -Node: Completion11344
  5.3749 -Node: begin型補完11817
  5.3750 -Node: section型補完14401
  5.3751 -Node: 2個以上の引数をとる section型コマンド15496
  5.3752 -Node: Enclose section-type command16314
  5.3753 -Node: Recursive completion16551
  5.3754 -Node: view-sectioning16857
  5.3755 -Node: label-generation18053
  5.3756 -Node: large型補完18402
  5.3757 -Node: maketitle型補完18982
  5.3758 -Node: Arbitrary completion19281
  5.3759 -Node: end補完19594
  5.3760 -Node: Accent mark completion19936
  5.3761 -Node: Image completion20361
  5.3762 -Node: Greek letter completion22178
  5.3763 -Node: Local dictionary22638
  5.3764 -Node: Commenting out23243
  5.3765 -Node: Cursor jump24402
  5.3766 -Node: 対応オブジェクトへのジャンプ24639
  5.3767 -Node: お絵描きツール起動25627
  5.3768 -Node: メインファイルへのジャンプ26547
  5.3769 -Node: 環境を単位としたジャンプ26883
  5.3770 -Node: 最後の補完位置へのジャンプ27240
  5.3771 -Node: Modifying/Deleting27477
  5.3772 -Node: Changing LaTeX command27883
  5.3773 -Node: Killing LaTeX command28434
  5.3774 -Node: Filling29305
  5.3775 -Node: Includeonly30634
  5.3776 -Node: What column31195
  5.3777 -Node: Intelligent newline31974
  5.3778 -Node: Usepackage cheker33007
  5.3779 -Node: Changing mode of YaTeX33433
  5.3780 -Node: Online help34009
  5.3781 -Node: Inclusion hierarchy browser34985
  5.3782 -Node: Cooperation with other packages36263
  5.3783 -Node: Customizations36718
  5.3784 -Node: Lisp variables37015
  5.3785 -Node: All customizable variables37622
  5.3786 -Node: Sample definitions44923
  5.3787 -Node: Hook variables45357
  5.3788 -Node: Hook file46251
  5.3789 -Node: Add-in functions46457
  5.3790 -Node: Etc46684
  5.3791 -Node: Copying46968
  5.3792 -Node: Concept Index47599
  5.3793 +Node: Top254
  5.3794 +Node: Intro1308
  5.3795 +Node: Terminology1619
  5.3796 +Node: Main features2299
  5.3797 +Node: Installation3361
  5.3798 +Node: Invocation4646
  5.3799 +Node: Calling typesetter5477
  5.3800 +Node: Calling previewer6762
  5.3801 +Node: Print out7094
  5.3802 +Node: %#notation7374
  5.3803 +Node: Changing typesetter7806
  5.3804 +Node: Splitting input files8090
  5.3805 +Node: Fix region for typesetting9073
  5.3806 +Node: lpr format9998
  5.3807 +Node: Controlling which command to invoke10819
  5.3808 +Node: Editing %# notation11319
  5.3809 +Node: Completion11791
  5.3810 +Node: beginソ莢12272
  5.3811 +Node: sectionソ莢14892
  5.3812 +Node: 2トハ衾ネ sectionソヴノ15993
  5.3813 +Node: Enclose section-type command16836
  5.3814 +Node: Recursive completion17097
  5.3815 +Node: view-sectioning17410
  5.3816 +Node: label-generation18645
  5.3817 +Node: largeソ莢19009
  5.3818 +Node: maketitleソ莢19614
  5.3819 +Node: Arbitrary completion19919
  5.3820 +Node: end莢20240
  5.3821 +Node: Accent mark completion20585
  5.3822 +Node: Image completion21028
  5.3823 +Node: Greek letter completion22864
  5.3824 +Node: Local dictionary23340
  5.3825 +Node: Commenting out23956
  5.3826 +Node: Cursor jump25140
  5.3827 +Node: ミェヨクァッネリホク胚ラ25393
  5.3828 +Node: ェィチュトシッー26408
  5.3829 +Node: 皃ユ。、リホク胚ラ27370
  5.3830 +Node: トュアフネキソク胚ラ27732
  5.3831 +Node: ヌ衾莢フヨリホク胚ラ28113
  5.3832 +Node: Modifying/Deleting28377
  5.3833 +Node: Changing LaTeX command28801
  5.3834 +Node: Killing LaTeX command29365
  5.3835 +Node: Filling30254
  5.3836 +Node: Includeonly31615
  5.3837 +Node: What column32182
  5.3838 +Node: Intelligent newline32971
  5.3839 +Node: Usepackage cheker34025
  5.3840 +Node: Changing mode of YaTeX34458
  5.3841 +Node: Online help35057
  5.3842 +Node: Inclusion hierarchy browser36076
  5.3843 +Node: Cooperation with other packages37378
  5.3844 +Node: Customizations37853
  5.3845 +Node: Lisp variables38162
  5.3846 +Node: All customizable variables38772
  5.3847 +Node: Sample definitions47464
  5.3848 +Node: Hook variables47920
  5.3849 +Node: Hook file48819
  5.3850 +Node: Add-in functions49035
  5.3851 +Node: Etc49282
  5.3852 +Node: Copying49573
  5.3853 +Node: Concept Index50204
  5.3854  
  5.3855  End tag table
     6.1 --- a/docs/yatexj.tex	Mon Apr 01 23:03:34 2013 +0900
     6.2 +++ b/docs/yatexj.tex	Fri Dec 26 01:06:32 2014 +0900
     6.3 @@ -13,7 +13,7 @@
     6.4  @c ノードいじったら C-l C-u C-n 全部のノード更新 C-l C-u C-e
     6.5  @c メニュー増やしたら C-l C-u C-m 全部のメニュー更新 C-l C-u C-a
     6.6  @c フォーマットするときは C-l C-e C-b
     6.7 -@c Last modified Fri May 11 15:40:21 2012 on firestorm
     6.8 +@c Last modified Fri Dec 26 00:09:05 2014 on firestorm
     6.9  @syncodeindex vr cp
    6.10  @end iftex
    6.11  
    6.12 @@ -196,8 +196,8 @@
    6.13          @dots{} 文書を作成する時の漢字コード
    6.14  @item dviprint-command-format
    6.15          @dots{} ファイルの印刷に使われるコマンド列の書式
    6.16 -@item makeindex-command
    6.17 -        @dots{} makeindexコマンド
    6.18 +@item YaTeX-dvipdf-command
    6.19 +        @dots{} DVIをPDFに変換するコマンド
    6.20  @end table
    6.21  
    6.22  これらを変更する場合は、やはり@file{~/.emacs}にて、たとえば
    6.23 @@ -528,6 +528,8 @@
    6.24  	@dots{} makeindexを行なうコマンドライン([prefix] t b)
    6.25   @item %#MAKEINDEX
    6.26  	@dots{} bibtexを行なうコマンドライン([prefix] t i)
    6.27 + @item %#DVIPDF
    6.28 +	@dots{} DVIからPDF変換を行なうコマンドライン([prefix] t d)
    6.29  @end table
    6.30  
    6.31  行頭がこれらのキーワードで始まる行をLa@TeX{}文書の先頭付近に書いておけば、
    6.32 @@ -1895,6 +1897,47 @@
    6.33  dviをPDFに変換するコマンド (@code{"dvipdfmx"})
    6.34  @end defvar
    6.35  
    6.36 +@defvar YaTeX-cmd-gimp
    6.37 +GIMPを起動するコマンド (code{"gimp"})
    6.38 +@end defvar
    6.39 +@defvar YaTeX-cmd-tgif
    6.40 +tgifを起動するコマンド (code{"tgif"})
    6.41 +@end defvar
    6.42 +@defvar YaTeX-cmd-inkscape
    6.43 +Inkscapeを起動するコマンド (code{"inkscape"})
    6.44 +@end defvar
    6.45 +@defvar YaTeX-cmd-dia
    6.46 +Diaを起動するコマンド (code{"dia"})
    6.47 +@end defvar
    6.48 +@defvar YaTeX-cmd-ooo
    6.49 +OpenOffice.orgまたはLibreOfficeを起動するコマンド (code{"soffice"})
    6.50 +@end defvar
    6.51 +@defvar YaTeX-cmd-gs
    6.52 +Ghostscriptを起動するコマンド (code{"gs"})
    6.53 +@end defvar
    6.54 +@defvar YaTeX-cmd-dvips
    6.55 +dvipsを起動するコマンド(環境によってはpdvipsなど) (code{"dvips"})
    6.56 +@end defvar
    6.57 +@defvar YaTeX-cmd-displayline
    6.58 +displaylineを起動するコマンド
    6.59 +(code{"/Applications/Skim.app/Contents/SharedSupport/displayline"})
    6.60 +@end defvar
    6.61 +@defvar YaTeX-cmd-edit-ps
    6.62 +PostScriptファイルを編集するコマンド (変数code{"YaTeX-cmd-gimp"}の値)
    6.63 +@end defvar
    6.64 +@defvar YaTeX-cmd-edit-pdf
    6.65 +PDFファイルを編集するコマンド (変数code{"YaTeX-cmd-ooo"}の値)
    6.66 +@end defvar
    6.67 +@defvar YaTeX-cmd-edit-ai
    6.68 +.aiファイルを編集するコマンド (変数code{"YaTeX-cmd-inkscape"}の値)
    6.69 +@end defvar
    6.70 +@defvar YaTeX-cmd-edit-svg
    6.71 +SVGファイルを編集するコマンド (変数code{"YaTeX-cmd-inkscape"}の値)
    6.72 +@end defvar
    6.73 +@defvar YaTeX-cmd-edit-images
    6.74 +その他画像ファイルを編集するコマンド (変数code{"YaTeX-cmd-gimp"}の値)
    6.75 +@end defvar
    6.76 +
    6.77  @defvar YaTeX-need-nonstop
    6.78  @code{\nonstopmode@{@}}を自動的に付加するか (@code{nil})
    6.79  @end defvar
     7.1 --- a/help/YATEXHLP.eng	Mon Apr 01 23:03:34 2013 +0900
     7.2 +++ b/help/YATEXHLP.eng	Fri Dec 26 01:06:32 2014 +0900
     7.3 @@ -1722,8 +1722,9 @@
     7.4  \end{figure*}
     7.5  
     7.6  includegraphics
     7.7 -\usepackage{graphicx}  ... \includegraphics[Options]{graphicfile.eps}
     7.8 +\usepackage[DRIVER]{graphicx}  ... \includegraphics[Options]{graphicfile.eps}
     7.9  Include graphics$B!#(BRequires `graphicx' package.
    7.10 +Typical [DRIVER] is [dvipdfmx].
    7.11  Possible [Options] are as follows.
    7.12  scale=X
    7.13  width=W
    7.14 @@ -1735,6 +1736,36 @@
    7.15  viewport=llx lly urx ury  (Rerative to BoundingBox)
    7.16  trim=left bottom right top
    7.17  
    7.18 +[Example]
    7.19 +% Preamble
    7.20 +\usepackage[dvipdfmx]{graphicx}
    7.21 +% document body
    7.22 +\begin{figure}[h]\centering
    7.23 + \includegraphics[width=0.4\columnwidth,bb=0 0 400 300]{foo.jpg}
    7.24 + \caption{foo image}\label{foo-fig}
    7.25 +\end{figure}
    7.26 +Figure \ref{foo-fig} says that foo is foo.
    7.27 +% YaTeX automatically inserts `bb=' line when you input \includegraphics{}
    7.28 +% with completion.
    7.29 +
    7.30 +wrapfigure
    7.31 +\begin{wrapfigure}[LINES]{POS}[OVH]{WIDTH} ...Images... \end{wrapfigure}
    7.32 +LINES(Optional)	Number of narrow lines
    7.33 +POS		One of `r l i o' (Right, Left, Inside, Outside)
    7.34 +		R L I O for float
    7.35 +OVH(Optional)	Overhangs for margin
    7.36 +WIDTH		Width of figure
    7.37 +
    7.38 +[Example]
    7.39 +% Preamble
    7.40 +\usepackage{wrapfig}
    7.41 +% body of document
    7.42 +\begin{wrapfigure}{r}{4cm}
    7.43 + \includegraphics[width=3cm,bb=0 0 640 480,clip]{foo.jpg}
    7.44 + \caption{foo image}\label{foo-jpg}
    7.45 +\end{wrapfigure}
    7.46 +
    7.47 +
    7.48  abstract
    7.49  \begin{abstract} ... \end{abstract}
    7.50  Output abstract
     8.1 --- a/help/YATEXHLP.jp	Mon Apr 01 23:03:34 2013 +0900
     8.2 +++ b/help/YATEXHLP.jp	Fri Dec 26 01:06:32 2014 +0900
     8.3 @@ -1738,8 +1738,9 @@
     8.4  \end{figure*}
     8.5  
     8.6  includegraphics
     8.7 -\usepackage{graphicx}  ... \includegraphics[オプション]{graphicfile.eps}
     8.8 +\usepackage[ドライバ]{graphicx}  ... \includegraphics[オプション]{IMG.eps}
     8.9  画像を取り込む。要 graphicx パッケージ。
    8.10 +「ドライバ」は dvipdfmx 等。
    8.11  「オプション」は以下のものが指定可能。
    8.12  scale=拡大率
    8.13  width=幅
    8.14 @@ -1751,6 +1752,34 @@
    8.15  viewport=llx lly urx ury  (BoundingBox内の相対的座標で切り取る)
    8.16  trim=left bottom right top  (指定した幅を切り取る)
    8.17  
    8.18 +【使用例】
    8.19 +% プリアンブル
    8.20 +\usepackage[dvipdfmx]{graphicx}
    8.21 +% 本文
    8.22 +\begin{figure}[h]\centering
    8.23 + \includegraphics[width=0.4\columnwidth,bb=0 0 400 300]{hoge.jpg}
    8.24 + \caption{hogeの仕組}\label{hoge-fig}
    8.25 +\end{figure}
    8.26 +図\ref{hoge-fig}にあるとおり、ほげはほげなのだ。
    8.27 +% \includegraphics{} を補完入力するとbb=行はyatexが勝手に調べて入れる。
    8.28 +
    8.29 +wrapfigure
    8.30 +\begin{wrapfigure}[LINES]{POS}[OVH]{WIDTH} ...画像... \end{wrapfigure}
    8.31 +LINES(省略可)	回り込みする行数(デフォルトは画像の高さ分)
    8.32 +POS		r l i o のどれか(右、左、見開き内側、外側)
    8.33 +		大文字 R L I O は画像フロート
    8.34 +OVH(省略可)	画像の張り出しマージン(\wrapoverhang 通常0)
    8.35 +WIDTH		回り込みする(画像込みの)幅
    8.36 +
    8.37 +【使用例】
    8.38 +% プリアンブル
    8.39 +\usepackage{wrapfig}
    8.40 +% 本文
    8.41 +\begin{wrapfigure}{r}{4cm}
    8.42 + \includegraphics[width=3cm,bb=0 0 640 480,clip]{hoge.jpg}
    8.43 + \caption{ほげほげ}\label{hoge-jpg}
    8.44 +\end{wrapfigure}
    8.45 +
    8.46  abstract
    8.47  \begin{abstract} ... \end{abstract}
    8.48  抄録(アブストラクト)を出力する。
     9.1 --- a/makefile	Mon Apr 01 23:03:34 2013 +0900
     9.2 +++ b/makefile	Fri Dec 26 01:06:32 2014 +0900
     9.3 @@ -17,7 +17,7 @@
     9.4  ## Meadow (Sample)
     9.5  #EMACS	= meadow
     9.6  #EMACSDIR = c:/usr/local/meadow
     9.7 -## CarbonEmacs on Darwin (Sample)
     9.8 +## Cocoa(or Carbon)Emacs on Darwin (Sample)
     9.9  #EMACS	= /Applications/Emacs.app/Contents/MacOS/Emacs
    9.10  #PREFIX	= /Applications/Emacs.app/Contents/Resources
    9.11  #EMACSDIR = ${PREFIX}
    9.12 @@ -49,8 +49,8 @@
    9.13  # make clean		to delete all producted files
    9.14  # make ci		to check in all
    9.15  # make co		to check out all
    9.16 -MVER	= 1.77
    9.17 -LISP	= ${LISP18} ${LISP19}
    9.18 +MVER	= 1.78
    9.19 +LISP	= ${LISP18} ${LISP19} ${LISP23}
    9.20  YAHTML	= yahtml.el
    9.21  COMMON	= yatexlib.el yatexprc.el
    9.22  LISP18	= comment.el yatex.el yatexadd.el yatexgen.el yatexenv.el \
    9.23 @@ -58,6 +58,7 @@
    9.24  	  yatexmth.el yatexhks.el yatexhlp.el \
    9.25  	  yatexm-o.el yatexsec.el  yatexhie.el yatexpkg.el ${YAHTML}
    9.26  LISP19	= yatex19.el
    9.27 +LISP23	= yatex23.el
    9.28  DOCS	= ${DOCSRC} ${DOCOBJ} ${NEWS}
    9.29  NEWS	= yatex.new
    9.30  DOCHTML	= docs/htmlqa docs/htmlqa.eng docs/yahtmlj.tex docs/yahtmle.tex
    10.1 --- a/yahtml.el	Mon Apr 01 23:03:34 2013 +0900
    10.2 +++ b/yahtml.el	Fri Dec 26 01:06:32 2014 +0900
    10.3 @@ -1,9 +1,9 @@
    10.4  ;;; yahtml.el --- Yet Another HTML mode -*- coding: sjis -*-
    10.5  ;;; (c) 1994-2013 by HIROSE Yuuji [yuuji(@)yatex.org]
    10.6 -;;; Last modified Mon Apr  1 22:42:29 2013 on firestorm
    10.7 +;;; Last modified Mon Dec 22 22:17:24 2014 on firestorm
    10.8  ;;; $Id$
    10.9  
   10.10 -(defconst yahtml-revision-number "1.76"
   10.11 +(defconst yahtml-revision-number "1.77"
   10.12    "Revision number of running yahtml.el")
   10.13  
   10.14  ;;; Commentary:
   10.15 @@ -344,8 +344,8 @@
   10.16      (YaTeX-define-key "l" 'yahtml-insert-tag map)
   10.17      (YaTeX-define-key "L" 'yahtml-insert-tag-region map)
   10.18      (YaTeX-define-key "m" 'yahtml-insert-single map)
   10.19 -    (YaTeX-define-key "n" '(lambda () (interactive) (insert (if yahtml-prefer-upcases "<BR>" "<br>"))) map)
   10.20 -    (YaTeX-define-key "-" '(lambda () (interactive) (insert (if yahtml-prefer-upcases "<HR>" "<hr>") "\n")) map)
   10.21 +    (YaTeX-define-key "n" (function(lambda () (interactive) (insert (if yahtml-prefer-upcases "<BR>" "<br>")))) map)
   10.22 +    (YaTeX-define-key "-" (function(lambda () (interactive) (insert (if yahtml-prefer-upcases "<HR>" "<hr>") "\n"))) map)
   10.23      (YaTeX-define-key "p" 'yahtml-insert-p map)
   10.24      (if YaTeX-no-begend-shortcut
   10.25  	(progn
   10.26 @@ -437,6 +437,7 @@
   10.27      ("h1") ("h2") ("h3") ("h4") ("h5") ("h6")
   10.28      ;; ("p") ;This makes indentation screwed up!
   10.29      ("style") ("script") ("noscript") ("div") ("object") ("ins") ("del")
   10.30 +    ("option")
   10.31      ))
   10.32  
   10.33  (if yahtml-html4-strict
   10.34 @@ -660,6 +661,12 @@
   10.35  	      (font-lock-mode 1) ;;Why should I fontify again???
   10.36  	      ;; in yatex-mode, there's no need to refontify...
   10.37  	      (font-lock-fontify-buffer)))))
   10.38 +  ;; +dnd for X11 w/ emacs23+
   10.39 +  (and window-system (featurep 'dnd)
   10.40 +       (set (make-local-variable 'dnd-protocol-alist)
   10.41 +	    (cons (cons "^\\(file\\|https?\\):" 'yahtml-dnd-handler)
   10.42 +		  dnd-protocol-alist)))
   10.43 +
   10.44    (set-syntax-table yahtml-syntax-table)
   10.45    (use-local-map yahtml-mode-map)
   10.46    (YaTeX-read-user-completion-table)
   10.47 @@ -811,11 +818,12 @@
   10.48  	   (cons "typeface" yahtml-menu-map-typeface)))))
   10.49    (if (featurep 'xemacs)
   10.50        (add-hook 'yahtml-mode-hook
   10.51 -		'(lambda ()
   10.52 +		(function
   10.53 +		 (lambda ()
   10.54  		   (or (assoc "yahtml" current-menubar)
   10.55  		       (progn
   10.56  			 (set-buffer-menubar (copy-sequence current-menubar))
   10.57 -			 (add-submenu nil yahtml-menu-map))))))))
   10.58 +			 (add-submenu nil yahtml-menu-map)))))))))
   10.59  
   10.60  ;;; ----------- Completion ----------
   10.61  (defvar yahtml-last-begend "html")
   10.62 @@ -1010,7 +1018,7 @@
   10.63  	  (with-output-to-temp-buffer "*Completions*"
   10.64  	    (princ "Possible completinos are:\n")
   10.65  	    (princ
   10.66 -	     (mapconcat '(lambda (x) x)  (funcall listfunc) "\n")))
   10.67 +	     (mapconcat (function(lambda (x) x))  (funcall listfunc) "\n")))
   10.68  	(delete-region (point) beg)
   10.69  	(insert cmpl)))
   10.70       ((null cmpl)
   10.71 @@ -1217,8 +1225,8 @@
   10.72  (defun yahtml-make-style-parameter (proplist)
   10.73    "Make CSS property definitions in style attribute."
   10.74    (mapconcat
   10.75 -   '(lambda (x) (if (and (cdr x) (string< "" (cdr x)))
   10.76 -		    (format "%s: %s;" (car x) (cdr x))))
   10.77 +   (function (lambda (x) (if (and (cdr x) (string< "" (cdr x)))
   10.78 +			     (format "%s: %s;" (car x) (cdr x)))))
   10.79     (delq nil proplist)
   10.80     " "))
   10.81  
   10.82 @@ -1710,7 +1718,8 @@
   10.83      (while l
   10.84        (setq mess (format "%s %c" mess (car (car l)) (cdr (car l)))
   10.85  	    l (cdr l)))
   10.86 -    (message "Char-entity reference:  %s  SPC=& RET=&; Other=&#..;" mess)
   10.87 +    (message "Char-entity reference:  %s  SPC=& RET=&; BS=%s Other=&#..;"
   10.88 +	     mess (if YaTeX-japan "直前の文字" "Preceding-Char"))
   10.89      (setq c (read-char))
   10.90      (cond
   10.91       ((equal c (car-safe (assoc c list)))
   10.92 @@ -1720,7 +1729,11 @@
   10.93        (forward-char -1))
   10.94       ((equal c ? )
   10.95        (insert ?&))
   10.96 -     (t (insert (format "&#%d;" c))))))
   10.97 +     ((and (memq c '(127 8))
   10.98 +	   (setq c (preceding-char))
   10.99 +	   (delete-backward-char 1)
  10.100 +	   nil))			;Fall through to the next 't block
  10.101 +     (t (insert (format "&#x%x;" c))))))
  10.102  
  10.103  (defun yahtml:!--\#include ()
  10.104    (let ((file (yahtml-read-parameter "file" "")))
  10.105 @@ -2487,10 +2500,61 @@
  10.106  ;	(apply 'YaTeX-saved-indent-new-comment-line (if soft (list soft))))
  10.107  ;    (fset 'move-to-column yahtml-saved-move-to-column)))
  10.108  
  10.109 +;;;
  10.110 +;;; ---------- move forward/backward field ----------
  10.111 +;;;
  10.112 +(defun yahtml-element-path ()
  10.113 +  "Return the element path from <body> at point as a list"
  10.114 +  (let (path elm)
  10.115 +    (save-excursion
  10.116 +      (while (and (YaTeX-beginning-of-environment)
  10.117 +		  (looking-at (concat "<\\(" yahtml-command-regexp "\\)\\>"))
  10.118 +		  (not (string= (setq elm (downcase (YaTeX-match-string 1)))
  10.119 +				"body")))
  10.120 +	(setq path (cons elm path)
  10.121 +	      elm nil))
  10.122 +      (and elm (setq path (cons elm path))))))
  10.123 +
  10.124 +(defun yahtml-forward-field (arg)
  10.125 +  "Move ARGth forward cell to table element.
  10.126 +ENVINFO is a cons of target element name and its beginning point."
  10.127 +  (interactive "p")
  10.128 +  (let (inenv elm path sibs)
  10.129 +    (cond
  10.130 +     ((< arg 0) (yahtml-backward-field (- arg)))
  10.131 +     ((= arg 0) nil)
  10.132 +     ((and (setq path (nreverse (yahtml-element-path)))
  10.133 +	   (catch 'sibling
  10.134 +	     (while path
  10.135 +	       (if (setq elm (car-safe
  10.136 +			      (member (car path) '("td" "th" "li" "dt" "dd"))))
  10.137 +		   (throw 'sibling elm))
  10.138 +	       (setq path (cdr path)))))
  10.139 +      (setq inenv (YaTeX-in-environment-p elm)
  10.140 +	    sibs (cdr (assoc elm '(("td" . "td\\|th")
  10.141 +				   ("th" . "td\\|th")
  10.142 +				   ("li" . "li")
  10.143 +				   ("dt" . "dt\\|dd")
  10.144 +				   ("dd" . "dt\\|dd")))))
  10.145 +      (goto-char (cdr inenv))
  10.146 +      (while (>= (setq arg (1- arg)) 0)
  10.147 +	(yahtml-goto-corresponding-begend)
  10.148 +	(if (looking-at "<") (forward-list 1))
  10.149 +	(skip-chars-forward "^<"))
  10.150 +      (while (looking-at "\\s \\|\\(</\\)")
  10.151 +	(if (match-beginning 1) (forward-list 1)
  10.152 +	  (skip-chars-forward "\n\t ")))
  10.153 +      (forward-list 1) ;; step into environment
  10.154 +      (skip-chars-forward " \t\n")
  10.155 +      (if (looking-at (concat "<\\(" sibs "\\)\\>"))
  10.156 +	  (forward-list 1))
  10.157 +      ))))
  10.158 +
  10.159 +
  10.160  ;;; 
  10.161  ;;; ---------- indentation ----------
  10.162  ;;; 
  10.163 -(defun yahtml-indent-line ()
  10.164 +(defun yahtml-indent-line-1 ()
  10.165    "Indent a line (faster wrapper)"
  10.166    (interactive)
  10.167    (let (indent)
  10.168 @@ -2513,6 +2577,18 @@
  10.169  	  (and (bolp) (skip-chars-forward " \t")))
  10.170        (yahtml-indent-line-real))))
  10.171  
  10.172 +(defun yahtml-indent-line ()
  10.173 +  "Indent a line (Second level wrapper).
  10.174 +See also yahtml-indent-line-1 and yahtml-indent-line-real."
  10.175 +  (interactive)
  10.176 +  (let ((cc (current-column)) (p (point)))
  10.177 +    (yahtml-indent-line-1)
  10.178 +    (and (= cc (current-column))
  10.179 +	 (= p (point))
  10.180 +	 (equal last-command 'yahtml-indent-line)
  10.181 +	 (yahtml-forward-field 1))))
  10.182 +	   
  10.183 +
  10.184  (defun yahtml-this-indent ()
  10.185    (let ((envs "[uod]l\\|table\\|[ht][rhd0-6]\\|select\\|blockquote\\|center\\|menu\\|dir\\|d[td]\\|li")
  10.186  	(itemizing-envs "^\\([uod]l\\|menu\\|dir\\|li\\|d[td]\\)$")
  10.187 @@ -2775,7 +2851,7 @@
  10.188  
  10.189  (defun yahtml-intelligent-newline-select ()
  10.190    (interactive)
  10.191 -  (insert "<" (if yahtml-prefer-upcases "OPTION" "option") "> ")
  10.192 +  (yahtml-insert-single (if yahtml-prefer-upcases "OPTION" "option"))
  10.193    (yahtml-indent-line))
  10.194  
  10.195  (defun yahtml-intelligent-newline-style ()
  10.196 @@ -3122,6 +3198,33 @@
  10.197    (font-lock-mode -1)			;is stupid, but sure.
  10.198    (font-lock-mode 1))
  10.199  
  10.200 +;;;
  10.201 +;; Drag-n-Drop
  10.202 +;;;
  10.203 +(defun yahtml-dnd-handler (uri action)
  10.204 +  "DnD handler for yahtml mode
  10.205 +Convert image URI to img-src and others to a-href."
  10.206 +  (let*((file (dnd-get-local-file-name uri))
  10.207 +	(path (if file (file-relative-name file) uri))
  10.208 +	(case-fold-search t)
  10.209 +	(geom ""))
  10.210 +    (cond
  10.211 +     ((memq action '(copy link move private))
  10.212 +      (cond
  10.213 +       ((string-match "\\.\\(jpe?g\\|png\\|gif\\|bmp\\|tiff?\\)$" path)
  10.214 +	(if file
  10.215 +	    (setq geom (yahtml-get-image-info path)
  10.216 +		  geom (if (car geom)
  10.217 +			   (apply 'format " width=\"%s\" height=\"%s\"" geom)
  10.218 +			 "")))
  10.219 +	(insert (format "<img src=\"%s\" alt=\"%s\"%s>"
  10.220 +			path (file-name-nondirectory path) geom)))
  10.221 +       
  10.222 +       (t (insert (format "<a href=\"%s\"></a>" path))
  10.223 +	  (forward-char -4))))
  10.224 +     (t (message "No handler for action `%s'" action))))
  10.225 +  action)
  10.226 +
  10.227  (run-hooks 'yahtml-load-hook)
  10.228  (provide 'yahtml)
  10.229  
    11.1 --- a/yatex.el	Mon Apr 01 23:03:34 2013 +0900
    11.2 +++ b/yatex.el	Fri Dec 26 01:06:32 2014 +0900
    11.3 @@ -1,6 +1,6 @@
    11.4  ;;; yatex.el --- Yet Another tex-mode for emacs //野鳥// -*- coding: sjis -*-
    11.5 -;;; (c)1991-2013 by HIROSE Yuuji.[yuuji@yatex.org]
    11.6 -;;; Last modified Mon Apr  1 22:40:25 2013 on firestorm
    11.7 +;;; (c)1991-2014 by HIROSE Yuuji.[yuuji@yatex.org]
    11.8 +;;; Last modified Fri Dec 26 00:04:43 2014 on firestorm
    11.9  ;;; $Id$
   11.10  ;;; The latest version of this software is always available at;
   11.11  ;;; http://www.yatex.org/
   11.12 @@ -8,7 +8,7 @@
   11.13  ;;; Code:
   11.14  (require 'comment)
   11.15  (require 'yatexlib)
   11.16 -(defconst YaTeX-revision-number "1.77"
   11.17 +(defconst YaTeX-revision-number "1.78"
   11.18    "Revision number of running yatex.el")
   11.19  
   11.20  ;---------- Local variables ----------
   11.21 @@ -37,12 +37,6 @@
   11.22  return to the editing paragraph by calling register-to-point with argument
   11.23  YaTeX-current-position-register.")
   11.24  
   11.25 -;;(defvar YaTeX-tmp-dic-unit 'main-file
   11.26 -;;  "*Default switching unit of temporary dictionary.
   11.27 -;;There are two switching unit:
   11.28 -;;'main-file	: switch tmp-dic according to main-file directory.
   11.29 -;;'directory	: switch tmp-dic dir by dir."
   11.30 -;;)
   11.31  (defvar YaTeX-use-LaTeX2e t "*Use LaTeX2e or not.  Nil means latex 2.09")
   11.32  
   11.33  (defvar tex-command
   11.34 @@ -61,6 +55,31 @@
   11.35    "*Default previewer command including its option.
   11.36  This default value is for X window system.")
   11.37  
   11.38 +(defvar YaTeX-cmd-gimp "gimp")
   11.39 +(defvar YaTeX-cmd-tgif "tgif")
   11.40 +(defvar YaTeX-cmd-inkscape "inkscape")
   11.41 +(defvar YaTeX-cmd-dia "dia")
   11.42 +(defvar YaTeX-cmd-ooo "soffice")
   11.43 +(defvar YaTeX-cmd-gs "gs")
   11.44 +(defvar YaTeX-cmd-dvips "dvips") ;Set "pdvips" for Vine Linux
   11.45 +(defvar YaTeX-cmd-displayline
   11.46 +  "/Applications/Skim.app/Contents/SharedSupport/displayline")
   11.47 +(defvar YaTeX-cmd-edit-ps YaTeX-cmd-gimp)
   11.48 +(defvar YaTeX-cmd-edit-pdf YaTeX-cmd-ooo)
   11.49 +(defvar YaTeX-cmd-edit-ai YaTeX-cmd-inkscape)
   11.50 +(defvar YaTeX-cmd-edit-svg YaTeX-cmd-inkscape)
   11.51 +(defvar YaTeX-cmd-edit-images YaTeX-cmd-gimp)
   11.52 +(defvar YaTeX-cmd-view-images "display -geometry +0+0")
   11.53 +
   11.54 +(defvar tex-pdfview-command	;previewer command for your site
   11.55 +  (cond
   11.56 +   (YaTeX-dos	"acroread")
   11.57 +   (YaTeX-macos	(cond
   11.58 +		 ((file-executable-p YaTeX-cmd-displayline) "open -a Skim")
   11.59 +		 (t "open")))
   11.60 +   (t		"evince"))
   11.61 +  "*Default PDF viewer command including its option.")
   11.62 +
   11.63  (defvar makeindex-command (if YaTeX-dos "makeind" "makeindex")
   11.64    "*Default makeindex command.")
   11.65  
   11.66 @@ -86,7 +105,7 @@
   11.67    "*Command name to convert dvi file to PDF.")
   11.68  
   11.69  (defvar YaTeX-default-document-style
   11.70 -  (concat (if YaTeX-japan "j") "article")
   11.71 +  (concat (if YaTeX-japan "js") "article")
   11.72    "*Default LaTeX Documentstyle for YaTeX-typeset-region.")
   11.73  
   11.74  (defvar YaTeX-need-nonstop nil
   11.75 @@ -156,6 +175,7 @@
   11.76    "*Regexp of verb family.  Do not contain preceding \\\\ nor \\(\\).")
   11.77  (defvar YaTeX-fill-inhibit-environments
   11.78    (append '("tabular" "tabular*" "array" "picture" "eqnarray" "eqnarray*"
   11.79 +	    "longtable"
   11.80  	    "equation" "equation*" "math" "displaymath")
   11.81  	  YaTeX-verbatim-environments)
   11.82    "*In these environments, YaTeX inhibits fill-paragraph from formatting.
   11.83 @@ -170,6 +190,7 @@
   11.84  (defvar YaTeX-array-env-regexp
   11.85    (concat
   11.86     "array\\*?\\|eqnarray\\*?\\|tabbing\\|tabular\\*?\\|"	;LaTeX
   11.87 +   "longtable\\|"						;LaTeX2e
   11.88     "matrix\\|pmatrix\\|bmatrix\\|vmatrix\\|Vmatrix\\|"		;AMS-LaTeX
   11.89     "align\\*?\\|split\\*?\\|aligned\\*?\\|alignat\\*?\\|"	;AMS-LaTeX
   11.90     "[bpvV]?matrix\\|smallmatrix\\|cases\\|"			;AMS-LaTeX
   11.91 @@ -187,7 +208,7 @@
   11.92  
   11.93  (defvar YaTeX-auto-math-mode t
   11.94    "*T for changing YaTeX-math mode automatically.")
   11.95 -(defvar YaTeX-use-AMS-LaTeX nil
   11.96 +(defvar YaTeX-use-AMS-LaTeX t
   11.97    "*T for using AMS-LaTeX")
   11.98  
   11.99  (defvar yatex-mode-hook nil
  11.100 @@ -265,7 +286,8 @@
  11.101       ("widetilde") ("widehat") ("overline") ("overrightarrow")
  11.102       ;; section types in mathmode
  11.103       ("frac" 2) ("sqrt") ("mathrm") ("mathbf") ("mathit")
  11.104 -
  11.105 +     ;;cleveref
  11.106 +     ("cref") ("crefrange") ("cpageref") ("labelcref") ("labelcpageref")
  11.107       )
  11.108     (if YaTeX-use-LaTeX2e
  11.109         '(("documentclass") ("usepackage")
  11.110 @@ -325,6 +347,7 @@
  11.111       ("thebibliography") ("theindex") ("flushleft") ("flushright")
  11.112       ("minipage")
  11.113       ("supertabular")
  11.114 +     ("wrapfigure") ("wraptable")
  11.115       )
  11.116     (if YaTeX-use-LaTeX2e
  11.117         '(("comment")			;defined in version
  11.118 @@ -460,8 +483,8 @@
  11.119    (YaTeX-define-key "$" 'YaTeX-insert-dollars-region)
  11.120    (YaTeX-define-key "i" 'YaTeX-fill-item)
  11.121    (YaTeX-define-key "\\"
  11.122 -   '(lambda () (interactive)
  11.123 -      (insert (if (YaTeX-in-math-mode-p) "\\backslash" "\\textbackslash"))))
  11.124 +   (function(lambda () (interactive)
  11.125 +      (insert (if (YaTeX-in-math-mode-p) "\\backslash" "\\textbackslash")))))
  11.126    (if YaTeX-no-begend-shortcut
  11.127        (progn
  11.128  	(YaTeX-define-key "B" 'YaTeX-make-begin-end-region)
  11.129 @@ -505,12 +528,12 @@
  11.130    (YaTeX-define-key "d" 'YaTeX-display-hierarchy)
  11.131    (YaTeX-define-key "x" YaTeX-user-extensional-map)
  11.132    (YaTeX-define-key "n"
  11.133 -    '(lambda () (interactive)
  11.134 -       (insert "\\" (if (YaTeX-on-section-command-p "o?oalign") "crcr" "\\"))))
  11.135 +    (function(lambda () (interactive)
  11.136 +       (insert "\\" (if (YaTeX-on-section-command-p "o?oalign") "crcr" "\\")))))
  11.137    (if YaTeX-dos
  11.138        (define-key YaTeX-prefix-map "\C-r"
  11.139 -	'(lambda () (interactive)
  11.140 -	   (YaTeX-set-screen-height YaTeX-saved-screen-height) (recenter)))))
  11.141 +	(function(lambda () (interactive)
  11.142 +	   (YaTeX-set-screen-height YaTeX-saved-screen-height) (recenter))))))
  11.143  
  11.144  (defvar YaTeX-section-completion-map nil
  11.145    "*Key map used at YaTeX completion in the minibuffer.")
  11.146 @@ -653,22 +676,7 @@
  11.147  	    YaTeX-math-mode indent-line-function comment-line-break-function
  11.148  	    comment-start comment-start-skip
  11.149  	    ))
  11.150 -  (cond ((null YaTeX-kanji-code)
  11.151 -	 nil)
  11.152 -	((boundp 'MULE)
  11.153 -	 (set-file-coding-system  YaTeX-coding-system))
  11.154 -	((and YaTeX-emacs-20 (boundp 'buffer-file-coding-system))
  11.155 -	 (setq buffer-file-coding-system
  11.156 -	       (or (and (fboundp 'set-auto-coding) buffer-file-name
  11.157 -			(save-excursion
  11.158 -			  (goto-char (point-min))
  11.159 -			  (set-auto-coding buffer-file-name (buffer-size))))
  11.160 -		   YaTeX-coding-system)))
  11.161 -	((featurep 'mule)
  11.162 -	 (set-file-coding-system YaTeX-coding-system))
  11.163 -	((boundp 'NEMACS)
  11.164 -	 (make-local-variable 'kanji-fileio-code)
  11.165 -	 (setq kanji-fileio-code YaTeX-kanji-code)))
  11.166 +  (YaTeX-set-file-coding-system YaTeX-kanji-code YaTeX-coding-system)
  11.167    (setq fill-column YaTeX-fill-column
  11.168  	fill-prefix YaTeX-fill-prefix
  11.169  	paragraph-start    YaTeX-paragraph-start
  11.170 @@ -680,6 +688,10 @@
  11.171  	local-abbrev-table yatex-mode-abbrev-table)
  11.172    (if (fboundp 'comment-indent-new-line) ;for Emacs21
  11.173        (setq comment-line-break-function 'YaTeX-comment-line-break))
  11.174 +  ;; +dnd for X11 w/ emacs23+
  11.175 +  (and window-system (featurep 'dnd) (require 'yatex23 nil t)
  11.176 +       (set (make-local-variable 'dnd-protocol-alist)
  11.177 +	    (cons (cons "^file:" 'YaTeX-dnd-handler) dnd-protocol-alist)))
  11.178  
  11.179    (if (and YaTeX-use-font-lock (featurep 'font-lock))
  11.180        (progn
  11.181 @@ -738,6 +750,7 @@
  11.182  (autoload 'YaTeX-get-builtin "yatexprc" "Get %# built-in." t)
  11.183  (autoload 'YaTeX-system "yatexprc" "Call system command" t)
  11.184  (autoload 'YaTeX-save-buffers "yatexprc" "Save buffers of same major mode" t)
  11.185 +(autoload 'YaTeX-goto-corresponding-viewer "yatexprc" "Viewer jump line" t)
  11.186  
  11.187  ;;autoload from yatexmth.el
  11.188  (autoload 'YaTeX-math-insert-sequence "yatexmth" "Image input." t)
  11.189 @@ -879,7 +892,7 @@
  11.190  	  "ref")
  11.191  	 ((and (looking-at "[a-z \t]")
  11.192  	       (progn (skip-chars-backward "a-z \t")
  11.193 -		      (looking-at "table\\|figure\\|formula")))
  11.194 +		      (looking-at "table\\|figure\\|formula\\|eq\\(\\.\\|uation\\)")))
  11.195  	  "ref")
  11.196  	 ((save-excursion
  11.197  	    (skip-chars-backward "[^ア-ン]")
  11.198 @@ -1616,7 +1629,8 @@
  11.199      (require 'yatexprc)			;for Nemacs's bug
  11.200      (select-window sw)
  11.201      (cond
  11.202 -     ((= c ?j) (YaTeX-typeset-buffer))
  11.203 +     ((memq c '(?j ?\C-j)) (YaTeX-typeset-buffer) ; memq for usability test
  11.204 +      (put 'dvi2-command 'format 'dvi))
  11.205       ((= c ?r) (YaTeX-typeset-region))
  11.206       ((= c ?e) (YaTeX-typeset-environment))
  11.207       ((= c ?b) (YaTeX-call-builtin-on-file
  11.208 @@ -1625,13 +1639,13 @@
  11.209  		"MAKEINDEX" makeindex-command arg))
  11.210       ((= c ?k) (YaTeX-kill-typeset-process YaTeX-typeset-process))
  11.211       ((= c ?p) (call-interactively 'YaTeX-preview))
  11.212 -     ((= c ?q) (YaTeX-system "lpq" "*Printer queue*"))
  11.213 +     ((= c ?q) (YaTeX-system "lpq" "Printer queue"))
  11.214       ((= c ?d) (YaTeX-typeset-buffer
  11.215 -		(or (YaTeX-get-builtin "DVIPDF") YaTeX-dvipdf-command)))
  11.216 +		(or (YaTeX-get-builtin "DVIPDF") YaTeX-dvipdf-command))
  11.217 +      (put 'dvi2-command 'format 'pdf))
  11.218       ((= c ?v) (YaTeX-view-error))
  11.219       ((= c ?l) (YaTeX-lpr arg))
  11.220       ((= c ?m) (YaTeX-switch-mode-menu arg))
  11.221 -     ((= c ?b) (YaTeX-insert-string "\\"))
  11.222       ((= c ?s) (YaTeX-xdvi-remote-search arg)))))
  11.223  
  11.224  (if (fboundp 'wrap-function-to-control-ime)
  11.225 @@ -1683,9 +1697,13 @@
  11.226  	  YaTeX-refcommand-def-regexp-default))
  11.227  
  11.228  (defvar YaTeX-refcommand-ref-regexp-default
  11.229 -  "\\(page\\|eq\\|fig\\)?ref\\|cite")
  11.230 +  "\\(page\\|eq\\|fig\\)?ref\\|cite"
  11.231 +  "Regexp of LaTeX's label-referring macros.
  11.232 +Searching for this will be done without `\\\\'.
  11.233 +So you need not add patterns if new referring macro ends with \"ref\".")
  11.234  (defvar YaTeX-refcommand-ref-regexp-private nil
  11.235 -  "*Regexp of referring label commands")
  11.236 +  "*Regexp of referring label commands.
  11.237 +See documentation of `YaTeX-refcommand-ref-regexp-default'.")
  11.238  (defvar YaTeX-refcommand-ref-regexp
  11.239    (concat (if YaTeX-refcommand-ref-regexp-private
  11.240  	      (concat YaTeX-refcommand-ref-regexp-private "\\|"))
  11.241 @@ -1904,17 +1922,24 @@
  11.242  See also the documentation of YaTeX-processed-file-regexp-alist.")
  11.243  
  11.244  (defvar YaTeX-file-processor-alist-default
  11.245 -  '(("tgif" . ".obj")
  11.246 -    ("gimp" . ".xcf") ("gimp" . ".xcf.gz") ("gimp" . ".xcf.bz2")
  11.247 -    ("inkscape" . ".svg") ("inkscape" . ".svgz") ("inkscape" . ".ai")
  11.248 -    ("soffice" . ".odg")
  11.249 -    ("gimp" . ".jpeg") ("gimp" . ".jpg") ("gimp" . ".png")
  11.250 -    ("evince" . ".ps")
  11.251 -    ("evince" . ".eps")
  11.252 -    ("soffice" . ".pdf")
  11.253 -    (t . ".tex")
  11.254 -    (t . ".sty")
  11.255 -    (t . ""))
  11.256 +  (list (cons YaTeX-cmd-tgif ".obj")
  11.257 +	(cons YaTeX-cmd-gimp ".xcf")
  11.258 +	(cons YaTeX-cmd-gimp ".xcf.gz")
  11.259 +	(cons YaTeX-cmd-gimp ".xcf.bz2")
  11.260 +	(cons YaTeX-cmd-edit-svg ".svg")
  11.261 +	(cons YaTeX-cmd-edit-svg ".svgz")
  11.262 +	(cons YaTeX-cmd-edit-ai ".ai")
  11.263 +	'("dia" . ".dia")
  11.264 +	(cons YaTeX-cmd-ooo ".odg")
  11.265 +	(cons YaTeX-cmd-edit-images ".jpeg")
  11.266 +	(cons YaTeX-cmd-edit-images ".jpg")
  11.267 +	(cons YaTeX-cmd-edit-images ".png")
  11.268 +	(cons YaTeX-cmd-edit-ps ".ps")
  11.269 +	(cons YaTeX-cmd-edit-ps ".eps")
  11.270 +	(cons YaTeX-cmd-edit-pdf ".pdf")
  11.271 +	'(t . ".tex")
  11.272 +	'(t . ".sty")
  11.273 +	'(t . ""))
  11.274    "See the documentation of YaTeX-file-processor-alist.")
  11.275  
  11.276  (defun YaTeX-goto-corresponding-file-processor (&optional other)
  11.277 @@ -1966,9 +1991,8 @@
  11.278  		(let ((default-directory basedir))
  11.279  		  (cond
  11.280  		   ((stringp cmd)
  11.281 -		    (let ((buf (concat "* " cmd " " src " *")))
  11.282 -		      (YaTeX-system (concat cmd " " src) buf)
  11.283 -		      t))
  11.284 +		    (YaTeX-system (concat cmd " " src) cmd)
  11.285 +		    t)
  11.286  		   ((eq t cmd)
  11.287  		    (let ((parent buffer-file-name))
  11.288  		      (funcall
  11.289 @@ -2012,9 +2036,10 @@
  11.290  	       (goto-char (match-beginning 0))
  11.291  	       (throw 'found t))
  11.292  	  ;;If inside of parentheses, try to escape.
  11.293 -	  (while (condition-case err
  11.294 -		     (progn (up-list -1) t)
  11.295 -		   (error nil)))
  11.296 +	  (while (and (not (= (preceding-char) ?\])) ;skip optional arg
  11.297 +		      (condition-case err
  11.298 +			  (progn (up-list -1) t)
  11.299 +			(error nil))))
  11.300  	  (while (equal (preceding-char) ?\]) (backward-list))
  11.301  	  ;;(2) search command directly
  11.302  	  (skip-chars-forward "^{}[]")
  11.303 @@ -2150,6 +2175,7 @@
  11.304       ;;	  YaTeX-equation-env-regexp	;to delay loading
  11.305       ;;	  (or (YaTeX-inner-environment t) "document"))
  11.306       ;;	 (YaTeX-goto-corresponding-leftright)))
  11.307 +     ((YaTeX-goto-corresponding-viewer))
  11.308       (t (message "I don't know where to go.")))))
  11.309  
  11.310  (defun YaTeX-goto-corresponding-*-other-window (arg)
  11.311 @@ -2651,7 +2677,7 @@
  11.312  		    (regexp-quote
  11.313  		     (YaTeX-replace-format-args
  11.314  		      YaTeX-struct-begin env "" ""))
  11.315 -		    "\\)\\|\\("
  11.316 +		    "\\>\\)\\|\\("
  11.317  		    (regexp-quote
  11.318  		     (YaTeX-replace-format-args
  11.319  		      YaTeX-struct-end env "" ""))
  11.320 @@ -2987,6 +3013,44 @@
  11.321        (if (string= c "t") (insert (YaTeX-read-accent-char c)))
  11.322        (forward-char 1))))
  11.323  
  11.324 +;; Field skip in tabular
  11.325 +(defun YaTeX-forward-field (arg)
  11.326 +  "Move forward to the ARGth next column field of table."
  11.327 +  (interactive "p")
  11.328 +  (if (< arg 0)
  11.329 +      (YaTeX-backward-field (- arg))
  11.330 +    (let ((ep (save-excursion (YaTeX-end-of-environment) (point)))
  11.331 +	  (wc (car (YaTeX-array-what-column-internal))))
  11.332 +      (while (>= (setq arg (1- arg)) 0)
  11.333 +	(skip-chars-forward "^&\\\\")
  11.334 +	(while (and (not (eobp))
  11.335 +		    (> ep (point))
  11.336 +		    (looking-at "\\&\\|\\\\")
  11.337 +		    (= wc (car (YaTeX-array-what-column-internal))))
  11.338 +	  (skip-chars-forward "&" ep)
  11.339 +	  (while (looking-at "[\n\t ]+\\|\\\\\\\\\\|\\\\.line\\>")
  11.340 +	    (goto-char (match-end 0))
  11.341 +	    ))))))
  11.342 +
  11.343 +(defun YaTeX-backward-field (arg)
  11.344 +  "Move backward to the ARGth next column field of table."
  11.345 +  (interactive "p")
  11.346 +  (if (< arg 0)
  11.347 +      (YaTeX-forward-field (- arg))
  11.348 +    (let ((bp (save-excursion
  11.349 +		(YaTeX-beginning-of-environment)
  11.350 +		(point-end-of-line)))
  11.351 +	  (wc (car (YaTeX-array-what-column-internal))))
  11.352 +      (while (>= (setq arg (1- arg)) 0)
  11.353 +	(skip-chars-backward "^&\\\\" bp)
  11.354 +	(while (and (not (bobp))
  11.355 +		    (< bp (point))
  11.356 +		    (memq (preceding-char) '(?& ?\\))
  11.357 +		    (= wc (car (YaTeX-array-what-column-internal))))
  11.358 +	  (skip-chars-backward "&\\\\" bp)
  11.359 +	  (skip-chars-backward "\n\t " bp))
  11.360 +	(if (eolp) (skip-chars-forward "^&\\\\"))))))
  11.361 +
  11.362  ;; Indentation
  11.363  (defun YaTeX-current-indentation ()
  11.364    "Return the indentation of current environment."
  11.365 @@ -3090,7 +3154,7 @@
  11.366       ((YaTeX-literal-p)			;verbatims
  11.367        (tab-to-tab-stop))
  11.368       ((string-match "\\(tabular\\|array\\)" inenv) ;1.73
  11.369 -      (let ((n 1))
  11.370 +      (let ((n 1) (cc (current-column)) (p (point)))
  11.371  	(condition-case err
  11.372  	    (save-excursion
  11.373  	      (beginning-of-line)
  11.374 @@ -3102,7 +3166,12 @@
  11.375  	(YaTeX-reindent
  11.376  	 (+ (YaTeX-current-indentation)
  11.377  	    YaTeX-environment-indent
  11.378 -	    (* (1- n) YaTeX-tabular-indentation)))))
  11.379 +	    (* (1- n) YaTeX-tabular-indentation)))
  11.380 +	(and (= cc (current-column))
  11.381 +	     (= p (point))
  11.382 +	     (equal last-command 'YaTeX-indent-line)
  11.383 +	     ;; if NO indent action occured, move to the next column
  11.384 +	     (YaTeX-forward-field 1))))
  11.385       ((and inenv (not (equal "document" inenv)))
  11.386        (funcall indent-relative))
  11.387       ((YaTeX-on-section-command-p YaTeX-sectioning-regexp)
    12.1 --- a/yatex.new	Mon Apr 01 23:03:34 2013 +0900
    12.2 +++ b/yatex.new	Fri Dec 26 01:06:32 2014 +0900
    12.3 @@ -1,6 +1,19 @@
    12.4  	What's new in YaTeX/yahtml
    12.5  	野鳥/yahtml - 各バージョンの変更点について
    12.6  
    12.7 +1.78	Drag&Dropサポートを追加。
    12.8 +	tabular環境内で2連続以上Tabで、1カラム進む機能を追加。
    12.9 +	=== yatex ===
   12.10 +	主な外部コマンド名を変数化。
   12.11 +	[prefix] t d の直後のデフォルトヴューアはPDF用のものに。
   12.12 +	「%#!コマンド -オプション」のときは親ファイル指定なしと判定。
   12.13 +	地の段落での [prefix] t g でヴューアの forward-search を試みる。
   12.14 +	[prefix] t e の環境タイプセットの結果を可能なら画像に。
   12.15 +	[prefix] t e を環境外で呼んだ場合はパラグラフをタイプセット。
   12.16 +	[prefix] t e を領域活性状態で呼んだらその領域をタイプセット。
   12.17 +	=== yahtml ===
   12.18 +	table, ul, ol, dl 内で2連続以上Tabで、1カラム進む機能を追加。
   12.19 +
   12.20  1.77	last-command-char 廃止対策を追加。
   12.21  	=== yatex ===
   12.22  	%#DVIPDF でdviからpdfへの変換コマンドを指定可能に。
    13.1 --- a/yatex19.el	Mon Apr 01 23:03:34 2013 +0900
    13.2 +++ b/yatex19.el	Fri Dec 26 01:06:32 2014 +0900
    13.3 @@ -1,6 +1,6 @@
    13.4  ;;; yatex19.el -- YaTeX facilities for Emacs 19 or later
    13.5  ;;; (c)1994-2013 by HIROSE Yuuji.[yuuji@yatex.org]
    13.6 -;;; Last modified Mon Apr  1 22:42:46 2013 on firestorm
    13.7 +;;; Last modified Sun Dec 21 14:03:48 2014 on firestorm
    13.8  ;;; $Id$
    13.9  
   13.10  ;;; Code:
   13.11 @@ -54,11 +54,11 @@
   13.12  	(list
   13.13  	 (if YaTeX-auto-math-mode nil
   13.14  	   (cons 'math (cons "Toggle math-mode"
   13.15 -			     '(lambda () (interactive)
   13.16 -				(YaTeX-switch-mode-menu nil ?t)))))
   13.17 +			     (function(lambda () (interactive)
   13.18 +				(YaTeX-switch-mode-menu nil ?t))))))
   13.19  	 (cons 'mod (cons "Toggle Modify Mode"
   13.20 -			  '(lambda () (interactive)
   13.21 -			     (YaTeX-switch-mode-menu nil ?m))))))))
   13.22 +			  (function(lambda () (interactive)
   13.23 +			     (YaTeX-switch-mode-menu nil ?m)))))))))
   13.24  (defvar YaTeX-mode-menu-map-percent (make-sparse-keymap "percent"))
   13.25  (YaTeX-define-menu
   13.26   'YaTeX-mode-menu-map-percent
   13.27 @@ -227,11 +227,12 @@
   13.28  
   13.29  (and (featurep 'xemacs)
   13.30       (add-hook 'yatex-mode-hook
   13.31 -	       '(lambda ()
   13.32 +	       (function
   13.33 +		(lambda ()
   13.34  		  (or (assoc "YaTeX" current-menubar)
   13.35  		      (progn
   13.36  			(set-buffer-menubar (copy-sequence current-menubar))
   13.37 -			(add-submenu nil YaTeX-mode-menu-map))))))
   13.38 +			(add-submenu nil YaTeX-mode-menu-map)))))))
   13.39  
   13.40  ;; Other key bindings for window-system
   13.41  ;(YaTeX-define-key [?\C- ] 'YaTeX-do-completion)
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/yatex23.el	Fri Dec 26 01:06:32 2014 +0900
    14.3 @@ -0,0 +1,99 @@
    14.4 +;;; yatex23.el --- YaTeX facilities for Emacs 23 or later -*- coding: sjis -*-
    14.5 +;;; (c)2014 by HIROSE Yuuji.[yuuji@yatex.org]
    14.6 +;;; Last modified Tue Dec 23 12:44:35 2014 on firestorm
    14.7 +;;; $Id$
    14.8 +
    14.9 +;;; Code:
   14.10 +(defvar YaTeX-dnd-auto-figure "figure"
   14.11 +  "*If set, include dropped \\includegraphcs{} into that environment.
   14.12 +The value should be string.  Set this `nil' to disable enclosing.")
   14.13 +(defvar YaTeX-dnd-auto-figure-package
   14.14 +  (cons "graphicx"
   14.15 +	(cond ((string-match "pdflatex" tex-command) "pdftex")
   14.16 +	      (t "dvipdfmx")))
   14.17 +  "*Default LaTeX package and its option for \\includegraphics")
   14.18 +
   14.19 +(defun YaTeX-dnd-handler (uri action)
   14.20 +  "DnD handler for yatex-mode
   14.21 +Convert local image URI to \\includegraphcis{} and
   14.22 +.tex file names to \\include{}."
   14.23 +  (let*((file (dnd-get-local-file-name uri))
   14.24 +	(path (save-excursion
   14.25 +		(YaTeX-visit-main t)
   14.26 +		(file-relative-name file)))
   14.27 +	(insert-file-directory nil)
   14.28 +	(case-fold-search t)
   14.29 +	(b nil) p1 p2 (cc (current-column)) envstart)
   14.30 +    (cond
   14.31 +     ((memq action '(copy link move private))
   14.32 +      (cond
   14.33 +       ((string-match "\\.\\(jpe?g\\|png\\|gif\\|bmp\\|tiff?\\|e?ps\\|pdf\\)$" path)
   14.34 +	(if (and (stringp YaTeX-dnd-auto-figure)
   14.35 +		 (not (YaTeX-in-environment-p YaTeX-dnd-auto-figure))
   14.36 +		 (not (string-match "figure"
   14.37 +				    (or (YaTeX-inner-environment t) "body")))
   14.38 +		 YaTeX-dnd-auto-figure)
   14.39 +	    (setq b (format "\\begin{%s}[htbp] %%\\centering\n"
   14.40 +			    YaTeX-dnd-auto-figure)))
   14.41 +	(unwind-protect
   14.42 +	    (progn
   14.43 +	      (setq envstart (point-marker))
   14.44 +	      (insert "\\includegraphics")
   14.45 +	      (insert "{" (YaTeX::includegraphics 1 path t) "}")
   14.46 +	      (save-excursion
   14.47 +		(YaTeX-package-auto-usepackage
   14.48 +		 "includegraphics" 'section
   14.49 +		 (car YaTeX-dnd-auto-figure-package)
   14.50 +		 (cdr YaTeX-dnd-auto-figure-package)))
   14.51 +	      (cond
   14.52 +	       (b
   14.53 +		(undo-boundary)
   14.54 +		(save-excursion
   14.55 +		  (goto-char envstart)
   14.56 +		  (insert b))
   14.57 +		(YaTeX-indent-line)
   14.58 +		(insert "\n")
   14.59 +		(indent-to (1+ cc))
   14.60 +		(setq p1 (point))
   14.61 +		(insert "\\caption{")
   14.62 +		(setq p2 (point))
   14.63 +		(insert (format "}\\label{%s}\n" path))
   14.64 +		(indent-to cc)
   14.65 +		(insert (format "\\end{%s}\n" YaTeX-dnd-auto-figure))
   14.66 +		(goto-char p2)
   14.67 +		(undo-boundary)
   14.68 +		(insert (file-name-nondirectory path))
   14.69 +		(undo-boundary)
   14.70 +		(goto-char p1)
   14.71 +		(insert "%")
   14.72 +		(end-of-line)
   14.73 +		(or (get 'YaTeX-dnd-auto-figure 'guide)
   14.74 +		    (progn
   14.75 +		      (newline 1)
   14.76 +		      (indent-to (1+ cc))
   14.77 +		      (insert (format
   14.78 +			       (if YaTeX-japan
   14.79 +				   "%% Undo(%s)するとcaptionが活きます。2度押しで空欄 3度押しで無環境"
   14.80 +				 "%% TYPE undo(%s) to ACTIVATE caption.  Twice to clear caption. 3 to no-env")
   14.81 +			       (key-description
   14.82 +				(car (where-is-internal 'undo)))))
   14.83 +		      (put 'YaTeX-dnd-auto-figure 'guide t)))))
   14.84 +	      (YaTeX-help "includegraphics"))
   14.85 +	  (set-marker envstart nil) ;;sure to reset marker
   14.86 +	  action))
   14.87 +       ((string-match "\\(.*\\)\\.tex$" path)
   14.88 +	(insert "\\include{" (match-string 1 path) "}"))
   14.89 +       ((string-match "\\(.*\\)\\.bib$" path)
   14.90 +	(insert "\\bibliography{" (match-string 1 path) "}"))
   14.91 +       ((string-match "\\.ind$" path)
   14.92 +	(insert "\\input{" path "}"))))
   14.93 +     (t (message "%s" action)))))
   14.94 +
   14.95 +(provide 'yatex23)
   14.96 +
   14.97 +; Local variables:
   14.98 +; fill-prefix: ";;; "
   14.99 +; paragraph-start: "^$\\|\\|;;;$"
  14.100 +; paragraph-separate: "^$\\|\\|;;;$"
  14.101 +; coding: sjis
  14.102 +; End:
    15.1 --- a/yatexadd.el	Mon Apr 01 23:03:34 2013 +0900
    15.2 +++ b/yatexadd.el	Fri Dec 26 01:06:32 2014 +0900
    15.3 @@ -1,7 +1,7 @@
    15.4  ;;; yatexadd.el --- YaTeX add-in functions
    15.5 -;;; yatexadd.el rev.20
    15.6 -;;; (c)1991-2013 by HIROSE Yuuji.[yuuji@yatex.org]
    15.7 -;;; Last modified Mon Apr  1 22:43:00 2013 on firestorm
    15.8 +;;; yatexadd.el rev.21
    15.9 +;;; (c)1991-2014 by HIROSE Yuuji.[yuuji@yatex.org]
   15.10 +;;; Last modified Sat Dec 20 14:55:10 2014 on firestorm
   15.11  ;;; $Id$
   15.12  
   15.13  ;;; Code:
   15.14 @@ -24,7 +24,7 @@
   15.15  YaTeX-make-begin-end."
   15.16    (let ((width "") bars (rule "") (and "") (j 1) loc ans (hline "\\hline"))
   15.17      (if (string= YaTeX-env-name "tabular*")
   15.18 -	(setq width (concat "{" (read-string "Width: ") "}")))
   15.19 +	(setq width (concat "{" (YaTeX:read-length "Width: ") "}")))
   15.20      (setq loc (YaTeX:read-position "tb")
   15.21  	  bars (string-to-int
   15.22  		(read-string "Number of columns(0 for default format): " "3")))
   15.23 @@ -99,6 +99,15 @@
   15.24    (let ((pos (YaTeX:read-oneof oneof)))
   15.25      (if (string= pos "")  "" (concat "[" pos "]"))))
   15.26  
   15.27 +(defun YaTeX:read-length (prompt)
   15.28 +  "Read a LaTeX dimensional parameter with magnifying numerics prepend."
   15.29 +  (let ((minibuffer-local-completion-map YaTeX-minibuffer-completion-map)
   15.30 +	(delim "-0-9*+/.")
   15.31 +	(tbl (append YaTeX:style-parameters-local
   15.32 +		     YaTeX:style-parameters-private
   15.33 +		     YaTeX:style-parameters-default)))
   15.34 +    (YaTeX-completing-read-or-skip prompt tbl nil)))
   15.35 +
   15.36  ;;;
   15.37  ;; Functions for figure environemnt
   15.38  ;;;
   15.39 @@ -160,7 +169,7 @@
   15.40    (if (fboundp 'YaTeX-toggle-math-mode)
   15.41        (YaTeX-toggle-math-mode t)))		;force math-mode ON.
   15.42  
   15.43 -(mapcar '(lambda (f) (fset f 'YaTeX:equation))
   15.44 +(mapcar (function (lambda (f) (fset f 'YaTeX:equation)))
   15.45  	'(YaTeX:eqnarray YaTeX:eqnarray* YaTeX:align YaTeX:align*
   15.46  	  YaTeX:split YaTeX:multline YaTeX:multline* YaTeX:gather YaTeX:gather*
   15.47  	  YaTeX:aligned* YaTeX:gathered YaTeX:gathered*
   15.48 @@ -178,7 +187,7 @@
   15.49  
   15.50  (defun YaTeX:minipage ()
   15.51    (concat (YaTeX:read-position "cbt")
   15.52 -	  "{" (read-string "Width: ") "}"))
   15.53 +	  "{" (YaTeX:read-length "Width: ") "}"))
   15.54  
   15.55  (defun YaTeX:thebibliography ()
   15.56    (setq YaTeX-section-name "bibitem")
   15.57 @@ -187,6 +196,18 @@
   15.58  (defun YaTeX:multicols ()
   15.59    (concat "{" (read-string "Number of columns: ") "}"))
   15.60  
   15.61 +
   15.62 +;; wrapfig.sty
   15.63 +(defun YaTeX:wrapfigure ()
   15.64 +  (YaTeX-help "wrapfigure")
   15.65 +  (concat
   15.66 +   (let ((lines (YaTeX-read-string-or-skip "Wrap Lines(Optional): ")))
   15.67 +     (if (string< "" lines)
   15.68 +	 (concat "[" lines "]")))
   15.69 +   "{" (YaTeX:read-oneof "rlioRLIO" t) "}"
   15.70 +   "{" (YaTeX:read-length "Image width: ") "}"))
   15.71 + 
   15.72 +
   15.73  ;;;
   15.74  ;;Sample functions for section-type command.
   15.75  ;;;
   15.76 @@ -204,7 +225,7 @@
   15.77      (concat (YaTeX:read-coordinates "Dimension")
   15.78  	    (YaTeX:read-position "lsrtb")))
   15.79     (t
   15.80 -    (let ((width (read-string "Width: ")))
   15.81 +    (let ((width (YaTeX:read-length "Width: ")))
   15.82        (if (string< "" width)
   15.83  	  (progn
   15.84  	    (or (equal (aref width 0) ?\[)
   15.85 @@ -221,7 +242,7 @@
   15.86    (YaTeX:read-position "tbc"))
   15.87  (defun YaTeX::parbox (argp)
   15.88    (cond
   15.89 -   ((= argp 1) (read-string "Width: "))
   15.90 +   ((= argp 1) (YaTeX:read-length "Width: "))
   15.91     ((= argp 2) (read-string "Text: "))))
   15.92  
   15.93  (defun YaTeX::dashbox ()
   15.94 @@ -1248,6 +1269,7 @@
   15.95        
   15.96  
   15.97  (fset 'YaTeX::pageref 'YaTeX::ref)
   15.98 +(fset 'YaTeX::cref 'YaTeX::ref)
   15.99  (defun YaTeX::tabref (argp)	    ; For the style file of IPSJ journal
  15.100    (YaTeX::ref
  15.101     argp nil nil
  15.102 @@ -1575,6 +1597,7 @@
  15.103      ("\\tabcolsep")
  15.104      ("\\textheight")
  15.105      ("\\textwidth")
  15.106 +    ("\\columnwidth")
  15.107      ("\\topmargin")
  15.108      ("\\topsep")
  15.109      ("\\topskip")
  15.110 @@ -1708,7 +1731,9 @@
  15.111      (save-excursion
  15.112        (YaTeX-visit-main t)
  15.113        (let*((insert-default-directory)
  15.114 -	    (file (read-file-name (or prompt "Input file: ") "")))
  15.115 +	    (default (and (boundp 'old) (stringp old) old))
  15.116 +	    (file (read-file-name (or prompt "Input file: ") ""
  15.117 +				  default nil default)))
  15.118  	(setq file (substring file 0 (string-match "\\.tex$" file))))))))
  15.119  
  15.120  (fset 'YaTeX::input 'YaTeX::include)
  15.121 @@ -1903,8 +1928,8 @@
  15.122  (defun YaTeX:includegraphics ()
  15.123    "Add-in for \\includegraphics's option"
  15.124    (let (width height (scale "") angle str)
  15.125 -    (setq width (YaTeX-read-string-or-skip "Width: ")
  15.126 -	  height (YaTeX-read-string-or-skip "Height: "))
  15.127 +    (setq width (YaTeX:read-length "Width: ")
  15.128 +	  height (YaTeX:read-length "Height: "))
  15.129      (or (string< "" width) (string< "" height)
  15.130  	(setq scale (YaTeX-read-string-or-skip "Scale: ")))
  15.131      (setq angle (YaTeX-read-string-or-skip "Angle(0-359): "))
  15.132 @@ -1912,28 +1937,49 @@
  15.133  	  (mapconcat
  15.134  	   'concat
  15.135  	   (delq nil
  15.136 -		 (mapcar '(lambda (s)
  15.137 +		 (mapcar (function (lambda (s)
  15.138  			    (and (stringp (symbol-value s))
  15.139  				 (string< "" (symbol-value s))
  15.140 -				 (format "%s=%s" s (symbol-value s))))
  15.141 +				 (format "%s=%s" s (symbol-value s)))))
  15.142  			 '(width height scale angle)))
  15.143  	   ","))
  15.144      (if (string= "" str) ""
  15.145        (concat "[" str "]"))))
  15.146  
  15.147 -(defun YaTeX::includegraphics (argp)
  15.148 +(defun YaTeX::get-boundingbox (file)
  15.149 +  "Return the bound box as a string
  15.150 +This function relies on gs(ghostscript) command installed."
  15.151 +  (let ((str (YaTeX-command-to-string
  15.152 +	      (format "%s -sDEVICE=bbox -dBATCH -dNOPAUSE %s"
  15.153 +		      YaTeX-cmd-gs file))))
  15.154 +    (if (string-match
  15.155 +	 "%%BoundingBox:\\s \\([0-9]+\\s [0-9]+\\s [0-9]+\\s [0-9]+\\)"
  15.156 +	 str)
  15.157 +	(substring str (match-beginning 1) (match-end 1)))))
  15.158 +
  15.159 +(defun YaTeX::includegraphics (argp &optional file doclip)
  15.160    "Add-in for \\includegraphics"
  15.161 -  (let ((imgfile (YaTeX::include argp "Image File: "))
  15.162 +  (let*((imgfile (or file (YaTeX::include argp "Image File: ")))
  15.163 +	(imgfilepath
  15.164 +	 (save-excursion
  15.165 +	   (YaTeX-visit-main t)
  15.166 +	   (expand-file-name imgfile default-directory)))
  15.167  	(case-fold-search t) info bb noupdate needclose c)
  15.168 -    (and (string-match "\\.\\(jpe?g\\|png\\|gif\\|bmp\\)$" imgfile)
  15.169 -	 (file-exists-p imgfile)
  15.170 +    (and (string-match "\\.\\(jpe?g\\|png\\|gif\\|bmp\\|pdf\\)$" imgfile)
  15.171 +	 (file-exists-p imgfilepath)
  15.172  	 (or (fboundp 'yahtml-get-image-info)
  15.173  	     (progn
  15.174  	       (load "yahtml" t) (featurep 'yahtml))) ;(require 'yahtml nil t)
  15.175 -	 (setq info (yahtml-get-image-info imgfile))
  15.176 -	 (car info)			;if has width value
  15.177 -	 (car (cdr info))		;if has height value
  15.178 -	 (setq bb (format "bb=%d %d %d %d" 0 0 (car info) (car (cdr info))))
  15.179 +	 (if (string-match "\\.pdf" imgfile)
  15.180 +	     (and
  15.181 +	      (setq info (YaTeX::get-boundingbox imgfilepath))
  15.182 +	      (stringp info)
  15.183 +	      (string< "" info)
  15.184 +	      (setq bb (format "bb=%s" info)))
  15.185 +	   (setq info (yahtml-get-image-info imgfilepath))
  15.186 +	   (car info)			;if has width value
  15.187 +	   (car (cdr info))		;if has height value
  15.188 +	   (setq bb (format "bb=%d %d %d %d" 0 0 (car info) (car (cdr info)))))
  15.189  	 (save-excursion
  15.190  	   (cond
  15.191  	    ((and (save-excursion
  15.192 @@ -1947,17 +1993,25 @@
  15.193  	     (replace-match bb))
  15.194  	    (noupdate nil)
  15.195  	    ((and (match-beginning 1)
  15.196 -		  (prog2
  15.197 -		      (message "Insert `%s'?  Y)es N)o C)yes+`clip': " bb)
  15.198 -		      (memq (setq c (read-char)) '(?y ?Y ?\  ?c ?C))
  15.199 -		    (message "")))
  15.200 +		  (or doclip
  15.201 +		      (prog2
  15.202 +			  (message "Insert `%s'?  Y)es N)o C)yes+`clip': " bb)
  15.203 +			  (memq (setq c (read-char)) '(?y ?Y ?\  ?c ?C))
  15.204 +			(setq doclip (memq c '(?c ?C)))
  15.205 +			(message ""))))
  15.206  	     (goto-char (match-end 0))
  15.207 -	     (message "")
  15.208 +	     (message "`bb=' %s"
  15.209 +		      (format
  15.210 +		       (if YaTeX-japan
  15.211 +			   "の値はファイル名の上で `%s' を押してファイル名を再入力して更新できます。"
  15.212 +			 "values can be update by typing `%s' on file name.")
  15.213 +		       (key-description
  15.214 +			(car (where-is-internal 'YaTeX-change-*)))))
  15.215  	     (if (looking-at "\\[") (forward-char 1)
  15.216  	       (insert-before-markers "[")
  15.217  	       (setq needclose t))
  15.218  	     (insert-before-markers bb)
  15.219 -	     (if (memq c '(?c ?C)) (insert-before-markers ",clip"))
  15.220 +	     (if doclip (insert-before-markers ",clip"))
  15.221  	     (if needclose (insert-before-markers "]")
  15.222  	       (or (looking-at "\\]") (insert-before-markers ","))))
  15.223  	    (t (YaTeX-push-to-kill-ring bb)))))
  15.224 @@ -1977,9 +2031,9 @@
  15.225    '(("version") ("plext") ("url") ("fancybox") ("pifont") ("longtable")
  15.226      ("ascmac") ("bm") ("graphics") ("graphicx") ("alltt") ("misc") ("eclbkbox")
  15.227      ("amsmath") ("amssymb") ("xymtex") ("chemist")
  15.228 -    ("a4j") ("array") ("epsf") ("color") ("epsfig") ("floatfig")
  15.229 +    ("a4j") ("array") ("epsf") ("color") ("xcolor") ("epsfig") ("floatfig")
  15.230      ("landscape") ("path") ("supertabular") ("twocolumn")
  15.231 -    ("latexsym") ("times") ("makeidx"))
  15.232 +    ("latexsym") ("times") ("makeidx") ("geometry") ("type1cm"))
  15.233    "Default completion table for arguments of \\usepackage")
  15.234  
  15.235  (defvar YaTeX::usepackage-alist-private nil
  15.236 @@ -2015,9 +2069,9 @@
  15.237  (defun YaTeX::maskbox (argp)
  15.238    (cond
  15.239     ((equal argp 1)
  15.240 -    (read-string "Width: "))
  15.241 +    (YaTeX:read-length "Width: "))
  15.242     ((equal argp 2)
  15.243 -    (read-string "Height: "))
  15.244 +    (YaTeX:read-length "Height: "))
  15.245     ((equal argp 3)
  15.246      (let (c)
  15.247        (while (not (memq c '(?A ?B ?C ?D ?E ?F ?G ?H ?I ?J ?K)))
    16.1 --- a/yatexenv.el	Mon Apr 01 23:03:34 2013 +0900
    16.2 +++ b/yatexenv.el	Fri Dec 26 01:06:32 2014 +0900
    16.3 @@ -1,6 +1,6 @@
    16.4  ;;; yatexenv.el --- YaTeX environment-specific functions
    16.5  ;;; (c) 1994-2013 by HIROSE Yuuji.[yuuji@yatex.org]
    16.6 -;;; Last modified Mon Apr  1 22:43:10 2013 on firestorm
    16.7 +;;; Last modified Mon Dec 22 12:49:03 2014 on firestorm
    16.8  ;;; $Id$
    16.9  
   16.10  ;;; Code:
   16.11 @@ -12,24 +12,27 @@
   16.12  (defun YaTeX-array-what-column-internal ()
   16.13    "Return the cons of matching column and its title of array environment.
   16.14  When calling from a program, make sure to be in array/tabular environment."
   16.15 -  (let ((p (point)) beg eot bor (nlptn "\\\\\\\\") (andptn "[^\\]&")
   16.16 +  (let ((p (point)) bot beg eot bor eoll (nlptn "\\\\\\\\") (andptn "[^\\]&")
   16.17  	(n 0) j
   16.18  	(firsterr "This line might be the first row."))
   16.19      (save-excursion
   16.20        (YaTeX-beginning-of-environment)
   16.21 +      (setq eoll (save-excursion	;end of logical line
   16.22 +		   (YaTeX-goto-corresponding-environment) (point)))
   16.23        (search-forward "{" p) (up-list 1)
   16.24        (search-forward "{" p) (up-list 1)
   16.25        ;;(re-search-forward andptn p)
   16.26 -      (while (progn (search-forward "&" p)
   16.27 +      (setq bot (point))		;beginning of tabular
   16.28 +      (while (progn (search-forward "&" eoll)
   16.29  		    (equal (char-after (1- (match-beginning 0))) ?\\ )))
   16.30        (setq beg (1- (point)))		;beg is the point of the first &
   16.31 -      (or (re-search-forward nlptn p t)
   16.32 +      (or (re-search-forward nlptn eoll t)
   16.33  	  (error firsterr))
   16.34        (setq eot (point))		;eot is the point of the first \\
   16.35        (goto-char p)
   16.36 -      (or (re-search-backward nlptn beg t)
   16.37 -	  (error firsterr))
   16.38 -      (setq bor (point))		;bor is the beginning of this row.
   16.39 +      (setq bor (if (re-search-backward nlptn bot 1)
   16.40 +		     (point)		;bor is the beginning of this row.
   16.41 +		  bot))
   16.42        (while (< (1- (point)) p)
   16.43  	(if (equal (following-char) ?&)
   16.44  	    (forward-char 1)
   16.45 @@ -54,8 +57,8 @@
   16.46  	(setq j (1- j)))
   16.47        (skip-chars-forward "\\s ")
   16.48        (list n
   16.49 -	    (buffer-substring
   16.50 -	     (point)
   16.51 +	    (YaTeX-buffer-substring
   16.52 +	     (progn (skip-chars-forward "\n \t") (point))
   16.53  	     (progn
   16.54  	       (re-search-forward (concat andptn "\\|" nlptn) eot)
   16.55  	       (goto-char (match-beginning 0))
   16.56 @@ -170,6 +173,7 @@
   16.57  
   16.58  (fset 'YaTeX-intelligent-newline-array 'YaTeX-intelligent-newline-tabular)
   16.59  (fset 'YaTeX-intelligent-newline-supertabular 'YaTeX-intelligent-newline-tabular)
   16.60 +(fset 'YaTeX-intelligent-newline-longtable 'YaTeX-intelligent-newline-tabular)
   16.61  
   16.62  (defun YaTeX-intelligent-newline-align ()
   16.63    "Intelligent newline function for align.
   16.64 @@ -197,10 +201,11 @@
   16.65      (YaTeX-indent-line)))
   16.66  
   16.67  (mapcar
   16.68 - '(lambda (s)
   16.69 + (function
   16.70 +  (lambda (s)
   16.71      (fset (intern (concat  "YaTeX-intelligent-newline-"
   16.72  			   (symbol-name s)))
   16.73 -	  'YaTeX-intelligent-newline-align))
   16.74 +	  'YaTeX-intelligent-newline-align)))
   16.75   '(align* flalign  flalign* matrix pmatrix bmatrix Bmatrix vmatrix Vmatrix
   16.76     cases eqnarray eqnarray* alignat alignat*))
   16.77  
    17.1 --- a/yatexgen.el	Mon Apr 01 23:03:34 2013 +0900
    17.2 +++ b/yatexgen.el	Fri Dec 26 01:06:32 2014 +0900
    17.3 @@ -1,7 +1,7 @@
    17.4  ;;; yatexgen.el --- YaTeX add-in function generator(rev.5)
    17.5  
    17.6  ;;; (c)1991-1995,1999,2000 by HIROSE Yuuji.[yuuji@yatex.org]
    17.7 -;;; Last modified Sat Sep  1 08:10:36 2012 on firestorm
    17.8 +;;; Last modified Sun Dec 21 14:04:49 2014 on firestorm
    17.9  ;;; $Id$
   17.10  
   17.11  ;;; Code:
   17.12 @@ -244,7 +244,8 @@
   17.13  	func-name (string ""))
   17.14      ;;Phase 1. extract argument from add-in string.
   17.15      (mapcar
   17.16 -     '(lambda (arg)
   17.17 +     (function
   17.18 +      (lambda (arg)
   17.19  	(let ((index 0) (match 0) beg end (carg (car arg)))
   17.20  	  (YaTeX-generate-display-message
   17.21  	   YaTeX-generate-read-prompt-message)
   17.22 @@ -265,7 +266,7 @@
   17.23  	       ((YaTeX-generate-ask-match-position)
   17.24  		(YaTeX-generate-register-match))))
   17.25  	    (setq index end))
   17.26 -	  (setq i (1+ i))))
   17.27 +	  (setq i (1+ i)))))
   17.28       args)
   17.29      ;;Phase 2. Generate function!!
   17.30      (setq i 0)
   17.31 @@ -287,10 +288,11 @@
   17.32       "(defun " func-name " ()\n"
   17.33       "  (let (")
   17.34      (mapcar
   17.35 -     '(lambda (arg)
   17.36 +     (function
   17.37 +      (lambda (arg)
   17.38  	(insert (format "(arg%d (read-string \"%s: \"))\n"
   17.39  			i (aref prompt (1- i))))
   17.40 -	(setq i (1+ i)))
   17.41 +	(setq i (1+ i))))
   17.42       args)
   17.43      (delete-region (point) (progn (forward-line -1) (end-of-line) (point)))
   17.44      (insert ")\n(concat " (YaTeX-generate-lisp-quote string)
    18.1 --- a/yatexhie.el	Mon Apr 01 23:03:34 2013 +0900
    18.2 +++ b/yatexhie.el	Fri Dec 26 01:06:32 2014 +0900
    18.3 @@ -1,7 +1,7 @@
    18.4  ;;; yatexhie.el --- YaTeX hierarchy browser
    18.5  ;;; 
    18.6  ;;; (c)1995-2013 by HIROSE Yuuji [yuuji@yatex.org]
    18.7 -;;; Last modified Mon Apr  1 22:43:34 2013 on firestorm
    18.8 +;;; Last modified Sun Dec 21 14:05:20 2014 on firestorm
    18.9  ;;; $Id$
   18.10  
   18.11  ;;; Code:
   18.12 @@ -75,8 +75,9 @@
   18.13  			(YaTeX-get-builtin "!")
   18.14  			(setq YaTeX-parent-file parent))))
   18.15  	      (cons (buffer-file-name (current-buffer))
   18.16 -		    (mapcar '(lambda (f) 	;return value
   18.17 -			       (YaTeX-document-hierarchy f basedir))
   18.18 +		    (mapcar (function 		;return value
   18.19 +			     (lambda (f)
   18.20 +			       (YaTeX-document-hierarchy f basedir)))
   18.21  			    (YaTeX-all-included-files))))))
   18.22      (message "Parsing [%s]...done" (file-name-nondirectory file))))
   18.23  
    19.1 --- a/yatexhks.el	Mon Apr 01 23:03:34 2013 +0900
    19.2 +++ b/yatexhks.el	Fri Dec 26 01:06:32 2014 +0900
    19.3 @@ -13,41 +13,56 @@
    19.4  ;;97/1/27
    19.5  (define-key YaTeX-user-extensional-map "v" 'YaTeX-section-overview)
    19.6  ;;initial version
    19.7 -(define-key YaTeX-user-extensional-map "0"
    19.8 -  '(lambda () (interactive) (YaTeX-make-section nil nil nil "part")))
    19.9 -(define-key YaTeX-user-extensional-map "1"
   19.10 -  '(lambda () (interactive) (YaTeX-make-section nil nil nil "chapter")))
   19.11 -(define-key YaTeX-user-extensional-map "2"
   19.12 -  '(lambda () (interactive) (YaTeX-make-section nil nil nil "section")))
   19.13 -(define-key YaTeX-user-extensional-map "3"
   19.14 -  '(lambda () (interactive) (YaTeX-make-section nil nil nil "subsection")))
   19.15 -(define-key YaTeX-user-extensional-map "4"
   19.16 -  '(lambda () (interactive) (YaTeX-make-section nil nil nil "subsubsection")))
   19.17 -(define-key YaTeX-user-extensional-map "5"
   19.18 -  '(lambda () (interactive) (YaTeX-make-section nil nil nil "paragraph")))
   19.19 -(define-key YaTeX-user-extensional-map "6"
   19.20 -  '(lambda () (interactive) (YaTeX-make-section nil nil nil "subparagraph")))
   19.21 -(define-key YaTeX-user-extensional-map "r"
   19.22 -  '(lambda () (interactive) (YaTeX-make-section nil nil nil "ref")))
   19.23 -(define-key YaTeX-user-extensional-map "i"
   19.24 -  '(lambda () (interactive) (YaTeX-make-singlecmd "item")))
   19.25 -(define-key YaTeX-user-extensional-map "\C-b"
   19.26 -  '(lambda () (interactive) (YaTeX-make-singlecmd "leftarrow")))
   19.27 -(define-key YaTeX-user-extensional-map "l"
   19.28 -  '(lambda () (interactive) (YaTeX-make-section nil nil nil "label")))
   19.29 -(define-key YaTeX-user-extensional-map "f"
   19.30 -  '(lambda () (interactive) (YaTeX-make-section nil nil nil "frac")))
   19.31 -(define-key YaTeX-user-extensional-map "S"
   19.32 -  '(lambda () (interactive) (YaTeX-make-section nil nil nil "setlength")))
   19.33 -(define-key YaTeX-user-extensional-map "b"
   19.34 -  '(lambda () (interactive) (YaTeX-make-fontsize nil "bf")))
   19.35 -(define-key YaTeX-user-extensional-map "I" 'YaTeX-browse-info)
   19.36 +(let ((map YaTeX-user-extensional-map))
   19.37 +  (define-key map "0"
   19.38 +    (function (lambda () (interactive)
   19.39 +		(YaTeX-make-section nil nil nil "part"))))
   19.40 +  (define-key map "1"
   19.41 +    (function (lambda () (interactive)
   19.42 +		(YaTeX-make-section nil nil nil "chapter"))))
   19.43 +  (define-key map "2"
   19.44 +    (function (lambda () (interactive)
   19.45 +		(YaTeX-make-section nil nil nil "section"))))
   19.46 +  (define-key map "3"
   19.47 +    (function (lambda () (interactive)
   19.48 +		(YaTeX-make-section nil nil nil "subsection"))))
   19.49 +  (define-key map "4"
   19.50 +    (function (lambda () (interactive)
   19.51 +		(YaTeX-make-section nil nil nil "subsubsection"))))
   19.52 +  (define-key map "5"
   19.53 +    (function (lambda () (interactive)
   19.54 +		(YaTeX-make-section nil nil nil "paragraph"))))
   19.55 +  (define-key map "6"
   19.56 +    (function (lambda () (interactive)
   19.57 +		(YaTeX-make-section nil nil nil "subparagraph"))))
   19.58 +  (define-key map "r"
   19.59 +    (function (lambda () (interactive)
   19.60 +		(YaTeX-make-section nil nil nil "ref"))))
   19.61 +  (define-key map "i"
   19.62 +    (function (lambda () (interactive)
   19.63 +		(YaTeX-make-singlecmd "item"))))
   19.64 +  (define-key map "\C-b"
   19.65 +    (function (lambda () (interactive)
   19.66 +		(YaTeX-make-singlecmd "leftarrow"))))
   19.67 +  (define-key map "l"
   19.68 +    (function (lambda () (interactive)
   19.69 +		(YaTeX-make-section nil nil nil "label"))))
   19.70 +  (define-key map "f"
   19.71 +    (function (lambda () (interactive)
   19.72 +		(YaTeX-make-section nil nil nil "frac"))))
   19.73 +  (define-key map "S"
   19.74 +    (function (lambda () (interactive)
   19.75 +		(YaTeX-make-section nil nil nil "setlength"))))
   19.76 +  (define-key map "b"
   19.77 +    (function (lambda () (interactive)
   19.78 +		(YaTeX-make-fontsize nil "bf"))))
   19.79 +  (define-key map "I" 'YaTeX-browse-info))
   19.80  
   19.81  (defun YaTeX-browse-info ()
   19.82 -  "Browse YaTeX's info"
   19.83 -  (interactive)
   19.84 -  (require 'info)
   19.85 -  (Info-goto-node (if YaTeX-japan "(yatexj)Top" "(yatexe)Top")))
   19.86 + "Browse YaTeX's info"
   19.87 + (interactive)
   19.88 + (require 'info)
   19.89 + (Info-goto-node (if YaTeX-japan "(yatexj)Top" "(yatexe)Top")))
   19.90  
   19.91  
   19.92  ;
    20.1 --- a/yatexhlp.el	Mon Apr 01 23:03:34 2013 +0900
    20.2 +++ b/yatexhlp.el	Fri Dec 26 01:06:32 2014 +0900
    20.3 @@ -1,7 +1,7 @@
    20.4  ;;; yatexhlp.el --- YaTeX helper with LaTeX commands and macros
    20.5  ;;; 
    20.6 -;;; (c)1994,1998,2004 by HIROSE Yuuji.[yuuji@yatex.org]
    20.7 -;;; Last modified Sat Sep  1 08:11:14 2012 on firestorm
    20.8 +;;; (c)1994,1998,2004,2014 by HIROSE Yuuji.[yuuji@yatex.org]
    20.9 +;;; Last modified Sun Dec 21 22:55:07 2014 on firestorm
   20.10  ;;; $Id$
   20.11  
   20.12  ;;; Code:
   20.13 @@ -45,8 +45,8 @@
   20.14    (setq YaTeX-help-mode-map (make-sparse-keymap))
   20.15    (let ((map YaTeX-help-mode-map))
   20.16      (suppress-keymap map)
   20.17 -    (define-key map "j" '(lambda () (interactive) (scroll-up 1)))
   20.18 -    (define-key map "k" '(lambda () (interactive) (scroll-up -1)))
   20.19 +    (define-key map "j" (function (lambda () (interactive) (scroll-up 1))))
   20.20 +    (define-key map "k" (function (lambda () (interactive) (scroll-up -1))))
   20.21      (define-key map "n" 'next-line)
   20.22      (define-key map "p" 'previous-line)
   20.23      (define-key map " " 'scroll-up)
   20.24 @@ -159,7 +159,7 @@
   20.25  		  (concat "^" (regexp-quote YaTeX-help-delimiter)) nil 1)
   20.26  		 (- (point) (length YaTeX-help-delimiter))))
   20.27        (YaTeX-showup-buffer
   20.28 -       hbuf (function (lambda (x) (nth 3 (window-edges x)))) t)
   20.29 +       hbuf 'YaTeX-showup-buffer-bottom-most t)
   20.30        (set-buffer hbuf)
   20.31        (setq buffer-read-only nil)
   20.32        (if append (goto-char (point-max)) (erase-buffer))
   20.33 @@ -226,7 +226,7 @@
   20.34    (let ((buf (get-buffer-create "**Description**"))
   20.35  	(conf (current-window-configuration)))
   20.36      (YaTeX-showup-buffer
   20.37 -     buf (function (lambda (x) (nth 3 (window-edges x)))) t)
   20.38 +     buf 'YaTeX-showup-buffer-bottom-most t)
   20.39      (make-local-variable 'YaTeX-help-file-current)
   20.40      (make-local-variable 'YaTeX-help-command-current)
   20.41      (make-local-variable 'YaTeX-help-saved-config)
   20.42 @@ -266,8 +266,7 @@
   20.43  	(sw (selected-window))
   20.44  	(head (concat "^" (regexp-quote YaTeX-help-delimiter)))
   20.45  	pt command)
   20.46 -    (YaTeX-showup-buffer
   20.47 -     ab (function (lambda (x) (nth 3 (window-edges x)))))
   20.48 +    (YaTeX-showup-buffer ab 'YaTeX-showup-buffer-bottom-most)
   20.49      (select-window (get-buffer-window ab))
   20.50      (set-buffer ab)			;assertion
   20.51      (setq buffer-read-only nil)
   20.52 @@ -302,8 +301,9 @@
   20.53        (message "No matches found.")))
   20.54  
   20.55  ;;;###autoload
   20.56 -(defun YaTeX-help ()
   20.57 -  "Show help buffer of LaTeX/TeX commands or macros."
   20.58 +(defun YaTeX-help (&optional macro)
   20.59 +  "Show help buffer of LaTeX/TeX commands or macros.
   20.60 +Optional argument MACRO, if supplied, is directly selected to keyword."
   20.61    (interactive)
   20.62    (let (p beg end command)
   20.63      (save-excursion
   20.64 @@ -311,6 +311,7 @@
   20.65  	  (goto-char (match-end 0)))
   20.66        (setq p (point))			;remember current position.
   20.67        (cond
   20.68 +       (macro nil)
   20.69         ((YaTeX-on-begin-end-p)
   20.70  	;;if on \begin or \end, extract its environment.
   20.71  	(setq command
   20.72 @@ -331,10 +332,11 @@
   20.73  	    (search-forward "}" (point-end-of-line))
   20.74  	    (setq command (buffer-substring beg (match-beginning 0)))))
   20.75        (setq command
   20.76 -	    (completing-read
   20.77 -	     "Describe (La)TeX command: "
   20.78 -	     YaTeX-help-entries nil nil command))
   20.79 -      );end excursion
   20.80 +	    (or macro
   20.81 +		(completing-read
   20.82 +		 "Describe (La)TeX command: "
   20.83 +		 YaTeX-help-entries nil nil command))));end excursion
   20.84 +
   20.85      (setq YaTeX-help-saved-config (current-window-configuration))
   20.86      (or (YaTeX-refer-help command YaTeX-help-file)
   20.87  	(YaTeX-refer-help command YaTeX-help-file-private)
    21.1 --- a/yatexlib.el	Mon Apr 01 23:03:34 2013 +0900
    21.2 +++ b/yatexlib.el	Fri Dec 26 01:06:32 2014 +0900
    21.3 @@ -1,7 +1,7 @@
    21.4  ;;; yatexlib.el --- YaTeX and yahtml common libraries
    21.5  ;;; 
    21.6  ;;; (c)1994-2013 by HIROSE Yuuji.[yuuji@yatex.org]
    21.7 -;;; Last modified Mon Apr  1 22:44:06 2013 on firestorm
    21.8 +;;; Last modified Sun Dec 21 23:55:30 2014 on firestorm
    21.9  ;;; $Id$
   21.10  
   21.11  ;;; Code:
   21.12 @@ -287,8 +287,8 @@
   21.13        (delete-region (point) (progn (forward-sexp) (point)))
   21.14        (delete-blank-lines)
   21.15        (insert "(setq " name " '(\n")
   21.16 -      (mapcar '(lambda (s)
   21.17 -		 (insert (format "%s\n" (prin1-to-string s))))
   21.18 +      (mapcar (function (lambda (s)
   21.19 +			  (insert (format "%s\n" (prin1-to-string s)))))
   21.20  	      value)
   21.21        (insert "))\n\n")
   21.22        (delete-blank-lines)
   21.23 @@ -481,7 +481,7 @@
   21.24  (defun point-end-of-line ()
   21.25    (save-excursion (end-of-line)(point)))
   21.26  
   21.27 -
   21.28 +(defun YaTeX-showup-buffer-bottom-most (x) (nth 3 (window-edges x)))
   21.29  ;;;###autoload
   21.30  (defun YaTeX-showup-buffer (buffer &optional func select)
   21.31    "Make BUFFER show up in certain window (but current window)
   21.32 @@ -514,6 +514,9 @@
   21.33  	  ;(other-window 1);This does not work properly on Emacs-19
   21.34  	  (select-window (get-lru-window))
   21.35  	  (switch-to-buffer buffer)
   21.36 +	  (if (< (window-height) (/ YaTeX-default-pop-window-height 2))
   21.37 +	      (enlarge-window (- YaTeX-default-pop-window-height
   21.38 +				 (window-height))))
   21.39  	  (or select (select-window window)))
   21.40  	 (t				;if one-window
   21.41  	  (cond
   21.42 @@ -780,6 +783,25 @@
   21.43  		     (throw 'found (car l)))
   21.44  		 (setq l (cdr l)))))))))
   21.45  
   21.46 +(defun YaTeX-set-file-coding-system (code coding)
   21.47 +  "Set current buffer's coding system according to symbol."
   21.48 +  (cond ((null code)
   21.49 +	 nil)
   21.50 +	((boundp 'MULE)
   21.51 +	 (set-file-coding-system  coding))
   21.52 +	((and YaTeX-emacs-20 (boundp 'buffer-file-coding-system))
   21.53 +	 (setq buffer-file-coding-system
   21.54 +	       (or (and (fboundp 'set-auto-coding) buffer-file-name
   21.55 +			(save-excursion
   21.56 +			  (goto-char (point-min))
   21.57 +			  (set-auto-coding buffer-file-name (buffer-size))))
   21.58 +		   coding)))
   21.59 +	((featurep 'mule)
   21.60 +	 (set-file-coding-system coding))
   21.61 +	((boundp 'NEMACS)
   21.62 +	 (make-local-variable 'kanji-fileio-code)
   21.63 +	 (setq kanji-fileio-code code))))
   21.64 +
   21.65  (defun YaTeX-insert-file-contents (file visit &optional beg end)
   21.66    (cond
   21.67     ((and (string< "19" emacs-version) (not (featurep 'xemacs)))
   21.68 @@ -844,9 +866,9 @@
   21.69  (fset 'YaTeX-last-key
   21.70        (if (fboundp 'win:last-key)
   21.71  	  'win:last-key
   21.72 -	'(lambda () (if (boundp 'last-command-char)
   21.73 -			last-command-char
   21.74 -		      last-command-event))))
   21.75 +	(function (lambda () (if (boundp 'last-command-char)
   21.76 +				 last-command-char
   21.77 +			       last-command-event)))))
   21.78  (defun YaTeX-switch-to-window ()
   21.79    "Switch to windows.el's window decided by last pressed key."
   21.80    (interactive)
   21.81 @@ -1464,9 +1486,10 @@
   21.82  		    (face-font 'bold)
   21.83  		    "giveup!"))
   21.84  	    sz medium-i bold-r)
   21.85 -	(string-match
   21.86 -	 "^-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-\\(\\([0-9]+\\)\\)" df)
   21.87 -	(setq sz (or (match-string 1 df) "16"))
   21.88 +	(if (string-match
   21.89 +	     "^-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-[^-]*-\\(\\([0-9]+\\)\\)" df)
   21.90 +	    (setq sz (or (match-string 1 df) "16"))
   21.91 +	  (setq sz "16"))
   21.92  	(setq medium-i (format "-medium-i-[^-]+--%s" sz)
   21.93  	      bold-r (format "-bold-r-[^-]+--%s" sz))
   21.94  	(while flist
    22.1 --- a/yatexm-o.el	Mon Apr 01 23:03:34 2013 +0900
    22.2 +++ b/yatexm-o.el	Fri Dec 26 01:06:32 2014 +0900
    22.3 @@ -1,7 +1,7 @@
    22.4  ;;; yatexm-o.el --- Sample to invoke yatex-mode with outline-minor mode
    22.5  
    22.6  ;;; (c)1993 by HIROSE Yuuji [yuuji@yatex.org]
    22.7 -;;; Last modified Sat Sep  1 08:12:40 2012 on firestorm
    22.8 +;;; Last modified Sun Dec 21 14:15:47 2014 on firestorm
    22.9  
   22.10  ;;; Code:
   22.11  ;;;
   22.12 @@ -26,12 +26,14 @@
   22.13  (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
   22.14  ;;↓min-outを使用しない場合、;;@ の行は不要です。
   22.15  (defvar yatex-mode-hook
   22.16 -  '(lambda ()
   22.17 +  (function
   22.18 +   (lambda ()
   22.19       (setq outline-regexp LaTeX-outline-regexp)			    ;;@
   22.20       (outline-minor-mode 1)					    ;;@
   22.21 -     ))
   22.22 +     )))
   22.23  (defvar yatex-mode-load-hook
   22.24 -  '(lambda ()
   22.25 +  (function
   22.26 +   (lambda ()
   22.27       (setq-default outline-prefix-char (concat YaTeX-prefix "\C-o"));;@
   22.28       (require 'min-out)						    ;;@
   22.29       ;;auctex 付属の min-out.el の場合これ↓
   22.30 @@ -39,4 +41,4 @@
   22.31       ;;Emacs 付属の outline.el の場合これ↓
   22.32       (define-key outline-mode-prefix-map "\C-?" 'hide-subtree)
   22.33       (YaTeX-define-begend-key "ba" "abstract")
   22.34 -     ))
   22.35 +     )))
    23.1 --- a/yatexmth.el	Mon Apr 01 23:03:34 2013 +0900
    23.2 +++ b/yatexmth.el	Fri Dec 26 01:06:32 2014 +0900
    23.3 @@ -1,7 +1,7 @@
    23.4  ;;; yatexmth.el --- YaTeX math-mode-specific functions
    23.5  ;;; 
    23.6  ;;; (c)1993-2013 by HIROSE Yuuji [yuuji@yatex.org]
    23.7 -;;; Last modified Mon Apr  1 22:44:22 2013 on firestorm
    23.8 +;;; Last modified Fri Jul  5 23:28:28 2013 on firestorm
    23.9  ;;; $Id$
   23.10  
   23.11  ;;; Commentary:
   23.12 @@ -310,6 +310,8 @@
   23.13     ("[]"	"Box"		"[]")
   23.14     ("no"	"notag"		"\\notag")
   23.15     (":"		"colon"		":")
   23.16 +   (".'."	"therefore"	(".'." "∴"))
   23.17 +   ("'.'"	"because"	("'.'" "∵"))
   23.18     ("Diamond"	"Diamond"	"/\\\n\\/")
   23.19     ("3"		"triangle"	"/\\\n~~")
   23.20     ("C"		"clubsuit"	" o\no+o\n |")
    24.1 --- a/yatexpkg.el	Mon Apr 01 23:03:34 2013 +0900
    24.2 +++ b/yatexpkg.el	Fri Dec 26 01:06:32 2014 +0900
    24.3 @@ -1,7 +1,7 @@
    24.4  ;;; yatexpkg.el --- YaTeX package manager
    24.5  ;;; 
    24.6 -;;; (c)2003-2013 by HIROSE, Yuuji [yuuji@yatex.org]
    24.7 -;;; Last modified Mon Apr  1 22:44:31 2013 on firestorm
    24.8 +;;; (c)2003-2014 by HIROSE, Yuuji [yuuji@yatex.org]
    24.9 +;;; Last modified Mon Dec 22 11:12:19 2014 on firestorm
   24.10  ;;; $Id$
   24.11  
   24.12  ;;; Code:
   24.13 @@ -32,16 +32,25 @@
   24.14      ("amsmath"	(env . YaTeX-package-ams-envs)
   24.15       		(section "tag" "tag*"))
   24.16      ("amssymb"	(maketitle "leqq" "geqq" "mathbb" "mathfrak"
   24.17 -			   "fallingdotseq"
   24.18 +			   "fallingdotseq" "therefore" "because"
   24.19  			   "lll" "ggg")) ;very few.  Please tell us!
   24.20      ("graphicx" (section "includegraphics"
   24.21  			 "rotatebox" "scalebox" "resizebox" "reflectbox")
   24.22       		(option . YaTeX-package-graphics-driver-alist))
   24.23      ("color"	(section "textcolor" "colorbox" "pagecolor" "color")
   24.24 -     		(option . YaTeX-package-graphics-driver-alist))
   24.25 +     		(option . YaTeX-package-graphics-driver-alist)
   24.26 +		(default-option . "usenames,dvipsnames"))
   24.27 +    ("xcolor"	(same-as . "color"))
   24.28      ("ulem"	(section "uline" "uuline" "uwave")
   24.29  		(option ("normalem")))
   24.30 -    ("multicol"	(env "multicols")))
   24.31 +    ("multicol"	(env "multicols"))
   24.32 +    ("cref"	(section "cleveref"))
   24.33 +    ("crefrange"	(same-as . "cref"))
   24.34 +    ("cpageref"		(same-as . "cref"))
   24.35 +    ("labelcref"	(same-as . "cref"))
   24.36 +    ("labelcpageref"	(same-as . "cref"))
   24.37 +    ("wrapfig"	(env "wrapfigure" "wraptable"))
   24.38 +    )
   24.39    "Default package vs. macro list.
   24.40  Alists contains '(PACKAGENAME . MACROLIST)
   24.41  PACKAGENAME     Basename of package(String).
   24.42 @@ -55,7 +64,8 @@
   24.43  An good example is the value of YaTeX-package-alist-default.")
   24.44  
   24.45  (defvar YaTeX-package-graphics-driver-alist
   24.46 -  '(("dvips") ("xdvi") ("dvipdf") ("pdftex") ("dvipsone") ("dviwindo")
   24.47 +  '(("dvips") ("dvipsnames") ("usenames")
   24.48 +    ("xdvi") ("dvipdfmx") ("pdftex") ("dvipsone") ("dviwindo")
   24.49      ("emtex") ("dviwin") ("oztex") ("textures") ("pctexps") ("pctexwin")
   24.50      ("pctexhp") ("pctex32") ("truetex") ("tcidvi") ("vtex"))
   24.51    "Drivers alist of graphics/color stylefile's supporting deveces.
   24.52 @@ -72,11 +82,14 @@
   24.53  Optional second argument TYPE limits the macro type.
   24.54  TYPE is a symbol, one of 'env, 'section, 'maketitle."
   24.55    (let ((list (append YaTeX-package-alist-private YaTeX-package-alist-default))
   24.56 -	element x val pkg pkglist r)
   24.57 +	origlist element x sameas val pkg pkglist r)
   24.58 +    (setq origlist list)
   24.59      (while list
   24.60        (setq element (car list)
   24.61  	    pkg (car element)
   24.62  	    element (cdr element))
   24.63 +      (if (setq sameas (assq 'same-as element)) ;non-recursive retrieval
   24.64 +	  (setq element (cdr (assoc (cdr sameas) origlist))))
   24.65        (if (setq r (catch 'found
   24.66  		    (while element
   24.67  		      (setq x (car element)
   24.68 @@ -91,20 +104,26 @@
   24.69        (setq list (cdr list)))
   24.70      pkglist))
   24.71  
   24.72 -(defun YaTeX-package-option-lookup (pkg)
   24.73 +(defun YaTeX-package-option-lookup (pkg &optional key)
   24.74    "Look up options for specified pkg and returne them in alist form.
   24.75 -Just only accocing against the alist of YaTeX-package-alist-*"
   24.76 -  (let ((l (cdr (assq 'option
   24.77 -		      (assoc pkg (append YaTeX-package-alist-private
   24.78 -					 YaTeX-package-alist-default))))))
   24.79 -    (if (symbolp l) (symbol-value l) l)))
   24.80 +Just only associng against the alist of YaTeX-package-alist-*"
   24.81 +  (let*((list (append YaTeX-package-alist-private YaTeX-package-alist-default))
   24.82 +	(l (cdr (assq (or key 'option) (assoc pkg list))))
   24.83 +	(recur (cdr (assq 'same-as (assoc pkg list)))))
   24.84 +    (cond
   24.85 +     (recur (YaTeX-package-option-lookup recur key))
   24.86 +     ((symbolp l) (symbol-value l))
   24.87 +     (t l))))
   24.88  
   24.89  (defvar YaTeX-package-resolved-list nil
   24.90    "List of macros whose package is confirmed to be loaded.")
   24.91  
   24.92 -(defun YaTeX-package-auto-usepackage (macro type)
   24.93 +(defun YaTeX-package-auto-usepackage (macro type &optional autopkg autoopt)
   24.94    "(Semi)Automatically add the \\usepackage line to main-file.
   24.95 -Search the usepackage for MACRO of the TYPE."
   24.96 +Search the usepackage for MACRO of the TYPE.
   24.97 +Optional second and third argument AUTOPKG, AUTOOPT are selected
   24.98 +without query.  Thus those two argument (Full)automatically add
   24.99 +a \\usepackage line."
  24.100    (let ((cb (current-buffer))
  24.101  	(wc (current-window-configuration))
  24.102  	(usepackage (concat YaTeX-ec "usepackage"))
  24.103 @@ -112,9 +131,10 @@
  24.104  	(usepkgrx (concat
  24.105  		   YaTeX-ec-regexp
  24.106  		   "\\(usepackage\\|include\\)\\b"))
  24.107 -	(register '(lambda () (set-buffer cb)
  24.108 +	(register (function
  24.109 +		   (lambda () (set-buffer cb)
  24.110  		     (set (make-local-variable 'YaTeX-package-resolved-list)
  24.111 -			  (cons macro YaTeX-package-resolved-list))))
  24.112 +			  (cons macro YaTeX-package-resolved-list)))))
  24.113  	(begdoc (concat YaTeX-ec "begin{document}"))
  24.114  	pb pkg optlist (option "") mb0 uspkgargs)
  24.115      (if (or (YaTeX-member macro YaTeX-package-resolved-list)
  24.116 @@ -154,29 +174,38 @@
  24.117  	      ;;corresponding \usepackage found
  24.118  	      (funcall register)
  24.119  	    ;; not found, insert it.
  24.120 -	    (if (y-or-n-p
  24.121 -		 (format "`%s' requires package. Put \\usepackage now?" macro))
  24.122 +	    (if (or
  24.123 +		 autopkg
  24.124 +		 (y-or-n-p
  24.125 +		  (format "`%s' requires package. Put \\usepackage now?"
  24.126 +			  macro)))
  24.127  		(progn
  24.128  		  (require 'yatexadd)
  24.129  		  (setq pkg
  24.130 -			(completing-read
  24.131 -			 "Load which package?(TAB for list): "
  24.132 -			 pkglist nil nil
  24.133 -			 ;;initial input
  24.134 -			 (if (= (length pkglist) 1)
  24.135 -			     (let ((w (car (car pkglist))))
  24.136 -			       (if YaTeX-emacs-19 (cons w 0) w))))
  24.137 +			(or autopkg
  24.138 +			    (completing-read
  24.139 +			     "Load which package?(TAB for list): "
  24.140 +			     pkglist nil nil
  24.141 +			     ;;initial input
  24.142 +			     (if (= (length pkglist) 1)
  24.143 +				 (let ((w (car (car pkglist))))
  24.144 +				   (if YaTeX-emacs-19 (cons w 0) w)))))
  24.145  			optlist
  24.146  			(YaTeX-package-option-lookup pkg))
  24.147  		  (if optlist
  24.148  		      (let ((minibuffer-completion-table optlist)
  24.149 -			    (delim ",") (w (car (car optlist))))
  24.150 +			    (delim ",") (w (car (car optlist)))
  24.151 +			    (dflt (YaTeX-package-option-lookup
  24.152 +				   pkg 'default-option)))
  24.153  			(setq option
  24.154 -			      (read-from-minibuffer
  24.155 -			       (format "Any option for {%s}?: " pkg)
  24.156 -			       (if (= (length optlist) 1)
  24.157 -				   (if YaTeX-emacs-19 (cons w 0) w))
  24.158 -			       YaTeX-minibuffer-completion-map)
  24.159 +			      (or
  24.160 +			       autoopt
  24.161 +			       (read-from-minibuffer
  24.162 +				(format "Any option for {%s}?: " pkg)
  24.163 +				(let ((v (or dflt
  24.164 +					     (and (= (length optlist) 1) w))))
  24.165 +				  (and v (if YaTeX-emacs-19 (cons v 0) v)))
  24.166 +				YaTeX-minibuffer-completion-map))
  24.167  			      option (if (string< "" option)
  24.168  					 (concat "[" option "]")
  24.169  				       ""))))
    25.1 --- a/yatexprc.el	Mon Apr 01 23:03:34 2013 +0900
    25.2 +++ b/yatexprc.el	Fri Dec 26 01:06:32 2014 +0900
    25.3 @@ -1,7 +1,7 @@
    25.4  ;;; yatexprc.el --- YaTeX process handler
    25.5  ;;; 
    25.6  ;;; (c)1993-2013 by HIROSE Yuuji.[yuuji@yatex.org]
    25.7 -;;; Last modified Mon Apr  1 22:44:38 2013 on firestorm
    25.8 +;;; Last modified Fri Dec 26 00:50:41 2014 on firestorm
    25.9  ;;; $Id$
   25.10  
   25.11  ;;; Code:
   25.12 @@ -64,6 +64,7 @@
   25.13    (save-excursion
   25.14      (let ((p (point)) (window (selected-window)) execdir (cb (current-buffer))
   25.15  	  (map YaTeX-typesetting-mode-map)
   25.16 +	  (background (string-match "\\*bg:" buffer))
   25.17  	  (outcode
   25.18  	   (cond ((eq major-mode 'yatex-mode) YaTeX-coding-system)
   25.19  		 ((eq major-mode 'yahtml-mode) yahtml-kanji-code))))
   25.20 @@ -78,8 +79,10 @@
   25.21        (setq execdir default-directory)
   25.22        ;;Select lower-most window if there are more than 2 windows and
   25.23        ;;typeset buffer not seen.
   25.24 -      (YaTeX-showup-buffer
   25.25 -       buffer (function (lambda (x) (nth 3 (window-edges x)))))
   25.26 +      (if background
   25.27 +	  nil				;do not showup
   25.28 +	(YaTeX-showup-buffer
   25.29 +	 buffer 'YaTeX-showup-buffer-bottom-most))
   25.30        (set-buffer (get-buffer-create buffer))
   25.31        (setq default-directory execdir)
   25.32        (cd execdir)
   25.33 @@ -137,17 +140,19 @@
   25.34  	(insert " ")
   25.35  	(set-marker (process-mark YaTeX-typeset-process) (1- (point))))
   25.36        (if (bolp) (forward-line -1))	;what for?
   25.37 -      (if (and YaTeX-emacs-19 window-system)
   25.38 -	  (let ((win (get-buffer-window buffer t)) owin)
   25.39 -	    (select-frame (window-frame win))
   25.40 -	    (setq owin (selected-window))
   25.41 -	    (select-window win)
   25.42 -	    (goto-char (point-max))
   25.43 -	    (recenter -1)
   25.44 -	    (select-window owin))
   25.45 -	(select-window (get-buffer-window buffer))
   25.46 -	(goto-char (point-max))
   25.47 -	(recenter -1))
   25.48 +      (cond
   25.49 +       (background nil)
   25.50 +       ((and YaTeX-emacs-19 window-system)
   25.51 +	(let ((win (get-buffer-window buffer t)) owin)
   25.52 +	  (select-frame (window-frame win))
   25.53 +	  (setq owin (selected-window))
   25.54 +	  (select-window win)
   25.55 +	  (goto-char (point-max))
   25.56 +	  (recenter -1)
   25.57 +	    (select-window owin)))
   25.58 +       (t (select-window (get-buffer-window buffer))
   25.59 +	  (goto-char (point-max))
   25.60 +	  (recenter -1)))
   25.61        (select-window window)
   25.62        (switch-to-buffer cb)
   25.63        (YaTeX-remove-nonstopmode))))
   25.64 @@ -250,7 +255,7 @@
   25.65  		       (setq tobecalled thiscmd shortname "+typeset"))
   25.66  		      (t
   25.67  		       nil))			  ;no need to call any process
   25.68 -		     (progn
   25.69 +		     (progn ;;Something occurs to call next command
   25.70  		       (insert
   25.71  			(format
   25.72  			 "===!!! %s !!!===\n"
   25.73 @@ -274,18 +279,20 @@
   25.74  		   (cond
   25.75  		    ((and ppcmd (string-match "finish" mes))
   25.76  		     (insert (format "=======> Success! Calling %s\n" ppcmd))
   25.77 -		     (setq mode-name	; set process name
   25.78 -			   (concat
   25.79 -			    mode-name "+"
   25.80 -			    (substring ppcmd 0 (string-match " " ppcmd))))
   25.81 +		     (if (symbolp ppcmd)
   25.82 +			 (funcall ppcmd)
   25.83 +		       (setq mode-name	; set process name
   25.84 +			     (concat
   25.85 +			      mode-name "+"
   25.86 +			      (substring ppcmd 0 (string-match " " ppcmd))))
   25.87  					; to reach here, 'start-process exists on this emacsen
   25.88 -		     (set-process-sentinel
   25.89 -		      (start-process
   25.90 -		       mode-name
   25.91 -		       pbuf		; Use this buffer twice.
   25.92 -		       shell-file-name YaTeX-shell-command-option
   25.93 -		       ppcmd)
   25.94 -		      'YaTeX-typeset-sentinel))
   25.95 +		       (set-process-sentinel
   25.96 +			(start-process
   25.97 +			 mode-name
   25.98 +			 pbuf		; Use this buffer twice.
   25.99 +			 shell-file-name YaTeX-shell-command-option
  25.100 +			 ppcmd)
  25.101 +			'YaTeX-typeset-sentinel)))
  25.102  		    (t ;pull back original mode-name
  25.103  		     (setq mode-name "typeset"))))
  25.104  		 (forward-char 1))
  25.105 @@ -299,7 +306,7 @@
  25.106  (defvar YaTeX-texput-file "texput.tex"
  25.107    "*File name for temporary file of typeset-region.")
  25.108  
  25.109 -(defun YaTeX-typeset-region ()
  25.110 +(defun YaTeX-typeset-region (&optional pp)
  25.111    "Paste the region to the file `texput.tex' and execute typesetter.
  25.112  The region is specified by the rule:
  25.113  	(1)If keyword `%#BEGIN' is found in the upper direction from (point).
  25.114 @@ -310,17 +317,21 @@
  25.115  	(2)If no `%#BEGIN' usage is found before the (point),
  25.116  		->Assume the text between current (point) and (mark) as region.
  25.117  DON'T forget to eliminate the `%#BEGIN/%#END' notation after editing
  25.118 -operation to the region."
  25.119 +operation to the region.
  25.120 +Optional second argument PP specifies post-processor command which will be
  25.121 +called with one argument of current file name whitout extension."
  25.122    (interactive)
  25.123    (save-excursion
  25.124      (let*
  25.125  	((end "") typeout ;Type out message that tells the method of cutting.
  25.126  	 (texput YaTeX-texput-file)
  25.127 +	 (texputroot (substring texput 0 (string-match "\\.tex$" texput)))
  25.128  	 (cmd (concat (YaTeX-get-latex-command nil) " " texput))
  25.129  	 (buffer (current-buffer)) opoint preamble (subpreamble "") main
  25.130  	 (hilit-auto-highlight nil)	;for Emacs19 with hilit19
  25.131 +	 ppcmd
  25.132  	 reg-begin reg-end lineinfo)
  25.133 -
  25.134 +      (setq ppcmd (if (stringp pp) (concat pp " " texputroot) pp))
  25.135        (save-excursion
  25.136  	(if (search-backward "%#BEGIN" nil t)
  25.137  	    (progn
  25.138 @@ -368,9 +379,11 @@
  25.139  	(set-buffer (find-file-noselect texput)))
  25.140        ;;(find-file YaTeX-texput-file)
  25.141        (erase-buffer)
  25.142 +      (YaTeX-set-file-coding-system YaTeX-kanji-code YaTeX-coding-system)
  25.143        (if (and (eq major-mode 'yatex-mode) YaTeX-need-nonstop)
  25.144  	  (insert "\\nonstopmode{}\n"))
  25.145 -      (insert preamble "\n" subpreamble "\n")
  25.146 +      (insert preamble "\n" subpreamble "\n"
  25.147 +	      "\\pagestyle{empty}\n\\thispagestyle{empty}\n")
  25.148        (setq lineinfo (list (count-lines 1 (point-end-of-line)) lineinfo))
  25.149        (insert-buffer-substring buffer reg-begin reg-end)
  25.150        (insert "\\typeout{" typeout end "}\n") ;Notice the selected method.
  25.151 @@ -378,18 +391,123 @@
  25.152        (basic-save-buffer)
  25.153        (kill-buffer (current-buffer))
  25.154        (set-buffer main)		;return to parent file or itself.
  25.155 -      (YaTeX-typeset cmd YaTeX-typeset-buffer)
  25.156 +      (YaTeX-typeset cmd YaTeX-typeset-buffer nil nil ppcmd)
  25.157        (switch-to-buffer buffer)		;for Emacs-19
  25.158        (put 'dvi2-command 'region t)
  25.159        (put 'dvi2-command 'file buffer)
  25.160        (put 'dvi2-command 'offset lineinfo))))
  25.161  
  25.162 +(defvar YaTeX-use-image-preview t
  25.163 +  "*Use or else view graphic preview image via [prefix] t e.")
  25.164 +(defvar YaTeX-preview-image-mode-map nil
  25.165 +  "Keymap used in YaTeX-preview-image-mode")
  25.166 +(defun YaTeX-preview-image-mode ()
  25.167 +  (interactive)
  25.168 +  (if YaTeX-preview-image-mode-map
  25.169 +      nil
  25.170 +    (let ((map (setq YaTeX-preview-image-mode-map (make-sparse-keymap))))
  25.171 +      (define-key map "q" (lambda()(interactive)
  25.172 +			    (kill-buffer)
  25.173 +			    (select-window
  25.174 +			     (or (get 'YaTeX-typeset-process 'win)
  25.175 +				 (selected-window)))))
  25.176 +      (define-key map "j" (lambda()(interactive) (scroll-up 1)))
  25.177 +      (define-key map "k" (lambda()(interactive) (scroll-up -1)))))
  25.178 +  (use-local-map YaTeX-preview-image-mode-map))
  25.179 +
  25.180 +(defvar YaTeX-typeset-conv2image-process nil "Process of conv2image chain")
  25.181 +(defun YaTeX-typeset-conv2image-chain ()
  25.182 +  (let*((proc (or YaTeX-typeset-process YaTeX-typeset-conv2image-process))
  25.183 +	(prevname (process-name proc))
  25.184 +	(target "texput.png")
  25.185 +	(math (get 'YaTeX-typeset-conv2image-chain 'math))
  25.186 +	;(conv (format "convert -density %d - %s" (if math 250 100) target))
  25.187 +	;(chain (list (format "dvips -E -o - texput|%s" conv)))
  25.188 +	(conv (format "convert -alpha off - %s"  target))
  25.189 +	(chain (list (format "%s -x %d -E -o - texput|%s"
  25.190 +			     ;; This function is the first evaluation code.
  25.191 +			     ;; If you find these command line does not work
  25.192 +			     ;; on your system, please tell the author
  25.193 +			     ;; which commands should be taken to achieve
  25.194 +			     ;; one-shot png previewing on your system
  25.195 +			     ;; before publishing patch on the Web.
  25.196 +			     ;; Please please please please please.
  25.197 +			     YaTeX-cmd-dvips
  25.198 +			     (if math 3000 2000)
  25.199 +			     conv)))
  25.200 +	(curproc (member prevname chain))
  25.201 +	(w (get 'YaTeX-typeset-conv2image-chain 'win))
  25.202 +	(pwd default-directory)
  25.203 +	img)
  25.204 +    (if (not (= (process-exit-status proc) 0))
  25.205 +	(progn
  25.206 +	  (YaTeX-showup-buffer		;never comes here(?)
  25.207 +	   (current-buffer) 'YaTeX-showup-buffer-bottom-most)
  25.208 +	  (message "Region typesetting FAILED"))
  25.209 +      (setq command
  25.210 +	    (if curproc (car (cdr-safe curproc)) (car chain)))
  25.211 +      (if command
  25.212 +	  (progn
  25.213 +	    (insert (format "Calling `%s'...\n" command))
  25.214 +	    (set-process-sentinel
  25.215 +	     (setq YaTeX-typeset-conv2image-process
  25.216 +		   (start-process
  25.217 +		    command
  25.218 +		    (current-buffer)
  25.219 +		    shell-file-name YaTeX-shell-command-option command))
  25.220 +	     'YaTeX-typeset-sentinel)
  25.221 +	    (put 'YaTeX-typeset-process 'ppcmd
  25.222 +		 (cons (cons (get-buffer-process (current-buffer))
  25.223 +			     'YaTeX-typeset-conv2image-chain)
  25.224 +		       (get 'YaTeX-typeset-process 'ppcmd))))
  25.225 +	;; After all chain executed, display image in current window
  25.226 +	(cond
  25.227 +	 ((and (featurep 'image) window-system)
  25.228 +	  ;; If direct image displaying available in running Emacs,
  25.229 +	  ;; display target image into the next window in Emacs.
  25.230 +	  (select-window w)
  25.231 +	  (setq foo (selected-window))
  25.232 +	  (YaTeX-showup-buffer
  25.233 +	   (get-buffer-create " *YaTeX-region-image*")
  25.234 +	   'YaTeX-showup-buffer-bottom-most t)
  25.235 +	  (remove-images (point-min) (point-max))
  25.236 +	  (erase-buffer)
  25.237 +	  (cd pwd)			;when reuse from other source
  25.238 +					;(put-image (create-image (expand-file-name target)) (point))
  25.239 +	  (insert-image-file target)
  25.240 +	  (setq img (plist-get (text-properties-at (point)) 'intangible))
  25.241 +	  (YaTeX-preview-image-mode)
  25.242 +	  (if img
  25.243 +	      (let ((height (cdr (image-size img))))
  25.244 +		(enlarge-window
  25.245 +		 (- (ceiling (min height (/ (frame-height) 2)))
  25.246 +		    (window-height))))))
  25.247 +	 (t
  25.248 +	  ;; Without direct image, display image with image viewer
  25.249 +	  (YaTeX-system
  25.250 +	   (format "%s %s" YaTeX-cmd-view-images target)
  25.251 +	   "YaTeX-region-image"
  25.252 +	   'noask)
  25.253 +	  )
  25.254 +	 )))))
  25.255 +
  25.256  (defun YaTeX-typeset-environment ()
  25.257    "Typeset current math environment"
  25.258    (interactive)
  25.259    (save-excursion
  25.260 -    (YaTeX-mark-environment)
  25.261 -    (YaTeX-typeset-region)))
  25.262 +    (let ((math (YaTeX-in-math-mode-p)))
  25.263 +      (cond
  25.264 +       ((and (fboundp 'region-active-p) (region-active-p))
  25.265 +	nil)				;if region is active, use it
  25.266 +       ((equal (or (YaTeX-inner-environment t) "document") "document")
  25.267 +	(mark-paragraph))
  25.268 +       (t (YaTeX-mark-environment)))
  25.269 +      (if YaTeX-use-image-preview
  25.270 +	  (let ((YaTeX-typeset-buffer (concat "*bg:" YaTeX-typeset-buffer)))
  25.271 +	    (put 'YaTeX-typeset-conv2image-chain 'math math)
  25.272 +	    (put 'YaTeX-typeset-conv2image-chain 'win (selected-window))
  25.273 +	    (YaTeX-typeset-region 'YaTeX-typeset-conv2image-chain))
  25.274 +	(YaTeX-typeset-region)))))
  25.275  
  25.276  (defun YaTeX-typeset-buffer (&optional pp)
  25.277    "Typeset whole buffer.
  25.278 @@ -505,14 +623,21 @@
  25.279  			     (format "%s %s" default mainroot))
  25.280  			 'YaTeX-call-command-history))
  25.281  	  (if (or update (null b-in))
  25.282 -	      (if (y-or-n-p "Use this command line in the future? ")
  25.283 +	      (if (y-or-n-p "Memorize this command line in this file? ")
  25.284  		  (YaTeX-getset-builtin builtin-type command) ;keep in a file
  25.285  		(setq YaTeX-call-builtin-on-file	      ;keep in memory
  25.286  		      (cons (cons builtin-type command)
  25.287 -			    (delete (assoc builtin-type alist) alist)))))))
  25.288 +			    (delete (assoc builtin-type alist) alist)))
  25.289 +		(message "`%s' kept in memory.  Type `%s %s' to override."
  25.290 +			 command
  25.291 +			 (key-description
  25.292 +			  (car (where-is-internal 'universal-argument)))
  25.293 +			 (key-description (this-command-keys)))
  25.294 +		(sit-for 2)))))
  25.295      (YaTeX-typeset
  25.296       command
  25.297 -     (format " *YaTeX-%s*" (downcase builtin-type)))))
  25.298 +     (format " *YaTeX-%s*" (downcase builtin-type))
  25.299 +     builtin-type builtin-type)))
  25.300  
  25.301  (defun YaTeX-kill-typeset-process (proc)
  25.302    "Kill process PROC after sending signal to PROC.
  25.303 @@ -537,28 +662,36 @@
  25.304  	  (interrupt-process proc)
  25.305  	  (delete-process proc))))))
  25.306  
  25.307 -(defun YaTeX-system (command buffer)
  25.308 -  "Execute some command on buffer.  Not a official function."
  25.309 +(defun YaTeX-system (command name &optional noask basedir)
  25.310 +  "Execute some COMMAND with process name `NAME'.  Not a official function.
  25.311 +Optional second argument NOASK skip query when privious process running.
  25.312 +Optional third argument BASEDIR changes default-directory there."
  25.313    (save-excursion
  25.314 -    (YaTeX-showup-buffer
  25.315 -     buffer (function (lambda (x) (nth 3 (window-edges x)))))
  25.316 -    (let ((df default-directory))		;preserve current buf's pwd
  25.317 -      (set-buffer (get-buffer-create buffer))	;1.61.3
  25.318 -      (setq default-directory df)
  25.319 -      (cd df))
  25.320 -    (erase-buffer)
  25.321 -    (if (not (fboundp 'start-process))
  25.322 -	(call-process
  25.323 -	 shell-file-name nil buffer nil YaTeX-shell-command-option command)
  25.324 -      (if (and (get-buffer-process buffer)
  25.325 -	       (eq (process-status (get-buffer-process buffer)) 'run)
  25.326 -	       (not
  25.327 -		(y-or-n-p (format "Process %s is running. Continue?" buffer))))
  25.328 -	  nil
  25.329 -	(set-process-buffer
  25.330 -	 (start-process
  25.331 -	  "system" buffer shell-file-name YaTeX-shell-command-option command)
  25.332 -	 (get-buffer buffer))))))
  25.333 +    (let ((df default-directory)
  25.334 +	  (buffer (get-buffer-create (format " *%s*" name)))
  25.335 +	  proc status)
  25.336 +      (set-buffer buffer)
  25.337 +      (setq default-directory (cd (or basedir df)))
  25.338 +      (erase-buffer)
  25.339 +      (insert (format "Calling `%s'...\n" command)
  25.340 +	      "==Kill this buffer to STOP process==")
  25.341 +      (YaTeX-showup-buffer buffer 'YaTeX-showup-buffer-bottom-most)
  25.342 +      (if (not (fboundp 'start-process))
  25.343 +	  (call-process
  25.344 +	   shell-file-name nil buffer nil YaTeX-shell-command-option command)
  25.345 +	(if (and (setq proc (get-buffer-process buffer))
  25.346 +		 (setq status (process-status proc))
  25.347 +		 (eq status 'run)
  25.348 +		 (not noask)
  25.349 +		 (not
  25.350 +		  (y-or-n-p (format "Process %s is running. Continue?" buffer))))
  25.351 +	    nil
  25.352 +	  (if (eq status 'run)
  25.353 +	      (progn (interrupt-process proc) (delete-process proc)))
  25.354 +	  (set-process-buffer
  25.355 +	   (start-process
  25.356 +	    name buffer shell-file-name YaTeX-shell-command-option command)
  25.357 +	   (get-buffer buffer)))))))
  25.358  
  25.359  (defvar YaTeX-default-paper-type "a4"
  25.360    "*Default paper type.")
  25.361 @@ -602,33 +735,49 @@
  25.362  (defvar YaTeX-preview-file-history nil
  25.363    "Holds minibuffer history of file to preview.")
  25.364  (put 'YaTeX-preview-file-history 'no-default t)
  25.365 -(defun YaTeX-preview (preview-command preview-file)
  25.366 -  "Execute xdvi (or other) to tex-preview."
  25.367 -  (interactive
  25.368 -   (let* ((command (read-string-with-history
  25.369 -		    "Preview command: "
  25.370 -		    (YaTeX-replace-format
  25.371 -		     (or (YaTeX-get-builtin "PREVIEW") dvi2-command)
  25.372 +(defun YaTeX-preview-default-previewer ()
  25.373 +  "Return default previewer for this document"
  25.374 +  (YaTeX-replace-format
  25.375 +		     (or (YaTeX-get-builtin "PREVIEW")
  25.376 +			 (if (eq (get 'dvi2-command 'format) 'pdf)
  25.377 +			     tex-pdfview-command
  25.378 +			   dvi2-command))
  25.379  		     "p" (format (cond
  25.380  				  (YaTeX-dos "-y:%s")
  25.381  				  (t "-paper %s"))
  25.382 -				 (YaTeX-get-paper-type)))
  25.383 -		    'YaTeX-preview-command-history))
  25.384 -	  (file (read-string-with-history
  25.385 -		 "Preview file: "
  25.386 -		 (if (get 'dvi2-command 'region)
  25.387 +				 (YaTeX-get-paper-type))))
  25.388 +(defun YaTeX-preview-default-main (command)
  25.389 +  "Return default preview target file"
  25.390 +  (if (get 'dvi2-command 'region)
  25.391  		     (substring YaTeX-texput-file
  25.392  				0 (rindex YaTeX-texput-file ?.))
  25.393 -		   (YaTeX-get-preview-file-name command))
  25.394 -		 'YaTeX-preview-file-history)))
  25.395 +		   (YaTeX-get-preview-file-name command)))
  25.396 +(defun YaTeX-preview (preview-command preview-file &optional as-default)
  25.397 +  "Execute xdvi (or other) to tex-preview."
  25.398 +  (interactive
  25.399 +   (let* ((previewer (YaTeX-preview-default-previewer))
  25.400 +	  (as-default current-prefix-arg)
  25.401 +	  (command (if as-default
  25.402 +		       previewer
  25.403 +		     (read-string-with-history
  25.404 +		      "Preview command: "
  25.405 +		      previewer
  25.406 +		      'YaTeX-preview-command-history)))
  25.407 +	  (target (YaTeX-preview-default-main command))
  25.408 +	  (file (if as-default
  25.409 +		    target
  25.410 +		  (read-string-with-history
  25.411 +		   "Preview file: "
  25.412 +		   target
  25.413 +		   'YaTeX-preview-file-history))))
  25.414       (list command file)))
  25.415 -  (setq dvi2-command preview-command)	;`dvi2command' is buffer local
  25.416 +  (setq dvi2-command preview-command)	;`dvi2-command' is buffer local
  25.417    (save-excursion
  25.418      (YaTeX-visit-main t)
  25.419      (if YaTeX-dos (setq preview-file (expand-file-name preview-file)))
  25.420      (let ((pbuffer "*dvi-preview*") (dir default-directory))
  25.421        (YaTeX-showup-buffer
  25.422 -       pbuffer (function (lambda (x) (nth 3 (window-edges x)))))
  25.423 +       pbuffer 'YaTeX-showup-buffer-bottom-most)
  25.424        (set-buffer (get-buffer-create pbuffer))
  25.425        (erase-buffer)
  25.426        (setq default-directory dir)	;for 18
  25.427 @@ -683,7 +832,61 @@
  25.428  	     (concat (YaTeX-get-preview-file-name) ".dvi")))
  25.429        (message "Searching `%s'...Done" str))))
  25.430  
  25.431 -(defun YaTeX-set-virtual-error-position (file-sym line-sym)
  25.432 +(defun YaTeX-preview-jlfmt-xdvi ()
  25.433 +  "Call xdvi -sourceposition to DVI corresponding to current main file"
  25.434 +  (interactive))
  25.435 +
  25.436 +(defun YaTeX-preview-jump-line ()
  25.437 +  "Call jump-line function of various previewer on current main file"
  25.438 +  (interactive)
  25.439 +  (save-excursion
  25.440 +    (save-restriction
  25.441 +      (widen)
  25.442 +      (let*((pf (or YaTeX-parent-file
  25.443 +		    (save-excursion (YaTeX-visit-main t) (buffer-file-name))))
  25.444 +	    (pdir (file-name-directory pf))
  25.445 +	    (bnr (substring pf 0 (string-match "\\....$" pf)))
  25.446 +	    (cf (file-relative-name (buffer-file-name) pdir))
  25.447 +	    (buffer (get-buffer-create " *preview-jump-line*"))
  25.448 +	    (line (count-lines (point-min) (point-end-of-line)))
  25.449 +	    (previewer (YaTeX-preview-default-previewer))
  25.450 +	    (cmd (cond
  25.451 +		  ((string-match "xdvi" previewer)
  25.452 +		   (format "%s -nofork -sourceposition '%d %s' %s.dvi"
  25.453 +			   YaTeX-xdvi-remote-program
  25.454 +			   line cf bnr))
  25.455 +		  ((string-match "Skim" previewer)
  25.456 +		   (format "%s %d '%s.pdf' '%s'"
  25.457 +			   YaTeX-cmd-displayline line bnr cf))
  25.458 +		  ((string-match "evince" previewer)
  25.459 +		   (format "%s '%s.pdf' %d '%s'"
  25.460 +			   "fwdevince" bnr line cf))
  25.461 +		  ;;
  25.462 +		  ;; These lines below for other PDF viewer is not confirmed
  25.463 +		  ;; yet. If you find correct command line, PLEASE TELL
  25.464 +		  ;; IT TO THE AUTHOR before publishing patch on the web.
  25.465 +		  ;; ..PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE..
  25.466 +		  ;; ((string-match "sumatra" previewer)	;;??
  25.467 +		  ;;  (format "%s \"%s.pdf\" -forward-search \"%s\" %d"
  25.468 +		  ;; 	   previewer bnr cf line))
  25.469 +		  ;; ((string-match "qpdfview" previewer)	;;??
  25.470 +		  ;;  (format "%s '%s.pdf#src:%s:%d:0'" ;if NG, tell 
  25.471 +		  ;; 	   previewer bnr cf line))
  25.472 +		  ;; ((string-match "okular" previewer)	;;??
  25.473 +		  ;;  (format "%s '%s.pdf#src:%d' '%s'"
  25.474 +		  ;; 	   previewer bnr line cf))
  25.475 +		  )))
  25.476 +	(YaTeX-system cmd "jump-line" 'noask pdir)))))
  25.477 +
  25.478 +(defun YaTeX-goto-corresponding-viewer ()
  25.479 +  (let ((cmd (or (YaTeX-get-builtin "!") tex-command)))
  25.480 +    (if (string-match "-src\\|synctex=" cmd)
  25.481 +	(progn
  25.482 +	  (YaTeX-preview-jump-line)
  25.483 +	  t)				;for YaTeX-goto-corresponding-*
  25.484 +      nil)))
  25.485 +
  25.486 +	 (defun YaTeX-set-virtual-error-position (file-sym line-sym)
  25.487    "Replace the value of FILE-SYM, LINE-SYM by virtual error position."
  25.488    (cond
  25.489     ((and (get 'dvi2-command 'region)
  25.490 @@ -859,6 +1062,9 @@
  25.491  	 (fname (if rin (substring latex-cmd (1+ rin)) ""))
  25.492  	 (r (YaTeX-assoc-regexp preview-command YaTeX-dvi2-command-ext-alist))
  25.493  	 (ext (if r (cdr r) "")))
  25.494 +    (and (null r)
  25.495 +	 (eq (get 'dvi2-command 'format) 'pdf)
  25.496 +	 (setq ext "pdf"))
  25.497      (concat
  25.498       (if (string= fname "")
  25.499  	 (setq fname (substring (file-name-nondirectory
  25.500 @@ -896,9 +1102,9 @@
  25.501       (cond
  25.502        (magic
  25.503         (cond
  25.504 -	(switch (if (string-match "\\s " magic) magic
  25.505 +	(switch (if (string-match "\\s [^-]\\S *$" magic) magic
  25.506  		  (concat magic " " parent)))
  25.507 -	(t (concat (substring magic 0 (string-match "\\s " magic)) " "))))
  25.508 +	(t (concat (substring magic 0 (string-match "\\s [^-]\\S *$" magic)) " "))))
  25.509        (t (concat tex-command " " (if switch parent))))
  25.510       (list (cons "f" tparent)
  25.511  	   (cons "r" (substring tparent 0 (rindex tparent ?.)))))))
  25.512 @@ -956,7 +1162,7 @@
  25.513        (YaTeX-visit-main t) ;;change execution directory
  25.514        (setq dir default-directory)
  25.515        (YaTeX-showup-buffer
  25.516 -       lbuffer (function (lambda (x) (nth 3 (window-edges x)))))
  25.517 +       lbuffer 'YaTeX-showup-buffer-bottom-most)
  25.518        (set-buffer (get-buffer-create lbuffer))
  25.519        (erase-buffer)
  25.520        (cd dir)				;for 19
  25.521 @@ -997,7 +1203,7 @@
  25.522    (let ((ff (function (lambda (f)
  25.523  			(if setbuf (set-buffer (find-file-noselect f))
  25.524  			  (find-file f)))))
  25.525 -	b-in main-file YaTeX-create-file-prefix-g
  25.526 +	b-in main-file mfa YaTeX-create-file-prefix-g
  25.527  	(hilit-auto-highlight (not setbuf)))
  25.528      (if (setq b-in (YaTeX-get-builtin "!"))
  25.529  	(setq main-file (YaTeX-guess-parent b-in)))
  25.530 @@ -1022,14 +1228,14 @@
  25.531         ((and main-file
  25.532  	     (file-exists-p (setq main-file (concat "../" main-file)))
  25.533  	     (or b-in
  25.534 -		 (y-or-n-p (concat (expand-file-name main-file)
  25.535 +		 (y-or-n-p (concat (setq mfa (expand-file-name main-file))
  25.536  				   " is main file?:"))))
  25.537 -	(setq YaTeX-parent-file main-file)
  25.538 +	(setq YaTeX-parent-file mfa)
  25.539  	;(YaTeX-switch-to-buffer main-file setbuf)
  25.540  	(funcall ff main-file)
  25.541  	)
  25.542         (t (setq main-file (read-file-name "Enter your main text: " nil nil 1))
  25.543 -	  (setq YaTeX-parent-file main-file)
  25.544 +	  (setq YaTeX-parent-file (expand-file-name main-file))
  25.545  	 ; (YaTeX-switch-to-buffer main-file setbuf))
  25.546  	  (funcall ff main-file))
  25.547         )))
  25.548 @@ -1037,8 +1243,8 @@
  25.549  
  25.550  (defun YaTeX-guess-parent (command-line)
  25.551    (setq command-line
  25.552 -	(if (string-match ".*\\s " command-line)
  25.553 -	    (substring command-line (match-end 0))
  25.554 +	(if (string-match "\\s \\([^-]\\S *\\)$" command-line)
  25.555 +	    (substring command-line (match-beginning 1))
  25.556  	  (file-name-nondirectory (buffer-file-name)))
  25.557  	command-line
  25.558  	(concat (if (string-match "\\(.*\\)\\." command-line)
  25.559 @@ -1058,13 +1264,14 @@
  25.560    (basic-save-buffer)
  25.561    (let ((cmm major-mode))
  25.562      (save-excursion
  25.563 -      (mapcar '(lambda (buf)
  25.564 +      (mapcar (function
  25.565 +	       (lambda (buf)
  25.566  		 (set-buffer buf)
  25.567  		 (if (and (buffer-file-name buf)
  25.568  			  (eq major-mode cmm)
  25.569  			  (buffer-modified-p buf)
  25.570  			  (y-or-n-p (format "Save %s" (buffer-name buf))))
  25.571 -		     (save-buffer buf)))
  25.572 +		     (save-buffer buf))))
  25.573  	      (buffer-list)))))
  25.574  
  25.575  (provide 'yatexprc)
    26.1 --- a/yatexsec.el	Mon Apr 01 23:03:34 2013 +0900
    26.2 +++ b/yatexsec.el	Fri Dec 26 01:06:32 2014 +0900
    26.3 @@ -1,7 +1,7 @@
    26.4  ;;; yatexsec.el --- YaTeX sectioning browser
    26.5  ;;; 
    26.6  ;;; (c) 1994-2013 by HIROSE Yuuji [yuuji@yatex.org]
    26.7 -;;; Last modified Mon Apr  1 22:46:28 2013 on firestorm
    26.8 +;;; Last modified Sun Dec 21 14:16:35 2014 on firestorm
    26.9  ;;; $Id$
   26.10  
   26.11  ;;; Code:
   26.12 @@ -55,9 +55,9 @@
   26.13    (define-key YaTeX-sectioning-minibuffer-map "\C-r"
   26.14      'YaTeX-sectioning-scroll-down)
   26.15    (define-key YaTeX-sectioning-minibuffer-map "\C-w"
   26.16 -    '(lambda () (interactive) (YaTeX-sectioning-scroll-down 1)))
   26.17 +    (function (lambda () (interactive) (YaTeX-sectioning-scroll-down 1))))
   26.18    (define-key YaTeX-sectioning-minibuffer-map "\C-z"
   26.19 -    '(lambda () (interactive) (YaTeX-sectioning-scroll-up 1)))
   26.20 +    (function (lambda () (interactive) (YaTeX-sectioning-scroll-up 1))))
   26.21    (define-key YaTeX-sectioning-minibuffer-map "\C-l"
   26.22      'YaTeX-sectioning-recenter)
   26.23    (define-key YaTeX-sectioning-minibuffer-map "?"