Mercurial > hgrepos > hgweb.cgi > yatex
comparison docs/yatexe @ 205:5a16b237416f dev
RCS-Checked in as 1.75
author | yuuji@gentei.org |
---|---|
date | Thu, 12 Jan 2012 12:24:40 +0900 |
parents | bd0a9177e5e7 |
children | d467c0fb6083 |
comparison
equal
deleted
inserted
replaced
204:1de7ae500ca4 | 205:5a16b237416f |
---|---|
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.38 of 3 July 1998. |
5 | |
5 | 6 |
6 | 7 |
7 | 8 |
8 | 9 |
9 | 10 |
32 * Customizations:: How to breed `Wild Bird' | 33 * Customizations:: How to breed `Wild Bird' |
33 * Etcetera:: YaTeX is acquisitive. | 34 * Etcetera:: YaTeX is acquisitive. |
34 * Copying:: Redistribution | 35 * Copying:: Redistribution |
35 | 36 |
36 | 37 |
38 | |
37 | 39 |
38 File: yatexe, Node: What is YaTeX?, Next: Main features, Prev: Top, Up: Top | 40 File: yatexe, Node: What is YaTeX?, Next: Main features, Prev: Top, Up: Top |
39 | 41 |
40 What is YaTeX? | 42 What is YaTeX? |
41 ************** | 43 ************** |
44 completing input of LaTeX mark-up command such as | 46 completing input of LaTeX mark-up command such as |
45 `\begin{}'..`\end{}'. | 47 `\begin{}'..`\end{}'. |
46 | 48 |
47 YaTeX also supports Demacs which runs on MS-DOS(386), Mule (Multi | 49 YaTeX also supports Demacs which runs on MS-DOS(386), Mule (Multi |
48 Language Enhancement to GNU Emacs), and latex on DOS. | 50 Language Enhancement to GNU Emacs), and latex on DOS. |
51 | |
49 | 52 |
50 | 53 |
51 File: yatexe, Node: Main features, Next: Installation, Prev: What is YaTeX?, Up: Top | 54 File: yatexe, Node: Main features, Next: Installation, Prev: What is YaTeX?, Up: Top |
52 | 55 |
53 Main features | 56 Main features |
79 * Adding automatically \usepackage corresponding to inputting LaTeX | 82 * Adding automatically \usepackage corresponding to inputting LaTeX |
80 macro with completion | 83 macro with completion |
81 * Allow you to forget creating \label{}s, \ref or \cite completion | 84 * Allow you to forget creating \label{}s, \ref or \cite completion |
82 automatically generate labels. | 85 automatically generate labels. |
83 | 86 |
87 | |
84 | 88 |
85 File: yatexe, Node: Installation, Next: Typesetting, Prev: Main features, Up: Top | 89 File: yatexe, Node: Installation, Next: Typesetting, Prev: Main features, Up: Top |
86 | 90 |
87 Installation | 91 Installation |
88 ************ | 92 ************ |
102 in your `~/.emacs' | 106 in your `~/.emacs' |
103 | 107 |
104 Then, yatex-mode will be automatically loaded when you visit a | 108 Then, yatex-mode will be automatically loaded when you visit a |
105 file which has extension `.tex'. If yatex-mode is successfully | 109 file which has extension `.tex'. If yatex-mode is successfully |
106 loaded, mode string on mode line will be turned to "YaTeX". | 110 loaded, mode string on mode line will be turned to "YaTeX". |
111 | |
107 | 112 |
108 | 113 |
109 | 114 |
110 File: yatexe, Node: Typesetting, Next: %#notation, Prev: Installation, Up: Top | 115 File: yatexe, Node: Typesetting, Next: %#notation, Prev: Installation, Up: Top |
111 | 116 |
143 | 148 |
144 * Calling typesetter:: | 149 * Calling typesetter:: |
145 * Calling previewer:: | 150 * Calling previewer:: |
146 * Printing out:: | 151 * Printing out:: |
147 | 152 |
153 | |
148 | 154 |
149 File: yatexe, Node: Calling typesetter, Next: Calling previewer, Prev: Typesetting, Up: Typesetting | 155 File: yatexe, Node: Calling typesetter, Next: Calling previewer, Prev: Typesetting, Up: Typesetting |
150 | 156 |
151 Calling typesetter | 157 Calling typesetter |
152 ================== | 158 ================== |
173 YaTeX-typeset-region invoked by `[prefix] tr' call typesetter for | 179 YaTeX-typeset-region invoked by `[prefix] tr' call typesetter for |
174 region. The region is specified by standard point and mark, or by | 180 region. The region is specified by standard point and mark, or by |
175 `%#BEGIN' and `%#END' marks. Selected region will be copied to the | 181 `%#BEGIN' and `%#END' marks. Selected region will be copied to the |
176 temporary file `texput.tex' with the same preamble as the main file of | 182 temporary file `texput.tex' with the same preamble as the main file of |
177 current editing sources. Be sure to put all local macro settings in | 183 current editing sources. Be sure to put all local macro settings in |
178 preamble, not after `\begin{document}'. | 184 preamble, not after `\begin{document}'. The method of specification of |
179 The method of specification of the region is shown in the section *Note | 185 the region is shown in the section *Note %#notation::. |
180 %#notation::. | |
181 | 186 |
182 The documentclass for typeset-region is the same as that of editing file | 187 The documentclass for typeset-region is the same as that of editing file |
183 if you edit one file, and is the same as main file's if you edit splitting | 188 if you edit one file, and is the same as main file's if you edit splitting |
184 files. | 189 files. |
185 | 190 |
191 region, it is not suitable for partial typesetting of doubly or more | 196 region, it is not suitable for partial typesetting of doubly or more |
192 composed environment. If you want to do partial typesetting for a nested | 197 composed environment. If you want to do partial typesetting for a nested |
193 environment, use `[prefix] tr' for static-region, which is described in | 198 environment, use `[prefix] tr' for static-region, which is described in |
194 the section *Note %#notation::. | 199 the section *Note %#notation::. |
195 | 200 |
201 | |
196 | 202 |
197 File: yatexe, Node: Calling previewer, Next: Printing out, Prev: Calling typesetter, Up: Typesetting | 203 File: yatexe, Node: Calling previewer, Next: Printing out, Prev: Calling typesetter, Up: Typesetting |
198 | 204 |
199 Calling previewer | 205 Calling previewer |
200 ================= | 206 ================= |
202 `[prefix] t p' invokes the TeX previewer. And if you are using | 208 `[prefix] t p' invokes the TeX previewer. And if you are using |
203 xdvi-remote, which can be controled from other terminals, `[prefix] t s' | 209 xdvi-remote, which can be controled from other terminals, `[prefix] t s' |
204 enables you to search current string at the cursor on the running xdvi | 210 enables you to search current string at the cursor on the running xdvi |
205 window. | 211 window. |
206 | 212 |
213 | |
207 | 214 |
208 File: yatexe, Node: Printing out, Prev: Calling previewer, Up: Typesetting | 215 File: yatexe, Node: Printing out, Prev: Calling previewer, Up: Typesetting |
209 | 216 |
210 Printing out | 217 Printing out |
211 ============ | 218 ============ |
213 When you type `[preifx] t l', YaTeX asks you the range of dvi-printing | 220 When you type `[preifx] t l', YaTeX asks you the range of dvi-printing |
214 by default. You can skip this by invoking it with universal-argument as | 221 by default. You can skip this by invoking it with universal-argument as |
215 follows: | 222 follows: |
216 | 223 |
217 C-u [prefix] tl | 224 C-u [prefix] tl |
225 | |
218 | 226 |
219 | 227 |
220 File: yatexe, Node: %#notation, Next: Completion, Prev: Typesetting, Up: Top | 228 File: yatexe, Node: %#notation, Next: Completion, Prev: Typesetting, Up: Top |
221 | 229 |
222 %# notation | 230 %# notation |
231 * Splitting input files:: | 239 * Splitting input files:: |
232 * Static region for typesetting:: | 240 * Static region for typesetting:: |
233 * Lpr format:: | 241 * Lpr format:: |
234 * Editing %# notation:: | 242 * Editing %# notation:: |
235 | 243 |
244 | |
236 | 245 |
237 File: yatexe, Node: Changing typesetter, Next: Splitting input files, Prev: %#notation, Up: %#notation | 246 File: yatexe, Node: Changing typesetter, Next: Splitting input files, Prev: %#notation, Up: %#notation |
238 | 247 |
239 To change the `latex' command or to split a source text. | 248 To change the `latex' command or to split a source text. |
240 ======================================================== | 249 ======================================================== |
242 To change the typesetting command, write | 251 To change the typesetting command, write |
243 | 252 |
244 %#!latex-big | 253 %#!latex-big |
245 | 254 |
246 anywhere in the source text. This is useful for changing typesetter. | 255 anywhere in the source text. This is useful for changing typesetter. |
256 | |
247 | 257 |
248 | 258 |
249 File: yatexe, Node: Splitting input files, Next: Static region for typesetting, Prev: Changing typesetter, Up: %#notation | 259 File: yatexe, Node: Splitting input files, Next: Static region for typesetting, Prev: Changing typesetter, Up: %#notation |
250 | 260 |
251 Splitting input files | 261 Splitting input files |
269 ask you the name of main file at the first typesetting. | 279 ask you the name of main file at the first typesetting. |
270 | 280 |
271 To make best use of the feature of inter-file jumping by `[prefix] g' | 281 To make best use of the feature of inter-file jumping by `[prefix] g' |
272 (see *Note Cursor jump::), take described below into consideration. | 282 (see *Note Cursor jump::), take described below into consideration. |
273 | 283 |
274 * You can put split texts in sub directory, but not in | 284 * You can put split texts in sub directory, but not in sub directory of |
275 sub directory of sub directory. | 285 sub directory. |
276 * In the main text, specify the child file name with relative path name | 286 * In the main text, specify the child file name with relative path name |
277 such as \include{chap1/sub}, when you include the file in | 287 such as \include{chap1/sub}, when you include the file in a |
278 a sub-directory. | 288 sub-directory. |
279 * In a sub-text, write `%#!latex main.tex' even if `main.tex' | 289 * In a sub-text, write `%#!latex main.tex' even if `main.tex' is in the |
280 is in the parent directory(not %#!latex ../main.tex). | 290 parent directory(not %#!latex ../main.tex). |
291 | |
281 | 292 |
282 | 293 |
283 File: yatexe, Node: Static region for typesetting, Next: Lpr format, Prev: Splitting input files, Up: %#notation | 294 File: yatexe, Node: Static region for typesetting, Next: Lpr format, Prev: Splitting input files, Up: %#notation |
284 | 295 |
285 Static region | 296 Static region |
309 It is useful to write `%#BEGIN' in the previous line of \begin and | 320 It is useful to write `%#BEGIN' in the previous line of \begin and |
310 `%#END' in the next line of \`end' when you try complex environment such | 321 `%#END' in the next line of \`end' when you try complex environment such |
311 as `tabular' many times. It is also useful to put only `%#BEGIN' alone at | 322 as `tabular' many times. It is also useful to put only `%#BEGIN' alone at |
312 the middle of very long text. Do not forget to erase `%#BEGIN' `%#END' | 323 the middle of very long text. Do not forget to erase `%#BEGIN' `%#END' |
313 pair. | 324 pair. |
325 | |
314 | 326 |
315 | 327 |
316 File: yatexe, Node: Lpr format, Next: Editing %# notation, Prev: Static region for typesetting, Up: %#notation | 328 File: yatexe, Node: Lpr format, Next: Editing %# notation, Prev: Static region for typesetting, Up: %#notation |
317 | 329 |
318 Lpr format | 330 Lpr format |
342 And if you want YaTeX not to ask you the range of printing out, the next | 354 And if you want YaTeX not to ask you the range of printing out, the next |
343 example may be helpful. | 355 example may be helpful. |
344 | 356 |
345 %#LPR dvi2ps %s | lpr | 357 %#LPR dvi2ps %s | lpr |
346 | 358 |
359 | |
347 | 360 |
348 File: yatexe, Node: Editing %# notation, Prev: Lpr format, Up: %#notation | 361 File: yatexe, Node: Editing %# notation, Prev: Lpr format, Up: %#notation |
349 | 362 |
350 Editing %# notation | 363 Editing %# notation |
351 =================== | 364 =================== |
360 !)Edit-%#! B)EGIN-END-region L)Edit-%#LPR | 373 !)Edit-%#! B)EGIN-END-region L)Edit-%#LPR |
361 | 374 |
362 Type `!' to edit `%#!' entry, `b' to enclose the region with `%#BEGIN' and | 375 Type `!' to edit `%#!' entry, `b' to enclose the region with `%#BEGIN' and |
363 `%#END', and `l' to edit `%#LPR' entry. When you type `b', all `%#BEGIN' | 376 `%#END', and `l' to edit `%#LPR' entry. When you type `b', all `%#BEGIN' |
364 and `%#END' are automatically erased. | 377 and `%#END' are automatically erased. |
378 | |
365 | 379 |
366 | 380 |
367 File: yatexe, Node: Completion, Next: Local dictionaries, Prev: %#notation, Up: Top | 381 File: yatexe, Node: Completion, Next: Local dictionaries, Prev: %#notation, Up: Top |
368 | 382 |
369 Completion | 383 Completion |
382 * End completion:: | 396 * End completion:: |
383 * Accent completion:: | 397 * Accent completion:: |
384 * Image completion:: | 398 * Image completion:: |
385 * Greek letters completion:: | 399 * Greek letters completion:: |
386 | 400 |
401 | |
387 | 402 |
388 File: yatexe, Node: Begin-type completion, Next: Section-type completion, Prev: Completion, Up: Completion | 403 File: yatexe, Node: Begin-type completion, Next: Section-type completion, Prev: Completion, Up: Completion |
389 | 404 |
390 Begin-type completion | 405 Begin-type completion |
391 ===================== | 406 ===================== |
392 | 407 |
393 "Begin-type completion" completes commands of `\begin{env}' ... | 408 "Begin-type completion" completes commands of `\begin{env}' ... |
394 `\end{env}'. All of the begin-type completions begin with this key | 409 `\end{env}'. All of the begin-type completions begin with this key |
395 sequence. | 410 sequence. |
396 | 411 |
397 `[prefix] b' | 412 `[prefix] b' |
398 ... start begin-type completion | 413 ... start begin-type completion |
470 | 485 |
471 This enclosing holds good for the completing input by `[prefix] b SPC'. | 486 This enclosing holds good for the completing input by `[prefix] b SPC'. |
472 `[prefix] B SPC' enclose a region with the environment selected by | 487 `[prefix] B SPC' enclose a region with the environment selected by |
473 completing-read. | 488 completing-read. |
474 | 489 |
490 | |
475 | 491 |
476 File: yatexe, Node: Section-type completion, Next: Large-type completion, Prev: Begin-type completion, Up: Completion | 492 File: yatexe, Node: Section-type completion, Next: Large-type completion, Prev: Begin-type completion, Up: Completion |
477 | 493 |
478 Section-type completion | 494 Section-type completion |
479 ======================= | 495 ======================= |
548 completion key sequence in the minibuffer. | 564 completion key sequence in the minibuffer. |
549 | 565 |
550 * Menu: | 566 * Menu: |
551 | 567 |
552 * view-sectioning:: | 568 * view-sectioning:: |
569 | |
553 | 570 |
554 | 571 |
555 File: yatexe, Node: view-sectioning, Prev: Section-type completion, Up: Section-type completion | 572 File: yatexe, Node: view-sectioning, Prev: Section-type completion, Up: Section-type completion |
556 | 573 |
557 view-sectioning | 574 view-sectioning |
592 ... Shift down sectioning lines in region | 609 ... Shift down sectioning lines in region |
593 `0...6' | 610 `0...6' |
594 ... Hide sectioning commands whose level is lower than n | 611 ... Hide sectioning commands whose level is lower than n |
595 | 612 |
596 | 613 |
614 | |
597 | 615 |
598 File: yatexe, Node: Large-type completion, Next: Maketitle-type completion, Prev: Section-type completion, Up: Completion | 616 File: yatexe, Node: Large-type completion, Next: Maketitle-type completion, Prev: Section-type completion, Up: Completion |
599 | 617 |
600 Large-type completion | 618 Large-type completion |
601 ===================== | 619 ===================== |
616 | 634 |
617 Region-based completion is also invoked by changing the letter after | 635 Region-based completion is also invoked by changing the letter after |
618 prefix key stroke as `[prefix] L'. It encloses the region by braces with | 636 prefix key stroke as `[prefix] L'. It encloses the region by braces with |
619 large-type command. | 637 large-type command. |
620 | 638 |
639 | |
621 | 640 |
622 File: yatexe, Node: Maketitle-type completion, Next: Arbitrary completion, Prev: Large-type completion, Up: Completion | 641 File: yatexe, Node: Maketitle-type completion, Next: Arbitrary completion, Prev: Large-type completion, Up: Completion |
623 | 642 |
624 Maketitle-type completion | 643 Maketitle-type completion |
625 ========================= | 644 ========================= |
633 | 652 |
634 begins maketitle-completion. Above mentioned method is true for | 653 begins maketitle-completion. Above mentioned method is true for |
635 maketitle-completion, and there are LaTeX commands with no arguments in | 654 maketitle-completion, and there are LaTeX commands with no arguments in |
636 completion table. | 655 completion table. |
637 | 656 |
657 | |
638 | 658 |
639 File: yatexe, Node: Arbitrary completion, Next: End completion, Prev: Maketitle-type completion, Up: Completion | 659 File: yatexe, Node: Arbitrary completion, Next: End completion, Prev: Maketitle-type completion, Up: Completion |
640 | 660 |
641 Arbitrary completion | 661 Arbitrary completion |
642 ==================== | 662 ==================== |
646 | 666 |
647 `[prefix] SPC' | 667 `[prefix] SPC' |
648 ... arbitrary completion | 668 ... arbitrary completion |
649 | 669 |
650 after the initial string of LaTeX command that is preceded by `\'. | 670 after the initial string of LaTeX command that is preceded by `\'. |
671 | |
651 | 672 |
652 | 673 |
653 File: yatexe, Node: End completion, Next: Accent completion, Prev: Arbitrary completion, Up: Completion | 674 File: yatexe, Node: End completion, Next: Accent completion, Prev: Arbitrary completion, Up: Completion |
654 | 675 |
655 End completion | 676 End completion |
663 `[prefix] e' | 684 `[prefix] e' |
664 ... `end' completion | 685 ... `end' completion |
665 | 686 |
666 at the end of the opened environment. | 687 at the end of the opened environment. |
667 | 688 |
689 | |
668 | 690 |
669 File: yatexe, Node: Accent completion, Next: Image completion, Prev: End completion, Up: Completion | 691 File: yatexe, Node: Accent completion, Next: Image completion, Prev: End completion, Up: Completion |
670 | 692 |
671 Accent completion | 693 Accent completion |
672 ================= | 694 ================= |
689 character `o' for example, then | 711 character `o' for example, then |
690 | 712 |
691 \`{o} | 713 \`{o} |
692 | 714 |
693 will be completed, and the cursor gets out from braces. | 715 will be completed, and the cursor gets out from braces. |
716 | |
694 | 717 |
695 | 718 |
696 File: yatexe, Node: Image completion, Next: Greek letters completion, Prev: Accent completion, Up: Completion | 719 File: yatexe, Node: Image completion, Next: Greek letters completion, Prev: Accent completion, Up: Completion |
697 | 720 |
698 Image completion of mathematical sign | 721 Image completion of mathematical sign |
740 | 763 |
741 You can define your favorite key-vs-sequence completion table in the | 764 You can define your favorite key-vs-sequence completion table in the |
742 Emacs-Lisp variable `YaTeX-math-sign-alist-private'. See also | 765 Emacs-Lisp variable `YaTeX-math-sign-alist-private'. See also |
743 `yatexmth.el' for the information of the structure of this variable. | 766 `yatexmth.el' for the information of the structure of this variable. |
744 | 767 |
768 | |
745 | 769 |
746 File: yatexe, Node: Greek letters completion, Prev: Image completion, Up: Completion | 770 File: yatexe, Node: Greek letters completion, Prev: Image completion, Up: Completion |
747 | 771 |
748 Greek letters completion | 772 Greek letters completion |
749 ======================== | 773 ======================== |
757 environment, it may be a bug of YaTeX. Please send me a bug report with | 781 environment, it may be a bug of YaTeX. Please send me a bug report with |
758 the configuration of your text, and avoid it temporarily by typing `;' or | 782 the configuration of your text, and avoid it temporarily by typing `;' or |
759 `:' after universal-argument(`C-u') which forces `;' and `:' to work as | 783 `:' after universal-argument(`C-u') which forces `;' and `:' to work as |
760 math-prefix. | 784 math-prefix. |
761 | 785 |
786 | |
762 | 787 |
763 File: yatexe, Node: Local dictionaries, Next: Commenting out, Prev: Completion, Up: Top | 788 File: yatexe, Node: Local dictionaries, Next: Commenting out, Prev: Completion, Up: Top |
764 | 789 |
765 Local dictionaries | 790 Local dictionaries |
766 ****************** | 791 ****************** |
782 If you find this switching feature meaningless and bothersome, put the | 807 If you find this switching feature meaningless and bothersome, put the |
783 next expression into your `~/.emacs' | 808 next expression into your `~/.emacs' |
784 | 809 |
785 (setq YaTeX-nervous nil) | 810 (setq YaTeX-nervous nil) |
786 | 811 |
812 | |
787 | 813 |
788 File: yatexe, Node: Commenting out, Next: Cursor jump, Prev: Local dictionaries, Up: Top | 814 File: yatexe, Node: Commenting out, Next: Cursor jump, Prev: Local dictionaries, Up: Top |
789 | 815 |
790 Commenting out | 816 Commenting out |
791 ************** | 817 ************** |
827 | 853 |
828 (un)comments out only environment declaration: `\begin{}' and `\end{}'. | 854 (un)comments out only environment declaration: `\begin{}' and `\end{}'. |
829 NOTE that even if you intend to comment out some region, invoking | 855 NOTE that even if you intend to comment out some region, invoking |
830 `[prefix] >' on the `\begin',`\end' line decides to work in `commenting | 856 `[prefix] >' on the `\begin',`\end' line decides to work in `commenting |
831 out from `\begin' to `\end'' mode. | 857 out from `\begin' to `\end'' mode. |
858 | |
832 | 859 |
833 | 860 |
834 | 861 |
835 File: yatexe, Node: Cursor jump, Next: Changing and Deleting, Prev: Commenting out, Up: Top | 862 File: yatexe, Node: Cursor jump, Next: Changing and Deleting, Prev: Commenting out, Up: Top |
836 | 863 |
843 * Jump to corresponding object:: | 870 * Jump to corresponding object:: |
844 * Invoking image processor:: | 871 * Invoking image processor:: |
845 * Jump to main file:: | 872 * Jump to main file:: |
846 * Jumping around the environment:: | 873 * Jumping around the environment:: |
847 * Jumping to last completion position:: | 874 * Jumping to last completion position:: |
875 | |
848 | 876 |
849 | 877 |
850 File: yatexe, Node: Jump to corresponding object, Next: Invoking image processor, Prev: Cursor jump, Up: Cursor jump | 878 File: yatexe, Node: Jump to corresponding object, Next: Invoking image processor, Prev: Cursor jump, Up: Cursor jump |
851 | 879 |
852 Jump to corresponding object | 880 Jump to corresponding object |
882 ... go to corresponding object in other window | 910 ... go to corresponding object in other window |
883 | 911 |
884 do the same job as `[prefix] g' except it's done in other window. Note | 912 do the same job as `[prefix] g' except it's done in other window. Note |
885 that this function doesn't work on `begin/end', `%#BEGIN/%#END' pairs | 913 that this function doesn't work on `begin/end', `%#BEGIN/%#END' pairs |
886 because it is meaningless. | 914 because it is meaningless. |
915 | |
887 | 916 |
888 | 917 |
889 File: yatexe, Node: Invoking image processor, Next: Jump to main file, Prev: Jump to corresponding object, Up: Cursor jump | 918 File: yatexe, Node: Invoking image processor, Next: Jump to main file, Prev: Jump to corresponding object, Up: Cursor jump |
890 | 919 |
891 Invoking image processor | 920 Invoking image processor |
910 3. If not, check the existence of each file which is supplied the | 939 3. If not, check the existence of each file which is supplied the |
911 extension in the cdr part of each list of | 940 extension in the cdr part of each list of |
912 `YaTeX-file-processor-alist'. If any, call the corresponding image | 941 `YaTeX-file-processor-alist'. If any, call the corresponding image |
913 viewer or drawing tool. | 942 viewer or drawing tool. |
914 | 943 |
944 | |
915 | 945 |
916 File: yatexe, Node: Jump to main file, Next: Jumping around the environment, Prev: Invoking image processor, Up: Cursor jump | 946 File: yatexe, Node: Jump to main file, Next: Jumping around the environment, Prev: Invoking image processor, Up: Cursor jump |
917 | 947 |
918 Jump to main file | 948 Jump to main file |
919 ================= | 949 ================= |
925 `[prefix] 4^' | 955 `[prefix] 4^' |
926 ... visit main file in other buffer | 956 ... visit main file in other buffer |
927 | 957 |
928 in a sub text switch the buffer to the main text specified by `%#!' | 958 in a sub text switch the buffer to the main text specified by `%#!' |
929 notation. | 959 notation. |
960 | |
930 | 961 |
931 | 962 |
932 File: yatexe, Node: Jumping around the environment, Next: Jumping to last completion position, Prev: Jump to main file, Up: Cursor jump | 963 File: yatexe, Node: Jumping around the environment, Next: Jumping to last completion position, Prev: Jump to main file, Up: Cursor jump |
933 | 964 |
934 Jumping around the environment | 965 Jumping around the environment |
941 `M-C-e' | 972 `M-C-e' |
942 ... `end' of environment | 973 ... `end' of environment |
943 `M-C-@' | 974 `M-C-@' |
944 ... mark environment | 975 ... mark environment |
945 | 976 |
977 | |
946 | 978 |
947 File: yatexe, Node: Jumping to last completion position, Prev: Jumping around the environment, Up: Cursor jump | 979 File: yatexe, Node: Jumping to last completion position, Prev: Jumping around the environment, Up: Cursor jump |
948 | 980 |
949 Jumping to last completion position | 981 Jumping to last completion position |
950 =================================== | 982 =================================== |
953 every time you make a trip to any other part of text other than you are | 985 every time you make a trip to any other part of text other than you are |
954 writing, you can return to the editing paragraph by calling | 986 writing, you can return to the editing paragraph by calling |
955 register-to-point with argument YaTeX-current-position-register, which is | 987 register-to-point with argument YaTeX-current-position-register, which is |
956 achieved by typing `C-x j 3'(by default). | 988 achieved by typing `C-x j 3'(by default). |
957 | 989 |
990 | |
958 | 991 |
959 File: yatexe, Node: Changing and Deleting, Next: Filling, Prev: Cursor jump, Up: Top | 992 File: yatexe, Node: Changing and Deleting, Next: Filling, Prev: Cursor jump, Up: Top |
960 | 993 |
961 Changing and Deleting | 994 Changing and Deleting |
962 ********************* | 995 ********************* |
971 | 1004 |
972 * Menu: | 1005 * Menu: |
973 | 1006 |
974 * Changing LaTeX commands:: | 1007 * Changing LaTeX commands:: |
975 * Killing LaTeX commands:: | 1008 * Killing LaTeX commands:: |
1009 | |
976 | 1010 |
977 | 1011 |
978 File: yatexe, Node: Changing LaTeX commands, Next: Killing LaTeX commands, Prev: Changing and Deleting, Up: Changing and Deleting | 1012 File: yatexe, Node: Changing LaTeX commands, Next: Killing LaTeX commands, Prev: Changing and Deleting, Up: Changing and Deleting |
979 | 1013 |
980 Changing LaTeX commands | 1014 Changing LaTeX commands |
998 changing. Anyway, it is very difficult to know which argument position | 1032 changing. Anyway, it is very difficult to know which argument position |
999 the cursor belongs because the LaTeX commands can be nested and braces can | 1033 the cursor belongs because the LaTeX commands can be nested and braces can |
1000 freely emerge. So keep it mind to put the cursor on a brace when you are | 1034 freely emerge. So keep it mind to put the cursor on a brace when you are |
1001 thinking of changing a complicated argument. | 1035 thinking of changing a complicated argument. |
1002 | 1036 |
1037 | |
1003 | 1038 |
1004 File: yatexe, Node: Killing LaTeX commands, Prev: Changing LaTeX commands, Up: Changing and Deleting | 1039 File: yatexe, Node: Killing LaTeX commands, Prev: Changing LaTeX commands, Up: Changing and Deleting |
1005 | 1040 |
1006 Killing LaTeX commands | 1041 Killing LaTeX commands |
1007 ====================== | 1042 ====================== |
1025 `containers' but also `contents' of them. See below as a sample. | 1060 `containers' but also `contents' of them. See below as a sample. |
1026 | 1061 |
1027 Original text: [prefix] k C-u [prefix] k | 1062 Original text: [prefix] k C-u [prefix] k |
1028 Main \footnote{note} here. Main note here. Main here. | 1063 Main \footnote{note} here. Main note here. Main here. |
1029 ~(cursor) | 1064 ~(cursor) |
1065 | |
1030 | 1066 |
1031 | 1067 |
1032 File: yatexe, Node: Filling, Next: Updation of includeonly, Prev: Changing and Deleting, Up: Top | 1068 File: yatexe, Node: Filling, Next: Updation of includeonly, Prev: Changing and Deleting, Up: Top |
1033 | 1069 |
1034 Filling | 1070 Filling |
1081 as verbatim, tabular, or so. And it protects `\verb' expressions from | 1117 as verbatim, tabular, or so. And it protects `\verb' expressions from |
1082 being folded (The variable `YaTeX-verb-regexp' controls this). Besides, | 1118 being folded (The variable `YaTeX-verb-regexp' controls this). Besides, |
1083 putting cursor on the first occurrence of non-whitespace character on a | 1119 putting cursor on the first occurrence of non-whitespace character on a |
1084 line changes the fill-prefix temporarily to the depth of the line. | 1120 line changes the fill-prefix temporarily to the depth of the line. |
1085 | 1121 |
1122 | |
1086 | 1123 |
1087 File: yatexe, Node: Updation of includeonly, Next: What column, Prev: Filling, Up: Top | 1124 File: yatexe, Node: Updation of includeonly, Next: What column, Prev: Filling, Up: Top |
1088 | 1125 |
1089 Updation of `\includeonly' | 1126 Updation of `\includeonly' |
1090 ************************** | 1127 ************************** |
1104 A)dd R)eplace %)comment? | 1141 A)dd R)eplace %)comment? |
1105 | 1142 |
1106 in the minibuffer. Type `a' if you want to add the current file name to | 1143 in the minibuffer. Type `a' if you want to add the current file name to |
1107 `\includeonly' list, `r' to replace \`includeonly' list with the current | 1144 `\includeonly' list, `r' to replace \`includeonly' list with the current |
1108 file, and type `%' to comment out the `\includeonly' line. | 1145 file, and type `%' to comment out the `\includeonly' line. |
1146 | |
1109 | 1147 |
1110 | 1148 |
1111 File: yatexe, Node: What column, Next: Intelligent newline, Prev: Updation of includeonly, Up: Top | 1149 File: yatexe, Node: What column, Next: Intelligent newline, Prev: Updation of includeonly, Up: Top |
1112 | 1150 |
1113 What column? | 1151 What column? |
1135 in that position. YaTeX tells you the column header of the current field. | 1173 in that position. YaTeX tells you the column header of the current field. |
1136 Since YaTeX assumes the first line of tabular environment as a row of | 1174 Since YaTeX assumes the first line of tabular environment as a row of |
1137 column headers, you can create a row of virtual column headers by putting | 1175 column headers, you can create a row of virtual column headers by putting |
1138 them in the first line and commenting that line with `%'. | 1176 them in the first line and commenting that line with `%'. |
1139 | 1177 |
1178 | |
1140 | 1179 |
1141 File: yatexe, Node: Intelligent newline, Next: Usepackage checker, Prev: What column, Up: Top | 1180 File: yatexe, Node: Intelligent newline, Next: Usepackage checker, Prev: What column, Up: Top |
1142 | 1181 |
1143 Intelligent newline | 1182 Intelligent newline |
1144 ******************* | 1183 ******************* |
1156 and `\hline' if other `\hline' is found in backward. Here are the list of | 1195 and `\hline' if other `\hline' is found in backward. Here are the list of |
1157 contents vs. environments. | 1196 contents vs. environments. |
1158 | 1197 |
1159 * `tabular', `tabular*', `array' | 1198 * `tabular', `tabular*', `array' |
1160 | 1199 |
1161 Corresponding number of `&' and `\\'. | 1200 Corresponding number of `&' and `\\'. And `\hline' if |
1162 And `\hline' if needed. | 1201 needed. |
1163 | 1202 |
1164 * `tabbing' | 1203 * `tabbing' |
1165 | 1204 |
1166 The same number of `\>' as `\=' in the first line. | 1205 The same number of `\>' as `\=' in the first line. |
1167 | 1206 |
1180 `YaTeX-indent-line' is designed to indent the current line properly, | 1219 `YaTeX-indent-line' is designed to indent the current line properly, |
1181 calling this function before your code to insert certain contents must be | 1220 calling this function before your code to insert certain contents must be |
1182 useful. See the definition of the function | 1221 useful. See the definition of the function |
1183 `YaTeX-intelligent-newline-itemize' as an example. | 1222 `YaTeX-intelligent-newline-itemize' as an example. |
1184 | 1223 |
1224 | |
1185 | 1225 |
1186 File: yatexe, Node: Usepackage checker, Next: Online help, Prev: Intelligent newline, Up: Top | 1226 File: yatexe, Node: Usepackage checker, Next: Online help, Prev: Intelligent newline, Up: Top |
1187 | 1227 |
1188 Usepackage checker | 1228 Usepackage checker |
1189 ****************** | 1229 ****************** |
1194 `\usepackage{}' declaration corresponding to input macro. | 1234 `\usepackage{}' declaration corresponding to input macro. |
1195 | 1235 |
1196 To activate the package completion for your favarite package, set the | 1236 To activate the package completion for your favarite package, set the |
1197 variable `YaTeX-package-alist-private' correctly. Please refere the value | 1237 variable `YaTeX-package-alist-private' correctly. Please refere the value |
1198 of `YaTeX-package-alist-default' as an example. | 1238 of `YaTeX-package-alist-default' as an example. |
1239 | |
1199 | 1240 |
1200 | 1241 |
1201 File: yatexe, Node: Online help, Next: Browsing file hierarchy, Prev: Usepackage checker, Up: Top | 1242 File: yatexe, Node: Online help, Next: Browsing file hierarchy, Prev: Usepackage checker, Up: Top |
1202 | 1243 |
1203 Online help | 1244 Online help |
1243 you to write a description on that command. If you are willing to do, | 1284 you to write a description on that command. If you are willing to do, |
1244 determine which help file to add and write the description on it referring | 1285 determine which help file to add and write the description on it referring |
1245 your manual of (La)TeX. Please send me your additional descriptions if | 1286 your manual of (La)TeX. Please send me your additional descriptions if |
1246 you describe the help on some standard commands. I might want to include | 1287 you describe the help on some standard commands. I might want to include |
1247 it in the next distribution. | 1288 it in the next distribution. |
1289 | |
1248 | 1290 |
1249 | 1291 |
1250 File: yatexe, Node: Browsing file hierarchy, Next: Cooperation with other packages, Prev: Online help, Up: Top | 1292 File: yatexe, Node: Browsing file hierarchy, Next: Cooperation with other packages, Prev: Online help, Up: Top |
1251 | 1293 |
1252 Browsing file hierarchy | 1294 Browsing file hierarchy |
1305 ... quit | 1347 ... quit |
1306 | 1348 |
1307 Note that operations on the file contents in the next window do not work | 1349 Note that operations on the file contents in the next window do not work |
1308 correctly when you close the corresponding file. | 1350 correctly when you close the corresponding file. |
1309 | 1351 |
1352 | |
1310 | 1353 |
1311 File: yatexe, Node: Cooperation with other packages, Next: Customizations, Prev: Browsing file hierarchy, Up: Top | 1354 File: yatexe, Node: Cooperation with other packages, Next: Customizations, Prev: Browsing file hierarchy, Up: Top |
1312 | 1355 |
1313 Cooperation with other packages | 1356 Cooperation with other packages |
1314 ******************************* | 1357 ******************************* |
1330 | 1373 |
1331 `min-out', the outline minor mode, can be used in yatex-mode buffers. | 1374 `min-out', the outline minor mode, can be used in yatex-mode buffers. |
1332 If you want to use it with YaTeX, please refer the file `yatexm-o.el' as | 1375 If you want to use it with YaTeX, please refer the file `yatexm-o.el' as |
1333 an example. | 1376 an example. |
1334 | 1377 |
1378 | |
1335 | 1379 |
1336 File: yatexe, Node: Customizations, Next: Etcetera, Prev: Cooperation with other packages, Up: Top | 1380 File: yatexe, Node: Customizations, Next: Etcetera, Prev: Cooperation with other packages, Up: Top |
1337 | 1381 |
1338 Customizations | 1382 Customizations |
1339 ************** | 1383 ************** |
1344 * Menu: | 1388 * Menu: |
1345 | 1389 |
1346 * Lisp variables:: | 1390 * Lisp variables:: |
1347 * Add-in functions:: | 1391 * Add-in functions:: |
1348 * Add-in generator:: | 1392 * Add-in generator:: |
1393 | |
1349 | 1394 |
1350 | 1395 |
1351 File: yatexe, Node: Lisp variables, Next: Add-in functions, Prev: Customizations, Up: Customizations | 1396 File: yatexe, Node: Lisp variables, Next: Add-in functions, Prev: Customizations, Up: Customizations |
1352 | 1397 |
1353 Lisp variables | 1398 Lisp variables |
1371 * All customizable variables:: | 1416 * All customizable variables:: |
1372 * Sample definitions:: | 1417 * Sample definitions:: |
1373 * Hook variables:: | 1418 * Hook variables:: |
1374 * Hook file:: | 1419 * Hook file:: |
1375 | 1420 |
1421 | |
1376 | 1422 |
1377 File: yatexe, Node: All customizable variables, Next: Sample definitions, Prev: Lisp variables, Up: Lisp variables | 1423 File: yatexe, Node: All customizable variables, Next: Sample definitions, Prev: Lisp variables, Up: Lisp variables |
1378 | 1424 |
1379 All customizable variables | 1425 All customizable variables |
1380 -------------------------- | 1426 -------------------------- |
1389 Set this nil to produce all messages in English (`Depends on Japanese | 1435 Set this nil to produce all messages in English (`Depends on Japanese |
1390 feature of Emacs') | 1436 feature of Emacs') |
1391 | 1437 |
1392 -- Variable: YaTeX-kanji-code | 1438 -- Variable: YaTeX-kanji-code |
1393 Default buffer-file-coding-system for YaTeX modes' buffer. Set this | 1439 Default buffer-file-coding-system for YaTeX modes' buffer. Set this |
1394 0 to no language conversion. Nil to preserve original coding-system. | 1440 0 to no language conversion. Nil to preserve original |
1395 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (`1 or 2') | 1441 coding-system. 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (`1 or 2') |
1396 | 1442 |
1397 -- Variable: YaTeX-prefix | 1443 -- Variable: YaTeX-prefix |
1398 Prefix key stroke (`C-c') | 1444 Prefix key stroke (`C-c') |
1399 | 1445 |
1400 -- Variable: YaTeX-inhibit-prefix-letter | 1446 -- Variable: YaTeX-inhibit-prefix-letter |
1403 -- Variable: YaTeX-fill-prefix | 1449 -- Variable: YaTeX-fill-prefix |
1404 Fill-prefix used in yatex-mode (`nil') | 1450 Fill-prefix used in yatex-mode (`nil') |
1405 | 1451 |
1406 -- Variable: YaTeX-user-completion-table | 1452 -- Variable: YaTeX-user-completion-table |
1407 Name of user dictionary where learned completion table will be | 1453 Name of user dictionary where learned completion table will be |
1408 stored. (`"~/.yatexrc"') | 1454 stored. (`"~/.yatexrc"') |
1409 | 1455 |
1410 -- Variable: tex-command | 1456 -- Variable: tex-command |
1411 LaTeX typesetter command (`"latex"') | 1457 LaTeX typesetter command (`"latex"') |
1412 | 1458 |
1413 -- Variable: dvi2-command | 1459 -- Variable: dvi2-command |
1565 Alist of LaTeX2e-package name vs. lists of macros in it. Set this | 1611 Alist of LaTeX2e-package name vs. lists of macros in it. Set this |
1566 alist properly and YaTeX automatically check the declaratiion of | 1612 alist properly and YaTeX automatically check the declaratiion of |
1567 `usepackage' for corresponding macro, when you input that macro with | 1613 `usepackage' for corresponding macro, when you input that macro with |
1568 completion. If required `usepackage' is not found, YaTeX also | 1614 completion. If required `usepackage' is not found, YaTeX also |
1569 automatically inserts `\usepackage'. Alist is as follows; | 1615 automatically inserts `\usepackage'. Alist is as follows; |
1570 '((PackageName1 | 1616 '((PackageName1 (completionType ListOfMacro) (completionType |
1571 (completionType ListOfMacro) | 1617 ListOfMacro)) (PackageName2 (completionType ListOfMacro) |
1572 (completionType ListOfMacro)) | 1618 (completionType ListOfMacro...))....) completionType is one of `env, |
1573 (PackageName2 | 1619 section, maketitle'. Consult the value of |
1574 (completionType ListOfMacro) | |
1575 (completionType ListOfMacro...))....) completionType is | |
1576 one of `env, section, maketitle'. Consult the value of | |
1577 `YaTeX-package-alist-default' as an example. | 1620 `YaTeX-package-alist-default' as an example. |
1578 | 1621 |
1579 -- Variable: YaTeX-tabular-indentation | 1622 -- Variable: YaTeX-tabular-indentation |
1580 At indentation by `C-i' in tabular or array environment, YaTeX put | 1623 At indentation by `C-i' in tabular or array environment, YaTeX put |
1581 the additional spaces to the normail indentation depth. The number | 1624 the additional spaces to the normail indentation depth. The number |
1614 (if (setq command (cdr (assoc command alist))) | 1657 (if (setq command (cdr (assoc command alist))) |
1615 (concat command ":" value) | 1658 (concat command ":" value) |
1616 (YaTeX::ref-generate-label nil nil)))) | 1659 (YaTeX::ref-generate-label nil nil)))) |
1617 | 1660 |
1618 | 1661 |
1662 | |
1619 | 1663 |
1620 File: yatexe, Node: Sample definitions, Next: Hook variables, Prev: All customizable variables, Up: Lisp variables | 1664 File: yatexe, Node: Sample definitions, Next: Hook variables, Prev: All customizable variables, Up: Lisp variables |
1621 | 1665 |
1622 Sample definitions | 1666 Sample definitions |
1623 ------------------ | 1667 ------------------ |
1627 character, add the following `setq' to `~/.emacs'. | 1671 character, add the following `setq' to `~/.emacs'. |
1628 | 1672 |
1629 (setq YaTeX-prefix "\e" | 1673 (setq YaTeX-prefix "\e" |
1630 YaTeX-user-completion-table "~/src/emacs/yatexrc" | 1674 YaTeX-user-completion-table "~/src/emacs/yatexrc" |
1631 YaTeX-fill-prefix " ") | 1675 YaTeX-fill-prefix " ") |
1676 | |
1632 | 1677 |
1633 | 1678 |
1634 File: yatexe, Node: Hook variables, Next: Hook file, Prev: Sample definitions, Up: Lisp variables | 1679 File: yatexe, Node: Hook variables, Next: Hook file, Prev: Sample definitions, Up: Lisp variables |
1635 | 1680 |
1636 Hook variables | 1681 Hook variables |
1646 '(lambda() (YaTeX-define-begend-key "ba" "abstract"))) | 1691 '(lambda() (YaTeX-define-begend-key "ba" "abstract"))) |
1647 | 1692 |
1648 You should use functions `YaTeX-define-key', or | 1693 You should use functions `YaTeX-define-key', or |
1649 `YaTeX-define-begend-key' to define all the key sequences of yatex-mode. | 1694 `YaTeX-define-begend-key' to define all the key sequences of yatex-mode. |
1650 | 1695 |
1696 | |
1651 | 1697 |
1652 File: yatexe, Node: Hook file, Prev: Hook variables, Up: Lisp variables | 1698 File: yatexe, Node: Hook file, Prev: Hook variables, Up: Lisp variables |
1653 | 1699 |
1654 Hook file | 1700 Hook file |
1655 --------- | 1701 --------- |
1657 You can stuff all of YaTeX related expressions into a file named | 1703 You can stuff all of YaTeX related expressions into a file named |
1658 `yatexhks.el' if you have a lot of codes. YaTeX automatically load this | 1704 `yatexhks.el' if you have a lot of codes. YaTeX automatically load this |
1659 file at the initialization of itself. Using `yatexhks.el' makes | 1705 file at the initialization of itself. Using `yatexhks.el' makes |
1660 `yatex-mode-load-hook' unnecessary. | 1706 `yatex-mode-load-hook' unnecessary. |
1661 | 1707 |
1708 | |
1662 | 1709 |
1663 File: yatexe, Node: Add-in functions, Next: Add-in generator, Prev: Lisp variables, Up: Customizations | 1710 File: yatexe, Node: Add-in functions, Next: Add-in generator, Prev: Lisp variables, Up: Customizations |
1664 | 1711 |
1665 Add-in functions | 1712 Add-in functions |
1666 ================ | 1713 ================ |
1689 | 1736 |
1690 * How the add-in function works:: | 1737 * How the add-in function works:: |
1691 * How the function is called:: | 1738 * How the function is called:: |
1692 * Useful functions for creating add-in:: | 1739 * Useful functions for creating add-in:: |
1693 * Contribution:: | 1740 * Contribution:: |
1741 | |
1694 | 1742 |
1695 | 1743 |
1696 File: yatexe, Node: How the add-in function works, Next: How the function is called, Prev: Add-in functions, Up: Add-in functions | 1744 File: yatexe, Node: How the add-in function works, Next: How the function is called, Prev: Add-in functions, Up: Add-in functions |
1697 | 1745 |
1698 How the add-in function works | 1746 How the add-in function works |
1754 | 1802 |
1755 * Defining option-add-in:: | 1803 * Defining option-add-in:: |
1756 * Defining argument-add-in:: | 1804 * Defining argument-add-in:: |
1757 * Defining enclosing-add-in:: | 1805 * Defining enclosing-add-in:: |
1758 | 1806 |
1807 | |
1759 | 1808 |
1760 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 | 1809 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 |
1761 | 1810 |
1762 Defining `option add-in' | 1811 Defining `option add-in' |
1763 ........................ | 1812 ........................ |
1774 | 1823 |
1775 Note that the character `\' must be described as `\\' in Emacs-Lisp. The | 1824 Note that the character `\' must be described as `\\' in Emacs-Lisp. The |
1776 next example reads the tabular format from keyboard. | 1825 next example reads the tabular format from keyboard. |
1777 (defun YaTeX:tabular () | 1826 (defun YaTeX:tabular () |
1778 (concat "{" (read-string "Rule: ") "}")) | 1827 (concat "{" (read-string "Rule: ") "}")) |
1828 | |
1779 | 1829 |
1780 | 1830 |
1781 File: yatexe, Node: Defining argument-add-in, Next: Defining enclosing-add-in, Prev: Defining option-add-in, Up: How the add-in function works | 1831 File: yatexe, Node: Defining argument-add-in, Next: Defining enclosing-add-in, Prev: Defining option-add-in, Up: How the add-in function works |
1782 | 1832 |
1783 Defining `argument add-in' | 1833 Defining `argument add-in' |
1797 ((= n 2) "") ;do nothing when reading arg#2 | 1847 ((= n 2) "") ;do nothing when reading arg#2 |
1798 (t nil))) | 1848 (t nil))) |
1799 | 1849 |
1800 Note that when the `argument add-in' function return `nil', normal | 1850 Note that when the `argument add-in' function return `nil', normal |
1801 argument reader will be called. | 1851 argument reader will be called. |
1852 | |
1802 | 1853 |
1803 | 1854 |
1804 File: yatexe, Node: Defining enclosing-add-in, Prev: Defining argument-add-in, Up: How the add-in function works | 1855 File: yatexe, Node: Defining enclosing-add-in, Prev: Defining argument-add-in, Up: How the add-in function works |
1805 | 1856 |
1806 Defining `enclosing add-in' | 1857 Defining `enclosing add-in' |
1821 (goto-char (match-beginning 0)) | 1872 (goto-char (match-beginning 0)) |
1822 (if (y-or-n-p "Replace this slash(/) with `}{'") | 1873 (if (y-or-n-p "Replace this slash(/) with `}{'") |
1823 (throw 'done (replace-match "}{"))) | 1874 (throw 'done (replace-match "}{"))) |
1824 (goto-char (match-end 0))))) | 1875 (goto-char (match-end 0))))) |
1825 | 1876 |
1877 | |
1826 | 1878 |
1827 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 | 1879 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 |
1828 | 1880 |
1829 How the function is called | 1881 How the function is called |
1830 -------------------------- | 1882 -------------------------- |
1834 begin-type are called when `\begin{ENV}' has been inserted, functions for | 1886 begin-type are called when `\begin{ENV}' has been inserted, functions for |
1835 section-type are called just before input of the first argument, and | 1887 section-type are called just before input of the first argument, and |
1836 functions for maketitle-type is called after maketitle-type command has | 1888 functions for maketitle-type is called after maketitle-type command has |
1837 been inserted. `Argument add-in' functions are called at each entry of | 1889 been inserted. `Argument add-in' functions are called at each entry of |
1838 arguments for section-type commands. | 1890 arguments for section-type commands. |
1891 | |
1839 | 1892 |
1840 | 1893 |
1841 File: yatexe, Node: Useful functions for creating add-in, Next: Contribution, Prev: How the function is called, Up: Add-in functions | 1894 File: yatexe, Node: Useful functions for creating add-in, Next: Contribution, Prev: How the function is called, Up: Add-in functions |
1842 | 1895 |
1843 Useful functions for creating add-in | 1896 Useful functions for creating add-in |
1874 `[D]' | 1927 `[D]' |
1875 Check the current completion type is specified one and cause error | 1928 Check the current completion type is specified one and cause error |
1876 if not. The variable `YaTeX-current-completion-type' holds the symbol | 1929 if not. The variable `YaTeX-current-completion-type' holds the symbol |
1877 according to the current completion type. | 1930 according to the current completion type. |
1878 | 1931 |
1932 | |
1879 | 1933 |
1880 File: yatexe, Node: Contribution, Prev: Useful functions for creating add-in, Up: Add-in functions | 1934 File: yatexe, Node: Contribution, Prev: Useful functions for creating add-in, Up: Add-in functions |
1881 | 1935 |
1882 Contribution | 1936 Contribution |
1883 ------------ | 1937 ------------ |
1884 | 1938 |
1885 If you make your own pretty function and you let it be in public, please | 1939 If you make your own pretty function and you let it be in public, please |
1886 send me the function. I'm going to include it in the next release. | 1940 send me the function. I'm going to include it in the next release. |
1941 | |
1887 | 1942 |
1888 | 1943 |
1889 File: yatexe, Node: Add-in generator, Prev: Add-in functions, Up: Customizations | 1944 File: yatexe, Node: Add-in generator, Prev: Add-in functions, Up: Customizations |
1890 | 1945 |
1891 Add-in generator | 1946 Add-in generator |
1913 | 1968 |
1914 | 1969 |
1915 Simple generator | 1970 Simple generator |
1916 ---------------- | 1971 ---------------- |
1917 | 1972 |
1918 The latter generator is invoked by the next sequence. | 1973 The latter generator is invoked by the next sequence. `M-x |
1919 `M-x YaTeX-generate-simple' | 1974 YaTeX-generate-simple' This generator can make both "option add-in" and |
1920 This generator can make both "option add-in" and "argument add-in" | 1975 "argument add-in" (*refer the section add-in functions* *Note How the |
1921 (*refer the section add-in functions* | 1976 add-in function works::), whereas `YaTeX-generate' cannot make "argument |
1922 *Note How the add-in function works::), whereas `YaTeX-generate' | 1977 addin". |
1923 cannot make "argument addin". | |
1924 | 1978 |
1925 For example, assume you have the LaTeX command as follows. | 1979 For example, assume you have the LaTeX command as follows. |
1926 | 1980 |
1927 \epsinput[t](250,50){hoge.eps}{plain}{Picture of foo} | 1981 \epsinput[t](250,50){hoge.eps}{plain}{Picture of foo} |
1928 (A) (B) (1) (2) (3) | 1982 (A) (B) (1) (2) (3) |
2053 | 2107 |
2054 If you get your own pretty function and you let it be in public, please | 2108 If you get your own pretty function and you let it be in public, please |
2055 steel yourself in the happy atmosphere and do not send me the function. I | 2109 steel yourself in the happy atmosphere and do not send me the function. I |
2056 do know it is not fine because it is generated by yatexgen:-p. | 2110 do know it is not fine because it is generated by yatexgen:-p. |
2057 | 2111 |
2112 | |
2058 | 2113 |
2059 File: yatexe, Node: Etcetera, Next: Copying, Prev: Customizations, Up: Top | 2114 File: yatexe, Node: Etcetera, Next: Copying, Prev: Customizations, Up: Top |
2060 | 2115 |
2061 Etcetera | 2116 Etcetera |
2062 ******** | 2117 ******** |
2068 your dictionary, and you will also find `Wild Bird' growing suitable for | 2123 your dictionary, and you will also find `Wild Bird' growing suitable for |
2069 your LaTeX style. | 2124 your LaTeX style. |
2070 | 2125 |
2071 The package name `Wild Bird' is the English translation of Japanese | 2126 The package name `Wild Bird' is the English translation of Japanese |
2072 title `Yachou', which is a trick on words of Japanese. | 2127 title `Yachou', which is a trick on words of Japanese. |
2128 | |
2073 | 2129 |
2074 | 2130 |
2075 File: yatexe, Node: Copying, Prev: Etcetera, Up: Top | 2131 File: yatexe, Node: Copying, Prev: Etcetera, Up: Top |
2076 | 2132 |
2077 Copying | 2133 Copying |
2093 The specification of this software will be surely modified (depending on | 2149 The specification of this software will be surely modified (depending on |
2094 my feelings) without notice :-p. | 2150 my feelings) without notice :-p. |
2095 | 2151 |
2096 | 2152 |
2097 HIROSE Yuuji | 2153 HIROSE Yuuji |
2154 | |
2098 | 2155 |
2099 Tag table: | 2156 Tag table: |
2100 Node: Top153 | 2157 Node: Top146 |
2101 Node: What is YaTeX?1493 | 2158 Node: What is YaTeX?1487 |
2102 Node: Main features1865 | 2159 Node: Main features1860 |
2103 Node: Installation3456 | 2160 Node: Installation3452 |
2104 Node: Typesetting4232 | 2161 Node: Typesetting4229 |
2105 Node: Calling typesetter5300 | 2162 Node: Calling typesetter5298 |
2106 Node: Calling previewer7504 | 2163 Node: Calling previewer7502 |
2107 Node: Printing out7864 | 2164 Node: Printing out7863 |
2108 Node: %#notation8155 | 2165 Node: %#notation8155 |
2109 Node: Changing typesetter8530 | 2166 Node: Changing typesetter8531 |
2110 Node: Splitting input files8893 | 2167 Node: Splitting input files8895 |
2111 Node: Static region for typesetting10320 | 2168 Node: Static region for typesetting10319 |
2112 Node: Lpr format11448 | 2169 Node: Lpr format11448 |
2113 Node: Editing %# notation12504 | 2170 Node: Editing %# notation12505 |
2114 Node: Completion13022 | 2171 Node: Completion13024 |
2115 Node: Begin-type completion13581 | 2172 Node: Begin-type completion13584 |
2116 Node: Section-type completion16624 | 2173 Node: Section-type completion16627 |
2117 Node: view-sectioning19058 | 2174 Node: view-sectioning19062 |
2118 Node: Large-type completion20637 | 2175 Node: Large-type completion20642 |
2119 Node: Maketitle-type completion21367 | 2176 Node: Maketitle-type completion21373 |
2120 Node: Arbitrary completion21918 | 2177 Node: Arbitrary completion21925 |
2121 Node: End completion22307 | 2178 Node: End completion22315 |
2122 Node: Accent completion22776 | 2179 Node: Accent completion22785 |
2123 Node: Image completion23392 | 2180 Node: Image completion23402 |
2124 Node: Greek letters completion25648 | 2181 Node: Greek letters completion25659 |
2125 Node: Local dictionaries26374 | 2182 Node: Local dictionaries26386 |
2126 Node: Commenting out27310 | 2183 Node: Commenting out27323 |
2127 Node: Cursor jump28768 | 2184 Node: Cursor jump28782 |
2128 Node: Jump to corresponding object29079 | 2185 Node: Jump to corresponding object29094 |
2129 Node: Invoking image processor30479 | 2186 Node: Invoking image processor30495 |
2130 Node: Jump to main file31821 | 2187 Node: Jump to main file31838 |
2131 Node: Jumping around the environment32185 | 2188 Node: Jumping around the environment32203 |
2132 Node: Jumping to last completion position32602 | 2189 Node: Jumping to last completion position32621 |
2133 Node: Changing and Deleting33110 | 2190 Node: Changing and Deleting33130 |
2134 Node: Changing LaTeX commands33501 | 2191 Node: Changing LaTeX commands33522 |
2135 Node: Killing LaTeX commands34677 | 2192 Node: Killing LaTeX commands34699 |
2136 Node: Filling35861 | 2193 Node: Filling35884 |
2137 Node: Updation of includeonly37711 | 2194 Node: Updation of includeonly37735 |
2138 Node: What column38507 | 2195 Node: What column38532 |
2139 Node: Intelligent newline39591 | 2196 Node: Intelligent newline39617 |
2140 Node: Usepackage checker41251 | 2197 Node: Usepackage checker41271 |
2141 Node: Online help41841 | 2198 Node: Online help41862 |
2142 Node: Browsing file hierarchy43515 | 2199 Node: Browsing file hierarchy43537 |
2143 Node: Cooperation with other packages45251 | 2200 Node: Cooperation with other packages45274 |
2144 Node: Customizations45955 | 2201 Node: Customizations45979 |
2145 Node: Lisp variables46288 | 2202 Node: Lisp variables46313 |
2146 Node: All customizable variables47291 | 2203 Node: All customizable variables47317 |
2147 Node: Sample definitions57174 | 2204 Node: Sample definitions57116 |
2148 Node: Hook variables57686 | 2205 Node: Hook variables57629 |
2149 Node: Hook file58389 | 2206 Node: Hook file58333 |
2150 Node: Add-in functions58727 | 2207 Node: Add-in functions58672 |
2151 Node: How the add-in function works59586 | 2208 Node: How the add-in function works59532 |
2152 Node: Defining option-add-in61784 | 2209 Node: Defining option-add-in61731 |
2153 Node: Defining argument-add-in62505 | 2210 Node: Defining argument-add-in62453 |
2154 Node: Defining enclosing-add-in63386 | 2211 Node: Defining enclosing-add-in63335 |
2155 Node: How the function is called64239 | 2212 Node: How the function is called64189 |
2156 Node: Useful functions for creating add-in64914 | 2213 Node: Useful functions for creating add-in64865 |
2157 Node: Contribution66318 | 2214 Node: Contribution66270 |
2158 Node: Add-in generator66591 | 2215 Node: Add-in generator66544 |
2159 Node: Etcetera71984 | 2216 Node: Etcetera71916 |
2160 Node: Copying72588 | 2217 Node: Copying72521 |
2161 | 2218 |
2162 End tag table | 2219 End tag table |