yatex
diff docs/yatexe @ 123:590fc51462c7
New typeset menu `latex+p(D)f' added.
Call dvipdfmx when typesetting succeeded.
author | yuuji@gentei.org |
---|---|
date | Thu, 27 May 2010 10:16:56 +0900 |
parents | 680d92784c1a |
children | 6d682b9d4bc8 |
line diff
1.1 --- a/docs/yatexe Sun Sep 27 13:04:14 2009 +0000 1.2 +++ b/docs/yatexe Thu May 27 10:16:56 2010 +0900 1.3 @@ -1,17 +1,14 @@ 1.4 Info file: yatexe, -*-Text-*- 1.5 produced by `texinfo-format-buffer' 1.6 from file `yatexe.tex' 1.7 -using `texinfmt.el' version 2.32 of 19 November 1993. 1.8 - 1.9 - 1.10 - 1.11 +using `texinfmt.el' version 2.42 of 7 Jul 2006. 1.12 1.13 1.14 File: yatexe, Node: Top, Next: What is YaTeX?, Prev: (dir), Up: (dir) 1.15 1.16 * Menu: 1.17 1.18 -* What is YaTeX?:: 1.19 +* What is YaTeX?:: 1.20 * Main features:: What YaTeX can do 1.21 * Installation:: Guide to install 1.22 * Typesetting:: Call typesetting processes 1.23 @@ -34,6 +31,7 @@ 1.24 * Copying:: Redistribution 1.25 1.26 1.27 + 1.28 1.29 File: yatexe, Node: What is YaTeX?, Next: Main features, Prev: Top, Up: Top 1.30 1.31 @@ -47,6 +45,7 @@ 1.32 YaTeX also supports Demacs which runs on MS-DOS(386), Mule (Multi 1.33 Language Enhancement to GNU Emacs), and latex on DOS. 1.34 1.35 + 1.36 1.37 File: yatexe, Node: Main features, Next: Installation, Prev: What is YaTeX?, Up: Top 1.38 1.39 @@ -58,7 +57,7 @@ 1.40 * Semiautomatic replacing of `\includeonly' 1.41 * Jumping to error line(`C-c '') 1.42 * Completing-read of LaTeX commands such as `\begin{}', 1.43 - `\section' etc. 1.44 + `\section' etc. 1.45 (`C-c b', `C-c s', `C-c l', `C-c m') 1.46 * Enclosing text into LaTeX environments or commands 1.47 (`C-u' ABOVEKEYSTROKES) 1.48 @@ -81,6 +80,7 @@ 1.49 * Allow you to forget creating \label{}s, \ref or \cite completion 1.50 automatically generate labels. 1.51 1.52 + 1.53 1.54 File: yatexe, Node: Installation, Next: Typesetting, Prev: Main features, Up: Top 1.55 1.56 @@ -106,6 +106,7 @@ 1.57 loaded, mode string on mode line will be turned to "YaTeX". 1.58 1.59 1.60 + 1.61 1.62 File: yatexe, Node: Typesetting, Next: %#notation, Prev: Installation, Up: Top 1.63 1.64 @@ -134,9 +135,10 @@ 1.65 1.66 * Menu: 1.67 1.68 -* Calling typesetter:: 1.69 -* Calling previewer:: 1.70 -* Printing out:: 1.71 +* Calling typesetter:: 1.72 +* Calling previewer:: 1.73 +* Printing out:: 1.74 + 1.75 1.76 1.77 File: yatexe, Node: Calling typesetter, Next: Calling previewer, Prev: Typesetting, Up: Typesetting 1.78 @@ -171,6 +173,7 @@ 1.79 if you edit one file, and is the same as main file's if you edit splitting 1.80 files. 1.81 1.82 + 1.83 1.84 File: yatexe, Node: Calling previewer, Next: Printing out, Prev: Calling typesetter, Up: Typesetting 1.85 1.86 @@ -182,6 +185,7 @@ 1.87 enables you to search current string at the cursor on the running xdvi 1.88 window. 1.89 1.90 + 1.91 1.92 File: yatexe, Node: Printing out, Prev: Calling previewer, Up: Typesetting 1.93 1.94 @@ -194,6 +198,7 @@ 1.95 1.96 C-u [prefix] tl 1.97 1.98 + 1.99 1.100 File: yatexe, Node: %#notation, Next: Completion, Prev: Typesetting, Up: Top 1.101 1.102 @@ -205,11 +210,12 @@ 1.103 1.104 * Menu: 1.105 1.106 -* Changing typesetter:: 1.107 -* Splitting input files:: 1.108 -* Static region for typesetting:: 1.109 -* Lpr format:: 1.110 -* Editing %# notation:: 1.111 +* Changing typesetter:: 1.112 +* Splitting input files:: 1.113 +* Static region for typesetting:: 1.114 +* Lpr format:: 1.115 +* Editing %# notation:: 1.116 + 1.117 1.118 1.119 File: yatexe, Node: Changing typesetter, Next: Splitting input files, Prev: %#notation, Up: %#notation 1.120 @@ -223,6 +229,7 @@ 1.121 1.122 anywhere in the source text. This is useful for changing typesetter. 1.123 1.124 + 1.125 1.126 File: yatexe, Node: Splitting input files, Next: Static region for typesetting, Prev: Changing typesetter, Up: %#notation 1.127 1.128 @@ -249,13 +256,14 @@ 1.129 To make best use of the feature of inter-file jumping by `[prefix] g' 1.130 (see *Note Cursor jump::), take described below into consideration. 1.131 1.132 - * You can put split texts in sub directory, but not in 1.133 - sub directory of sub directory. 1.134 + * You can put split texts in sub directory, but not in sub directory of 1.135 + sub directory. 1.136 * In the main text, specify the child file name with relative path name 1.137 - such as \include{chap1/sub}, when you include the file in 1.138 - a sub-directory. 1.139 - * In a sub-text, write `%#!latex main.tex' even if `main.tex' 1.140 - is in the parent directory(not %#!latex ../main.tex). 1.141 + such as \include{chap1/sub}, when you include the file in a 1.142 + sub-directory. 1.143 + * In a sub-text, write `%#!latex main.tex' even if `main.tex' is in the 1.144 + parent directory(not %#!latex ../main.tex). 1.145 + 1.146 1.147 1.148 File: yatexe, Node: Static region for typesetting, Next: Lpr format, Prev: Splitting input files, Up: %#notation 1.149 @@ -290,6 +298,7 @@ 1.150 the middle of very long text. Do not forget to erase `%#BEGIN' `%#END' 1.151 pair. 1.152 1.153 + 1.154 1.155 File: yatexe, Node: Lpr format, Next: Editing %# notation, Prev: Static region for typesetting, Up: %#notation 1.156 1.157 @@ -322,6 +331,7 @@ 1.158 1.159 %#LPR dvi2ps %s | lpr 1.160 1.161 + 1.162 1.163 File: yatexe, Node: Editing %# notation, Prev: Lpr format, Up: %#notation 1.164 1.165 @@ -341,6 +351,7 @@ 1.166 `%#END', and `l' to edit `%#LPR' entry. When you type `b', all `%#BEGIN' 1.167 and `%#END' are automatically erased. 1.168 1.169 + 1.170 1.171 File: yatexe, Node: Completion, Next: Local dictionaries, Prev: %#notation, Up: Top 1.172 1.173 @@ -352,15 +363,16 @@ 1.174 1.175 * Menu: 1.176 1.177 -* Begin-type completion:: 1.178 -* Section-type completion:: 1.179 -* Large-type completion:: 1.180 -* Maketitle-type completion:: 1.181 -* Arbitrary completion:: 1.182 -* End completion:: 1.183 -* Accent completion:: 1.184 -* Image completion:: 1.185 -* Greek letters completion:: 1.186 +* Begin-type completion:: 1.187 +* Section-type completion:: 1.188 +* Large-type completion:: 1.189 +* Maketitle-type completion:: 1.190 +* Arbitrary completion:: 1.191 +* End completion:: 1.192 +* Accent completion:: 1.193 +* Image completion:: 1.194 +* Greek letters completion:: 1.195 + 1.196 1.197 1.198 File: yatexe, Node: Begin-type completion, Next: Section-type completion, Prev: Completion, Up: Completion 1.199 @@ -368,7 +380,7 @@ 1.200 Begin-type completion 1.201 ===================== 1.202 1.203 - "Begin-type completion" completes commands of `\begin{env}' ... 1.204 + "Begin-type completion" completes commands of `\begin{env}' ... 1.205 `\end{env}'. All of the begin-type completions begin with this key 1.206 sequence. 1.207 1.208 @@ -421,7 +433,7 @@ 1.209 1.210 The next message will show up in the minibuffer 1.211 1.212 - Begin environment(default document): 1.213 + Begin environment(default document): 1.214 1.215 by typing `[prefix] b'. Put the wishing environment with completion in 1.216 the minibuffer, and `\begin{env}'...\`\end{env}' will be inserted in the 1.217 @@ -450,6 +462,7 @@ 1.218 `[prefix] B SPC' enclose a region with the environment selected by 1.219 completing-read. 1.220 1.221 + 1.222 1.223 File: yatexe, Node: Section-type completion, Next: Large-type completion, Prev: Begin-type completion, Up: Completion 1.224 1.225 @@ -488,7 +501,7 @@ 1.226 in your LaTeX source. When you neglect argument such as 1.227 1.228 (C-v for view) \???{} (default section): vspace* 1.229 - \vspace*{???}: 1.230 + \vspace*{???}: 1.231 1.232 YaTeX puts 1.233 1.234 @@ -527,7 +540,8 @@ 1.235 1.236 * Menu: 1.237 1.238 -* view-sectioning:: 1.239 +* view-sectioning:: 1.240 + 1.241 1.242 1.243 File: yatexe, Node: view-sectioning, Prev: Section-type completion, Up: Section-type completion 1.244 @@ -549,12 +563,12 @@ 1.245 `M-x YaTeX-section-overview' 1.246 ... Generate *Sectioning Lines* buffer 1.247 1.248 -from the LaTeX source buffer. In this listing buffer, typing `u' on the 1.249 -sectioning command shifts up the corresponding sectioning command in 1.250 +from the LaTeX source buffer. In this listing buffer, typing `u' on 1.251 +the sectioning command shifts up the corresponding sectioning command in 1.252 source text and `d' shifts down. After marking lines in the listing 1.253 -buffer, typing `U' shifts up all sectioning commands in the region, and 1.254 -`U' shifts down. Here are all the key bindings of `*Sectioning Lines*' 1.255 -buffer. 1.256 +buffer, typing `U' shifts up all sectioning commands in the region, 1.257 +and `U' shifts down. Here are all the key bindings of 1.258 +`*Sectioning Lines*' buffer. 1.259 1.260 `SPC' 1.261 ... Jump to corresponding source line 1.262 @@ -572,6 +586,7 @@ 1.263 ... Hide sectioning commands whose level is lower than n 1.264 1.265 1.266 + 1.267 1.268 File: yatexe, Node: Large-type completion, Next: Maketitle-type completion, Prev: Section-type completion, Up: Completion 1.269 1.270 @@ -586,7 +601,7 @@ 1.271 1.272 the message in the minibuffer 1.273 1.274 - {\??? } (default large): 1.275 + {\??? } (default large): 1.276 1.277 prompts prompts you large-type command with completing-read. There are 1.278 TeX commands to change fonts or sizes, `it', `huge' and so on, in the 1.279 @@ -596,6 +611,7 @@ 1.280 prefix key stroke as `[prefix] L'. It encloses the region by braces with 1.281 large-type command. 1.282 1.283 + 1.284 1.285 File: yatexe, Node: Maketitle-type completion, Next: Arbitrary completion, Prev: Large-type completion, Up: Completion 1.286 1.287 @@ -613,6 +629,7 @@ 1.288 maketitle-completion, and there are LaTeX commands with no arguments in 1.289 completion table. 1.290 1.291 + 1.292 1.293 File: yatexe, Node: Arbitrary completion, Next: End completion, Prev: Maketitle-type completion, Up: Completion 1.294 1.295 @@ -627,6 +644,7 @@ 1.296 1.297 after the initial string of LaTeX command that is preceded by `\'. 1.298 1.299 + 1.300 1.301 File: yatexe, Node: End completion, Next: Accent completion, Prev: Arbitrary completion, Up: Completion 1.302 1.303 @@ -634,7 +652,7 @@ 1.304 ============== 1.305 1.306 YaTeX automatically detects the opened environment and close it with 1.307 -\`\end{environment}'. Though proficient YaTeX users never fail to make 1.308 +`\end{environment}'. Though proficient YaTeX users never fail to make 1.309 environment with begin-type completion, some may begin an environment 1.310 manually. In that case, type 1.311 1.312 @@ -643,6 +661,7 @@ 1.313 1.314 at the end of the opened environment. 1.315 1.316 + 1.317 1.318 File: yatexe, Node: Accent completion, Next: Image completion, Prev: End completion, Up: Completion 1.319 1.320 @@ -670,6 +689,7 @@ 1.321 1.322 will be completed, and the cursor gets out from braces. 1.323 1.324 + 1.325 1.326 File: yatexe, Node: Image completion, Next: Greek letters completion, Prev: Accent completion, Up: Completion 1.327 1.328 @@ -683,10 +703,11 @@ 1.329 or not, and change the behavior of key strokes `;' and `:'. 1.330 1.331 By the way, we often express the leftarrow mark by `<-' for example. 1.332 -Considering such image, you can write `\leftarrow' by typing `<-' after 1.333 -`;' (semicolon) as a prefix. In the same way, `\longleftarrow' (`<--') is 1.334 -completed by typing `;<--', infinity mark which is imitated by `oo' is 1.335 -completed by typing `;oo'. 1.336 +Considering such image, you can write `\leftarrow' by typing `<-' 1.337 +after `;' (semicolon) as a prefix. In the same way, 1.338 +`\longleftarrow' (`<--') is completed by typing `;<--', 1.339 +infinity mark which is imitated by `oo' is completed by typing 1.340 +`;oo'. 1.341 1.342 Here are the sample operations in YaTeX math-mode. 1.343 1.344 @@ -700,11 +721,11 @@ 1.345 In any case, you can quit from image completion and can move to the next 1.346 editing operation if the LaTeX command you want is shown in the buffer. 1.347 1.348 - `;' itself in math-environment is inserted by `;;'. Typing `TAB' in the 1.349 -midst of image completion shows all of the LaTeX commands that start with 1.350 -the same name as string you previously typed in. In this menu buffer, 1.351 -press `RET' after moving the cursor (by `n', `p', `b', `f') to insert the 1.352 -LaTeX command. 1.353 + `;' itself in math-environment is inserted by `;;'. Typing 1.354 +`TAB' in the midst of image completion shows all of the LaTeX 1.355 +commands that start with the same name as string you previously typed in. 1.356 +In this menu buffer, press `RET' after moving the cursor (by `n', 1.357 +`p', `b', `f') to insert the LaTeX command. 1.358 1.359 To know all of the completion table, type `TAB' just after `;'. And 1.360 here is the sample menu by `TAB' after `;<'. 1.361 @@ -712,7 +733,7 @@ 1.362 KEY LaTeX sequence sign 1.363 < \leq < 1.364 ~ 1.365 - << \ll << 1.366 + << \ll << 1.367 <- \leftarrow <- 1.368 <= \Leftarrow <= 1.369 1.370 @@ -720,6 +741,7 @@ 1.371 Emacs-Lisp variable `YaTeX-math-sign-alist-private'. See also 1.372 `yatexmth.el' for the information of the structure of this variable. 1.373 1.374 + 1.375 1.376 File: yatexe, Node: Greek letters completion, Prev: Image completion, Up: Completion 1.377 1.378 @@ -731,11 +753,12 @@ 1.379 `\alpha', `b' makes `\beta' and `g' makes `\gamma' and so on. First, type 1.380 `:TAB' to know all the correspondence of alphabets vs. Greek letters. 1.381 1.382 - If you will find `;' or `:' doesn't work in correct position of math 1.383 -environment, it may be a bug of YaTeX. Please send me a bug report with 1.384 -the configuration of your text, and avoid it temporarily by typing `;' or 1.385 -`:' after universal-argument(`C-u') which forces `;' and `:' to work as 1.386 -math-prefix. 1.387 + If you will find `;' or `:' doesn't work in correct position of 1.388 +math environment, it may be a bug of YaTeX. Please send me a bug report 1.389 +with the configuration of your text, and avoid it temporarily by typing 1.390 +`;' or `:' after universal-argument(`C-u') which forces 1.391 +`;' and `:' to work as math-prefix. 1.392 + 1.393 1.394 1.395 File: yatexe, Node: Local dictionaries, Next: Commenting out, Prev: Completion, Up: Top 1.396 @@ -762,6 +785,7 @@ 1.397 1.398 (setq YaTeX-nervous nil) 1.399 1.400 + 1.401 1.402 File: yatexe, Node: Commenting out, Next: Cursor jump, Prev: Local dictionaries, Up: Top 1.403 1.404 @@ -787,9 +811,10 @@ 1.405 to `ESC h' by default. It is NOT predictable what will happen when you 1.406 continuously comment out some paragraph many times. 1.407 1.408 - You can also comment out an environment between `\begin' and `\end', or 1.409 -a `\begin'-\`\end' pair themselves, by making the following key strokes on 1.410 -the line where `\begin{}' or `\end{}' exists. 1.411 + You can also comment out an environment between `\begin' and 1.412 +`\end', or a `\begin'-\`\end' pair themselves, by making the 1.413 +following key strokes on the line where `\begin{}' or 1.414 +`\end{}' exists. 1.415 1.416 `[prefix] >' 1.417 ... comment out from \begin to \`end' 1.418 @@ -809,6 +834,7 @@ 1.419 out from `\begin' to `\end'' mode. 1.420 1.421 1.422 + 1.423 1.424 File: yatexe, Node: Cursor jump, Next: Changing and Deleting, Prev: Commenting out, Up: Top 1.425 1.426 @@ -818,11 +844,12 @@ 1.427 1.428 * Menu: 1.429 1.430 -* Jump to corresponding object:: 1.431 -* Invoking image processor:: 1.432 -* Jump to main file:: 1.433 -* Jumping around the environment:: 1.434 -* Jumping to last completion position:: 1.435 +* Jump to corresponding object:: 1.436 +* Invoking image processor:: 1.437 +* Jump to main file:: 1.438 +* Jumping around the environment:: 1.439 +* Jumping to last completion position:: 1.440 + 1.441 1.442 1.443 File: yatexe, Node: Jump to corresponding object, Next: Invoking image processor, Prev: Cursor jump, Up: Cursor jump 1.444 @@ -859,9 +886,10 @@ 1.445 `[prefix] 4 g' 1.446 ... go to corresponding object in other window 1.447 1.448 -do the same job as `[prefix] g' except it's done in other window. Note 1.449 -that this function doesn't work on `begin/end', `%#BEGIN/%#END' pairs 1.450 -because it is meaningless. 1.451 +do the same job as `[prefix] g' except it's done in other window. 1.452 +Note that this function doesn't work on `begin/end', 1.453 +`%#BEGIN/%#END' pairs because it is meaningless. 1.454 + 1.455 1.456 1.457 File: yatexe, Node: Invoking image processor, Next: Jump to main file, Prev: Jump to corresponding object, Up: Cursor jump 1.458 @@ -890,6 +918,7 @@ 1.459 `YaTeX-file-processor-alist'. If any, call the corresponding image 1.460 viewer or drawing tool. 1.461 1.462 + 1.463 1.464 File: yatexe, Node: Jump to main file, Next: Jumping around the environment, Prev: Invoking image processor, Up: Cursor jump 1.465 1.466 @@ -903,8 +932,9 @@ 1.467 `[prefix] 4^' 1.468 ... visit main file in other buffer 1.469 1.470 -in a sub text switch the buffer to the main text specified by `%#!' 1.471 -notation. 1.472 +in a sub text switch the buffer to the main text specified by 1.473 +`%#!' notation. 1.474 + 1.475 1.476 1.477 File: yatexe, Node: Jumping around the environment, Next: Jumping to last completion position, Prev: Jump to main file, Up: Cursor jump 1.478 @@ -921,6 +951,7 @@ 1.479 `M-C-@' 1.480 ... mark environment 1.481 1.482 + 1.483 1.484 File: yatexe, Node: Jumping to last completion position, Prev: Jumping around the environment, Up: Cursor jump 1.485 1.486 @@ -933,6 +964,7 @@ 1.487 register-to-point with argument YaTeX-current-position-register, which is 1.488 achieved by typing `C-x j 3'(by default). 1.489 1.490 + 1.491 1.492 File: yatexe, Node: Changing and Deleting, Next: Filling, Prev: Cursor jump, Up: Top 1.493 1.494 @@ -949,8 +981,9 @@ 1.495 1.496 * Menu: 1.497 1.498 -* Changing LaTeX commands:: 1.499 -* Killing LaTeX commands:: 1.500 +* Changing LaTeX commands:: 1.501 +* Killing LaTeX commands:: 1.502 + 1.503 1.504 1.505 File: yatexe, Node: Changing LaTeX commands, Next: Killing LaTeX commands, Prev: Changing and Deleting, Up: Changing and Deleting 1.506 @@ -978,6 +1011,7 @@ 1.507 freely emerge. So keep it mind to put the cursor on a brace when you are 1.508 thinking of changing a complicated argument. 1.509 1.510 + 1.511 1.512 File: yatexe, Node: Killing LaTeX commands, Prev: Changing LaTeX commands, Up: Changing and Deleting 1.513 1.514 @@ -1006,6 +1040,7 @@ 1.515 Main \footnote{note} here. Main note here. Main here. 1.516 ~(cursor) 1.517 1.518 + 1.519 1.520 File: yatexe, Node: Filling, Next: Updation of includeonly, Prev: Changing and Deleting, Up: Top 1.521 1.522 @@ -1030,9 +1065,9 @@ 1.523 (setq YaTeX-item-regexp 1.524 "\\(\\\\\\(sub\\)*item\\)\\|\\(\\\\underlineitem\\)") 1.525 1.526 -in your `~/.emacs'. If you are not familiar with regular expression for 1.527 -Emacs-Lisp, name a newcommand for `itemize' beginning with `\item' such as 1.528 -`\itembf', not `\bfitem'. 1.529 +in your `~/.emacs'. If you are not familiar with regular expression 1.530 +for Emacs-Lisp, name a newcommand for `itemize' beginning with 1.531 +`\item' such as `\itembf', not `\bfitem'. 1.532 1.533 This function reformats the `\item' into `hang-indented' style. For 1.534 example: 1.535 @@ -1061,6 +1096,7 @@ 1.536 putting cursor on the first occurrence of non-whitespace character on a 1.537 line changes the fill-prefix temporarily to the depth of the line. 1.538 1.539 + 1.540 1.541 File: yatexe, Node: Updation of includeonly, Next: What column, Prev: Filling, Up: Top 1.542 1.543 @@ -1081,9 +1117,11 @@ 1.544 1.545 A)dd R)eplace %)comment? 1.546 1.547 -in the minibuffer. Type `a' if you want to add the current file name to 1.548 -`\includeonly' list, `r' to replace \`includeonly' list with the current 1.549 -file, and type `%' to comment out the `\includeonly' line. 1.550 +in the minibuffer. Type `a' if you want to add the current file name 1.551 +to `\includeonly' list, `r' to replace \`includeonly' list 1.552 +with the current file, and type `%' to comment out the 1.553 +`\includeonly' line. 1.554 + 1.555 1.556 1.557 File: yatexe, Node: What column, Next: Intelligent newline, Prev: Updation of includeonly, Up: Top 1.558 @@ -1115,6 +1153,7 @@ 1.559 column headers, you can create a row of virtual column headers by putting 1.560 them in the first line and commenting that line with `%'. 1.561 1.562 + 1.563 1.564 File: yatexe, Node: Intelligent newline, Next: Usepackage checker, Prev: What column, Up: Top 1.565 1.566 @@ -1136,8 +1175,8 @@ 1.567 1.568 * `tabular', `tabular*', `array' 1.569 1.570 - Corresponding number of `&' and `\\'. 1.571 - And `\hline' if needed. 1.572 + Corresponding number of `&' and `\\'. And `\hline' if 1.573 + needed. 1.574 1.575 * `tabbing' 1.576 1.577 @@ -1152,14 +1191,15 @@ 1.578 1.579 If you want to apply these trick to other environments, `foo' 1.580 environment for example, define the function named 1.581 -`YaTeX-intelligent-newline-foo' to insert corresponding contents. That 1.582 -function will be called at the beginning of the next line after the 1.583 +`YaTeX-intelligent-newline-foo' to insert corresponding contents. 1.584 +That function will be called at the beginning of the next line after the 1.585 newline is inserted to the current line. Since the function 1.586 `YaTeX-indent-line' is designed to indent the current line properly, 1.587 calling this function before your code to insert certain contents must be 1.588 useful. See the definition of the function 1.589 `YaTeX-intelligent-newline-itemize' as an example. 1.590 1.591 + 1.592 1.593 File: yatexe, Node: Usepackage checker, Next: Online help, Prev: Intelligent newline, Up: Top 1.594 1.595 @@ -1175,6 +1215,7 @@ 1.596 variable `YaTeX-package-alist-private' correctly. Please refere the value 1.597 of `YaTeX-package-alist-default' as an example. 1.598 1.599 + 1.600 1.601 File: yatexe, Node: Online help, Next: Browsing file hierarchy, Prev: Usepackage checker, Up: Top 1.602 1.603 @@ -1224,6 +1265,7 @@ 1.604 you describe the help on some standard commands. I might want to include 1.605 it in the next distribution. 1.606 1.607 + 1.608 1.609 File: yatexe, Node: Browsing file hierarchy, Next: Cooperation with other packages, Prev: Online help, Up: Top 1.610 1.611 @@ -1285,6 +1327,7 @@ 1.612 Note that operations on the file contents in the next window do not work 1.613 correctly when you close the corresponding file. 1.614 1.615 + 1.616 1.617 File: yatexe, Node: Cooperation with other packages, Next: Customizations, Prev: Browsing file hierarchy, Up: Top 1.618 1.619 @@ -1310,6 +1353,7 @@ 1.620 If you want to use it with YaTeX, please refer the file `yatexm-o.el' as 1.621 an example. 1.622 1.623 + 1.624 1.625 File: yatexe, Node: Customizations, Next: Etcetera, Prev: Cooperation with other packages, Up: Top 1.626 1.627 @@ -1321,9 +1365,10 @@ 1.628 1.629 * Menu: 1.630 1.631 -* Lisp variables:: 1.632 -* Add-in functions:: 1.633 -* Add-in generator:: 1.634 +* Lisp variables:: 1.635 +* Add-in functions:: 1.636 +* Add-in generator:: 1.637 + 1.638 1.639 1.640 File: yatexe, Node: Lisp variables, Next: Add-in functions, Prev: Customizations, Up: Customizations 1.641 @@ -1346,10 +1391,11 @@ 1.642 1.643 * Menu: 1.644 1.645 -* All customizable variables:: 1.646 -* Sample definitions:: 1.647 -* Hook variables:: 1.648 -* Hook file:: 1.649 +* All customizable variables:: 1.650 +* Sample definitions:: 1.651 +* Hook variables:: 1.652 +* Hook file:: 1.653 + 1.654 1.655 1.656 File: yatexe, Node: All customizable variables, Next: Sample definitions, Prev: Lisp variables, Up: Lisp variables 1.657 @@ -1369,8 +1415,8 @@ 1.658 1.659 -- Variable: YaTeX-kanji-code 1.660 Default buffer-file-coding-system for YaTeX modes' buffer. Set this 1.661 - 0 to no language conversion. Nil to preserve original coding-system. 1.662 - (`1 or 2') 1.663 + 0 to no language conversion. Nil to preserve original 1.664 + coding-system. 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (`1 or 2') 1.665 1.666 -- Variable: YaTeX-prefix 1.667 Prefix key stroke (`C-c') 1.668 @@ -1383,7 +1429,7 @@ 1.669 1.670 -- Variable: YaTeX-user-completion-table 1.671 Name of user dictionary where learned completion table will be 1.672 - stored. (`"~/.yatexrc"') 1.673 + stored. (`"~/.yatexrc"') 1.674 1.675 -- Variable: tex-command 1.676 LaTeX typesetter command (`"latex"') 1.677 @@ -1432,8 +1478,8 @@ 1.678 1.679 -- Variable: YaTeX-fill-inhibit-environments 1.680 Inhibit fill in these environments (`'("tabular" "tabular*" "array" 1.681 - "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" 1.682 - "verbatim" "verbatim*")') 1.683 + picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" 1.684 + verbatim" "verbatim*")') 1.685 1.686 -- Variable: YaTeX-uncomment-once 1.687 T for deleting all preceding `%' (`nil') 1.688 @@ -1479,7 +1525,7 @@ 1.689 `YaTeX-display-hierarchy' searches for sectioning command first, and 1.690 comment line secondary as a file headings. In latter case, ignore lines 1.691 that match with regular expression of this variable. Default value of 1.692 - this variable is RCS header expressions and mode specifying line `-*- xxxx 1.693 + this variable is RCS header expressions and mode specifying line `-*- xxxx 1.694 -*'. 1.695 1.696 -- Variable: YaTeX-skip-default-reader 1.697 @@ -1533,8 +1579,8 @@ 1.698 (`(featurep 'hilit19)' 1.699 1.700 -- Variable: YaTeX-singlecmd-suffix 1.701 - Suffix which is always inserted after maketitle-type macros. `"{}"' 1.702 - is recommended. 1.703 + Suffix which is always inserted after maketitle-type macros. 1.704 + `"{}"' is recommended. 1.705 1.706 -- Variable: YaTeX-package-alist-private 1.707 Alist of LaTeX2e-package name vs. lists of macros in it. Set this 1.708 @@ -1542,13 +1588,10 @@ 1.709 `usepackage' for corresponding macro, when you input that macro with 1.710 completion. If required `usepackage' is not found, YaTeX also 1.711 automatically inserts `\usepackage'. Alist is as follows; 1.712 - '((PackageName1 1.713 - (completionType ListOfMacro) 1.714 - (completionType ListOfMacro)) 1.715 - (PackageName2 1.716 - (completionType ListOfMacro) 1.717 - (completionType ListOfMacro...))....) completionType is 1.718 - one of `env, section, maketitle'. Consult the value of 1.719 + '((PackageName1 (completionType ListOfMacro) (completionType 1.720 + ListOfMacro)) (PackageName2 (completionType ListOfMacro) 1.721 + (completionType ListOfMacro...))....) completionType is one of `env, 1.722 + section, maketitle'. Consult the value of 1.723 `YaTeX-package-alist-default' as an example. 1.724 1.725 -- Variable: YaTeX-tabular-indentation 1.726 @@ -1591,6 +1634,7 @@ 1.727 (YaTeX::ref-generate-label nil nil)))) 1.728 1.729 1.730 + 1.731 1.732 File: yatexe, Node: Sample definitions, Next: Hook variables, Prev: All customizable variables, Up: Lisp variables 1.733 1.734 @@ -1605,6 +1649,7 @@ 1.735 YaTeX-user-completion-table "~/src/emacs/yatexrc" 1.736 YaTeX-fill-prefix " ") 1.737 1.738 + 1.739 1.740 File: yatexe, Node: Hook variables, Next: Hook file, Prev: Sample definitions, Up: Lisp variables 1.741 1.742 @@ -1623,6 +1668,7 @@ 1.743 You should use functions `YaTeX-define-key', or 1.744 `YaTeX-define-begend-key' to define all the key sequences of yatex-mode. 1.745 1.746 + 1.747 1.748 File: yatexe, Node: Hook file, Prev: Hook variables, Up: Lisp variables 1.749 1.750 @@ -1634,6 +1680,7 @@ 1.751 file at the initialization of itself. Using `yatexhks.el' makes 1.752 `yatex-mode-load-hook' unnecessary. 1.753 1.754 + 1.755 1.756 File: yatexe, Node: Add-in functions, Next: Add-in generator, Prev: Lisp variables, Up: Customizations 1.757 1.758 @@ -1662,10 +1709,11 @@ 1.759 1.760 * Menu: 1.761 1.762 -* How the add-in function works:: 1.763 -* How the function is called:: 1.764 -* Useful functions for creating add-in:: 1.765 -* Contribution:: 1.766 +* How the add-in function works:: 1.767 +* How the function is called:: 1.768 +* Useful functions for creating add-in:: 1.769 +* Contribution:: 1.770 + 1.771 1.772 1.773 File: yatexe, Node: How the add-in function works, Next: How the function is called, Prev: Add-in functions, Up: Add-in functions 1.774 @@ -1722,14 +1770,16 @@ 1.775 1.776 \frac{a/c} 1.777 1.778 -Normally, the expression `a/c' is translated to `\frac{a}{c}'. An 1.779 -enclosing add-in is useful for modifying `/' to `}{'. 1.780 +Normally, the expression `a/c' is translated to 1.781 +`\frac{a}{c}'. An enclosing add-in is useful for modifying 1.782 +`/' to `}{'. 1.783 1.784 * Menu: 1.785 1.786 -* Defining option-add-in:: 1.787 -* Defining argument-add-in:: 1.788 -* Defining enclosing-add-in:: 1.789 +* Defining option-add-in:: 1.790 +* Defining argument-add-in:: 1.791 +* Defining enclosing-add-in:: 1.792 + 1.793 1.794 1.795 File: yatexe, Node: Defining option-add-in, Next: Defining argument-add-in, Prev: How the add-in function works, Up: How the add-in function works 1.796 @@ -1752,6 +1802,7 @@ 1.797 (defun YaTeX:tabular () 1.798 (concat "{" (read-string "Rule: ") "}")) 1.799 1.800 + 1.801 1.802 File: yatexe, Node: Defining argument-add-in, Next: Defining enclosing-add-in, Prev: Defining option-add-in, Up: How the add-in function works 1.803 1.804 @@ -1768,13 +1819,14 @@ 1.805 (defun YaTeX::newcommand (n) ;n is argument position 1.806 (cond 1.807 ((= n 1) ;1st argument is macro name 1.808 - (read-string "Command: " "\\")) ;initial input `\' 1.809 + (read-string "Command: " "\\")) ;initial input `\' 1.810 ((= n 2) "") ;do nothing when reading arg#2 1.811 (t nil))) 1.812 1.813 Note that when the `argument add-in' function return `nil', normal 1.814 argument reader will be called. 1.815 1.816 + 1.817 1.818 File: yatexe, Node: Defining enclosing-add-in, Prev: Defining argument-add-in, Up: How the add-in function works 1.819 1.820 @@ -1795,9 +1847,10 @@ 1.821 (while (search-forward "/" end t) 1.822 (goto-char (match-beginning 0)) 1.823 (if (y-or-n-p "Replace this slash(/) with `}{'") 1.824 - (throw 'done (replace-match "}{"))) 1.825 + (throw 'done (replace-match "}{"))) 1.826 (goto-char (match-end 0))))) 1.827 1.828 + 1.829 1.830 File: yatexe, Node: How the function is called, Next: Useful functions for creating add-in, Prev: How the add-in function works, Up: Add-in functions 1.831 1.832 @@ -1812,6 +1865,7 @@ 1.833 been inserted. `Argument add-in' functions are called at each entry of 1.834 arguments for section-type commands. 1.835 1.836 + 1.837 1.838 File: yatexe, Node: Useful functions for creating add-in, Next: Contribution, Prev: How the function is called, Up: Add-in functions 1.839 1.840 @@ -1828,9 +1882,10 @@ 1.841 `[A]' 1.842 Character list which can show up in the brackets 1.843 `[D]' 1.844 - Return the location specifier such as `[htb]'. When nothing is 1.845 - entered, omit [] itself. If the possible characters are "htbp", call 1.846 - this function as `(YaTeX:read-position "htbp")' 1.847 + Return the location specifier such as `[htb]'. When 1.848 + nothing is entered, omit [] itself. If the possible characters 1.849 + are "htbp", call this function as 1.850 + `(YaTeX:read-position "htbp")' 1.851 1.852 `[F]' 1.853 YaTeX:read-coordinates 1.854 @@ -1838,9 +1893,9 @@ 1.855 Base prompt, X-axis prompt, Y-axis prompt (each optional) 1.856 `[D]' 1.857 Read the coordinates with the prompt "BasePrompt X-axisPrompt:" for 1.858 - X-axis, "BasePrompt Y-axisPrompt:" for Y-axis, and return it in the 1.859 - form of "(X,Y)". The default prompts are `Dimension', `X', `Y' 1.860 - respectively. 1.861 + X-axis, "BasePrompt Y-axisPrompt:" for Y-axis, and return it in the form 1.862 + of "(X,Y)". The default prompts are `Dimension', `X', 1.863 + `Y' respectively. 1.864 1.865 `[F]' 1.866 YaTeX:check-completion-type 1.867 @@ -1851,6 +1906,7 @@ 1.868 if not. The variable `YaTeX-current-completion-type' holds the symbol 1.869 according to the current completion type. 1.870 1.871 + 1.872 1.873 File: yatexe, Node: Contribution, Prev: Useful functions for creating add-in, Up: Add-in functions 1.874 1.875 @@ -1860,6 +1916,7 @@ 1.876 If you make your own pretty function and you let it be in public, please 1.877 send me the function. I'm going to include it in the next release. 1.878 1.879 + 1.880 1.881 File: yatexe, Node: Add-in generator, Prev: Add-in functions, Up: Customizations 1.882 1.883 @@ -1890,27 +1947,26 @@ 1.884 Simple generator 1.885 ---------------- 1.886 1.887 - The latter generator is invoked by the next sequence. 1.888 - `M-x YaTeX-generate-simple' 1.889 -This generator can make both "option add-in" and "argument add-in" 1.890 -(*refer the section add-in functions* 1.891 -*Note How the add-in function works::), whereas `YaTeX-generate' 1.892 -cannot make "argument addin". 1.893 + The latter generator is invoked by the next sequence. `M-x 1.894 +YaTeX-generate-simple' This generator can make both "option add-in" and 1.895 +argument add-in" (*refer the section add-in functions* *Note How the 1.896 +add-in function works::), whereas `YaTeX-generate' cannot make "argument 1.897 +addin". 1.898 1.899 For example, assume you have the LaTeX command as follows. 1.900 1.901 - \epsinput[t](250,50){hoge.eps}{plain}{Picture of foo} 1.902 - (A) (B) (1) (2) (3) 1.903 - (A)Optional parameter to specify the position 1.904 - One of t(top), b(bottom), l(left), r(right) 1.905 - (B)Maximum size of frame 1.906 - (1)1st argument is filename of EPS file 1.907 - (2)2nd argument indicates 1.908 - plain do nothing 1.909 - frame make frame around image 1.910 - dframe make double-frame around image 1.911 - for included EPS file. 1.912 - (3)Caption for the picture 1.913 + \epsinput[t](250,50){hoge.eps}{plain}{Picture of foo} 1.914 + (A) (B) (1) (2) (3) 1.915 + (A)Optional parameter to specify the position 1.916 + One of t(top), b(bottom), l(left), r(right) 1.917 + (B)Maximum size of frame 1.918 + (1)1st argument is filename of EPS file 1.919 + (2)2nd argument indicates 1.920 + plain do nothing 1.921 + frame make frame around image 1.922 + dframe make double-frame around image 1.923 + for included EPS file. 1.924 + (3)Caption for the picture 1.925 1.926 Now get start with generation. Typing `M-x YaTeX-generate-simple' 1.927 brings the prompt: 1.928 @@ -1955,7 +2011,7 @@ 1.929 are t, b, l, and r. To tell these information to generator, operate as 1.930 follows. 1.931 1.932 - Read type(1).... p 1.933 + Read type(1).... p 1.934 Acceptable characters: tblr RET 1.935 1.936 (B) is coordinate. So its completion style is coOrd. We want a prompt 1.937 @@ -2002,10 +2058,10 @@ 1.938 Then all the candidates ready to be read. Type single RET after 1.939 entering all. 1.940 1.941 - Item[1](RET to exit): plain RET 1.942 - Item[2](RET to exit): frame RET 1.943 - Item[3](RET to exit): dframe RET 1.944 - Item[4](RET to exit): RET 1.945 + Item[1](RET to exit): plain RET 1.946 + Item[2](RET to exit): frame RET 1.947 + Item[3](RET to exit): dframe RET 1.948 + Item[4](RET to exit): RET 1.949 1.950 The following prompt asks whether the entered string must belong to 1.951 candidates or not. In this case, since the argument must be one of 1.952 @@ -2030,6 +2086,7 @@ 1.953 steel yourself in the happy atmosphere and do not send me the function. I 1.954 do know it is not fine because it is generated by yatexgen:-p. 1.955 1.956 + 1.957 1.958 File: yatexe, Node: Etcetera, Next: Copying, Prev: Customizations, Up: Top 1.959 1.960 @@ -2046,6 +2103,7 @@ 1.961 The package name `Wild Bird' is the English translation of Japanese 1.962 title `Yachou', which is a trick on words of Japanese. 1.963 1.964 + 1.965 1.966 File: yatexe, Node: Copying, Prev: Etcetera, Up: Top 1.967 1.968 @@ -2072,66 +2130,66 @@ 1.969 HIROSE Yuuji 1.970 1.971 Tag table: 1.972 -Node: Top153 1.973 -Node: What is YaTeX?1493 1.974 -Node: Main features1865 1.975 -Node: Installation3456 1.976 -Node: Typesetting4232 1.977 -Node: Calling typesetter5061 1.978 -Node: Calling previewer6406 1.979 -Node: Printing out6766 1.980 -Node: %#notation7057 1.981 -Node: Changing typesetter7432 1.982 -Node: Splitting input files7795 1.983 -Node: Static region for typesetting9222 1.984 -Node: Lpr format10350 1.985 -Node: Editing %# notation11406 1.986 -Node: Completion11924 1.987 -Node: Begin-type completion12483 1.988 -Node: Section-type completion15526 1.989 -Node: view-sectioning17960 1.990 -Node: Large-type completion19539 1.991 -Node: Maketitle-type completion20269 1.992 -Node: Arbitrary completion20820 1.993 -Node: End completion21209 1.994 -Node: Accent completion21678 1.995 -Node: Image completion22294 1.996 -Node: Greek letters completion24550 1.997 -Node: Local dictionaries25276 1.998 -Node: Commenting out26212 1.999 -Node: Cursor jump27670 1.1000 -Node: Jump to corresponding object27981 1.1001 -Node: Invoking image processor29381 1.1002 -Node: Jump to main file30723 1.1003 -Node: Jumping around the environment31087 1.1004 -Node: Jumping to last completion position31504 1.1005 -Node: Changing and Deleting32012 1.1006 -Node: Changing LaTeX commands32403 1.1007 -Node: Killing LaTeX commands33579 1.1008 -Node: Filling34763 1.1009 -Node: Updation of includeonly36613 1.1010 -Node: What column37409 1.1011 -Node: Intelligent newline38493 1.1012 -Node: Usepackage checker40153 1.1013 -Node: Online help40743 1.1014 -Node: Browsing file hierarchy42417 1.1015 -Node: Cooperation with other packages44153 1.1016 -Node: Customizations44857 1.1017 -Node: Lisp variables45190 1.1018 -Node: All customizable variables46193 1.1019 -Node: Sample definitions55941 1.1020 -Node: Hook variables56453 1.1021 -Node: Hook file57156 1.1022 -Node: Add-in functions57494 1.1023 -Node: How the add-in function works58353 1.1024 -Node: Defining option-add-in60551 1.1025 -Node: Defining argument-add-in61272 1.1026 -Node: Defining enclosing-add-in62153 1.1027 -Node: How the function is called63006 1.1028 -Node: Useful functions for creating add-in63681 1.1029 -Node: Contribution65085 1.1030 -Node: Add-in generator65358 1.1031 -Node: Etcetera70751 1.1032 -Node: Copying71355 1.1033 +Node: Top145 1.1034 +Node: What is YaTeX?1472 1.1035 +Node: Main features1845 1.1036 +Node: Installation3436 1.1037 +Node: Typesetting4213 1.1038 +Node: Calling typesetter5006 1.1039 +Node: Calling previewer6352 1.1040 +Node: Printing out6713 1.1041 +Node: %#notation7005 1.1042 +Node: Changing typesetter7336 1.1043 +Node: Splitting input files7700 1.1044 +Node: Static region for typesetting9124 1.1045 +Node: Lpr format10253 1.1046 +Node: Editing %# notation11310 1.1047 +Node: Completion11829 1.1048 +Node: Begin-type completion12318 1.1049 +Node: Section-type completion15360 1.1050 +Node: view-sectioning17781 1.1051 +Node: Large-type completion19361 1.1052 +Node: Maketitle-type completion20091 1.1053 +Node: Arbitrary completion20643 1.1054 +Node: End completion21033 1.1055 +Node: Accent completion21502 1.1056 +Node: Image completion22119 1.1057 +Node: Greek letters completion24374 1.1058 +Node: Local dictionaries25101 1.1059 +Node: Commenting out26038 1.1060 +Node: Cursor jump27497 1.1061 +Node: Jump to corresponding object27788 1.1062 +Node: Invoking image processor29188 1.1063 +Node: Jump to main file30531 1.1064 +Node: Jumping around the environment30897 1.1065 +Node: Jumping to last completion position31315 1.1066 +Node: Changing and Deleting31824 1.1067 +Node: Changing LaTeX commands32205 1.1068 +Node: Killing LaTeX commands33382 1.1069 +Node: Filling34567 1.1070 +Node: Updation of includeonly36422 1.1071 +Node: What column37219 1.1072 +Node: Intelligent newline38304 1.1073 +Node: Usepackage checker39957 1.1074 +Node: Online help40548 1.1075 +Node: Browsing file hierarchy42223 1.1076 +Node: Cooperation with other packages43960 1.1077 +Node: Customizations44665 1.1078 +Node: Lisp variables44961 1.1079 +Node: All customizable variables45920 1.1080 +Node: Sample definitions55615 1.1081 +Node: Hook variables56128 1.1082 +Node: Hook file56832 1.1083 +Node: Add-in functions57171 1.1084 +Node: How the add-in function works58009 1.1085 +Node: Defining option-add-in60195 1.1086 +Node: Defining argument-add-in60917 1.1087 +Node: Defining enclosing-add-in61798 1.1088 +Node: How the function is called62654 1.1089 +Node: Useful functions for creating add-in63330 1.1090 +Node: Contribution64740 1.1091 +Node: Add-in generator65014 1.1092 +Node: Etcetera70474 1.1093 +Node: Copying71079 1.1094 1.1095 End tag table