Mercurial > hgrepos > hgweb.cgi > yatex
comparison docs/yatexe @ 123:590fc51462c7 dev
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 |
comparison
equal
deleted
inserted
replaced
122:57d3d9abd661 | 123:590fc51462c7 |
---|---|
1 Info file: yatexe, -*-Text-*- | 1 Info file: yatexe, -*-Text-*- |
2 produced by `texinfo-format-buffer' | 2 produced by `texinfo-format-buffer' |
3 from file `yatexe.tex' | 3 from file `yatexe.tex' |
4 using `texinfmt.el' version 2.32 of 19 November 1993. | 4 using `texinfmt.el' version 2.42 of 7 Jul 2006. |
5 | |
6 | |
7 | |
8 | 5 |
9 | 6 |
10 File: yatexe, Node: Top, Next: What is YaTeX?, Prev: (dir), Up: (dir) | 7 File: yatexe, Node: Top, Next: What is YaTeX?, Prev: (dir), Up: (dir) |
11 | 8 |
12 * Menu: | 9 * Menu: |
13 | 10 |
14 * What is YaTeX?:: | 11 * What is YaTeX?:: |
15 * Main features:: What YaTeX can do | 12 * Main features:: What YaTeX can do |
16 * Installation:: Guide to install | 13 * Installation:: Guide to install |
17 * Typesetting:: Call typesetting processes | 14 * Typesetting:: Call typesetting processes |
18 * %#notation:: Meta-keyword `%#' | 15 * %#notation:: Meta-keyword `%#' |
19 * Completion:: Input LaTeX commands with completion | 16 * Completion:: Input LaTeX commands with completion |
32 * Customizations:: How to breed `Wild Bird' | 29 * Customizations:: How to breed `Wild Bird' |
33 * Etcetera:: YaTeX is acquisitive. | 30 * Etcetera:: YaTeX is acquisitive. |
34 * Copying:: Redistribution | 31 * Copying:: Redistribution |
35 | 32 |
36 | 33 |
34 | |
37 | 35 |
38 File: yatexe, Node: What is YaTeX?, Next: Main features, Prev: Top, Up: Top | 36 File: yatexe, Node: What is YaTeX?, Next: Main features, Prev: Top, Up: Top |
39 | 37 |
40 What is YaTeX? | 38 What is YaTeX? |
41 ************** | 39 ************** |
44 completing input of LaTeX mark-up command such as | 42 completing input of LaTeX mark-up command such as |
45 `\begin{}'..`\end{}'. | 43 `\begin{}'..`\end{}'. |
46 | 44 |
47 YaTeX also supports Demacs which runs on MS-DOS(386), Mule (Multi | 45 YaTeX also supports Demacs which runs on MS-DOS(386), Mule (Multi |
48 Language Enhancement to GNU Emacs), and latex on DOS. | 46 Language Enhancement to GNU Emacs), and latex on DOS. |
47 | |
49 | 48 |
50 | 49 |
51 File: yatexe, Node: Main features, Next: Installation, Prev: What is YaTeX?, Up: Top | 50 File: yatexe, Node: Main features, Next: Installation, Prev: What is YaTeX?, Up: Top |
52 | 51 |
53 Main features | 52 Main features |
56 * Invocation of typesetter, previewer and related programs(`C-c t') | 55 * Invocation of typesetter, previewer and related programs(`C-c t') |
57 * Typesetting on static region which is independent from point | 56 * Typesetting on static region which is independent from point |
58 * Semiautomatic replacing of `\includeonly' | 57 * Semiautomatic replacing of `\includeonly' |
59 * Jumping to error line(`C-c '') | 58 * Jumping to error line(`C-c '') |
60 * Completing-read of LaTeX commands such as `\begin{}', | 59 * Completing-read of LaTeX commands such as `\begin{}', |
61 `\section' etc. | 60 `\section' etc. |
62 (`C-c b', `C-c s', `C-c l', `C-c m') | 61 (`C-c b', `C-c s', `C-c l', `C-c m') |
63 * Enclosing text into LaTeX environments or commands | 62 * Enclosing text into LaTeX environments or commands |
64 (`C-u' ABOVEKEYSTROKES) | 63 (`C-u' ABOVEKEYSTROKES) |
65 * Displaying the structure of text at entering sectioning commands | 64 * Displaying the structure of text at entering sectioning commands |
66 * Lump shifting of sectioning commands (*Note view-sectioning::) | 65 * Lump shifting of sectioning commands (*Note view-sectioning::) |
79 * Adding automatically \usepackage corresponding to inputting LaTeX | 78 * Adding automatically \usepackage corresponding to inputting LaTeX |
80 macro with completion | 79 macro with completion |
81 * Allow you to forget creating \label{}s, \ref or \cite completion | 80 * Allow you to forget creating \label{}s, \ref or \cite completion |
82 automatically generate labels. | 81 automatically generate labels. |
83 | 82 |
83 | |
84 | 84 |
85 File: yatexe, Node: Installation, Next: Typesetting, Prev: Main features, Up: Top | 85 File: yatexe, Node: Installation, Next: Typesetting, Prev: Main features, Up: Top |
86 | 86 |
87 Installation | 87 Installation |
88 ************ | 88 ************ |
102 in your `~/.emacs' | 102 in your `~/.emacs' |
103 | 103 |
104 Then, yatex-mode will be automatically loaded when you visit a | 104 Then, yatex-mode will be automatically loaded when you visit a |
105 file which has extension `.tex'. If yatex-mode is successfully | 105 file which has extension `.tex'. If yatex-mode is successfully |
106 loaded, mode string on mode line will be turned to "YaTeX". | 106 loaded, mode string on mode line will be turned to "YaTeX". |
107 | |
107 | 108 |
108 | 109 |
109 | 110 |
110 File: yatexe, Node: Typesetting, Next: %#notation, Prev: Installation, Up: Top | 111 File: yatexe, Node: Typesetting, Next: %#notation, Prev: Installation, Up: Top |
111 | 112 |
132 `[prefix] t s' | 133 `[prefix] t s' |
133 ... search current string on xdvi-remote | 134 ... search current string on xdvi-remote |
134 | 135 |
135 * Menu: | 136 * Menu: |
136 | 137 |
137 * Calling typesetter:: | 138 * Calling typesetter:: |
138 * Calling previewer:: | 139 * Calling previewer:: |
139 * Printing out:: | 140 * Printing out:: |
141 | |
140 | 142 |
141 | 143 |
142 File: yatexe, Node: Calling typesetter, Next: Calling previewer, Prev: Typesetting, Up: Typesetting | 144 File: yatexe, Node: Calling typesetter, Next: Calling previewer, Prev: Typesetting, Up: Typesetting |
143 | 145 |
144 Calling typesetter | 146 Calling typesetter |
169 | 171 |
170 The documentclass for typeset-region is the same as that of editing file | 172 The documentclass for typeset-region is the same as that of editing file |
171 if you edit one file, and is the same as main file's if you edit splitting | 173 if you edit one file, and is the same as main file's if you edit splitting |
172 files. | 174 files. |
173 | 175 |
176 | |
174 | 177 |
175 File: yatexe, Node: Calling previewer, Next: Printing out, Prev: Calling typesetter, Up: Typesetting | 178 File: yatexe, Node: Calling previewer, Next: Printing out, Prev: Calling typesetter, Up: Typesetting |
176 | 179 |
177 Calling previewer | 180 Calling previewer |
178 ================= | 181 ================= |
180 `[prefix] t p' invokes the TeX previewer. And if you are using | 183 `[prefix] t p' invokes the TeX previewer. And if you are using |
181 xdvi-remote, which can be controled from other terminals, `[prefix] t s' | 184 xdvi-remote, which can be controled from other terminals, `[prefix] t s' |
182 enables you to search current string at the cursor on the running xdvi | 185 enables you to search current string at the cursor on the running xdvi |
183 window. | 186 window. |
184 | 187 |
188 | |
185 | 189 |
186 File: yatexe, Node: Printing out, Prev: Calling previewer, Up: Typesetting | 190 File: yatexe, Node: Printing out, Prev: Calling previewer, Up: Typesetting |
187 | 191 |
188 Printing out | 192 Printing out |
189 ============ | 193 ============ |
192 by default. You can skip this by invoking it with universal-argument as | 196 by default. You can skip this by invoking it with universal-argument as |
193 follows: | 197 follows: |
194 | 198 |
195 C-u [prefix] tl | 199 C-u [prefix] tl |
196 | 200 |
201 | |
197 | 202 |
198 File: yatexe, Node: %#notation, Next: Completion, Prev: Typesetting, Up: Top | 203 File: yatexe, Node: %#notation, Next: Completion, Prev: Typesetting, Up: Top |
199 | 204 |
200 %# notation | 205 %# notation |
201 *********** | 206 *********** |
203 You can control the typesetting process by describing `%#' notations in | 208 You can control the typesetting process by describing `%#' notations in |
204 the source text. | 209 the source text. |
205 | 210 |
206 * Menu: | 211 * Menu: |
207 | 212 |
208 * Changing typesetter:: | 213 * Changing typesetter:: |
209 * Splitting input files:: | 214 * Splitting input files:: |
210 * Static region for typesetting:: | 215 * Static region for typesetting:: |
211 * Lpr format:: | 216 * Lpr format:: |
212 * Editing %# notation:: | 217 * Editing %# notation:: |
218 | |
213 | 219 |
214 | 220 |
215 File: yatexe, Node: Changing typesetter, Next: Splitting input files, Prev: %#notation, Up: %#notation | 221 File: yatexe, Node: Changing typesetter, Next: Splitting input files, Prev: %#notation, Up: %#notation |
216 | 222 |
217 To change the `latex' command or to split a source text. | 223 To change the `latex' command or to split a source text. |
220 To change the typesetting command, write | 226 To change the typesetting command, write |
221 | 227 |
222 %#!latex-big | 228 %#!latex-big |
223 | 229 |
224 anywhere in the source text. This is useful for changing typesetter. | 230 anywhere in the source text. This is useful for changing typesetter. |
231 | |
225 | 232 |
226 | 233 |
227 File: yatexe, Node: Splitting input files, Next: Static region for typesetting, Prev: Changing typesetter, Up: %#notation | 234 File: yatexe, Node: Splitting input files, Next: Static region for typesetting, Prev: Changing typesetter, Up: %#notation |
228 | 235 |
229 Splitting input files | 236 Splitting input files |
247 ask you the name of main file at the first typesetting. | 254 ask you the name of main file at the first typesetting. |
248 | 255 |
249 To make best use of the feature of inter-file jumping by `[prefix] g' | 256 To make best use of the feature of inter-file jumping by `[prefix] g' |
250 (see *Note Cursor jump::), take described below into consideration. | 257 (see *Note Cursor jump::), take described below into consideration. |
251 | 258 |
252 * You can put split texts in sub directory, but not in | 259 * You can put split texts in sub directory, but not in sub directory of |
253 sub directory of sub directory. | 260 sub directory. |
254 * In the main text, specify the child file name with relative path name | 261 * In the main text, specify the child file name with relative path name |
255 such as \include{chap1/sub}, when you include the file in | 262 such as \include{chap1/sub}, when you include the file in a |
256 a sub-directory. | 263 sub-directory. |
257 * In a sub-text, write `%#!latex main.tex' even if `main.tex' | 264 * In a sub-text, write `%#!latex main.tex' even if `main.tex' is in the |
258 is in the parent directory(not %#!latex ../main.tex). | 265 parent directory(not %#!latex ../main.tex). |
266 | |
259 | 267 |
260 | 268 |
261 File: yatexe, Node: Static region for typesetting, Next: Lpr format, Prev: Splitting input files, Up: %#notation | 269 File: yatexe, Node: Static region for typesetting, Next: Lpr format, Prev: Splitting input files, Up: %#notation |
262 | 270 |
263 Static region | 271 Static region |
287 It is useful to write `%#BEGIN' in the previous line of \begin and | 295 It is useful to write `%#BEGIN' in the previous line of \begin and |
288 `%#END' in the next line of \`end' when you try complex environment such | 296 `%#END' in the next line of \`end' when you try complex environment such |
289 as `tabular' many times. It is also useful to put only `%#BEGIN' alone at | 297 as `tabular' many times. It is also useful to put only `%#BEGIN' alone at |
290 the middle of very long text. Do not forget to erase `%#BEGIN' `%#END' | 298 the middle of very long text. Do not forget to erase `%#BEGIN' `%#END' |
291 pair. | 299 pair. |
300 | |
292 | 301 |
293 | 302 |
294 File: yatexe, Node: Lpr format, Next: Editing %# notation, Prev: Static region for typesetting, Up: %#notation | 303 File: yatexe, Node: Lpr format, Next: Editing %# notation, Prev: Static region for typesetting, Up: %#notation |
295 | 304 |
296 Lpr format | 305 Lpr format |
320 And if you want YaTeX not to ask you the range of printing out, the next | 329 And if you want YaTeX not to ask you the range of printing out, the next |
321 example may be helpful. | 330 example may be helpful. |
322 | 331 |
323 %#LPR dvi2ps %s | lpr | 332 %#LPR dvi2ps %s | lpr |
324 | 333 |
334 | |
325 | 335 |
326 File: yatexe, Node: Editing %# notation, Prev: Lpr format, Up: %#notation | 336 File: yatexe, Node: Editing %# notation, Prev: Lpr format, Up: %#notation |
327 | 337 |
328 Editing %# notation | 338 Editing %# notation |
329 =================== | 339 =================== |
339 | 349 |
340 Type `!' to edit `%#!' entry, `b' to enclose the region with `%#BEGIN' and | 350 Type `!' to edit `%#!' entry, `b' to enclose the region with `%#BEGIN' and |
341 `%#END', and `l' to edit `%#LPR' entry. When you type `b', all `%#BEGIN' | 351 `%#END', and `l' to edit `%#LPR' entry. When you type `b', all `%#BEGIN' |
342 and `%#END' are automatically erased. | 352 and `%#END' are automatically erased. |
343 | 353 |
354 | |
344 | 355 |
345 File: yatexe, Node: Completion, Next: Local dictionaries, Prev: %#notation, Up: Top | 356 File: yatexe, Node: Completion, Next: Local dictionaries, Prev: %#notation, Up: Top |
346 | 357 |
347 Completion | 358 Completion |
348 ********** | 359 ********** |
350 YaTeX makes it easy to input the LaTeX commands. There are several | 361 YaTeX makes it easy to input the LaTeX commands. There are several |
351 kinds of completion type, begin-type, section-type, large-type, etc... | 362 kinds of completion type, begin-type, section-type, large-type, etc... |
352 | 363 |
353 * Menu: | 364 * Menu: |
354 | 365 |
355 * Begin-type completion:: | 366 * Begin-type completion:: |
356 * Section-type completion:: | 367 * Section-type completion:: |
357 * Large-type completion:: | 368 * Large-type completion:: |
358 * Maketitle-type completion:: | 369 * Maketitle-type completion:: |
359 * Arbitrary completion:: | 370 * Arbitrary completion:: |
360 * End completion:: | 371 * End completion:: |
361 * Accent completion:: | 372 * Accent completion:: |
362 * Image completion:: | 373 * Image completion:: |
363 * Greek letters completion:: | 374 * Greek letters completion:: |
375 | |
364 | 376 |
365 | 377 |
366 File: yatexe, Node: Begin-type completion, Next: Section-type completion, Prev: Completion, Up: Completion | 378 File: yatexe, Node: Begin-type completion, Next: Section-type completion, Prev: Completion, Up: Completion |
367 | 379 |
368 Begin-type completion | 380 Begin-type completion |
369 ===================== | 381 ===================== |
370 | 382 |
371 "Begin-type completion" completes commands of `\begin{env}' ... | 383 "Begin-type completion" completes commands of `\begin{env}' ... |
372 `\end{env}'. All of the begin-type completions begin with this key | 384 `\end{env}'. All of the begin-type completions begin with this key |
373 sequence. | 385 sequence. |
374 | 386 |
375 `[prefix] b' | 387 `[prefix] b' |
376 ... start begin-type completion | 388 ... start begin-type completion |
419 `[prefix] b SPACE' | 431 `[prefix] b SPACE' |
420 ... begin-type completion | 432 ... begin-type completion |
421 | 433 |
422 The next message will show up in the minibuffer | 434 The next message will show up in the minibuffer |
423 | 435 |
424 Begin environment(default document): | 436 Begin environment(default document): |
425 | 437 |
426 by typing `[prefix] b'. Put the wishing environment with completion in | 438 by typing `[prefix] b'. Put the wishing environment with completion in |
427 the minibuffer, and `\begin{env}'...\`\end{env}' will be inserted in the | 439 the minibuffer, and `\begin{env}'...\`\end{env}' will be inserted in the |
428 LaTeX source text. If the environment you want to put does not exist in | 440 LaTeX source text. If the environment you want to put does not exist in |
429 the YaTeX completion table, it will be registered in the user completion | 441 the YaTeX completion table, it will be registered in the user completion |
448 | 460 |
449 This enclosing holds good for the completing input by `[prefix] b SPC'. | 461 This enclosing holds good for the completing input by `[prefix] b SPC'. |
450 `[prefix] B SPC' enclose a region with the environment selected by | 462 `[prefix] B SPC' enclose a region with the environment selected by |
451 completing-read. | 463 completing-read. |
452 | 464 |
465 | |
453 | 466 |
454 File: yatexe, Node: Section-type completion, Next: Large-type completion, Prev: Begin-type completion, Up: Completion | 467 File: yatexe, Node: Section-type completion, Next: Large-type completion, Prev: Begin-type completion, Up: Completion |
455 | 468 |
456 Section-type completion | 469 Section-type completion |
457 ======================= | 470 ======================= |
486 \section{Hello world.} | 499 \section{Hello world.} |
487 | 500 |
488 in your LaTeX source. When you neglect argument such as | 501 in your LaTeX source. When you neglect argument such as |
489 | 502 |
490 (C-v for view) \???{} (default section): vspace* | 503 (C-v for view) \???{} (default section): vspace* |
491 \vspace*{???}: | 504 \vspace*{???}: |
492 | 505 |
493 YaTeX puts | 506 YaTeX puts |
494 | 507 |
495 \vspace*{} | 508 \vspace*{} |
496 | 509 |
525 efficiently read with the recursive completion by typing YaTeX's | 538 efficiently read with the recursive completion by typing YaTeX's |
526 completion key sequence in the minibuffer. | 539 completion key sequence in the minibuffer. |
527 | 540 |
528 * Menu: | 541 * Menu: |
529 | 542 |
530 * view-sectioning:: | 543 * view-sectioning:: |
544 | |
531 | 545 |
532 | 546 |
533 File: yatexe, Node: view-sectioning, Prev: Section-type completion, Up: Section-type completion | 547 File: yatexe, Node: view-sectioning, Prev: Section-type completion, Up: Section-type completion |
534 | 548 |
535 view-sectioning | 549 view-sectioning |
547 You can generate this listing buffer (`*Sectioning Lines*' buffer) by | 561 You can generate this listing buffer (`*Sectioning Lines*' buffer) by |
548 typing | 562 typing |
549 `M-x YaTeX-section-overview' | 563 `M-x YaTeX-section-overview' |
550 ... Generate *Sectioning Lines* buffer | 564 ... Generate *Sectioning Lines* buffer |
551 | 565 |
552 from the LaTeX source buffer. In this listing buffer, typing `u' on the | 566 from the LaTeX source buffer. In this listing buffer, typing `u' on |
553 sectioning command shifts up the corresponding sectioning command in | 567 the sectioning command shifts up the corresponding sectioning command in |
554 source text and `d' shifts down. After marking lines in the listing | 568 source text and `d' shifts down. After marking lines in the listing |
555 buffer, typing `U' shifts up all sectioning commands in the region, and | 569 buffer, typing `U' shifts up all sectioning commands in the region, |
556 `U' shifts down. Here are all the key bindings of `*Sectioning Lines*' | 570 and `U' shifts down. Here are all the key bindings of |
557 buffer. | 571 `*Sectioning Lines*' buffer. |
558 | 572 |
559 `SPC' | 573 `SPC' |
560 ... Jump to corresponding source line | 574 ... Jump to corresponding source line |
561 `.' | 575 `.' |
562 ... Display corresponding source line | 576 ... Display corresponding source line |
570 ... Shift down sectioning lines in region | 584 ... Shift down sectioning lines in region |
571 `0...6' | 585 `0...6' |
572 ... Hide sectioning commands whose level is lower than n | 586 ... Hide sectioning commands whose level is lower than n |
573 | 587 |
574 | 588 |
589 | |
575 | 590 |
576 File: yatexe, Node: Large-type completion, Next: Maketitle-type completion, Prev: Section-type completion, Up: Completion | 591 File: yatexe, Node: Large-type completion, Next: Maketitle-type completion, Prev: Section-type completion, Up: Completion |
577 | 592 |
578 Large-type completion | 593 Large-type completion |
579 ===================== | 594 ===================== |
584 `[prefix] l' | 599 `[prefix] l' |
585 ... large-type completion | 600 ... large-type completion |
586 | 601 |
587 the message in the minibuffer | 602 the message in the minibuffer |
588 | 603 |
589 {\??? } (default large): | 604 {\??? } (default large): |
590 | 605 |
591 prompts prompts you large-type command with completing-read. There are | 606 prompts prompts you large-type command with completing-read. There are |
592 TeX commands to change fonts or sizes, `it', `huge' and so on, in the | 607 TeX commands to change fonts or sizes, `it', `huge' and so on, in the |
593 completion table. | 608 completion table. |
594 | 609 |
595 Region-based completion is also invoked by changing the letter after | 610 Region-based completion is also invoked by changing the letter after |
596 prefix key stroke as `[prefix] L'. It encloses the region by braces with | 611 prefix key stroke as `[prefix] L'. It encloses the region by braces with |
597 large-type command. | 612 large-type command. |
598 | 613 |
614 | |
599 | 615 |
600 File: yatexe, Node: Maketitle-type completion, Next: Arbitrary completion, Prev: Large-type completion, Up: Completion | 616 File: yatexe, Node: Maketitle-type completion, Next: Arbitrary completion, Prev: Large-type completion, Up: Completion |
601 | 617 |
602 Maketitle-type completion | 618 Maketitle-type completion |
603 ========================= | 619 ========================= |
611 | 627 |
612 begins maketitle-completion. Above mentioned method is true for | 628 begins maketitle-completion. Above mentioned method is true for |
613 maketitle-completion, and there are LaTeX commands with no arguments in | 629 maketitle-completion, and there are LaTeX commands with no arguments in |
614 completion table. | 630 completion table. |
615 | 631 |
632 | |
616 | 633 |
617 File: yatexe, Node: Arbitrary completion, Next: End completion, Prev: Maketitle-type completion, Up: Completion | 634 File: yatexe, Node: Arbitrary completion, Next: End completion, Prev: Maketitle-type completion, Up: Completion |
618 | 635 |
619 Arbitrary completion | 636 Arbitrary completion |
620 ==================== | 637 ==================== |
625 `[prefix] SPC' | 642 `[prefix] SPC' |
626 ... arbitrary completion | 643 ... arbitrary completion |
627 | 644 |
628 after the initial string of LaTeX command that is preceded by `\'. | 645 after the initial string of LaTeX command that is preceded by `\'. |
629 | 646 |
647 | |
630 | 648 |
631 File: yatexe, Node: End completion, Next: Accent completion, Prev: Arbitrary completion, Up: Completion | 649 File: yatexe, Node: End completion, Next: Accent completion, Prev: Arbitrary completion, Up: Completion |
632 | 650 |
633 End completion | 651 End completion |
634 ============== | 652 ============== |
635 | 653 |
636 YaTeX automatically detects the opened environment and close it with | 654 YaTeX automatically detects the opened environment and close it with |
637 \`\end{environment}'. Though proficient YaTeX users never fail to make | 655 `\end{environment}'. Though proficient YaTeX users never fail to make |
638 environment with begin-type completion, some may begin an environment | 656 environment with begin-type completion, some may begin an environment |
639 manually. In that case, type | 657 manually. In that case, type |
640 | 658 |
641 `[prefix] e' | 659 `[prefix] e' |
642 ... `end' completion | 660 ... `end' completion |
643 | 661 |
644 at the end of the opened environment. | 662 at the end of the opened environment. |
645 | 663 |
664 | |
646 | 665 |
647 File: yatexe, Node: Accent completion, Next: Image completion, Prev: End completion, Up: Completion | 666 File: yatexe, Node: Accent completion, Next: Image completion, Prev: End completion, Up: Completion |
648 | 667 |
649 Accent completion | 668 Accent completion |
650 ================= | 669 ================= |
667 character `o' for example, then | 686 character `o' for example, then |
668 | 687 |
669 \`{o} | 688 \`{o} |
670 | 689 |
671 will be completed, and the cursor gets out from braces. | 690 will be completed, and the cursor gets out from braces. |
691 | |
672 | 692 |
673 | 693 |
674 File: yatexe, Node: Image completion, Next: Greek letters completion, Prev: Accent completion, Up: Completion | 694 File: yatexe, Node: Image completion, Next: Greek letters completion, Prev: Accent completion, Up: Completion |
675 | 695 |
676 Image completion of mathematical sign | 696 Image completion of mathematical sign |
681 symbols graphically. This completion only works in the math environment. | 701 symbols graphically. This completion only works in the math environment. |
682 YaTeX automatically detects whether the cursor located in math environment | 702 YaTeX automatically detects whether the cursor located in math environment |
683 or not, and change the behavior of key strokes `;' and `:'. | 703 or not, and change the behavior of key strokes `;' and `:'. |
684 | 704 |
685 By the way, we often express the leftarrow mark by `<-' for example. | 705 By the way, we often express the leftarrow mark by `<-' for example. |
686 Considering such image, you can write `\leftarrow' by typing `<-' after | 706 Considering such image, you can write `\leftarrow' by typing `<-' |
687 `;' (semicolon) as a prefix. In the same way, `\longleftarrow' (`<--') is | 707 after `;' (semicolon) as a prefix. In the same way, |
688 completed by typing `;<--', infinity mark which is imitated by `oo' is | 708 `\longleftarrow' (`<--') is completed by typing `;<--', |
689 completed by typing `;oo'. | 709 infinity mark which is imitated by `oo' is completed by typing |
710 `;oo'. | |
690 | 711 |
691 Here are the sample operations in YaTeX math-mode. | 712 Here are the sample operations in YaTeX math-mode. |
692 | 713 |
693 INPUT Completed LaTeX commands | 714 INPUT Completed LaTeX commands |
694 ; < - `\leftarrow' | 715 ; < - `\leftarrow' |
698 ; o o `\infty' | 719 ; o o `\infty' |
699 | 720 |
700 In any case, you can quit from image completion and can move to the next | 721 In any case, you can quit from image completion and can move to the next |
701 editing operation if the LaTeX command you want is shown in the buffer. | 722 editing operation if the LaTeX command you want is shown in the buffer. |
702 | 723 |
703 `;' itself in math-environment is inserted by `;;'. Typing `TAB' in the | 724 `;' itself in math-environment is inserted by `;;'. Typing |
704 midst of image completion shows all of the LaTeX commands that start with | 725 `TAB' in the midst of image completion shows all of the LaTeX |
705 the same name as string you previously typed in. In this menu buffer, | 726 commands that start with the same name as string you previously typed in. |
706 press `RET' after moving the cursor (by `n', `p', `b', `f') to insert the | 727 In this menu buffer, press `RET' after moving the cursor (by `n', |
707 LaTeX command. | 728 `p', `b', `f') to insert the LaTeX command. |
708 | 729 |
709 To know all of the completion table, type `TAB' just after `;'. And | 730 To know all of the completion table, type `TAB' just after `;'. And |
710 here is the sample menu by `TAB' after `;<'. | 731 here is the sample menu by `TAB' after `;<'. |
711 | 732 |
712 KEY LaTeX sequence sign | 733 KEY LaTeX sequence sign |
713 < \leq < | 734 < \leq < |
714 ~ | 735 ~ |
715 << \ll << | 736 << \ll << |
716 <- \leftarrow <- | 737 <- \leftarrow <- |
717 <= \Leftarrow <= | 738 <= \Leftarrow <= |
718 | 739 |
719 You can define your favorite key-vs-sequence completion table in the | 740 You can define your favorite key-vs-sequence completion table in the |
720 Emacs-Lisp variable `YaTeX-math-sign-alist-private'. See also | 741 Emacs-Lisp variable `YaTeX-math-sign-alist-private'. See also |
721 `yatexmth.el' for the information of the structure of this variable. | 742 `yatexmth.el' for the information of the structure of this variable. |
743 | |
722 | 744 |
723 | 745 |
724 File: yatexe, Node: Greek letters completion, Prev: Image completion, Up: Completion | 746 File: yatexe, Node: Greek letters completion, Prev: Image completion, Up: Completion |
725 | 747 |
726 Greek letters completion | 748 Greek letters completion |
729 Math-mode of YaTeX provides another image completion, Greek letters | 751 Math-mode of YaTeX provides another image completion, Greek letters |
730 completion in the same method. After prefix `:', typing `a' makes | 752 completion in the same method. After prefix `:', typing `a' makes |
731 `\alpha', `b' makes `\beta' and `g' makes `\gamma' and so on. First, type | 753 `\alpha', `b' makes `\beta' and `g' makes `\gamma' and so on. First, type |
732 `:TAB' to know all the correspondence of alphabets vs. Greek letters. | 754 `:TAB' to know all the correspondence of alphabets vs. Greek letters. |
733 | 755 |
734 If you will find `;' or `:' doesn't work in correct position of math | 756 If you will find `;' or `:' doesn't work in correct position of |
735 environment, it may be a bug of YaTeX. Please send me a bug report with | 757 math environment, it may be a bug of YaTeX. Please send me a bug report |
736 the configuration of your text, and avoid it temporarily by typing `;' or | 758 with the configuration of your text, and avoid it temporarily by typing |
737 `:' after universal-argument(`C-u') which forces `;' and `:' to work as | 759 `;' or `:' after universal-argument(`C-u') which forces |
738 math-prefix. | 760 `;' and `:' to work as math-prefix. |
761 | |
739 | 762 |
740 | 763 |
741 File: yatexe, Node: Local dictionaries, Next: Commenting out, Prev: Completion, Up: Top | 764 File: yatexe, Node: Local dictionaries, Next: Commenting out, Prev: Completion, Up: Top |
742 | 765 |
743 Local dictionaries | 766 Local dictionaries |
760 If you find this switching feature meaningless and bothersome, put the | 783 If you find this switching feature meaningless and bothersome, put the |
761 next expression into your `~/.emacs' | 784 next expression into your `~/.emacs' |
762 | 785 |
763 (setq YaTeX-nervous nil) | 786 (setq YaTeX-nervous nil) |
764 | 787 |
788 | |
765 | 789 |
766 File: yatexe, Node: Commenting out, Next: Cursor jump, Prev: Local dictionaries, Up: Top | 790 File: yatexe, Node: Commenting out, Next: Cursor jump, Prev: Local dictionaries, Up: Top |
767 | 791 |
768 Commenting out | 792 Commenting out |
769 ************** | 793 ************** |
785 comments or uncomments the paragraph where the cursor belongs. This | 809 comments or uncomments the paragraph where the cursor belongs. This |
786 `paragraph' means the region marked by the function mark-paragraph, bound | 810 `paragraph' means the region marked by the function mark-paragraph, bound |
787 to `ESC h' by default. It is NOT predictable what will happen when you | 811 to `ESC h' by default. It is NOT predictable what will happen when you |
788 continuously comment out some paragraph many times. | 812 continuously comment out some paragraph many times. |
789 | 813 |
790 You can also comment out an environment between `\begin' and `\end', or | 814 You can also comment out an environment between `\begin' and |
791 a `\begin'-\`\end' pair themselves, by making the following key strokes on | 815 `\end', or a `\begin'-\`\end' pair themselves, by making the |
792 the line where `\begin{}' or `\end{}' exists. | 816 following key strokes on the line where `\begin{}' or |
817 `\end{}' exists. | |
793 | 818 |
794 `[prefix] >' | 819 `[prefix] >' |
795 ... comment out from \begin to \`end' | 820 ... comment out from \begin to \`end' |
796 `[prefix] <' | 821 `[prefix] <' |
797 ... uncomment from \begin to \`end' | 822 ... uncomment from \begin to \`end' |
807 NOTE that even if you intend to comment out some region, invoking | 832 NOTE that even if you intend to comment out some region, invoking |
808 `[prefix] >' on the `\begin',`\end' line decides to work in `commenting | 833 `[prefix] >' on the `\begin',`\end' line decides to work in `commenting |
809 out from `\begin' to `\end'' mode. | 834 out from `\begin' to `\end'' mode. |
810 | 835 |
811 | 836 |
837 | |
812 | 838 |
813 File: yatexe, Node: Cursor jump, Next: Changing and Deleting, Prev: Commenting out, Up: Top | 839 File: yatexe, Node: Cursor jump, Next: Changing and Deleting, Prev: Commenting out, Up: Top |
814 | 840 |
815 Cursor jump | 841 Cursor jump |
816 *********** | 842 *********** |
817 | 843 |
818 | 844 |
819 * Menu: | 845 * Menu: |
820 | 846 |
821 * Jump to corresponding object:: | 847 * Jump to corresponding object:: |
822 * Invoking image processor:: | 848 * Invoking image processor:: |
823 * Jump to main file:: | 849 * Jump to main file:: |
824 * Jumping around the environment:: | 850 * Jumping around the environment:: |
825 * Jumping to last completion position:: | 851 * Jumping to last completion position:: |
852 | |
826 | 853 |
827 | 854 |
828 File: yatexe, Node: Jump to corresponding object, Next: Invoking image processor, Prev: Cursor jump, Up: Cursor jump | 855 File: yatexe, Node: Jump to corresponding object, Next: Invoking image processor, Prev: Cursor jump, Up: Cursor jump |
829 | 856 |
830 Jump to corresponding object | 857 Jump to corresponding object |
857 the main text, YaTeX switches buffer to `chap1.tex'. | 884 the main text, YaTeX switches buffer to `chap1.tex'. |
858 | 885 |
859 `[prefix] 4 g' | 886 `[prefix] 4 g' |
860 ... go to corresponding object in other window | 887 ... go to corresponding object in other window |
861 | 888 |
862 do the same job as `[prefix] g' except it's done in other window. Note | 889 do the same job as `[prefix] g' except it's done in other window. |
863 that this function doesn't work on `begin/end', `%#BEGIN/%#END' pairs | 890 Note that this function doesn't work on `begin/end', |
864 because it is meaningless. | 891 `%#BEGIN/%#END' pairs because it is meaningless. |
892 | |
865 | 893 |
866 | 894 |
867 File: yatexe, Node: Invoking image processor, Next: Jump to main file, Prev: Jump to corresponding object, Up: Cursor jump | 895 File: yatexe, Node: Invoking image processor, Next: Jump to main file, Prev: Jump to corresponding object, Up: Cursor jump |
868 | 896 |
869 Invoking image processor | 897 Invoking image processor |
888 3. If not, check the existence of each file which is supplied the | 916 3. If not, check the existence of each file which is supplied the |
889 extension in the cdr part of each list of | 917 extension in the cdr part of each list of |
890 `YaTeX-file-processor-alist'. If any, call the corresponding image | 918 `YaTeX-file-processor-alist'. If any, call the corresponding image |
891 viewer or drawing tool. | 919 viewer or drawing tool. |
892 | 920 |
921 | |
893 | 922 |
894 File: yatexe, Node: Jump to main file, Next: Jumping around the environment, Prev: Invoking image processor, Up: Cursor jump | 923 File: yatexe, Node: Jump to main file, Next: Jumping around the environment, Prev: Invoking image processor, Up: Cursor jump |
895 | 924 |
896 Jump to main file | 925 Jump to main file |
897 ================= | 926 ================= |
901 `[prefix] ^' | 930 `[prefix] ^' |
902 ... visit main file | 931 ... visit main file |
903 `[prefix] 4^' | 932 `[prefix] 4^' |
904 ... visit main file in other buffer | 933 ... visit main file in other buffer |
905 | 934 |
906 in a sub text switch the buffer to the main text specified by `%#!' | 935 in a sub text switch the buffer to the main text specified by |
907 notation. | 936 `%#!' notation. |
937 | |
908 | 938 |
909 | 939 |
910 File: yatexe, Node: Jumping around the environment, Next: Jumping to last completion position, Prev: Jump to main file, Up: Cursor jump | 940 File: yatexe, Node: Jumping around the environment, Next: Jumping to last completion position, Prev: Jump to main file, Up: Cursor jump |
911 | 941 |
912 Jumping around the environment | 942 Jumping around the environment |
919 `M-C-e' | 949 `M-C-e' |
920 ... `end' of environment | 950 ... `end' of environment |
921 `M-C-@' | 951 `M-C-@' |
922 ... mark environment | 952 ... mark environment |
923 | 953 |
954 | |
924 | 955 |
925 File: yatexe, Node: Jumping to last completion position, Prev: Jumping around the environment, Up: Cursor jump | 956 File: yatexe, Node: Jumping to last completion position, Prev: Jumping around the environment, Up: Cursor jump |
926 | 957 |
927 Jumping to last completion position | 958 Jumping to last completion position |
928 =================================== | 959 =================================== |
931 every time you make a trip to any other part of text other than you are | 962 every time you make a trip to any other part of text other than you are |
932 writing, you can return to the editing paragraph by calling | 963 writing, you can return to the editing paragraph by calling |
933 register-to-point with argument YaTeX-current-position-register, which is | 964 register-to-point with argument YaTeX-current-position-register, which is |
934 achieved by typing `C-x j 3'(by default). | 965 achieved by typing `C-x j 3'(by default). |
935 | 966 |
967 | |
936 | 968 |
937 File: yatexe, Node: Changing and Deleting, Next: Filling, Prev: Cursor jump, Up: Top | 969 File: yatexe, Node: Changing and Deleting, Next: Filling, Prev: Cursor jump, Up: Top |
938 | 970 |
939 Changing and Deleting | 971 Changing and Deleting |
940 ********************* | 972 ********************* |
947 `[prefix] k' | 979 `[prefix] k' |
948 ... kill LaTeX command | 980 ... kill LaTeX command |
949 | 981 |
950 * Menu: | 982 * Menu: |
951 | 983 |
952 * Changing LaTeX commands:: | 984 * Changing LaTeX commands:: |
953 * Killing LaTeX commands:: | 985 * Killing LaTeX commands:: |
986 | |
954 | 987 |
955 | 988 |
956 File: yatexe, Node: Changing LaTeX commands, Next: Killing LaTeX commands, Prev: Changing and Deleting, Up: Changing and Deleting | 989 File: yatexe, Node: Changing LaTeX commands, Next: Killing LaTeX commands, Prev: Changing and Deleting, Up: Changing and Deleting |
957 | 990 |
958 Changing LaTeX commands | 991 Changing LaTeX commands |
976 changing. Anyway, it is very difficult to know which argument position | 1009 changing. Anyway, it is very difficult to know which argument position |
977 the cursor belongs because the LaTeX commands can be nested and braces can | 1010 the cursor belongs because the LaTeX commands can be nested and braces can |
978 freely emerge. So keep it mind to put the cursor on a brace when you are | 1011 freely emerge. So keep it mind to put the cursor on a brace when you are |
979 thinking of changing a complicated argument. | 1012 thinking of changing a complicated argument. |
980 | 1013 |
1014 | |
981 | 1015 |
982 File: yatexe, Node: Killing LaTeX commands, Prev: Changing LaTeX commands, Up: Changing and Deleting | 1016 File: yatexe, Node: Killing LaTeX commands, Prev: Changing LaTeX commands, Up: Changing and Deleting |
983 | 1017 |
984 Killing LaTeX commands | 1018 Killing LaTeX commands |
985 ====================== | 1019 ====================== |
1004 | 1038 |
1005 Original text: [prefix] k C-u [prefix] k | 1039 Original text: [prefix] k C-u [prefix] k |
1006 Main \footnote{note} here. Main note here. Main here. | 1040 Main \footnote{note} here. Main note here. Main here. |
1007 ~(cursor) | 1041 ~(cursor) |
1008 | 1042 |
1043 | |
1009 | 1044 |
1010 File: yatexe, Node: Filling, Next: Updation of includeonly, Prev: Changing and Deleting, Up: Top | 1045 File: yatexe, Node: Filling, Next: Updation of includeonly, Prev: Changing and Deleting, Up: Top |
1011 | 1046 |
1012 Filling | 1047 Filling |
1013 ******* | 1048 ******* |
1028 newcommand to itemize terms(e.g. `\underlineitem'), put | 1063 newcommand to itemize terms(e.g. `\underlineitem'), put |
1029 | 1064 |
1030 (setq YaTeX-item-regexp | 1065 (setq YaTeX-item-regexp |
1031 "\\(\\\\\\(sub\\)*item\\)\\|\\(\\\\underlineitem\\)") | 1066 "\\(\\\\\\(sub\\)*item\\)\\|\\(\\\\underlineitem\\)") |
1032 | 1067 |
1033 in your `~/.emacs'. If you are not familiar with regular expression for | 1068 in your `~/.emacs'. If you are not familiar with regular expression |
1034 Emacs-Lisp, name a newcommand for `itemize' beginning with `\item' such as | 1069 for Emacs-Lisp, name a newcommand for `itemize' beginning with |
1035 `\itembf', not `\bfitem'. | 1070 `\item' such as `\itembf', not `\bfitem'. |
1036 | 1071 |
1037 This function reformats the `\item' into `hang-indented' style. For | 1072 This function reformats the `\item' into `hang-indented' style. For |
1038 example: | 1073 example: |
1039 | 1074 |
1040 itemize, enumerate environment: | 1075 itemize, enumerate environment: |
1059 as verbatim, tabular, or so. And it protects `\verb' expressions from | 1094 as verbatim, tabular, or so. And it protects `\verb' expressions from |
1060 being folded (The variable `YaTeX-verb-regexp' controls this). Besides, | 1095 being folded (The variable `YaTeX-verb-regexp' controls this). Besides, |
1061 putting cursor on the first occurrence of non-whitespace character on a | 1096 putting cursor on the first occurrence of non-whitespace character on a |
1062 line changes the fill-prefix temporarily to the depth of the line. | 1097 line changes the fill-prefix temporarily to the depth of the line. |
1063 | 1098 |
1099 | |
1064 | 1100 |
1065 File: yatexe, Node: Updation of includeonly, Next: What column, Prev: Filling, Up: Top | 1101 File: yatexe, Node: Updation of includeonly, Next: What column, Prev: Filling, Up: Top |
1066 | 1102 |
1067 Updation of `\includeonly' | 1103 Updation of `\includeonly' |
1068 ************************** | 1104 ************************** |
1079 in the main file. YaTeX automatically detects that the current edited | 1115 in the main file. YaTeX automatically detects that the current edited |
1080 text is not in includeonly list and prompts you | 1116 text is not in includeonly list and prompts you |
1081 | 1117 |
1082 A)dd R)eplace %)comment? | 1118 A)dd R)eplace %)comment? |
1083 | 1119 |
1084 in the minibuffer. Type `a' if you want to add the current file name to | 1120 in the minibuffer. Type `a' if you want to add the current file name |
1085 `\includeonly' list, `r' to replace \`includeonly' list with the current | 1121 to `\includeonly' list, `r' to replace \`includeonly' list |
1086 file, and type `%' to comment out the `\includeonly' line. | 1122 with the current file, and type `%' to comment out the |
1123 `\includeonly' line. | |
1124 | |
1087 | 1125 |
1088 | 1126 |
1089 File: yatexe, Node: What column, Next: Intelligent newline, Prev: Updation of includeonly, Up: Top | 1127 File: yatexe, Node: What column, Next: Intelligent newline, Prev: Updation of includeonly, Up: Top |
1090 | 1128 |
1091 What column? | 1129 What column? |
1113 in that position. YaTeX tells you the column header of the current field. | 1151 in that position. YaTeX tells you the column header of the current field. |
1114 Since YaTeX assumes the first line of tabular environment as a row of | 1152 Since YaTeX assumes the first line of tabular environment as a row of |
1115 column headers, you can create a row of virtual column headers by putting | 1153 column headers, you can create a row of virtual column headers by putting |
1116 them in the first line and commenting that line with `%'. | 1154 them in the first line and commenting that line with `%'. |
1117 | 1155 |
1156 | |
1118 | 1157 |
1119 File: yatexe, Node: Intelligent newline, Next: Usepackage checker, Prev: What column, Up: Top | 1158 File: yatexe, Node: Intelligent newline, Next: Usepackage checker, Prev: What column, Up: Top |
1120 | 1159 |
1121 Intelligent newline | 1160 Intelligent newline |
1122 ******************* | 1161 ******************* |
1134 and `\hline' if other `\hline' is found in backward. Here are the list of | 1173 and `\hline' if other `\hline' is found in backward. Here are the list of |
1135 contents vs. environments. | 1174 contents vs. environments. |
1136 | 1175 |
1137 * `tabular', `tabular*', `array' | 1176 * `tabular', `tabular*', `array' |
1138 | 1177 |
1139 Corresponding number of `&' and `\\'. | 1178 Corresponding number of `&' and `\\'. And `\hline' if |
1140 And `\hline' if needed. | 1179 needed. |
1141 | 1180 |
1142 * `tabbing' | 1181 * `tabbing' |
1143 | 1182 |
1144 The same number of `\>' as `\=' in the first line. | 1183 The same number of `\>' as `\=' in the first line. |
1145 | 1184 |
1150 Note that since this function works seeing the contents of the first | 1189 Note that since this function works seeing the contents of the first |
1151 line, please call this after the second line if possible. | 1190 line, please call this after the second line if possible. |
1152 | 1191 |
1153 If you want to apply these trick to other environments, `foo' | 1192 If you want to apply these trick to other environments, `foo' |
1154 environment for example, define the function named | 1193 environment for example, define the function named |
1155 `YaTeX-intelligent-newline-foo' to insert corresponding contents. That | 1194 `YaTeX-intelligent-newline-foo' to insert corresponding contents. |
1156 function will be called at the beginning of the next line after the | 1195 That function will be called at the beginning of the next line after the |
1157 newline is inserted to the current line. Since the function | 1196 newline is inserted to the current line. Since the function |
1158 `YaTeX-indent-line' is designed to indent the current line properly, | 1197 `YaTeX-indent-line' is designed to indent the current line properly, |
1159 calling this function before your code to insert certain contents must be | 1198 calling this function before your code to insert certain contents must be |
1160 useful. See the definition of the function | 1199 useful. See the definition of the function |
1161 `YaTeX-intelligent-newline-itemize' as an example. | 1200 `YaTeX-intelligent-newline-itemize' as an example. |
1162 | 1201 |
1202 | |
1163 | 1203 |
1164 File: yatexe, Node: Usepackage checker, Next: Online help, Prev: Intelligent newline, Up: Top | 1204 File: yatexe, Node: Usepackage checker, Next: Online help, Prev: Intelligent newline, Up: Top |
1165 | 1205 |
1166 Usepackage checker | 1206 Usepackage checker |
1167 ****************** | 1207 ****************** |
1172 `\usepackage{}' declaration corresponding to input macro. | 1212 `\usepackage{}' declaration corresponding to input macro. |
1173 | 1213 |
1174 To activate the package completion for your favarite package, set the | 1214 To activate the package completion for your favarite package, set the |
1175 variable `YaTeX-package-alist-private' correctly. Please refere the value | 1215 variable `YaTeX-package-alist-private' correctly. Please refere the value |
1176 of `YaTeX-package-alist-default' as an example. | 1216 of `YaTeX-package-alist-default' as an example. |
1217 | |
1177 | 1218 |
1178 | 1219 |
1179 File: yatexe, Node: Online help, Next: Browsing file hierarchy, Prev: Usepackage checker, Up: Top | 1220 File: yatexe, Node: Online help, Next: Browsing file hierarchy, Prev: Usepackage checker, Up: Top |
1180 | 1221 |
1181 Online help | 1222 Online help |
1221 you to write a description on that command. If you are willing to do, | 1262 you to write a description on that command. If you are willing to do, |
1222 determine which help file to add and write the description on it referring | 1263 determine which help file to add and write the description on it referring |
1223 your manual of (La)TeX. Please send me your additional descriptions if | 1264 your manual of (La)TeX. Please send me your additional descriptions if |
1224 you describe the help on some standard commands. I might want to include | 1265 you describe the help on some standard commands. I might want to include |
1225 it in the next distribution. | 1266 it in the next distribution. |
1267 | |
1226 | 1268 |
1227 | 1269 |
1228 File: yatexe, Node: Browsing file hierarchy, Next: Cooperation with other packages, Prev: Online help, Up: Top | 1270 File: yatexe, Node: Browsing file hierarchy, Next: Cooperation with other packages, Prev: Online help, Up: Top |
1229 | 1271 |
1230 Browsing file hierarchy | 1272 Browsing file hierarchy |
1283 ... quit | 1325 ... quit |
1284 | 1326 |
1285 Note that operations on the file contents in the next window do not work | 1327 Note that operations on the file contents in the next window do not work |
1286 correctly when you close the corresponding file. | 1328 correctly when you close the corresponding file. |
1287 | 1329 |
1330 | |
1288 | 1331 |
1289 File: yatexe, Node: Cooperation with other packages, Next: Customizations, Prev: Browsing file hierarchy, Up: Top | 1332 File: yatexe, Node: Cooperation with other packages, Next: Customizations, Prev: Browsing file hierarchy, Up: Top |
1290 | 1333 |
1291 Cooperation with other packages | 1334 Cooperation with other packages |
1292 ******************************* | 1335 ******************************* |
1308 | 1351 |
1309 `min-out', the outline minor mode, can be used in yatex-mode buffers. | 1352 `min-out', the outline minor mode, can be used in yatex-mode buffers. |
1310 If you want to use it with YaTeX, please refer the file `yatexm-o.el' as | 1353 If you want to use it with YaTeX, please refer the file `yatexm-o.el' as |
1311 an example. | 1354 an example. |
1312 | 1355 |
1356 | |
1313 | 1357 |
1314 File: yatexe, Node: Customizations, Next: Etcetera, Prev: Cooperation with other packages, Up: Top | 1358 File: yatexe, Node: Customizations, Next: Etcetera, Prev: Cooperation with other packages, Up: Top |
1315 | 1359 |
1316 Customizations | 1360 Customizations |
1317 ************** | 1361 ************** |
1319 You can customize YaTeX by setting Emacs-Lisp variables and by making | 1363 You can customize YaTeX by setting Emacs-Lisp variables and by making |
1320 add-in functions. | 1364 add-in functions. |
1321 | 1365 |
1322 * Menu: | 1366 * Menu: |
1323 | 1367 |
1324 * Lisp variables:: | 1368 * Lisp variables:: |
1325 * Add-in functions:: | 1369 * Add-in functions:: |
1326 * Add-in generator:: | 1370 * Add-in generator:: |
1371 | |
1327 | 1372 |
1328 | 1373 |
1329 File: yatexe, Node: Lisp variables, Next: Add-in functions, Prev: Customizations, Up: Customizations | 1374 File: yatexe, Node: Lisp variables, Next: Add-in functions, Prev: Customizations, Up: Customizations |
1330 | 1375 |
1331 Lisp variables | 1376 Lisp variables |
1344 invoked with `C-c Capital-letter' remain valid, if you want to disable | 1389 invoked with `C-c Capital-letter' remain valid, if you want to disable |
1345 those bindings, set that variable to 1 instead of `t'). | 1390 those bindings, set that variable to 1 instead of `t'). |
1346 | 1391 |
1347 * Menu: | 1392 * Menu: |
1348 | 1393 |
1349 * All customizable variables:: | 1394 * All customizable variables:: |
1350 * Sample definitions:: | 1395 * Sample definitions:: |
1351 * Hook variables:: | 1396 * Hook variables:: |
1352 * Hook file:: | 1397 * Hook file:: |
1398 | |
1353 | 1399 |
1354 | 1400 |
1355 File: yatexe, Node: All customizable variables, Next: Sample definitions, Prev: Lisp variables, Up: Lisp variables | 1401 File: yatexe, Node: All customizable variables, Next: Sample definitions, Prev: Lisp variables, Up: Lisp variables |
1356 | 1402 |
1357 All customizable variables | 1403 All customizable variables |
1367 Set this nil to produce all messages in English (`Depends on Japanese | 1413 Set this nil to produce all messages in English (`Depends on Japanese |
1368 feature of Emacs') | 1414 feature of Emacs') |
1369 | 1415 |
1370 -- Variable: YaTeX-kanji-code | 1416 -- Variable: YaTeX-kanji-code |
1371 Default buffer-file-coding-system for YaTeX modes' buffer. Set this | 1417 Default buffer-file-coding-system for YaTeX modes' buffer. Set this |
1372 0 to no language conversion. Nil to preserve original coding-system. | 1418 0 to no language conversion. Nil to preserve original |
1373 (`1 or 2') | 1419 coding-system. 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (`1 or 2') |
1374 | 1420 |
1375 -- Variable: YaTeX-prefix | 1421 -- Variable: YaTeX-prefix |
1376 Prefix key stroke (`C-c') | 1422 Prefix key stroke (`C-c') |
1377 | 1423 |
1378 -- Variable: YaTeX-inhibit-prefix-letter | 1424 -- Variable: YaTeX-inhibit-prefix-letter |
1381 -- Variable: YaTeX-fill-prefix | 1427 -- Variable: YaTeX-fill-prefix |
1382 Fill-prefix used in yatex-mode (`nil') | 1428 Fill-prefix used in yatex-mode (`nil') |
1383 | 1429 |
1384 -- Variable: YaTeX-user-completion-table | 1430 -- Variable: YaTeX-user-completion-table |
1385 Name of user dictionary where learned completion table will be | 1431 Name of user dictionary where learned completion table will be |
1386 stored. (`"~/.yatexrc"') | 1432 stored. (`"~/.yatexrc"') |
1387 | 1433 |
1388 -- Variable: tex-command | 1434 -- Variable: tex-command |
1389 LaTeX typesetter command (`"latex"') | 1435 LaTeX typesetter command (`"latex"') |
1390 | 1436 |
1391 -- Variable: dvi2-command | 1437 -- Variable: dvi2-command |
1430 Regexp of LaTeX sectioning command | 1476 Regexp of LaTeX sectioning command |
1431 (`"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"') | 1477 (`"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"') |
1432 | 1478 |
1433 -- Variable: YaTeX-fill-inhibit-environments | 1479 -- Variable: YaTeX-fill-inhibit-environments |
1434 Inhibit fill in these environments (`'("tabular" "tabular*" "array" | 1480 Inhibit fill in these environments (`'("tabular" "tabular*" "array" |
1435 "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" | 1481 picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" |
1436 "verbatim" "verbatim*")') | 1482 verbatim" "verbatim*")') |
1437 | 1483 |
1438 -- Variable: YaTeX-uncomment-once | 1484 -- Variable: YaTeX-uncomment-once |
1439 T for deleting all preceding `%' (`nil') | 1485 T for deleting all preceding `%' (`nil') |
1440 | 1486 |
1441 -- Variable: YaTeX-close-paren-always | 1487 -- Variable: YaTeX-close-paren-always |
1477 | 1523 |
1478 -- Variable: YaTeX-hierarchy-ignore-heading-regexp | 1524 -- Variable: YaTeX-hierarchy-ignore-heading-regexp |
1479 `YaTeX-display-hierarchy' searches for sectioning command first, and | 1525 `YaTeX-display-hierarchy' searches for sectioning command first, and |
1480 comment line secondary as a file headings. In latter case, ignore lines | 1526 comment line secondary as a file headings. In latter case, ignore lines |
1481 that match with regular expression of this variable. Default value of | 1527 that match with regular expression of this variable. Default value of |
1482 this variable is RCS header expressions and mode specifying line `-*- xxxx | 1528 this variable is RCS header expressions and mode specifying line `-*- xxxx |
1483 -*'. | 1529 -*'. |
1484 | 1530 |
1485 -- Variable: YaTeX-skip-default-reader | 1531 -- Variable: YaTeX-skip-default-reader |
1486 Non-nil for this variable skips the default argument reader of | 1532 Non-nil for this variable skips the default argument reader of |
1487 section-type command when add-in function for it is not defined | 1533 section-type command when add-in function for it is not defined |
1531 YaTeX tries to search italic, bold fontsets or not (`t' if Emacs-20 | 1577 YaTeX tries to search italic, bold fontsets or not (`t' if Emacs-20 |
1532 or later). This variable is effective only when font-lock is used. | 1578 or later). This variable is effective only when font-lock is used. |
1533 (`(featurep 'hilit19)' | 1579 (`(featurep 'hilit19)' |
1534 | 1580 |
1535 -- Variable: YaTeX-singlecmd-suffix | 1581 -- Variable: YaTeX-singlecmd-suffix |
1536 Suffix which is always inserted after maketitle-type macros. `"{}"' | 1582 Suffix which is always inserted after maketitle-type macros. |
1537 is recommended. | 1583 `"{}"' is recommended. |
1538 | 1584 |
1539 -- Variable: YaTeX-package-alist-private | 1585 -- Variable: YaTeX-package-alist-private |
1540 Alist of LaTeX2e-package name vs. lists of macros in it. Set this | 1586 Alist of LaTeX2e-package name vs. lists of macros in it. Set this |
1541 alist properly and YaTeX automatically check the declaratiion of | 1587 alist properly and YaTeX automatically check the declaratiion of |
1542 `usepackage' for corresponding macro, when you input that macro with | 1588 `usepackage' for corresponding macro, when you input that macro with |
1543 completion. If required `usepackage' is not found, YaTeX also | 1589 completion. If required `usepackage' is not found, YaTeX also |
1544 automatically inserts `\usepackage'. Alist is as follows; | 1590 automatically inserts `\usepackage'. Alist is as follows; |
1545 '((PackageName1 | 1591 '((PackageName1 (completionType ListOfMacro) (completionType |
1546 (completionType ListOfMacro) | 1592 ListOfMacro)) (PackageName2 (completionType ListOfMacro) |
1547 (completionType ListOfMacro)) | 1593 (completionType ListOfMacro...))....) completionType is one of `env, |
1548 (PackageName2 | 1594 section, maketitle'. Consult the value of |
1549 (completionType ListOfMacro) | |
1550 (completionType ListOfMacro...))....) completionType is | |
1551 one of `env, section, maketitle'. Consult the value of | |
1552 `YaTeX-package-alist-default' as an example. | 1595 `YaTeX-package-alist-default' as an example. |
1553 | 1596 |
1554 -- Variable: YaTeX-tabular-indentation | 1597 -- Variable: YaTeX-tabular-indentation |
1555 At indentation by `C-i' in tabular or array environment, YaTeX put | 1598 At indentation by `C-i' in tabular or array environment, YaTeX put |
1556 the additional spaces to the normail indentation depth. The number | 1599 the additional spaces to the normail indentation depth. The number |
1589 (if (setq command (cdr (assoc command alist))) | 1632 (if (setq command (cdr (assoc command alist))) |
1590 (concat command ":" value) | 1633 (concat command ":" value) |
1591 (YaTeX::ref-generate-label nil nil)))) | 1634 (YaTeX::ref-generate-label nil nil)))) |
1592 | 1635 |
1593 | 1636 |
1637 | |
1594 | 1638 |
1595 File: yatexe, Node: Sample definitions, Next: Hook variables, Prev: All customizable variables, Up: Lisp variables | 1639 File: yatexe, Node: Sample definitions, Next: Hook variables, Prev: All customizable variables, Up: Lisp variables |
1596 | 1640 |
1597 Sample definitions | 1641 Sample definitions |
1598 ------------------ | 1642 ------------------ |
1602 character, add the following `setq' to `~/.emacs'. | 1646 character, add the following `setq' to `~/.emacs'. |
1603 | 1647 |
1604 (setq YaTeX-prefix "\e" | 1648 (setq YaTeX-prefix "\e" |
1605 YaTeX-user-completion-table "~/src/emacs/yatexrc" | 1649 YaTeX-user-completion-table "~/src/emacs/yatexrc" |
1606 YaTeX-fill-prefix " ") | 1650 YaTeX-fill-prefix " ") |
1651 | |
1607 | 1652 |
1608 | 1653 |
1609 File: yatexe, Node: Hook variables, Next: Hook file, Prev: Sample definitions, Up: Lisp variables | 1654 File: yatexe, Node: Hook variables, Next: Hook file, Prev: Sample definitions, Up: Lisp variables |
1610 | 1655 |
1611 Hook variables | 1656 Hook variables |
1621 '(lambda() (YaTeX-define-begend-key "ba" "abstract"))) | 1666 '(lambda() (YaTeX-define-begend-key "ba" "abstract"))) |
1622 | 1667 |
1623 You should use functions `YaTeX-define-key', or | 1668 You should use functions `YaTeX-define-key', or |
1624 `YaTeX-define-begend-key' to define all the key sequences of yatex-mode. | 1669 `YaTeX-define-begend-key' to define all the key sequences of yatex-mode. |
1625 | 1670 |
1671 | |
1626 | 1672 |
1627 File: yatexe, Node: Hook file, Prev: Hook variables, Up: Lisp variables | 1673 File: yatexe, Node: Hook file, Prev: Hook variables, Up: Lisp variables |
1628 | 1674 |
1629 Hook file | 1675 Hook file |
1630 --------- | 1676 --------- |
1632 You can stuff all of YaTeX related expressions into a file named | 1678 You can stuff all of YaTeX related expressions into a file named |
1633 `yatexhks.el' if you have a lot of codes. YaTeX automatically load this | 1679 `yatexhks.el' if you have a lot of codes. YaTeX automatically load this |
1634 file at the initialization of itself. Using `yatexhks.el' makes | 1680 file at the initialization of itself. Using `yatexhks.el' makes |
1635 `yatex-mode-load-hook' unnecessary. | 1681 `yatex-mode-load-hook' unnecessary. |
1636 | 1682 |
1683 | |
1637 | 1684 |
1638 File: yatexe, Node: Add-in functions, Next: Add-in generator, Prev: Lisp variables, Up: Customizations | 1685 File: yatexe, Node: Add-in functions, Next: Add-in generator, Prev: Lisp variables, Up: Customizations |
1639 | 1686 |
1640 Add-in functions | 1687 Add-in functions |
1641 ================ | 1688 ================ |
1660 1. Define the function | 1707 1. Define the function |
1661 2. Put the function into `yatexhks.el' | 1708 2. Put the function into `yatexhks.el' |
1662 | 1709 |
1663 * Menu: | 1710 * Menu: |
1664 | 1711 |
1665 * How the add-in function works:: | 1712 * How the add-in function works:: |
1666 * How the function is called:: | 1713 * How the function is called:: |
1667 * Useful functions for creating add-in:: | 1714 * Useful functions for creating add-in:: |
1668 * Contribution:: | 1715 * Contribution:: |
1716 | |
1669 | 1717 |
1670 | 1718 |
1671 File: yatexe, Node: How the add-in function works, Next: How the function is called, Prev: Add-in functions, Up: Add-in functions | 1719 File: yatexe, Node: How the add-in function works, Next: How the function is called, Prev: Add-in functions, Up: Add-in functions |
1672 | 1720 |
1673 How the add-in function works | 1721 How the add-in function works |
1720 You do set-mark-command at point A and then move to point B. Typing | 1768 You do set-mark-command at point A and then move to point B. Typing |
1721 `[prefix] S' and input `frac' enclose the region like this; | 1769 `[prefix] S' and input `frac' enclose the region like this; |
1722 | 1770 |
1723 \frac{a/c} | 1771 \frac{a/c} |
1724 | 1772 |
1725 Normally, the expression `a/c' is translated to `\frac{a}{c}'. An | 1773 Normally, the expression `a/c' is translated to |
1726 enclosing add-in is useful for modifying `/' to `}{'. | 1774 `\frac{a}{c}'. An enclosing add-in is useful for modifying |
1775 `/' to `}{'. | |
1727 | 1776 |
1728 * Menu: | 1777 * Menu: |
1729 | 1778 |
1730 * Defining option-add-in:: | 1779 * Defining option-add-in:: |
1731 * Defining argument-add-in:: | 1780 * Defining argument-add-in:: |
1732 * Defining enclosing-add-in:: | 1781 * Defining enclosing-add-in:: |
1782 | |
1733 | 1783 |
1734 | 1784 |
1735 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 | 1785 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 |
1736 | 1786 |
1737 Defining `option add-in' | 1787 Defining `option add-in' |
1750 Note that the character `\' must be described as `\\' in Emacs-Lisp. The | 1800 Note that the character `\' must be described as `\\' in Emacs-Lisp. The |
1751 next example reads the tabular format from keyboard. | 1801 next example reads the tabular format from keyboard. |
1752 (defun YaTeX:tabular () | 1802 (defun YaTeX:tabular () |
1753 (concat "{" (read-string "Rule: ") "}")) | 1803 (concat "{" (read-string "Rule: ") "}")) |
1754 | 1804 |
1805 | |
1755 | 1806 |
1756 File: yatexe, Node: Defining argument-add-in, Next: Defining enclosing-add-in, Prev: Defining option-add-in, Up: How the add-in function works | 1807 File: yatexe, Node: Defining argument-add-in, Next: Defining enclosing-add-in, Prev: Defining option-add-in, Up: How the add-in function works |
1757 | 1808 |
1758 Defining `argument add-in' | 1809 Defining `argument add-in' |
1759 .......................... | 1810 .......................... |
1766 minibuffer. Here is the created function considering this. | 1817 minibuffer. Here is the created function considering this. |
1767 | 1818 |
1768 (defun YaTeX::newcommand (n) ;n is argument position | 1819 (defun YaTeX::newcommand (n) ;n is argument position |
1769 (cond | 1820 (cond |
1770 ((= n 1) ;1st argument is macro name | 1821 ((= n 1) ;1st argument is macro name |
1771 (read-string "Command: " "\\")) ;initial input `\' | 1822 (read-string "Command: " "\\")) ;initial input `\' |
1772 ((= n 2) "") ;do nothing when reading arg#2 | 1823 ((= n 2) "") ;do nothing when reading arg#2 |
1773 (t nil))) | 1824 (t nil))) |
1774 | 1825 |
1775 Note that when the `argument add-in' function return `nil', normal | 1826 Note that when the `argument add-in' function return `nil', normal |
1776 argument reader will be called. | 1827 argument reader will be called. |
1828 | |
1777 | 1829 |
1778 | 1830 |
1779 File: yatexe, Node: Defining enclosing-add-in, Prev: Defining argument-add-in, Up: How the add-in function works | 1831 File: yatexe, Node: Defining enclosing-add-in, Prev: Defining argument-add-in, Up: How the add-in function works |
1780 | 1832 |
1781 Defining `enclosing add-in' | 1833 Defining `enclosing add-in' |
1793 (defun YaTeX::frac-region (beg end) | 1845 (defun YaTeX::frac-region (beg end) |
1794 (catch 'done | 1846 (catch 'done |
1795 (while (search-forward "/" end t) | 1847 (while (search-forward "/" end t) |
1796 (goto-char (match-beginning 0)) | 1848 (goto-char (match-beginning 0)) |
1797 (if (y-or-n-p "Replace this slash(/) with `}{'") | 1849 (if (y-or-n-p "Replace this slash(/) with `}{'") |
1798 (throw 'done (replace-match "}{"))) | 1850 (throw 'done (replace-match "}{"))) |
1799 (goto-char (match-end 0))))) | 1851 (goto-char (match-end 0))))) |
1852 | |
1800 | 1853 |
1801 | 1854 |
1802 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 | 1855 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 |
1803 | 1856 |
1804 How the function is called | 1857 How the function is called |
1810 section-type are called just before input of the first argument, and | 1863 section-type are called just before input of the first argument, and |
1811 functions for maketitle-type is called after maketitle-type command has | 1864 functions for maketitle-type is called after maketitle-type command has |
1812 been inserted. `Argument add-in' functions are called at each entry of | 1865 been inserted. `Argument add-in' functions are called at each entry of |
1813 arguments for section-type commands. | 1866 arguments for section-type commands. |
1814 | 1867 |
1868 | |
1815 | 1869 |
1816 File: yatexe, Node: Useful functions for creating add-in, Next: Contribution, Prev: How the function is called, Up: Add-in functions | 1870 File: yatexe, Node: Useful functions for creating add-in, Next: Contribution, Prev: How the function is called, Up: Add-in functions |
1817 | 1871 |
1818 Useful functions for creating add-in | 1872 Useful functions for creating add-in |
1819 ------------------------------------ | 1873 ------------------------------------ |
1826 `[F]' | 1880 `[F]' |
1827 YaTeX:read-position | 1881 YaTeX:read-position |
1828 `[A]' | 1882 `[A]' |
1829 Character list which can show up in the brackets | 1883 Character list which can show up in the brackets |
1830 `[D]' | 1884 `[D]' |
1831 Return the location specifier such as `[htb]'. When nothing is | 1885 Return the location specifier such as `[htb]'. When |
1832 entered, omit [] itself. If the possible characters are "htbp", call | 1886 nothing is entered, omit [] itself. If the possible characters |
1833 this function as `(YaTeX:read-position "htbp")' | 1887 are "htbp", call this function as |
1888 `(YaTeX:read-position "htbp")' | |
1834 | 1889 |
1835 `[F]' | 1890 `[F]' |
1836 YaTeX:read-coordinates | 1891 YaTeX:read-coordinates |
1837 `[A]' | 1892 `[A]' |
1838 Base prompt, X-axis prompt, Y-axis prompt (each optional) | 1893 Base prompt, X-axis prompt, Y-axis prompt (each optional) |
1839 `[D]' | 1894 `[D]' |
1840 Read the coordinates with the prompt "BasePrompt X-axisPrompt:" for | 1895 Read the coordinates with the prompt "BasePrompt X-axisPrompt:" for |
1841 X-axis, "BasePrompt Y-axisPrompt:" for Y-axis, and return it in the | 1896 X-axis, "BasePrompt Y-axisPrompt:" for Y-axis, and return it in the form |
1842 form of "(X,Y)". The default prompts are `Dimension', `X', `Y' | 1897 of "(X,Y)". The default prompts are `Dimension', `X', |
1843 respectively. | 1898 `Y' respectively. |
1844 | 1899 |
1845 `[F]' | 1900 `[F]' |
1846 YaTeX:check-completion-type | 1901 YaTeX:check-completion-type |
1847 `[A]' | 1902 `[A]' |
1848 One of the symbols: 'begin, 'section, or 'maketitle | 1903 One of the symbols: 'begin, 'section, or 'maketitle |
1849 `[D]' | 1904 `[D]' |
1850 Check the current completion type is specified one and cause error | 1905 Check the current completion type is specified one and cause error |
1851 if not. The variable `YaTeX-current-completion-type' holds the symbol | 1906 if not. The variable `YaTeX-current-completion-type' holds the symbol |
1852 according to the current completion type. | 1907 according to the current completion type. |
1853 | 1908 |
1909 | |
1854 | 1910 |
1855 File: yatexe, Node: Contribution, Prev: Useful functions for creating add-in, Up: Add-in functions | 1911 File: yatexe, Node: Contribution, Prev: Useful functions for creating add-in, Up: Add-in functions |
1856 | 1912 |
1857 Contribution | 1913 Contribution |
1858 ------------ | 1914 ------------ |
1859 | 1915 |
1860 If you make your own pretty function and you let it be in public, please | 1916 If you make your own pretty function and you let it be in public, please |
1861 send me the function. I'm going to include it in the next release. | 1917 send me the function. I'm going to include it in the next release. |
1918 | |
1862 | 1919 |
1863 | 1920 |
1864 File: yatexe, Node: Add-in generator, Prev: Add-in functions, Up: Customizations | 1921 File: yatexe, Node: Add-in generator, Prev: Add-in functions, Up: Customizations |
1865 | 1922 |
1866 Add-in generator | 1923 Add-in generator |
1888 | 1945 |
1889 | 1946 |
1890 Simple generator | 1947 Simple generator |
1891 ---------------- | 1948 ---------------- |
1892 | 1949 |
1893 The latter generator is invoked by the next sequence. | 1950 The latter generator is invoked by the next sequence. `M-x |
1894 `M-x YaTeX-generate-simple' | 1951 YaTeX-generate-simple' This generator can make both "option add-in" and |
1895 This generator can make both "option add-in" and "argument add-in" | 1952 argument add-in" (*refer the section add-in functions* *Note How the |
1896 (*refer the section add-in functions* | 1953 add-in function works::), whereas `YaTeX-generate' cannot make "argument |
1897 *Note How the add-in function works::), whereas `YaTeX-generate' | 1954 addin". |
1898 cannot make "argument addin". | |
1899 | 1955 |
1900 For example, assume you have the LaTeX command as follows. | 1956 For example, assume you have the LaTeX command as follows. |
1901 | 1957 |
1902 \epsinput[t](250,50){hoge.eps}{plain}{Picture of foo} | 1958 \epsinput[t](250,50){hoge.eps}{plain}{Picture of foo} |
1903 (A) (B) (1) (2) (3) | 1959 (A) (B) (1) (2) (3) |
1904 (A)Optional parameter to specify the position | 1960 (A)Optional parameter to specify the position |
1905 One of t(top), b(bottom), l(left), r(right) | 1961 One of t(top), b(bottom), l(left), r(right) |
1906 (B)Maximum size of frame | 1962 (B)Maximum size of frame |
1907 (1)1st argument is filename of EPS file | 1963 (1)1st argument is filename of EPS file |
1908 (2)2nd argument indicates | 1964 (2)2nd argument indicates |
1909 plain do nothing | 1965 plain do nothing |
1910 frame make frame around image | 1966 frame make frame around image |
1911 dframe make double-frame around image | 1967 dframe make double-frame around image |
1912 for included EPS file. | 1968 for included EPS file. |
1913 (3)Caption for the picture | 1969 (3)Caption for the picture |
1914 | 1970 |
1915 Now get start with generation. Typing `M-x YaTeX-generate-simple' | 1971 Now get start with generation. Typing `M-x YaTeX-generate-simple' |
1916 brings the prompt: | 1972 brings the prompt: |
1917 (O)ption? (A)rgument? | 1973 (O)ption? (A)rgument? |
1918 | 1974 |
1953 Since (A) is the optional argument to specify the location of included | 2009 Since (A) is the optional argument to specify the location of included |
1954 EPS file, the completion style is `Position', and the possible characters | 2010 EPS file, the completion style is `Position', and the possible characters |
1955 are t, b, l, and r. To tell these information to generator, operate as | 2011 are t, b, l, and r. To tell these information to generator, operate as |
1956 follows. | 2012 follows. |
1957 | 2013 |
1958 Read type(1).... p | 2014 Read type(1).... p |
1959 Acceptable characters: tblr RET | 2015 Acceptable characters: tblr RET |
1960 | 2016 |
1961 (B) is coordinate. So its completion style is coOrd. We want a prompt | 2017 (B) is coordinate. So its completion style is coOrd. We want a prompt |
1962 meaning "Maximum size" when completion. | 2018 meaning "Maximum size" when completion. |
1963 | 2019 |
2000 Prompt for argument#2 Include style RET | 2056 Prompt for argument#2 Include style RET |
2001 | 2057 |
2002 Then all the candidates ready to be read. Type single RET after | 2058 Then all the candidates ready to be read. Type single RET after |
2003 entering all. | 2059 entering all. |
2004 | 2060 |
2005 Item[1](RET to exit): plain RET | 2061 Item[1](RET to exit): plain RET |
2006 Item[2](RET to exit): frame RET | 2062 Item[2](RET to exit): frame RET |
2007 Item[3](RET to exit): dframe RET | 2063 Item[3](RET to exit): dframe RET |
2008 Item[4](RET to exit): RET | 2064 Item[4](RET to exit): RET |
2009 | 2065 |
2010 The following prompt asks whether the entered string must belong to | 2066 The following prompt asks whether the entered string must belong to |
2011 candidates or not. In this case, since the argument must be one of | 2067 candidates or not. In this case, since the argument must be one of |
2012 `plain', `frame', and `dframe', type `y'. | 2068 `plain', `frame', and `dframe', type `y'. |
2013 | 2069 |
2027 ------------ | 2083 ------------ |
2028 | 2084 |
2029 If you get your own pretty function and you let it be in public, please | 2085 If you get your own pretty function and you let it be in public, please |
2030 steel yourself in the happy atmosphere and do not send me the function. I | 2086 steel yourself in the happy atmosphere and do not send me the function. I |
2031 do know it is not fine because it is generated by yatexgen:-p. | 2087 do know it is not fine because it is generated by yatexgen:-p. |
2088 | |
2032 | 2089 |
2033 | 2090 |
2034 File: yatexe, Node: Etcetera, Next: Copying, Prev: Customizations, Up: Top | 2091 File: yatexe, Node: Etcetera, Next: Copying, Prev: Customizations, Up: Top |
2035 | 2092 |
2036 Etcetera | 2093 Etcetera |
2043 your dictionary, and you will also find `Wild Bird' growing suitable for | 2100 your dictionary, and you will also find `Wild Bird' growing suitable for |
2044 your LaTeX style. | 2101 your LaTeX style. |
2045 | 2102 |
2046 The package name `Wild Bird' is the English translation of Japanese | 2103 The package name `Wild Bird' is the English translation of Japanese |
2047 title `Yachou', which is a trick on words of Japanese. | 2104 title `Yachou', which is a trick on words of Japanese. |
2105 | |
2048 | 2106 |
2049 | 2107 |
2050 File: yatexe, Node: Copying, Prev: Etcetera, Up: Top | 2108 File: yatexe, Node: Copying, Prev: Etcetera, Up: Top |
2051 | 2109 |
2052 Copying | 2110 Copying |
2070 | 2128 |
2071 | 2129 |
2072 HIROSE Yuuji | 2130 HIROSE Yuuji |
2073 | 2131 |
2074 Tag table: | 2132 Tag table: |
2075 Node: Top153 | 2133 Node: Top145 |
2076 Node: What is YaTeX?1493 | 2134 Node: What is YaTeX?1472 |
2077 Node: Main features1865 | 2135 Node: Main features1845 |
2078 Node: Installation3456 | 2136 Node: Installation3436 |
2079 Node: Typesetting4232 | 2137 Node: Typesetting4213 |
2080 Node: Calling typesetter5061 | 2138 Node: Calling typesetter5006 |
2081 Node: Calling previewer6406 | 2139 Node: Calling previewer6352 |
2082 Node: Printing out6766 | 2140 Node: Printing out6713 |
2083 Node: %#notation7057 | 2141 Node: %#notation7005 |
2084 Node: Changing typesetter7432 | 2142 Node: Changing typesetter7336 |
2085 Node: Splitting input files7795 | 2143 Node: Splitting input files7700 |
2086 Node: Static region for typesetting9222 | 2144 Node: Static region for typesetting9124 |
2087 Node: Lpr format10350 | 2145 Node: Lpr format10253 |
2088 Node: Editing %# notation11406 | 2146 Node: Editing %# notation11310 |
2089 Node: Completion11924 | 2147 Node: Completion11829 |
2090 Node: Begin-type completion12483 | 2148 Node: Begin-type completion12318 |
2091 Node: Section-type completion15526 | 2149 Node: Section-type completion15360 |
2092 Node: view-sectioning17960 | 2150 Node: view-sectioning17781 |
2093 Node: Large-type completion19539 | 2151 Node: Large-type completion19361 |
2094 Node: Maketitle-type completion20269 | 2152 Node: Maketitle-type completion20091 |
2095 Node: Arbitrary completion20820 | 2153 Node: Arbitrary completion20643 |
2096 Node: End completion21209 | 2154 Node: End completion21033 |
2097 Node: Accent completion21678 | 2155 Node: Accent completion21502 |
2098 Node: Image completion22294 | 2156 Node: Image completion22119 |
2099 Node: Greek letters completion24550 | 2157 Node: Greek letters completion24374 |
2100 Node: Local dictionaries25276 | 2158 Node: Local dictionaries25101 |
2101 Node: Commenting out26212 | 2159 Node: Commenting out26038 |
2102 Node: Cursor jump27670 | 2160 Node: Cursor jump27497 |
2103 Node: Jump to corresponding object27981 | 2161 Node: Jump to corresponding object27788 |
2104 Node: Invoking image processor29381 | 2162 Node: Invoking image processor29188 |
2105 Node: Jump to main file30723 | 2163 Node: Jump to main file30531 |
2106 Node: Jumping around the environment31087 | 2164 Node: Jumping around the environment30897 |
2107 Node: Jumping to last completion position31504 | 2165 Node: Jumping to last completion position31315 |
2108 Node: Changing and Deleting32012 | 2166 Node: Changing and Deleting31824 |
2109 Node: Changing LaTeX commands32403 | 2167 Node: Changing LaTeX commands32205 |
2110 Node: Killing LaTeX commands33579 | 2168 Node: Killing LaTeX commands33382 |
2111 Node: Filling34763 | 2169 Node: Filling34567 |
2112 Node: Updation of includeonly36613 | 2170 Node: Updation of includeonly36422 |
2113 Node: What column37409 | 2171 Node: What column37219 |
2114 Node: Intelligent newline38493 | 2172 Node: Intelligent newline38304 |
2115 Node: Usepackage checker40153 | 2173 Node: Usepackage checker39957 |
2116 Node: Online help40743 | 2174 Node: Online help40548 |
2117 Node: Browsing file hierarchy42417 | 2175 Node: Browsing file hierarchy42223 |
2118 Node: Cooperation with other packages44153 | 2176 Node: Cooperation with other packages43960 |
2119 Node: Customizations44857 | 2177 Node: Customizations44665 |
2120 Node: Lisp variables45190 | 2178 Node: Lisp variables44961 |
2121 Node: All customizable variables46193 | 2179 Node: All customizable variables45920 |
2122 Node: Sample definitions55941 | 2180 Node: Sample definitions55615 |
2123 Node: Hook variables56453 | 2181 Node: Hook variables56128 |
2124 Node: Hook file57156 | 2182 Node: Hook file56832 |
2125 Node: Add-in functions57494 | 2183 Node: Add-in functions57171 |
2126 Node: How the add-in function works58353 | 2184 Node: How the add-in function works58009 |
2127 Node: Defining option-add-in60551 | 2185 Node: Defining option-add-in60195 |
2128 Node: Defining argument-add-in61272 | 2186 Node: Defining argument-add-in60917 |
2129 Node: Defining enclosing-add-in62153 | 2187 Node: Defining enclosing-add-in61798 |
2130 Node: How the function is called63006 | 2188 Node: How the function is called62654 |
2131 Node: Useful functions for creating add-in63681 | 2189 Node: Useful functions for creating add-in63330 |
2132 Node: Contribution65085 | 2190 Node: Contribution64740 |
2133 Node: Add-in generator65358 | 2191 Node: Add-in generator65014 |
2134 Node: Etcetera70751 | 2192 Node: Etcetera70474 |
2135 Node: Copying71355 | 2193 Node: Copying71079 |
2136 | 2194 |
2137 End tag table | 2195 End tag table |