annotate docs/yatexe.tex @ 57:18f4939986e6

(j)LaTeX2e supported yatex19.el fixed a lot
author yuuji
date Sat, 02 Dec 1995 18:35:28 +0000
parents a9653fbd1c1c
children 3a7c0c2bf16d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1 \def\lang{jp} % -*- texinfo -*-
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2 \input texinfo.tex
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
3 @setfilename yatexe
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
4 @settitle Yet Another tex-mode for Emacs
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
5
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
6 @iftex
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
7 @c @syncodeindex fn cp
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
8 @syncodeindex vr cp
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
9 @end iftex
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
10
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
11 @titlepage
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
12 @sp 10
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
13 @center
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
14 @subtitle Yet Another tex-mode for emacs
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
15 @title Wild Bird
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
16 @subtitle // YaTeX //
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
17 @author @copyright{} 1991-1994 by HIROSE, Yuuji [yuuji@@ae.keio.ac.jp]
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
18 @end titlepage
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
19
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
20 @node Top, What is YaTeX?, (dir), (dir)
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
21 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
22 @cindex Demacs
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
23 @cindex Mule
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
24 @cindex LaTeX
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
25 @cindex YaTeX
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
26
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
27 @menu
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
28 * What is YaTeX?:: Introduction
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
29 * Main features:: What YaTeX can do
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
30 * Installation:: Guide to install
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
31 * Typesetting:: Call typesetting processes
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
32 * %# notation:: Quick notation of controlling YaTeX
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
33 * Completion:: Input LaTeX commands with completion
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
34 * Local dictionaries:: Directory dependent completion
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
35 * Commenting out:: Commenting/uncommenting text
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
36 * Cursor jump:: Jumping to related position
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
37 * Changing and Deleting:: Changing/deleting certain unit of text
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
38 * Filling:: Filling an item or paragraph
53
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
39 * Updation of includeonly:: Free from maintaining includeonly
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
40 * What column?:: Guidance to tabular column
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
41 * Intelligent newline:: Guess requisites of new line
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
42 * Online help:: On-line documentation of LaTeX
53
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
43 * Browsing file hierarchy:: Walking through file hierarchy
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
44 * Cooperation with other packages:: Work well with gmhist, min-out
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
45 * Customizations:: How to breed `Wild Bird'
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
46 * Etcetera:: YaTeX is acquisitive.
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
47 * Copying:: Redistribution
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
48
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
49 --- The Detailed Node Listing ---
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
50
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
51 %# notation
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
52
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
53 * Changing typesetter::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
54 * Static region for typesetting::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
55 * Lpr format::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
56 * Editing %# notation::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
57
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
58 Completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
59
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
60 * Begin-type completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
61 * Section-type completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
62 * Large-type completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
63 * Maketitle-type completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
64 * Arbitrary completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
65 * End completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
66 * Accent completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
67 * Image completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
68 * Greek letters completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
69
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
70 Section-type completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
71
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
72 * view-sectioning::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
73
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
74 Changing and Deleting
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
75
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
76 * Changing La@TeX{} commands::
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
77 * Killing La@TeX{} commands::
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
78
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
79 Customizations
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
80
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
81 * Lisp variables::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
82 * Add-in functions::
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
83 * Add-in generator::
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
84
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
85 Lisp variables
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
86
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
87 * All customizable variables::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
88 * Sample definitions::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
89 * Hook variables::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
90 * Hook file::
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
91
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
92 Procedure
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
93
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
94 * How the add-in function works?::
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
95 * How the function is called::
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
96 * Useful functions for creating add-in::
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
97 * Contribution::
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
98
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
99 How the add-in function works?
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
100
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
101 * Defining `option add-in'::
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
102 * Defining `argument add-in'::
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
103 @end menu
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
104
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
105 @node What is YaTeX?, Main features, Top, Top
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
106 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
107 @chapter What is YaTeX?
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
108
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
109 YaTeX automates typesetting and previewing of LaTeX and enables
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
110 completing input of LaTeX mark-up command such as
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
111 @code{\begin@{@}}..@code{\end@{@}}.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
112
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
113 YaTeX also supports Demacs which runs on MS-DOS(386), Mule (Multi
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
114 Language Enhancement to GNU Emacs), and latex on DOS.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
115
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
116 @node Main features, Installation, What is YaTeX?, Top
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
117 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
118 @chapter Main features
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
119
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
120 @itemize
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
121 @item Invocation of typesetter, previewer and related programs(@kbd{C-c t})
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
122 @item Typesetting on static region which is independent from point
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
123 @item Semiautomatic replacing of @code{\include only}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
124 @item Jumping to error line(@kbd{C-c '})
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
125 @item Completing-read of La@TeX{} commands such as @code{\begin@{@}},
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
126 @code{\section} etc.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
127 (@kbd{C-c b}, @kbd{C-c s}, @kbd{C-c l}, @kbd{C-c m})
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
128 @item Enclosing text into La@TeX{} environments or commands
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
129 (@kbd{C-u} @var{AboveKeyStrokes})
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
130 @item Displaying the structure of text at entering sectioning delimiters
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
131 @item Learning unknown/new La@TeX{} commands for the next completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
132 @item Argument reading with a guide for complicated La@TeX{} commands
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
133 @item Generating argument-readers for new/unsupported commands(@file{yatexgen})
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
134 @item Quick changing or deleting of La@TeX{} commands(@kbd{C-c c}, @kbd{C-c k})
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
135 @item Jumping from and to inter-file, begin<->end, ref<->label(@kbd{C-c g})
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
136 @item Blanket commenting out or uncommenting
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
137 (@kbd{C-c >}, @kbd{C-c <}, @kbd{C-c ,}, @kbd{C-c .})
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
138 @item Easy input of accent mark, math-mode's commands and Greek letters
52
5d94deabb9f9 Set YaTeX-indent-line to 'indent-line-function.
yuuji
parents: 51
diff changeset
139 (@kbd{C-c a}, @kbd{;}, @kbd{:})
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
140 @item Online help for the popular La@TeX{} commands
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
141 (@kbd{C-c ?}, @kbd{C-c /})(English help is not yet supported)
53
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
142 @item Document files hierarchy browser (@kbd{C-c d})
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
143 @end itemize
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
144
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
145 @node Installation, Typesetting, Main features, Top
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
146 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
147 @chapter Installation
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
148 @cindex installation
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
149 @cindex .emacs
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
150 @cindex auto-mode-alist
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
151 @cindex autoload
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
152
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
153 Put next two expressions into your @file{~/.emacs}.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
154
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
155 @lisp
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
156 (setq auto-mode-alist
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
157 (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist))
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
158 (autoload 'yatex-mode "yatex" "Yet Another La@TeX{} mode" t)
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
159 @end lisp
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
160
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
161 Next, add certain path name where you put files of YaTeX to your
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
162 load-path. If you want to put them in @file{~/src/emacs}, write
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
163
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
164 @lisp
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
165 (setq load-path
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
166 (cons (expand-file-name "~/src/emacs") load-path))
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
167 @end lisp
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
168
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
169 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
170 in your @file{~/.emacs}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
171
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
172 Then, yatex-mode will be automatically loaded when you visit a
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
173 file which has extension @file{.tex}. If yatex-mode is successfully
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
174 loaded, mode string on mode line will be turned to "YaTeX".
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
175
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
176
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
177 @node Typesetting, %# notation, Installation, Top
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
178 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
179 @chapter Typesetting
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
180 @cindex typesetting
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
181 @cindex previewer
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
182 @cindex typesetter
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
183 @cindex latex
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
184 @cindex printing out
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
185
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
186 The prefix key stroke of yatex-mode is @kbd{C-c} (Press 'C' with Control
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
187 key) by default. If you don't intend to change the prefix key stroke,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
188 assume all @kbd{[prefix]} as @kbd{C-c} in this document. These key
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
189 strokes execute typeset or preview command.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
190
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
191 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
192 @item [prefix] tj
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
193 @dots{} invoke latex
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
194 @item [prefix] tr
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
195 @dots{} invoke latex on region
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
196 @item [prefix] tk
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
197 @dots{} kill current typesetting process
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
198 @item [prefix] tb
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
199 @dots{} invoke bibtex
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
200 @item [prefix] tp
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
201 @dots{} preview
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
202 @item [prefix] tl
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
203 @dots{} lpr dvi-file
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
204 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
205
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
206 The current editing window will be divided horizontally when you
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
207 invoke latex command, and log message of La@TeX{} typesetting will be
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
208 displayed in the other window; called typesetting buffer. The
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
209 typesetting buffer automatically scrolls up and traces La@TeX{}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
210 warnings and error messages. If you see latex stopping by an
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
211 error, you can send string to latex in the typesetting buffer.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
212
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
213 If an error stops the La@TeX{} typesetting, this key stroke will
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
214 move the cursor to the line where La@TeX{} error is detected.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
215
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
216 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
217 @item [prefix] '
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
218 @itemx ([prefix]+single quotation)
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
219
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
220 @dots{} jump to the previous error or warning
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
221 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
222
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
223 If you find a noticeable error, move to the typesetting buffer and move
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
224 the cursor on the line of error message and type @kbd{SPACE} key. This
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
225 makes the cursor move to corresponding source line.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
226
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
227 Since @kbd{[prefix] tr} pastes the region into the file
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
228 @file{texput.tex} in the current directory, you should be careful of
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
229 overwriting. The method of specification of the region is shown in the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
230 section @xref{%#NOTATION}.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
231
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
232 The documentstyle for typeset-region is the same as that of editing
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
233 file if you edit one file, and is the same as main file's if you
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
234 edit splitting files.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
235
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
236 YaTeX asks you the range of dvi-printing by default. You can
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
237 skip this by invoking it with universal-argument as follows:
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
238
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
239 @example
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
240 C-u [prefix] tl
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
241 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
242
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
243 @node %# notation, Completion, Typesetting, Top
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
244 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
245 @chapter %# notation
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
246 @cindex %# notation
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
247
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
248 You can control the typesetting process by describing @code{%#}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
249 notations in the source text.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
250
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
251 @menu
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
252 * Changing typesetter::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
253 * Static region for typesetting::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
254 * Lpr format::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
255 * Editing %# notation::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
256 @end menu
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
257
33
56f7676ed8ca Change the document for YaTeX-nervous.
yuuji
parents: 28
diff changeset
258 @node Changing typesetter, Static region for typesetting, %# notation, %# notation
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
259 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
260 @section To change the `latex' command or to split a source text.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
261 @cindex typesetter
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
262
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
263 To change the typesetting command, write
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
264
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
265 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
266 %#!latex-big
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
267 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
268
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
269 @noindent
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
270 anywhere in the source text. This is useful for changing
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
271 typesetter.
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
272
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
273 @node Splitting input files, Static region for typesetting, Changing typesetter, %# notation
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
274 @comment node-name, next, previous, up
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
275
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
276 And if you split the source text and
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
277 edit subfile that should be included from main text.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
278
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
279 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
280 %#!latex main.tex
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
281 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
282
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
283 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
284 will be helpful to execute latex on main file from sub text buffer. Since
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
285 this command line after @kbd{%#!} will be sent to shell literally, next
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
286 description makes it convenient to use ghostview as dvi-previewer.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
287
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
288 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
289 %#!latex main ; dvi2ps main.dvi > main
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
290 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
291
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
292 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
293 Note that YaTeX assumes the component before the last period of
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
294 the last word in this line as base name of the main La@TeX{} source.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
295
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
296 To make best use of the feature of inter-file jumping by
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
297 @kbd{[prefix] g} (see @ref{Cursor jump}), take described below into
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
298 consideration.
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
299
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
300 @itemize
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
301 @item You can put split texts in sub directory, but not in
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
302 sub directory of sub directory.
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
303 @item In the main text, specify the child file name with relative path name
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
304 such as \include{chap1/sub}, when you include the file in
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
305 a sub-directory.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
306 @item In a sub-text, write @code{%#!latex main.tex} even if @file{main.tex}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
307 is in the parent directory(not %#!latex ../main.tex).
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
308 @end itemize
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
309
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
310 @node Static region for typesetting, Lpr format, Changing typesetter, %# notation
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
311 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
312 @section Static region
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
313 @cindex static region
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
314 @cindex Fixed region
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
315
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
316 Typeset-region by @kbd{[prefix] tr} passes the region between point and
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
317 mark to typesetting command by default. But when you want to typeset
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
318 static region, enclose the region by @code{%#BEGIN} and @code{%#END} as
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
319 follows.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
320
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
321 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
322 %#BEGIN
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
323 TheRegionYouWantToTypesetManyTimes
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
324 %#END
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
325 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
326
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
327 This is the rule of deciding the region.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
328
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
329 @enumerate
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
330 @item
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
331 If there exists %#BEGIN before point,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
332
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
333 @enumerate
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
334 @item
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
335 If there exists %#END after %#BEGIN,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
336 @itemize
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
337 @item From %#BEGIN to %#END.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
338 @end itemize
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
339
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
340 @item
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
341 If %#END does not exist after %#BEGIN,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
342 @itemize
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
343 @item From %#BEGIN to the end of buffer.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
344 @end itemize
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
345 @end enumerate
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
346
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
347 @item
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
348 If there does not exist %#BEGIN before point,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
349 @itemize
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
350 @item Between point and mark(standard method of Emacs).
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
351 @end itemize
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
352 @end enumerate
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
353
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
354 It is useful to write @code{%#BEGIN} in the previous line of \begin and
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
355 @code{%#END} in the next line of \@code{end} when you try complex
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
356 environment such as `tabular' many times. It is also useful to put only
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
357 @code{%#BEGIN} alone at the middle of very long text. Do not forget to
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
358 erase @code{%#BEGIN} @code{%#END} pair.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
359
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
360 @node Lpr format, Editing %# notation, Static region for typesetting, %# notation
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
361 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
362 @section Lpr format
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
363 @cindex lpr format
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
364
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
365 Lpr format is specified by three Lisp variables. Here are the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
366 default values of them.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
367
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
368 @table @code
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
369 @item (1)dviprint-command-format
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
370 @code{"dvi2ps %f %t %s | lpr"}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
371 @item (2)dviprint-from-format
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
372 @code{"-f %b"}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
373 @item (3)dviprint-to-format
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
374 @code{"-t %e"}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
375 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
376
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
377 On YaTeX-lpr, @code{%s} in (1) is replaced by the file name of main
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
378 text, @code{%f} by contents of (2), %t by contents of (3). At these
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
379 replacements, @code{%b} in (2) is also replaced by the number of beginning
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
380 page, @code{%e} in (3) is replaced by the number of ending page. But
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
381 @code{%f} and @code{%t} are ignored when you omit the range of print-out
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
382 by @kbd{C-u [prefix] tl}.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
383
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
384 If you want to change this lpr format temporarily, put a command
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
385 such as follows somewhere in the text:
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
386
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
387 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
388 %#LPR dvi2ps %f %t %s | 4up -page 4 | texfix | lpr -Plp2
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
389 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
390
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
391 And if you want YaTeX not to ask you the range of printing
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
392 out, the next example may be helpful.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
393
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
394 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
395 %#LPR dvi2ps %s | lpr
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
396 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
397
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
398 @node Editing %# notation, , Lpr format, %# notation
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
399 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
400 @section Editing %# notation
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
401
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
402 To edit @code{%#} notation described above, type
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
403
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
404 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
405 @item [prefix] %
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
406 @dots{} editing %# notation menu
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
407 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
408
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
409 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
410 and select one of the entry of the menu as follows.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
411
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
412 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
413 !)Edit-%#! B)EGIN-END-region L)Edit-%#LPR
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
414 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
415
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
416 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
417 Type @kbd{!} to edit @code{%#!} entry, @code{b} to enclose the region with
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
418 @code{%#BEGIN} and @code{%#END}, and @code{l} to edit @code{%#LPR} entry.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
419 When you type @kbd{b}, all @code{%#BEGIN} and @code{%#END} are
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
420 automatically erased.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
421
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
422 @node Completion, Local dictionaries, %# notation, Top
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
423 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
424 @chapter Completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
425 @cindex completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
426
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
427 YaTeX makes it easy to input the La@TeX{} commands. There are several
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
428 kinds of completion type, begin-type, section-type, large-type, etc...
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
429
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
430 @menu
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
431 * Begin-type completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
432 * Section-type completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
433 * Large-type completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
434 * Maketitle-type completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
435 * Arbitrary completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
436 * End completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
437 * Accent completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
438 * Image completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
439 * Greek letters completion::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
440 @end menu
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
441
33
56f7676ed8ca Change the document for YaTeX-nervous.
yuuji
parents: 28
diff changeset
442 @node Begin-type completion, Section-type completion, Completion, Completion
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
443 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
444 @section Begin-type completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
445 @cindex begin-type completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
446 @cindex environment
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
447 @cindex prefix b
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
448
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
449 "Begin-type completion" completes commands of @code{\begin@{env@}} ...
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
450 @code{\end@{env@}}. All of the begin-type completions begin with this key
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
451 sequence.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
452
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
453 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
454 @item [prefix] b
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
455 @dots{} start begin-type completion
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
456 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
457
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
458 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
459 An additional key stroke immediately completes a frequently used
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
460 La@TeX{} @code{\begin@{@}}...@code{\@code{end}@{@}} environment.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
461
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
462 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
463 @item [prefix] b c
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
464 @dots{} @code{\begin@{center@}...\end@{center@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
465 @item [prefix] b d
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
466 @dots{} @code{\begin@{document@}...\end@{document@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
467 @item [prefix] b D
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
468 @dots{} @code{\begin@{description@}...\end@{description@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
469 @item [prefix] b e
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
470 @dots{} @code{\begin@{enumerate@}...\end@{enumerate@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
471 @item [prefix] b E
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
472 @dots{} @code{\begin@{equation@}...\end@{equation@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
473 @item [prefix] b i
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
474 @dots{} @code{\begin@{itemize@}...\end@{itemize@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
475 @item [prefix] b l
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
476 @dots{} @code{\begin@{flushleft@}...\end@{flushleft@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
477 @item [prefix] b m
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
478 @dots{} @code{\begin@{minipage@}...\end@{minipage@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
479 @item [prefix] b t
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
480 @dots{} @code{\begin@{tabbing@}...\end@{tabbing@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
481 @item [prefix] b T
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
482 @dots{} @code{\begin@{tabular@}...\end@{tabular@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
483 @item [prefix] b^T
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
484 @dots{} @code{\begin@{table@}...\end@{table@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
485 @item [prefix] b p
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
486 @dots{} @code{\begin@{picture@}...\end@{picture@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
487 @item [prefix] b q
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
488 @dots{} @code{\begin@{quote@}...\end@{quote@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
489 @item [prefix] b Q
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
490 @dots{} @code{\begin@{quotation@}...\end@{quotation@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
491 @item [prefix] b r
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
492 @dots{} @code{\begin@{flushright@}...\end@{flushright@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
493 @item [prefix] b v
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
494 @dots{} @code{\begin@{verbatim@}...\end@{verbatim@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
495 @item [prefix] b V
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
496 @dots{} @code{\begin@{verse@}...\end@{verse@}}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
497 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
498
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
499 Any other La@TeX{} environments are made by completing-read of the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
500 Emacs function.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
501
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
502 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
503 @item [prefix] b SPACE
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
504 @dots{} begin-type completion
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
505 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
506
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
507 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
508 The next message will show up in the minibuffer
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
509
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
510 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
511 Begin environment(default document):
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
512 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
513
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
514 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
515 by typing @kbd{[prefix] b}. Put the wishing environment with completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
516 in the minibuffer, and @code{\begin@{env@}}...\@code{\end@{env@}} will be
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
517 inserted in the La@TeX{} source text. If the environment you want to put
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
518 does not exist in the YaTeX completion table, it will be registered in the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
519 user completion table. YaTeX automatically saves the user completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
520 table in the user dictionary file at exiting of emacs.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
521
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
522 If you want to enclose some paragraphs which have already been
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
523 written, invoke the begin-type completion with changing the case
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
524 of @kbd{b} of key sequence upper(or invoke it with universal argument
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
525 by @kbd{C-u} prefix).
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
526 @cindex enclose region into environment
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
527
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
528 The following example encloses a region with `description'
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
529 environment.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
530
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
531 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
532 @item [prefix] B D
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
533 @itemx (or ESC 1 [prefix] b D)
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
534 @itemx (or C-u [prefix] b D)
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
535
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
536 @dots{} begin-type completion for region
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
537 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
538
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
539 This enclosing holds good for the completing input by @kbd{[prefix] b
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
540 SPC}. @kbd{[prefix] B SPC} enclose a region with the environment selected
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
541 by completing-read.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
542
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
543 @node Section-type completion, Large-type completion, Begin-type completion, Completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
544 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
545 @section Section-type completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
546 @cindex section-type completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
547 @cindex prefix s
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
548
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
549 "Section-type completion" completes section-type commands which take an
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
550 argument or more such as @code{\section@{foo@}}. To invoke section-type
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
551 completion, type
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
552
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
553 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
554 @item [prefix] s
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
555 @dots{} section-type completion
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
556 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
557
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
558 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
559 then the prompt
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
560
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
561 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
562 (C-v for view) \???@{@} (default documentstyle):
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
563 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
564
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
565 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
566 will show up in the minibuffer. Section-type La@TeX{} commands are
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
567 completed by space key, and the default value is selected when you
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
568 type nothing in the minibuffer.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
569
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
570 Next,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
571
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
572 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
573 \section@{???@}:
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
574 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
575
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
576 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
577 prompts you the argument of section-type La@TeX{} command. For
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
578 example, the following inputs
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
579
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
580 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
581 \???@{@} (default documentstyle): section
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
582 \section{???}: Hello world.
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
583 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
584
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
585 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
586 will insert the string
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
587
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
588 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
589 \section@{Hello world.@}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
590 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
591
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
592 in your La@TeX{} source. When you neglect argument such as
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
593
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
594 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
595 (C-v for view) \???@{@} (default section): vspace*
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
596 \vspace*@{???@}:
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
597 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
598
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
599 YaTeX puts
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
600
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
601 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
602 \vspace*@{@}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
603 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
604
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
605 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
606 and move the cursor in the braces.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
607
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
608 In La@TeX{} command, there are commands which take more than one
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
609 arguments such as @code{\addtolength{\topmargin}{8mm}}. To complete these
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
610 commands, invoke section-type completion with universal argument as,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
611 @cindex number of argument
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
612
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
613 @example
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
614 C-u 2 [prefix] s (or ESC 2 [prefix] s)
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
615 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
616
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
617 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
618 and make answers in minibuffer like this.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
619
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
620 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
621 (C-v for view) \???@{@} (default vspace*): addtolength
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
622 \addtolength@{???@}: \topmargin
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
623 Argument 2: 8mm
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
624 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
625
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
626 @code{\addtolength} and the first argument @code{\topmargin} can be typed
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
627 easily by completing read. Since YaTeX also learns the number of
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
628 arguments of section-type command and will ask that many arguments in
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
629 future completion, you had better tell the number of arguments to YaTeX at
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
630 the first completion of the new word. But you can change the number of
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
631 arguments by calling the completion with different universal argument
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
632 again.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
633
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
634
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
635 Invoking section-type completion with @code{[Prefix] S} (Capital `S')
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
636 includes the region as the first argument of section-type command.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
637
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
638 The section/large/maketitle type completion can work at the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
639 prompt for the argument of other section-type completion.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
640 Nested La@TeX{} commands are efficiently read with the recursive
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
641 completion by typing YaTeX's completion key sequence in the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
642 minibuffer.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
643
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
644 @menu
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
645 * view-sectioning::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
646 @end menu
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
647
33
56f7676ed8ca Change the document for YaTeX-nervous.
yuuji
parents: 28
diff changeset
648 @node view-sectioning, , Section-type completion, Section-type completion
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
649 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
650 @subsection view-sectioning
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
651 @cindex view sectioning
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
652 @cindex outline
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
653
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
654 In the minibuffer at the prompt of section-type command completion,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
655 typing @kbd{C-v} shows a list of sectioning commands in source text(The
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
656 line with @code{<<--} mark is the nearest sectioning command). Then,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
657 default sectioning command appears in the minibuffer. You can go up/down
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
658 sectioning command by typing @kbd{C-p}/@kbd{C-n}, can scrolls up/down the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
659 listing buffer by @kbd{C-v}/@kbd{M-v}, and can hide sectioning commands
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
660 under certain level by 0 through 6. Type @kbd{?} in the minibuffer of
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
661 sectioning prompt for more information.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
662
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
663 @node Large-type completion, Maketitle-type completion, Section-type completion, Completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
664 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
665 @section Large-type completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
666
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
667 "Large-type completion" inputs the font or size changing
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
668 descriptions such as @code{@{\large @}}. When you type
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
669
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
670 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
671 @item [prefix] l
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
672 @dots{} large-type completion
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
673 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
674
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
675 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
676 the message in the minibuffer
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
677
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
678 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
679 @{\??? @} (default large):
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
680 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
681
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
682 prompts prompts you large-type command with completing-read. There are
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
683 TeX commands to change fonts or sizes, @code{it}, @code{huge} and so on,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
684 in the completion table.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
685
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
686 Region-based completion is also invoked by changing the letter after
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
687 prefix key stroke as @kbd{[prefix] L}. It encloses the region by braces
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
688 with large-type command.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
689
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
690 @node Maketitle-type completion, Arbitrary completion, Large-type completion, Completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
691 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
692 @section Maketitle-type completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
693 @cindex maketitle-type completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
694
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
695 We call it "maketitle-type completion" which completes commands such as
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
696 @code{\maketitle}. Take notice that maketitle-type commands take no
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
697 arguments. Then, typing
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
698
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
699 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
700 @item [prefix] m
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
701 @dots{} maketitle-type completion
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
702 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
703
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
704 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
705 begins maketitle-completion. Above mentioned method is true for
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
706 maketitle-completion, and there are La@TeX{} commands with no
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
707 arguments in completion table.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
708
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
709 @node Arbitrary completion, End completion, Maketitle-type completion, Completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
710 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
711 @section Arbitrary completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
712 @cindex arbitrary completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
713
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
714 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
715 You can complete certain La@TeX{} command anywhere without typical
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
716 completing method as described, by typing
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
717
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
718 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
719 @item [prefix] SPC
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
720 @dots{} arbitrary completion
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
721 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
722
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
723 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
724 after the initial string of La@TeX{} command that is preceded by @code{\}.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
725
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
726 @node End completion, Accent completion, Arbitrary completion, Completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
727 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
728 @section End completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
729 @cindex end completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
730
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
731 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
732 YaTeX automatically detects the opened environment and close it with
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
733 \@code{\end@{environment@}}. Though proficient YaTeX users never fail to
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
734 make environment with begin-type completion, some may begin an environment
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
735 manually. In that case, type
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
736
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
737 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
738 @item [prefix] e
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
739 @dots{} @code{end} completion
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
740 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
741
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
742 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
743 at the end of the opened environment.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
744
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
745 @node Accent completion, Image completion, End completion, Completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
746 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
747 @section Accent completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
748 @cindex accent completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
749
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
750 When you want to write the European accent marks(like @code{\`@{o@}}),
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
751
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
752 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
753 @item [prefix] a
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
754 @dots{} accent completion
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
755 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
756
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
757 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
758 shows the menu
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
759
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
760 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
761 1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
762 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
763
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
764 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
765 in the minibuffer. Chose one character or corresponding numeric,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
766 and you will see
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
767
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
768 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
769 \`{}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
770 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
771
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
772 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
773 in the editing buffer with the cursor positioned in braces. Type
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
774 one more character `o' for example, then
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
775
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
776 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
777 \`{o}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
778 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
779
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
780 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
781 will be completed, and the cursor gets out from braces.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
782
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
783 @node Image completion, Greek letters completion, Accent completion, Completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
784 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
785 @section Image completion of mathematical sign
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
786 @cindex image completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
787 @cindex math-mode
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
788 @cindex sigma
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
789 @cindex leftarrow
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
790 @cindex ;
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
791
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
792 Arrow marks, sigma mark and those signs mainly used in the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
793 TeX's math environment are completed by key sequences which
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
794 imitate the corresponding symbols graphically. This completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
795 only works in the math environment. YaTeX automatically detects
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
796 whether the cursor located in math environment or not, and
52
5d94deabb9f9 Set YaTeX-indent-line to 'indent-line-function.
yuuji
parents: 51
diff changeset
797 change the behavior of key strokes @kbd{;} and @kbd{:}.
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
798
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
799 By the way, we often express the leftarrow mark by `<-' for example.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
800 Considering such image, you can write @code{\leftarrow} by typing @kbd{<-}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
801 after @kbd{;} (semicolon) as a prefix. In the same way,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
802 @code{\longleftarrow} (@code{<--}) is completed by typing @kbd{;<--},
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
803 infinity mark which is imitated by @code{oo} is completed by typing
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
804 @kbd{;oo}.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
805
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
806 Here are the sample operations in YaTeX math-mode.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
807
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
808 @example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
809 INPUT Completed La@TeX{} commands
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
810 ; < - @code{\leftarrow}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
811 ; < - - @code{\longleftarrow}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
812 ; < - - > @code{\longleftrightarrow}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
813 ; o @code{\circ}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
814 ; o o @code{\infty}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
815 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
816
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
817 In any case, you can quit from image completion and can move
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
818 to the next editing operation if the La@TeX{} command you want is
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
819 shown in the buffer.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
820
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
821 @code{;} itself in math-environment is inserted by @kbd{;;}. Typing
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
822 @kbd{TAB} in the midst of image completion shows all of the La@TeX{}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
823 commands that start with the same name as string you previously typed in.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
824 In this menu buffer, press @kbd{RET} after moving the cursor (by @kbd{n},
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
825 @kbd{p}, @kbd{b}, @kbd{f}) to insert the La@TeX{} command.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
826
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
827 To know all of the completion table, type @kbd{TAB} just after @kbd{;}.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
828 And here is the sample menu by @kbd{TAB} after @kbd{;<}.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
829
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
830 @example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
831 KEY LaTeX sequence sign
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
832 < \leq <
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
833 ~
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
834 << \ll <<
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
835 <- \leftarrow <-
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
836 <= \Leftarrow <=
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
837 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
838
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
839 You can define your favorite key-vs-sequence completion table in the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
840 Emacs-Lisp variable @code{YaTeX-math-sign-alist-private}. See also
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
841 @file{yatexmth.el} for the information of the structure of this variable.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
842
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
843 @node Greek letters completion, , Image completion, Completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
844 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
845 @section Greek letters completion
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
846 @cindex Greek letters completion
52
5d94deabb9f9 Set YaTeX-indent-line to 'indent-line-function.
yuuji
parents: 51
diff changeset
847 @cindex :
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
848
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
849 Math-mode of YaTeX provides another image completion, Greek letters
52
5d94deabb9f9 Set YaTeX-indent-line to 'indent-line-function.
yuuji
parents: 51
diff changeset
850 completion in the same method. After prefix @kbd{:}, typing @kbd{a} makes
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
851 @code{\alpha}, @kbd{b} makes @code{\beta} and @kbd{g} makes @code{\gamma}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
852 and so on. First, type @kbd{/TAB} to know all the correspondence of
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
853 alphabets v.s. Greek letters.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
854
52
5d94deabb9f9 Set YaTeX-indent-line to 'indent-line-function.
yuuji
parents: 51
diff changeset
855 If you will find @kbd{;} or @kbd{:} doesn't work in correct position of
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
856 math environment, it may be a bug of YaTeX. Please send me a bug report
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
857 with the configuration of your text, and avoid it temporarily by typing
52
5d94deabb9f9 Set YaTeX-indent-line to 'indent-line-function.
yuuji
parents: 51
diff changeset
858 @kbd{;} or @kbd{:} after universal-argument(@kbd{C-u}) which forces
5d94deabb9f9 Set YaTeX-indent-line to 'indent-line-function.
yuuji
parents: 51
diff changeset
859 @kbd{;} and @kbd{:} to work as math-prefix.
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
860
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
861 @node Local dictionaries, Commenting out, Completion, Top
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
862 @comment node-name, next, previous, up
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
863 @chapter Local dictionaries
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
864 @cindex local dictionaries
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
865 @cindex nervous users
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
866
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
867 Tables for completion consist of three dictionaries; `standard
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
868 dictionary' built in @file{yatex.el}, `user dictionary' for your common
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
869 private commands, and `local dictionary' that is effective in a certain
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
870 directory.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
871
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
872 When you input the command unknown to YaTeX at a completion in the
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
873 minibuffer, YaTeX asks you with the following prompt;
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
874
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
875 @example
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
876 `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscad
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
877 @end example
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
878
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
879 @noindent
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
880 In this menu, typing @kbd{u} updates your `user dictionary', @kbd{l}
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
881 updates your local dictionary, @kbd{n} updates only on-memory dictionary
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
882 which go through only current Emacs session, and @kbd{d} updates no
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
883 dictionary and throws the new word away.
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
884
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
885 If you find this switching feature meaningless and bothersome, put the
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
886 next expression into your @file{~/.emacs}
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
887
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
888 @lisp
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
889 (setq YaTeX-nervous nil)
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
890 @end lisp
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
891
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
892 @node Commenting out, Cursor jump, Local dictionaries, Top
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
893 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
894 @chapter Commenting out
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
895 @cindex commenting out
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
896 @cindex prefix >
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
897 @cindex prefix <
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
898 @cindex prefix ,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
899 @cindex prefix .
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
900
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
901 You may want to comment out some region.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
902
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
903 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
904 @item [prefix] >
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
905 @dots{} comment out region by %
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
906 @item [prefix] <
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
907 @dots{} uncomment region
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
908 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
909
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
910 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
911 cause an operation to the region between point and mark.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
912
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
913 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
914 @item [prefix] .
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
915 @dots{} comment out current paragraph
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
916 @item [prefix] ,
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
917 @dots{} uncomment current paragraph
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
918 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
919
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
920 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
921 comments or uncomments the paragraph where the cursor belongs.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
922 This `paragraph' means the region marked by the function
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
923 mark-paragraph, bound to @kbd{ESC h} by default. It is NOT
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
924 predictable what will happen when you continuously comment out
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
925 some paragraph many times.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
926
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
927 You can also comment out an environment between @code{\begin} and
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
928 @code{\end}, or a @code{\begin}-\@code{\end} pair themselves, by making the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
929 following key strokes on the line where @code{\begin@{@}} or
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
930 @code{\end@{@}} exists.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
931
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
932 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
933 @item [prefix] >
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
934 @dots{} comment out from \begin to \@code{end}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
935 @item [prefix] <
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
936 @dots{} uncomment from \begin to \@code{end}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
937 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
938
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
939 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
940 comment whole the contents of environment. Moreover,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
941
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
942 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
943 @item [prefix] .
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
944 @dots{} comment out \begin and \@code{end}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
945 @item [prefix] ,
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
946 @dots{} uncomment \begin and \@code{end}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
947 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
948
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
949 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
950 (un)comments out only environment declaration: @code{\begin@{@}} and
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
951 @code{\end@{@}}. NOTE that even if you intend to comment out some region,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
952 invoking @kbd{[prefix] >} on the @code{\begin},@code{\end} line decides to
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
953 work in `commenting out from @code{\begin} to @code{\end}' mode.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
954
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
955
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
956 @node Cursor jump, Changing and Deleting, Commenting out, Top
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
957 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
958 @chapter Cursor jump
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
959 @cindex cursor jump
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
960 @cindex prefix g
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
961
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
962 @section Jump to corresponding object
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
963
48
a0640ff3f72f Inter-file ref/label, cite/bibitem jump.
yuuji
parents: 46
diff changeset
964 Typing
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
965
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
966 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
967 @item [prefix] g
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
968 @dots{} go to corresponding object
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
969 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
970
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
971 @noindent
48
a0640ff3f72f Inter-file ref/label, cite/bibitem jump.
yuuji
parents: 46
diff changeset
972 in a certain place move the cursor to the place corresponding to the
a0640ff3f72f Inter-file ref/label, cite/bibitem jump.
yuuji
parents: 46
diff changeset
973 La@TeX{} command of last place. YaTeX recognize the followings as pairs
a0640ff3f72f Inter-file ref/label, cite/bibitem jump.
yuuji
parents: 46
diff changeset
974 that have relation each other.
a0640ff3f72f Inter-file ref/label, cite/bibitem jump.
yuuji
parents: 46
diff changeset
975
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
976 @itemize @bullet
48
a0640ff3f72f Inter-file ref/label, cite/bibitem jump.
yuuji
parents: 46
diff changeset
977 @item @code{\begin@{@}} <-> @code{\end@{@}}
a0640ff3f72f Inter-file ref/label, cite/bibitem jump.
yuuji
parents: 46
diff changeset
978 @item @code{%#BEGIN} <-> @code{%#END}
a0640ff3f72f Inter-file ref/label, cite/bibitem jump.
yuuji
parents: 46
diff changeset
979 @item @code{\label@{@}} <-> @code{\ref@{@}}
a0640ff3f72f Inter-file ref/label, cite/bibitem jump.
yuuji
parents: 46
diff changeset
980 @item @code{\include(\input)} -> included file
a0640ff3f72f Inter-file ref/label, cite/bibitem jump.
yuuji
parents: 46
diff changeset
981 @item @code{\bibitem@{@}} <-> @code{\cite@{@}}
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
982 @end itemize
48
a0640ff3f72f Inter-file ref/label, cite/bibitem jump.
yuuji
parents: 46
diff changeset
983
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
984 On a @code{\begin},@code{\end} line, typing @kbd{[prefix] g} moves the
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
985 cursor to the corresponding @code{\end},@code{\begin} line, if its partner
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
986 really exists. The behavior on the line @code{%#BEGIN} and @code{%#END}
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
987 are the same. Note that if the correspondent of @code{label/ref} or
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
988 @code{cite/bibitem} exists in another file, that file have to be opened to
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
989 make a round trip between references by @kbd{[prefix] g}.
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
990
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
991 If you type @code{[prefix] g} on the line of @code{\include@{chap1@}},
48
a0640ff3f72f Inter-file ref/label, cite/bibitem jump.
yuuji
parents: 46
diff changeset
992 typically in the main text, YaTeX switches buffer to @file{chap1.tex}.
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
993
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
994 @table @kbd
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
995 @item [prefix] 4 g
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
996 @dots{} go to corresponding object in other window
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
997 @end table
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
998
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
999 @noindent
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1000 do the same job as @kbd{[prefix] g} except it's done in other window.
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1001 Note that this function doesn't work on @code{begin/end},
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1002 @code{%#BEGIN/%#END} pairs because it is meaningless.
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1003
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1004 @section Jump to main file
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1005
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1006 Typing
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1007
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1008 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1009 @item [prefix] ^
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1010 @dots{} visit main file
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1011 @item [prefix] 4^
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1012 @dots{} visit main file in other buffer
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1013 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1014 @cindex prefix ^
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1015 @cindex prefix 4 ^
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1016
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1017 in a sub text switch the buffer to the main text specified by
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1018 @code{%#!} notation.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1019
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1020 @section Other jumping features
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1021
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1022 And these are the functions which work on the current La@TeX{}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1023 environment:
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1024
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1025 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1026 @item M-C-a
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1027 @dots{} beginning of environment
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1028 @item M-C-e
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1029 @dots{} @code{end} of environment
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1030 @item M-C-@@
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1031 @dots{} mark environment
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1032 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1033 @cindex M-C-a
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1034 @cindex M-C-e
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1035 @cindex M-C-@@
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1036
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1037 @node Changing and Deleting, Filling, Cursor jump, Top
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1038 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1039 @chapter Changing and Deleting
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1040
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1041 These functions are for change or deletion of La@TeX{} commands
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1042 already entered.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1043
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1044 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1045 @item [prefix] c
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1046 @dots{} change La@TeX{} command
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1047 @item [prefix] k
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1048 @dots{} kill La@TeX{} command
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1049 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1050 @cindex prefix c
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1051 @cindex prefix k
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1052
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1053 @menu
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1054 * Changing La@TeX{} commands::
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1055 * Killing La@TeX{} commands::
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1056 @end menu
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1057
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1058 @node Changing La@TeX{} commands, Killing La@TeX{} commands, Changing and Deleting, Changing and Deleting
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1059 @comment node-name, next, previous, up
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1060 @section Changing La@TeX{} commands
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1061
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1062 @kbd{[prefix] c} can change the various (La)@TeX{} commands. This can
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1063 change the followings.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1064 @itemize @bullet
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1065 @item Environment names
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1066 @item Section-type commands
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1067 @item Argument of section-type commands
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1068 @item Optional parameters (enclosed by []) of section-type commands
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1069 @item Font/size designators
52
5d94deabb9f9 Set YaTeX-indent-line to 'indent-line-function.
yuuji
parents: 51
diff changeset
1070 @item Math-mode's maketitle-type commands that can be inputted with
5d94deabb9f9 Set YaTeX-indent-line to 'indent-line-function.
yuuji
parents: 51
diff changeset
1071 image completion
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1072 @end itemize
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1073
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1074 Typing @kbd{[prefix] c} on one of above objects you want to change
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1075 brings a suitable reading function sometimes with completion.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1076 Note: If you want to change the argument of section-type command that
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1077 contains other La@TeX{} commands, type @kbd{[prefix] c} either of
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1078 surrounding braces of the argument in order to make YaTeX ignore the
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1079 internal La@TeX{} sequences as an object of changing. Anyway, it is
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1080 very difficult to know which argument position the cursor belongs because
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1081 the La@TeX{} commands can be nested and braces can freely emerge. So keep
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1082 it mind to put the cursor on a brace when you are thinking of changing a
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1083 complicated argument.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1084
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1085 @node Killing La@TeX{} commands, , Changing La@TeX{} commands, Changing and Deleting
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1086 @comment node-name, next, previous, up
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1087 @section Killing La@TeX{} commands
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1088 @cindex Killing La@TeX{} commands
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1089
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1090 @kbd{[prefix] k} kills the La@TeX{} commands sometimes with their
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1091 arguments. Following table illustrates the correspondence of the invoking
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1092 position and what is killed.
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1093
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1094 @example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1095 [Invoking position] [action]
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1096 \begin, \end line kill \begin,\end pairs
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1097 %#BEGIN, %#END line kill %#BEGIN,%#END pairs
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1098 on a Section-type command kill section-type command
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1099 on a parenthesis kill parentheses
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1100 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1101
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1102 Note that when killing @code{\begin, \end} or @code{%#BEGIN, %#END} pair,
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1103 the lines @code{\begin, \end} or @code{%#BEGIN, %#END} exist will be
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1104 killed entirely. So take care not to create any line that contains more
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1105 than one @code{\begin} or so.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1106
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1107 While all operations above are to kill `containers' which surround some
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1108 text, universal argument (@kbd{C-u}) for these commands kills not only
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1109 `containers' but also `contents' of them. See below as a sample.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1110
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1111 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1112 Original text: [prefix] k C-u [prefix] k
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1113 Main \footnote@{note@} here. Main note here. Main here.
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1114 ~(cursor)
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1115 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1116
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1117 @node Filling, Updation of @code{\includeonly}, Changing and Deleting, Top
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1118 @comment node-name, next, previous, up
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1119 @chapter Filling
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1120 @cindex filling
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1121
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1122 @section Filling an item
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1123 @cindex filling an item
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1124 @cindex prefix i
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1125
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1126 To fill a term (descriptive sentences) of @code{\item}, type
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1127
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1128 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1129 @item [prefix] i
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1130 @dots{} fill item
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1131 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1132
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1133 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1134 on that item.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1135
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1136 YaTeX uses the value of the variable @code{YaTeX-item-regexp} as the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1137 regular expression to search item header in itemize environment.
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1138 If you make a newcommand to itemize terms(e.g. @code{\underlineitem}), put
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1139
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1140 @lisp
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1141 (setq YaTeX-item-regexp
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1142 "\\(\\\\item\\)\\|\\(\\\\underlineitem\\)")
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1143 @end lisp
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1144 @cindex YaTeX-item-regexp
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1145
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1146 in your @file{~/.emacs}. If you are not familiar with regular expression
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1147 for Emacs-Lisp, name a newcommand for `itemize' beginning with
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1148 @code{\item} such as @code{\itembf}, not @code{\bfitem}.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1149
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1150 This function -- YaTeX-fill-item -- reformats the @code{\item} into
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1151 `hang-indented' style. When you separate the topic word and its
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1152 description, use @kbd{M-q} instead. For example:
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1153
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1154 @example
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1155 Hang indentation:
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1156 >
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1157 >\item[foo] `foo' is the typical word for describing an
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1158 > arbitrarily written....
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1159
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1160 Normal indentation:
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1161 >
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1162 > \item bar
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1163 >
52
5d94deabb9f9 Set YaTeX-indent-line to 'indent-line-function.
yuuji
parents: 51
diff changeset
1164 > When the word `for' is used as an arbitrarily word, `bar'
5d94deabb9f9 Set YaTeX-indent-line to 'indent-line-function.
yuuji
parents: 51
diff changeset
1165 > is bound to follow it.
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1166 @end example
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1167
52
5d94deabb9f9 Set YaTeX-indent-line to 'indent-line-function.
yuuji
parents: 51
diff changeset
1168 Note that the indent depth of an @code{\item} word and its descriptive
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1169 paragraph are the same in latter case. If you want to use different
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1170 depth, invoke fill-paragraph at the beginning of non-whitespace
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1171 character(see below).
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1172
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1173 @section Filling paragraph
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1174 @cindex Filling paragraph
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1175 @cindex M-q
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1176
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1177 Fill-paragraph is little bit adapted for La@TeX{} sources. It retains from
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1178 filling in certain environments where formatting leads to a disaster such
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1179 as verbatim, tabular, or so. And it protects @code{\verb} expressions
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1180 from being folded (The variable @code{YaTeX-verb-regexp} controls this).
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1181 Besides, putting cursor on the first occurrence of non-whitespace
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1182 character on a line changes the fill-prefix temporarily to the depth of
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1183 the line.
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1184
53
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1185 @node Updation of includeonly, What column?, Filling, Top
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1186 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1187 @chapter Updation of @code{\includeonly}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1188 @cindex includeonly
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1189
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1190 When you edit splitting source texts, the notation
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1191
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1192 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1193 \includeonly@{CurrentEditingFileName@}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1194 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1195
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1196 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1197 in the main file reduces the time of typesetting. If you want
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1198 to hack other file a little however, you have to rewrite it to
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1199
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1200 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1201 \includeonly@{OtherFileNameYouWantToFix@}
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1202 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1203
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1204 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1205 in the main file. YaTeX automatically detects that the current
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1206 edited text is not in includeonly list and prompts you
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1207
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1208 @example
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1209 A)dd R)eplace %)comment?
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1210 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1211
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1212 in the minibuffer. Type @kbd{a} if you want to add the current file name
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1213 to @code{\includeonly} list, @kbd{r} to replace \@code{includeonly} list
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1214 by the current file, and type @kbd{%} to comment out the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1215 @code{\includeonly} line.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1216
28
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1217 @node What column?, Intelligent newline, Updation of @code{\includeonly}, Top
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1218 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1219 @chapter What column?
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1220 @cindex what column
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1221 @cindex complex tabular
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1222 @cindex prefix &
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1223
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1224 We are often get tired of finding the corresponding column in
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1225 large tabulars. For example,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1226
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1227 @example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1228 \begin@{tabular@}@{|c|c|c|c|c|c|c|c|@}\hline
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1229 Name&Position&Post No.&Addr.&Phone No.&FAX No.&
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1230 Home Addr.&Home Phone\\ \hline
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1231 Thunder Bird & 6 & 223 & LA & xxx-yyy &
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1232 zzz-www & Japan & 9876-54321 \\
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1233 & 2 & \multicolumn@{2@}@{c|@}@{Unknown@}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1234 &&&(???)
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1235 \\ \hline
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1236 \end@{tabular@}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1237 @end example
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1238
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1239 Suppose you have the cursor located at @code{(???)} mark, can you tell
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1240 which column it is belonging at once? Maybe no. In such case,
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1241 type
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1242
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1243 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1244 @item [prefix] &
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1245 @dots{} What column
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1246 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1247
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1248 @noindent
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1249 in that position. YaTeX tells you the column header of the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1250 current field. Since YaTeX assumes the first line of tabular
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1251 environment as a row of column headers, you can create a row of
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1252 virtual column headers by putting them in the first line and
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1253 commenting that line with @code{%}.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1254
28
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1255 @node Intelligent newline, Online help, What column?, Top
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1256 @comment node-name, next, previous, up
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1257 @chapter Intelligent newline
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1258 @cindex Intelligent newline
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1259 @cindex ESC RET
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1260 @cindex M-C-m
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1261
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1262 In tabular[*], array, itemize, enumerate or tabbing environment,
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1263
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1264 @table @kbd
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1265 @item ESC RET
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1266 @dots{} Intelligent newline
28
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1267 @end table
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1268
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1269 @noindent
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1270 inserts the contents corresponding to the current environment in the next
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1271 line. In @code{tabular} environment, for example, @kbd{ESC RET} inserts
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1272 the certain number of @code{&} and trailing @code{\\}, and @code{\hline}
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1273 if other @code{\hline} is found in backward. Here are the list of
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1274 contents v.s. environments.
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1275
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1276 @itemize
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1277 @item @code{tabular}, @code{tabular*}, @code{array}
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1278
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1279 Corresponding number of @code{&} and @code{\\}.
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1280 And @code{\hline} if needed.
28
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1281
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1282 @item @code{tabbing}
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1283
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1284 The same number of @code{\>} as @code{\=} in the first line.
28
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1285
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1286 @item @code{itemize}, @code{enumerate}, @code{description}, @code{list}
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1287
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1288 @code{\item} or @code{item[]}.
28
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1289 @end itemize
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1290
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1291 Note that since this function works seeing the contents of the first
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1292 line, please call this after the second line if possible.
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1293
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1294 If you want to apply these trick to other environments, @code{foo}
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1295 environment for example, define the function named
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1296 @code{YaTeX-intelligent-newline-foo} to insert corresponding contents.
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1297 That function will be called at the beginning of the next line after the
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1298 newline is inserted to the current line. Since the function
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1299 @code{YaTeX-indent-line} is designed to indent the current line properly,
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1300 calling this function before your code to insert certain contents must be
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1301 useful. See the definition of the function
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1302 @code{YaTeX-intelligent-newline-itemize} as an example.
0f8b77d22c8a Add docs on intelligent-newline.
yuuji
parents: 20
diff changeset
1303
53
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1304 @node Online help, Browsing file hierarchy, Intelligent newline, Top
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1305 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1306 @chapter Online help
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1307 @cindex online help
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1308 @cindex prefix ?
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1309 @cindex prefix /
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1310 @cindex apropos
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1311 @cindex keyword search
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1312
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1313 YaTeX provides you the online help with popular La@TeX{} commands.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1314
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1315 Here are the key strokes for the online help.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1316
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1317 @table @kbd
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1318 @item [prefix] ?
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1319 @dots{} Online help
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1320 @item [prefix] /
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1321 @dots{} Online apropos
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1322 @end table
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1323
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1324 @section Online help
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1325
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1326 `Online help' shows the documentation for the popular La@TeX{}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1327 commands(defaults to the commands on the cursor) in the next buffer.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1328 There are two help file, `global help' and `private help'. The former
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1329 file contains the descriptions on the standard La@TeX{} command and is
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1330 specified its name by variable @code{YaTeX-help-file}. Usually, the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1331 global help file should be located in public space (@code{$EMACSEXECPATH}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1332 by default) and should be world writable so that anyone can update it to
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1333 enrich its contents. The latter file contains descriptions on
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1334 non-standard or personal command definitions and is specified by
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1335 @code{YaTeX-help-file-private}. This file should be put into private
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1336 directory.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1337
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1338 @section Online apropos
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1339
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1340 `Online apropos' is an equivalent of GNU Emacs's apropos. It
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1341 shows all the documentations that contains the keyword entered by
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1342 the user.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1343
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1344 @section When no descriptions are found...
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1345
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1346 If there is no description on a command in help files, YaTeX
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1347 requires you to write a description on that command. If you are
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1348 willing to do, determine which help file to add and write the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1349 description on it referring your manual of (La)TeX. Please send
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1350 me your additional descriptions if you describe the help on some
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1351 standard commands. I might want to include it in the next
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1352 distribution.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1353
53
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1354 @node Browsing file hierarchy, Cooperation with other packages, Online help, Top
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1355 @comment node-name, next, previous, up
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1356 @chapter Browsing file hierarchy
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1357 @cindex hierarchy
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1358 @cindex browsing
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1359
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1360 When you are editing multi-file source, typing
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1361
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1362 @table @kbd
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1363 @item [prefix] d
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1364 @dots{} browse file hierarchy
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1365 @end table
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1366
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1367 @noindent
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1368 asks you the parent-most file (which may be defaulted) and displays the
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1369 documentation hierarchy in the next window. In this buffer, the following
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1370 commands are available.
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1371
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1372 @table @kbd
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1373 @item n
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1374 @dots{} move to the next line and show its contents
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1375 @item p
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1376 @dots{} move to the previous line and show its contents
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1377 @item N
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1378 @dots{} move to the next file in the same inclusion level
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1379 @item P
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1380 @dots{} move to the previous file in the same inclusion level
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1381 @item j
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1382 @dots{} move to the next line
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1383 @item k
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1384 @dots{} move to the previous line
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1385 @item u
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1386 @dots{} move to the parent file
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1387 @item .
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1388 @dots{} show the current files contents in the next window
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1389 @item SPC
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1390 @dots{} scroll up the current file window
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1391 @item DEL, b
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1392 @dots{} scroll down the current file window
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1393 @item <
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1394 @dots{} show the beginning of the current file
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1395 @item >
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1396 @dots{} show the end of the current file
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1397 @item >
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1398 @dots{} return to the previous postion after @kbd{<} or @kbd{>}
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1399 @item RET, g
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1400 @dots{} open the current file in the next window
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1401 @item mouse-2
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1402 @dots{} same as RET(available only with window system)
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1403 @item o
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1404 @dots{} other window
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1405 @item 1
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1406 @dots{} delete other windows
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1407 @item -
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1408 @dots{} shrink hierarchy buffer window
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1409 @item +
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1410 @dots{} enlarge hierarchy buffer window
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1411 @item ?
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1412 @dots{} describe mode
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1413 @item q
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1414 @dots{} quit
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1415 @end table
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1416
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1417 Note that operations on the file contents in the next window do not work
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1418 correctly when you close the corresponding file.
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1419
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1420 @node Cooperation with other packages, Customizations, Browsing file hierarchy, Top
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1421 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1422 @chapter Cooperation with other packages
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1423
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1424 YaTeX works better with other brilliant packages.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1425
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1426 @section gmhist
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1427 @cindex gmhist
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1428 @cindex command history
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1429 @cindex minibuffer history
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1430
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1431 When you are loading @file{gmhist.el} and @file{gmhist-mh.el}, you can
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1432 use independent command history list at the prompt of preview command
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1433 (@kbd{[prefix] tp}) and print command (@kbd{[prefix] tl}). On each
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1434 prompt, you can enter the previous command line string repeatedly by
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1435 typing @kbd{M-p}.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1436
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1437 @section min-out
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1438 @cindex min-out
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1439
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1440 @file{min-out}, the outline minor mode, can be used in yatex-mode
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1441 buffers. If you want to use it with YaTeX, please refer the
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1442 file @file{yatexm-o.el} as an example.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1443
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1444 @node Customizations, Etcetera, Cooperation with other packages, Top
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1445 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1446 @chapter Customizations
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1447 @cindex customizations
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1448
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1449 You can customize YaTeX by setting Emacs-Lisp variables and by making
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1450 add-in functions.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1451
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1452 @menu
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1453 * Lisp variables::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1454 * Add-in functions::
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1455 * Add-in generator::
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1456 @end menu
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1457
33
56f7676ed8ca Change the document for YaTeX-nervous.
yuuji
parents: 28
diff changeset
1458 @node Lisp variables, Add-in functions, Customizations, Customizations
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1459 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1460 @section Lisp variables
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1461 @cindex customizable variables
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1462
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1463 You can change the key assignments or make completion more
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1464 comfortable by setting the values of various variables which
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1465 control the movement of yatex-mode.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1466
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1467 For example, if you want to change the prefix key stroke from @kbd{C-c}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1468 to any other sequence, set YaTeX-prefix to whatever you want to use. If
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1469 you don't want to use the key sequence @kbd{C-c letter} which is assumed
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1470 to be the user reserved sequence in Emacs world, set
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1471 @code{YaTeX-inhibit-prefix-letter} to @code{t}, and all of the default key
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1472 bind of @kbd{C-c letter} will turn to the corresponding @kbd{C-c C-letter}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1473 (but the region based completions that is invoked with @kbd{C-c
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1474 Capital-letter} remain valid, if you want to disable those bindings, set
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1475 that variable to 1 instead of @code{t}).
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1476
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1477 @menu
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1478 * All customizable variables::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1479 * Sample definitions::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1480 * Hook variables::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1481 * Hook file::
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1482 @end menu
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1483
33
56f7676ed8ca Change the document for YaTeX-nervous.
yuuji
parents: 28
diff changeset
1484 @node All customizable variables, Sample definitions, Lisp variables, Lisp variables
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1485 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1486 @subsection All customizable variables
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1487 @cindex all customizable variables
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1488
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1489 Here are the customizable variables of yatex-mode. Each value setq-ed
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1490 in @file{~/.emacs} is preferred and that of defined in @file{yatex.el} is
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1491 neglected. Parenthesized contents stands for the default value. When you
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1492 are to change some of these variables, see more detailed documentation of
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1493 the variable by @kbd{M-x describe-variable}.
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1494
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1495 @defvar YaTeX-prefix
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1496 Prefix key stroke (@kbd{C-c})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1497 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1498
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1499 @defvar YaTeX-inhibit-prefix-letter
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1500 Change key stroke from @kbd{C-c letter} to @kbd{C-c C-letter}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1501 (@code{nil})
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1502 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1503
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1504 @defvar YaTeX-fill-prefix
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1505 Fill-prefix used in yatex-mode (@code{nil})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1506 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1507
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1508 @defvar YaTeX-open-lines
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1509 Number of blank lines between cursor and @code{\begin@{@}},
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1510 @code{\@code{end}@{@}} (0)
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1511 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1512
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1513 @defvar YaTeX-user-completion-table
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1514 Name of user dictionary where learned completion table will be stored.
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1515 (@code{"~/.yatexrc"})
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1516 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1517
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1518 @defvar YaTeX-item-regexp
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1519 Regular expression of item command(@code{"\\\\item"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1520 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1521
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1522 @defvar tex-command
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1523 La@TeX{} typesetter command (@code{"latex"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1524 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1525
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1526 @defvar dvi2-command
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1527 Preview command
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1528 (@code{"xdvi -geo +0+0 -s 4 -display (getenv"DISPLAY")"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1529 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1530
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1531 @defvar dviprint-command-format
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1532 Command format to print dvi file (@code{"dvi2ps %f %t %s | lpr"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1533 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1534
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1535 @defvar dviprint-from-format
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1536 Start page format of above %f. %b will turn to start page
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1537 (@code{"-f %b"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1538 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1539
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1540 @defvar dviprint-to-format
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1541 End page format of above %t. %e will turn to @code{end} page
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1542 (@code{"-t %e"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1543 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1544
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1545 @defvar section-name
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1546 Initial default value at the first section-type completion
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1547 (@code{"documentstyle"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1548 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1549
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1550 @defvar env-name
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1551 Initial default value at the first begin-type completion
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1552 (@code{"document"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1553 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1554
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1555 @defvar fontsize-name
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1556 Ditto of large-type (@code{"large"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1557 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1558
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1559 @defvar single-command
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1560 Ditto of maketitle-type (@code{"maketitle"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1561 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1562
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1563 @defvar YaTeX-need-nonstop
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1564 Put @code{\nonstopmode@{@}} or not (@code{nil})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1565 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1566
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1567 @defvar latex-warning-regexp
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1568 Regular expression of warning message latex command puts out
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1569 (@code{"line.* [0-9]*"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1570 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1571
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1572 @defvar latex-error-regexp
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1573 Regular expression of error message (@code{"l\\.[1-9][0-9]*"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1574 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1575
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1576 @defvar latex-dos-emergency-message
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1577 Message latex command running on DOS puts at abort
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1578 (@code{"Emergency stop"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1579 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1580
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1581 @defvar YaTeX-item-regexp
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1582 Regexp of La@TeX{} itemization command (@code{"\\\\(sub\\)*item"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1583 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1584
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1585 @defvar YaTeX-verb-regexp
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1586 Regexp of La@TeX{} verb command family. Omit \\\\.
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1587 (@code{"verb\\*?\\|path"})
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1588 @end defvar
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1589
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1590 @defvar YaTeX-nervous
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1591 T for using local dictionary (@code{t})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1592 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1593
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1594 @defvar YaTeX-sectioning-regexp
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1595 Regexp of La@TeX{} sectioning command
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1596
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1597 (@code{"part\\|chapter\\|\\(sub\\)*\\(section\\|paragraph\\)"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1598 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1599
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1600 @defvar YaTeX-fill-inhibit-environments
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1601 Inhibit fill in these environments (@code{'("verbatim" "tabular")})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1602 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1603
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1604 @defvar YaTeX-uncomment-once
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1605 @code{T} for deleting all preceding @code{%} (@code{nil})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1606 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1607
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1608 @defvar YaTeX-close-paren-always
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1609 @code{T} for always close all parenthesis automatically,
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1610 @code{nil} for only eol(@code{t})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1611 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1612
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1613 @defvar YaTeX-auto-math-mode
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1614 Switch math-mode automatically(@code{t})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1615 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1616
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1617 @defvar YaTeX-math-key-list-private
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1618 User defined alist, math-mode-prefix vs completion alist
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1619 used in image completion(@code{nil}). See @file{yatexmth.el}
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1620 for the information about how to define a completion alist.
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1621 @end defvar
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1622
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1623 @defvar YaTeX-default-pop-window-height
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1624 Initial height of typesetting buffer when one-window.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1625 Number for the lines of the buffer, numerical string for
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1626 the percentage of the screen-height.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1627 @code{nil} for half height(10)
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1628 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1629
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1630 @defvar YaTeX-help-file
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1631 Global online help file name (@file{$EMACS/etc/YATEXHLP.jp})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1632 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1633
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1634 @defvar YaTeX-help-file-private
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1635 Private online help file name (@file{"~/YATEXHLP.jp"})
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1636 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1637
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1638 @defvar YaTeX-no-begend-shortcut
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1639 Disable [prefix] b ?? shortcut (@code{nil)}
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1640 @end defvar
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1641
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1642 @defvar YaTeX-hilit-pattern-adjustment-private
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1643 List of the list that contain the regular expression and the symbol of
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1644 logical meaning of the string that matches the pattern. See also the
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1645 value from @code{(assq 'yatex-mode hilit-patterns-alist)} and the value of
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1646 @code{YaTeX-hilit-pattern-adjustment-default} (and even the document of
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1647 hilit19.el).
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1648 @end defvar
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1649
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1650 @defvar YaTeX-sectioning-level
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1651 Alist of LaTeX's sectioning command vs its height.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1652 @end defvar
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1653
53
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1654 @defvar YaTeX-hierarchy-ignore-heading-regexp
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1655 @code{YaTeX-display-hierarchy} searches for sectioning command first, and
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1656 comment line secondary as a file headings. In latter case, ignore lines
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1657 that match with regular expression of this variable. Default value of
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1658 this variable is RCS header expressions and mode specifying line `-*- xxxx
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1659 -*'.
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1660 @end defvar
5f4b18da14b3 Fix functions relating YaTeX-beginning-of-environment or
yuuji
parents: 52
diff changeset
1661
54
2d45e43fb35f Full support of English documents
yuuji
parents: 53
diff changeset
1662 @defvar YaTeX-skip-default-reader
2d45e43fb35f Full support of English documents
yuuji
parents: 53
diff changeset
1663 Non-nil for this variable skips the default argument reader of
2d45e43fb35f Full support of English documents
yuuji
parents: 53
diff changeset
1664 section-type command when add-in function for it is not defined.
2d45e43fb35f Full support of English documents
yuuji
parents: 53
diff changeset
1665 @end defvar
2d45e43fb35f Full support of English documents
yuuji
parents: 53
diff changeset
1666
56
a9653fbd1c1c Bug fix version
yuuji
parents: 54
diff changeset
1667 @defvar YaTeX-create-file-prefix-g
a9653fbd1c1c Bug fix version
yuuji
parents: 54
diff changeset
1668 When typing @kbd{prefix g} on the @code{\include} line,
a9653fbd1c1c Bug fix version
yuuji
parents: 54
diff changeset
1669 open the target file even if the file doesn't exist(@code{nil}).
a9653fbd1c1c Bug fix version
yuuji
parents: 54
diff changeset
1670 @end defvar
a9653fbd1c1c Bug fix version
yuuji
parents: 54
diff changeset
1671
a9653fbd1c1c Bug fix version
yuuji
parents: 54
diff changeset
1672 @defvar YaTeX-simple-messages
a9653fbd1c1c Bug fix version
yuuji
parents: 54
diff changeset
1673 Simplyfy messages of various completions(@code{nil})$B!#(B
a9653fbd1c1c Bug fix version
yuuji
parents: 54
diff changeset
1674 @end defvar
a9653fbd1c1c Bug fix version
yuuji
parents: 54
diff changeset
1675
57
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
1676 @defvar YaTeX-hilit-sectioning-face
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
1677 When hilit19 and yatex19 is active, YaTeX colors the sectioning commands.
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
1678 This variable specifies the foreground and background color of
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
1679 @code{\part} macro. The default value is @code{'(yellow/dodgerblue
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
1680 yellow/slateblue)}. The first element of this list is for the screen when
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
1681 @code{hilit-background-mode} is @code{'light}, and the second element is
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
1682 for @code{'dark}. You should specify both color as `forecolor/backcolor'.
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
1683 @end defvar
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
1684
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
1685 @defvar YaTeX-hilit-sectioning-attenuation-rate
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
1686 When color mode, this variable specifies how much attenuate the color
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
1687 density of @code{\subparagraph} compared with that of @code{\chapter}.
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
1688 See also $B!#(B@code{YaTeX-hilit-sectioning-face}.
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
1689 @end defvar
56
a9653fbd1c1c Bug fix version
yuuji
parents: 54
diff changeset
1690
a9653fbd1c1c Bug fix version
yuuji
parents: 54
diff changeset
1691
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1692 @node Sample definitions, Hook variables, All customizable variables, Lisp variables
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1693 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1694 @subsection Sample definitions
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1695 @cindex prefix key stroke
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1696 @cindex fill-prefix
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1697
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1698 For instance, to change the prefix key stroke to @kbd{ESC}, and name of
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1699 the user dictionary @file{~/src/emacs/yatexrc}, and set @code{fill-prefix}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1700 to single TAB character, add the following @code{setq} to @file{~/.emacs}.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1701
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1702 @lisp
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1703 (setq YaTeX-prefix "\e"
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1704 YaTeX-user-completion-table "~/src/emacs/yatexrc"
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1705 YaTeX-fill-prefix " ")
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1706 @end lisp
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1707
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1708 @node Hook variables, Hook file, Sample definitions, Lisp variables
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1709 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1710 @subsection Hook variables
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1711 @cindex hook variables
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1712
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1713 More customizations will be done by the hook-function defined in
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1714 hook-variable @code{yatex-mode-hook}. This is useful to define a shortcut
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1715 key sequence to enter some environments other than @code{document} and
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1716 @code{enumerate} etc. The following statement defines @code{[prefix] ba}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1717 to enter @code{\begin@{abstract@}} ... @code{=end@{abstract@}}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1718 immediately.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1719
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1720 @lisp
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1721 (setq yatex-mode-hook
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1722 '(lambda() (YaTeX-define-begend-key "ba" "abstract")))
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1723 @end lisp
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1724
46
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1725 You should use functions @code{YaTeX-define-key}, or
cd1b63102eed Support Mule2
yuuji
parents: 33
diff changeset
1726 @code{YaTeX-define-begend-key} to define all the key sequences of
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1727 yatex-mode.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1728
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1729 @node Hook file, , Hook variables, Lisp variables
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1730 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1731 @subsection Hook file
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1732 @cindex hook file
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1733
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1734 You can stuff all of YaTeX relating expressions into a file named
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1735 @file{yatexhks.el} if you have a lot of codes. YaTeX automatically load
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1736 this file at the initialization of itself. Using @file{yatexhks.el}
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1737 makes @code{yatex-mode-load-hook} unnecessary.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1738
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1739 @node Add-in functions, Add-in generator, Lisp variables, Customizations
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1740 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1741 @section Add-in functions
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1742 @cindex add-in functions
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1743 @cindex yatexadd.el
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1744
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1745 You can easily define a function to input detailed arguments
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1746 with completion according to La@TeX{} environments or commands.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1747
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1748 @c @node What is add-in functions?, , Add-in functions, Add-in functions
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1749 @comment node-name, next, previous, up
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1750 @subsection What is add-in functions?
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1751 @cindex tabular
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1752
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1753 When you input @code{tabular} environment, don't you think ``I want
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1754 YaTeX to complete its argument toward my favorite one such as
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1755 @code{@{|c|c|c|@}}...''? Yes, you can define the function to complete
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1756 arguments for any environment and any La@TeX{} commands.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1757
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1758 @subsection Procedure
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1759
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1760 Here is the procedure to define add-in functions.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1761 @enumerate
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1762 @item
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1763 Define the function
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1764 @item
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1765 Put the function into @file{yatexhks.el}
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1766 @end enumerate
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1767
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1768 @menu
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1769 * How the add-in function works?::
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1770 * How the function is called::
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1771 * Useful functions for creating add-in::
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1772 * Contribution::
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1773 @end menu
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1774
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1775 @node How the add-in function works?, How the function is called, Add-in functions, Add-in functions
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1776 @comment node-name, next, previous, up
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1777 @subsection How the add-in function works?
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1778
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1779 There are two kinds of add-in. @dfn{Option add-in} returns the
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1780 La@TeX{}'s optional parameters such as optional strings after
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1781 @code{\begin@{ENV@}}, optional strings between a section-type command
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1782 and its first argument, and optional strings just after type
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1783 maketitle-type command. The following illustrates the name of add-in
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1784 functions, where underlined strings are generated by add-in functions.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1785
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1786 @display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1787 \begin{table}[ht] (Function name: YaTeX:table)
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1788 ~~~~
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1789 \put(100,200){} (Function name: YaTeX:put)
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1790 ~~~~~~~~~
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1791 \sum_{i=0}^{n} (Function name: YaTeX:sum)
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1792 ~~~~~~~~~~
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1793 @end display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1794
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1795 Obviously, the function name is decided by concatenating the prefix
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1796 `YaTeX:' and La@TeX{} command's name.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1797
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1798 Another add-in type is @dfn{argument add-in}, which completes arguments
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1799 for section-type commands.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1800
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1801 @display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1802 \newcommand{\foo}{bar} (Function name: YaTeX::newcommand)
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1803 ~~~~ ~~~
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1804 @end display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1805
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1806 When the section-type command is inputted, the function named by
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1807 concatenating `YaTeX::' and section-type command, is called automatically
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1808 with an integer argument which indicates which argument of section-type
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1809 command is being read. Thus the add-in should determine the
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1810 job referring the value of its argument.
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1811
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1812 @menu
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1813 * Defining `option add-in'::
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1814 * Defining `argument add-in'::
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1815 @end menu
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1816
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1817 @node Defining `option add-in', Defining `argument add-in', How the add-in function works?, How the add-in function works?
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1818 @comment node-name, next, previous, up
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1819 @subsubsection Defining `option add-in'
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1820
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1821 If you want @code{@{|c|c|c|@}} for all @code{tabular} environment,
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1822
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1823 @lisp
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1824 (defun YaTeX:tabular ()
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1825 "{|c|c|c|}")
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1826 @end lisp
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1827
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1828 @noindent
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1829 is enough. If you want more complicated format, define as below.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1830
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1831 @lisp
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1832 (defun YaTeX:tabular ()
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1833 "@{@@@{\\vrule width 1pt\\ @}|||@@@{\\ \\vrule width 1pt@}@}")
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1834 @end lisp
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1835
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1836 @noindent
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1837 Note that the character @code{\} must be described as @code{\\} in
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1838 Emacs-Lisp. The next example reads the tabular format from keyboard.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1839 @lisp
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1840 (defun YaTeX:tabular ()
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1841 (concat "{" (read-string "Rule: ") "}"))
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1842 @end lisp
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1843
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1844 @node Defining `argument add-in', , Defining `option add-in', How the add-in function works?
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1845 @comment node-name, next, previous, up
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1846 @subsubsection Defining `argument add-in'
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1847
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1848 This section describes how to define the add-in function for
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1849 @code{\newcommand}.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1850
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1851 The first argument of @code{\newcommand} begins always with @code{\}.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1852 The second argument is usually so complex that we can not edit them in the
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1853 minibuffer. Here is the created function considering this.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1854
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1855 @lisp
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1856 (defun YaTeX::newcommand (n) ;n is argument position
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1857 (cond
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1858 ((= n 1) ;1st argument is macro name
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1859 (read-string "Command: " "\\")) ;initial input `\'
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1860 ((= n 2) "") ;do nothing when reading arg#2
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1861 (t nil)))
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1862 @end lisp
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1863
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1864 Note that when the `argument add-in' function return `nil', normal
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1865 argument reader will be called.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1866
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1867 @node How the function is called, Useful functions for creating add-in, How the add-in function works?, Add-in functions
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1868 @comment node-name, next, previous, up
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1869 @subsection How the function is called
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1870
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1871 YaTeX calls the add-in functions for specified begin-type, section-type,
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1872 and maketitle-type command, if any. `Option add-in' functions for
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1873 begin-type are called when @code{\begin@{ENV@}} has been inserted,
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1874 functions for section-type are called just before input of the first
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1875 argument, and functions for maketitle-type is called after maketitle-type
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1876 command has been inserted. `Argument add-in' functions are called at each
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1877 entry of arguments for section-type commands.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1878
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1879 @node Useful functions for creating add-in, Contribution, How the function is called, Add-in functions
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1880 @comment node-name, next, previous, up
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1881 @subsection Useful functions for creating add-in
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1882
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1883 Many add-in functions for typical La@TeX{} commands are defined in
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1884 @file{yatexadd.el}. Those are also useful as references. Here are the
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1885 short descriptions on useful functions, where [F] means function, [A]
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1886 means arguments, [D] means description.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1887
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1888 @itemize
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1889 @item [F]
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1890 YaTeX:read-position
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1891 @itemx [A]
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1892 Character list which can show up in the brackets
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1893 @itemx [D]
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1894 Return the location specifier such as `[htb]'. When
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1895 nothing is entered, omit [] itself. If the possible characters
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1896 are "htbp", call this function as
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1897 @code{(YaTeX:read-position "htbp")}
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1898
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1899 @item [F]
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1900 YaTeX:read-coordinates
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1901 @itemx [A]
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1902 Base prompt, X-axis prompt, Y-axis prompt (each optional)
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1903 @itemx [D]
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1904 Read the coordinates with the prompt ``BasePrompt X-axisPrompt:'' for
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1905 X-axis, ``BasePrompt Y-axisPrompt:'' for Y-axis, and return it in the form
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1906 of ``(X,Y)''. The default prompts are @code{Dimension}, @code{X},
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1907 @code{Y} respectively.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1908
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1909 @item [F]
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
1910 YaTeX:check-completion-type
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1911 @itemx [A]
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1912 One of the symbols: 'begin, 'section, or 'maketitle
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1913 @itemx [D]
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1914 Check the current completion type is specified one and cause error if
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1915 not. The variable @code{YaTeX-current-completion-type} holds the symbol
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1916 according to the current completion type.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1917 @end itemize
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1918
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1919 @node Contribution, , Useful functions for creating add-in, Add-in functions
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1920 @comment node-name, next, previous, up
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1921 @subsection Contribution
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1922
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1923 If you make your own pretty function and you let it be in public, please
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1924 send me the function. I'm going to include it in the next release.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1925
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1926 @node Add-in generator, , Add-in functions, Customizations
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1927 @comment node-name, next, previous, up
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1928 @section Add-in generator
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
1929
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1930 First, don't forget to read the section of add-in functions @ref{Add-in
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1931 functions}. If you easily understand how to define them, there's no need
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1932 to read this section. But being not familiar with Emacs-Lisp, when you
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1933 don't have clear idea what to do, this section describes how to get YaTeX
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1934 make add-in function.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1935
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1936 There are two methods of generation. One is for fully interactive
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1937 generator for beginners and another requires little knowledge of
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1938 Emacs-Lisp.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1939
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1940 @subsection Generator for beginners
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1941 The former generator is called by
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1942 @center @kbd{M-x YaTeX-generate}
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1943
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1944 @noindent
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1945 strokes. All you have to do is follow the guidances. Defying them may cases
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1946 the disaster (I wonder what is it???). So when you make some mistake, it
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1947 is recommendable to type @kbd{C-g} and start afresh.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1948
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1949 @subsection Simple generator
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1950
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1951 The latter generator is invoked by the next sequence.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1952 @center @kbd{M-x YaTeX-generate-simple}
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1953 This generator can make both ``option add-in'' and ``argument add-in''
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1954 (@emph{refer the section add-in functions}
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1955 @ref{How the add-in function works?}), whereas @code{YaTeX-generate}
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1956 cannot make ``argument addin''.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1957
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1958 For example, assume you have the LaTeX command as follows.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1959
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1960 @example
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1961 \epsinput[t](250,50){hoge.eps}{plain}{Picture of foo}
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1962 (A) (B) (1) (2) (3)
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1963 (A)Optional parameter to specify the position
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1964 One of t(top), b(bottom), l(left), r(right)
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1965 (B)Maximum size of frame
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1966 (1)1st argument is filename of EPS file
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1967 (2)2nd argument indicates
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1968 plain do nothing
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1969 frame make frame around image
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1970 dframe make double-frame around image
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1971 for included EPS file.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1972 (3)Caption for the picture
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1973 @end example
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1974
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1975 Now get start with generation. Typing @kbd{M-x YaTeX-generate-simple}
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1976 brings the prompt:
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1977 @display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1978 (O)ption? (A)rgument?
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1979 @end display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1980
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1981 @subsubsection Generating ``option add-in''
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1982 @cindex option add-in
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1983
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1984 Since (A), (B) above are optional argument, all we have to do to
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1985 complete them is define the option add-in for them. Let's generate the
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1986 function to complete (A).
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1987
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1988 @display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1989 M-x YaTeX-generate-simple RET
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1990 epsinput RET
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1991 o
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1992 @end display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1993
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1994 @noindent
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1995 Typing as above leads the next prompt.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1996
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1997 @display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1998 Read type(1): (S)tring (C)omplete (F)ile ([)option (P)osition co(O)rd. (q)uit
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
1999 @end display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2000
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2001 @noindent
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2002 This asks that ``Which type is the completion style of 1st argument?''.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2003 Here are the possible completion style.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2004
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2005 @table @code
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2006 @item String
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2007 read plain string
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2008 @item Complete
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2009 read with completion
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2010 @item File
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2011 read file name
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2012 @item Option
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2013 read optional string (if string omitted, omit [] too)
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2014 @item Position
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2015 read positional option (like [htbp])
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2016 @item Coord.
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
2017 read coordinates
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2018 @item Quit
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
2019 quit from generating
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2020 @end table
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2021
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2022 Since (A) is the optional argument to specify the location of included
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2023 EPS file, the completion style is @code{Position}, and the possible
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2024 characters are t, b, l, and r. To tell these information to generator,
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2025 operate as follows.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2026
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2027 @display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2028 Read type(1).... p
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2029 Acceptable characters: tblr RET
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2030 @end display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2031
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2032 (B) is coordinate. So its completion style is coOrd. We want a prompt
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2033 meaning ``Maximum size'' when completion.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2034
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2035 @display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2036 Read type(2).... o
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2037 Prompt for coordinates: Max size RET
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2038 @end display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2039
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2040 That's all for optional argument. Select quit.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2041
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2042 @display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2043 Read type(3).... q
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2044 @end display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2045
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2046 Then the generated option add-in function for \epsinput will be shown in
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2047 the next window.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2048
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2049 @subsubsection Generating ``argument add-in''
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2050 @cindex argument add-in
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2051
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2052 Next, create the argument add-in. The arguments for \epsinput are EPS
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2053 file name, framing style, and caption string in sequence.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2054
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2055 @display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2056 M-x YaTeX-generate-simple RET
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2057 epsinput RET
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2058 a
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2059 @end display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2060
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2061 Above key strokes bring the prompt that asks the number of argument.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2062 Answer it with 3.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2063
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2064 @display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2065 How many arguments?: 3 RET
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2066 @end display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2067
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2068 Then the generator asks the completion style and prompt for completion.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2069 Answer them. @kbd{f} for FileName and prompt string.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2070
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2071 @display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2072 Read type(1).... f
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2073 Prompt for argument#1 EPS file name RET
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2074 @end display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2075
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2076 The second argument is one of selected symbol. So the completion type
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2077 is @code{Completion}.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2078
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2079 @display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2080 Read type(2).... c
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2081 Prompt for argument#2 Include style RET
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2082 @end display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2083
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2084 Then all the candidates ready to be read. Type single RET after
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2085 entering all.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2086
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2087 @display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2088 Item[1](RET to exit): plain RET
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2089 Item[2](RET to exit): frame RET
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2090 Item[3](RET to exit): dframe RET
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2091 Item[4](RET to exit): RET
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2092 @end display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2093
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2094 The following prompt asks whether the entered string must belong to
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2095 candidates or not. In this case, since the argument must be one of
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2096 @code{plain}, @code{frame}, and @code{dframe}, type @code{y}.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2097
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2098 @display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2099 Require match? (y or n) y
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2100 @end display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2101
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2102 The last argument is the caption string for which any completion is
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2103 needed.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2104
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2105 @display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2106 Read type(3).... s
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2107 Prompt for argument#3 Caption RET
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2108 default: Figure of RET
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2109 @end display
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2110
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2111 Finally we'll get the argument add-in in the next window.
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2112
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2113 @subsection Contribution
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2114
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2115 If you get your own pretty function and you let it be in public, please
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
2116 steel yourself in the happy atmosphere and do not send me the function.
49
eb0512bfcb7f Abolish user-article table.
yuuji
parents: 48
diff changeset
2117 I do know it is not fine because it is generated by yatexgen:-p.
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2118
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2119 @node Etcetera, Copying, Customizations, Top
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2120 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2121 @chapter Etcetera
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2122
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2123 The standard completion tables provided in @file{yatex.el} contain a
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2124 few La@TeX{} commands I frequently use. This is to lessen the key
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2125 strokes to complete entire word, because too many candidates
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2126 rarely used often cause too many hits. Therefore always try to
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2127 use completion in order to enrich your dictionary, and you will
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2128 also find `Wild Bird' growing suitable for your La@TeX{} style.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2129
51
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
2130 The package name `Wild Bird' is the English translation of Japanese
b0371b6ed799 Created `ChangeLog'.
yuuji
parents: 49
diff changeset
2131 title `Yachou', which is a trick on words of Japanese.
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2132
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2133 @node Copying, , Etcetera, Top
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2134 @comment node-name, next, previous, up
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2135 @chapter Copying
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2136
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2137 This program is distributed as a free software. You can
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2138 redistribute this software freely but with NO warranty to anything
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2139 as a result of using this software. However, any reports and
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2140 suggestions are welcome as long as I feel interests in this
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2141 software. My possible e-mail address is `yuuji@@ae.keio.ac.jp'.
52
5d94deabb9f9 Set YaTeX-indent-line to 'indent-line-function.
yuuji
parents: 51
diff changeset
2142 (up to Mar.1995 at least) And there is mailing list for YaTeX.
5d94deabb9f9 Set YaTeX-indent-line to 'indent-line-function.
yuuji
parents: 51
diff changeset
2143 Although the common language is Japanese, questions in English will be
5d94deabb9f9 Set YaTeX-indent-line to 'indent-line-function.
yuuji
parents: 51
diff changeset
2144 welcome. To join the ML, send the mail whose subject is `append' to
57
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
2145 the address `yatex-control@@jaist.ac.jp'. If you have some
18f4939986e6 (j)LaTeX2e supported
yuuji
parents: 56
diff changeset
2146 question, please ask to `yatex-request@@jaist.ac.jp'.
20
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2147
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2148 The specification of this software will be surely modified
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2149 (depending on my feelings) without notice :-p.
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2150
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2151
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2152 @flushright
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2153 HIROSE Yuuji
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2154 @end flushright
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2155 @bye
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2156
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2157 Local variables:
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2158 mode: texinfo
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2159 fill-prefix: nil
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2160 fill-column: 74
b6127058e365 Change the YaTeX-math-mode's prefix from `,' to `;'.
yuuji
parents:
diff changeset
2161 End:

yatex.org