yatex

view docs/yatexe @ 363:f7ae3e4be0bb

Note about two new variables
author HIROSE Yuuji <yuuji@gentei.org>
date Fri, 26 Dec 2014 00:11:16 +0900
parents 9cef5d10a0f1
children e95ae850eefb
line source
1 Info file: yatexe, -*-Text-*-
2 produced by `texinfo-format-buffer'
3 from file `yatexe.tex'
4 using `texinfmt.el' version 2.38 of 3 July 1998.
6 START-INFO-DIR-ENTRY
7 * YaTeX-e: (yatexe). Yet Another tex-mode for Emacs (English).
8 END-INFO-DIR-ENTRY
14 
15 File: yatexe, Node: Top, Next: What is YaTeX?, Prev: (dir), Up: (dir)
17 * Menu:
19 * What is YaTeX?::
20 * Main features:: What YaTeX can do
21 * Installation:: Guide to install
22 * Typesetting:: Call typesetting processes
23 * %#notation:: Meta-keyword `%#'
24 * Completion:: Input LaTeX commands with completion
25 * Local dictionaries:: Directory dependent completion
26 * Commenting out:: Commenting/uncommenting text
27 * Cursor jump:: Jumping to related position
28 * Changing and Deleting:: Changing/deleting certain unit of text
29 * Filling:: Filling an item or paragraph
30 * Updation of includeonly:: Free from maintaining includeonly
31 * What column:: Check what table-column the cursor belong
32 * Intelligent newline:: Guess requisites of new line
33 * Usepackage checker:: Selecting correct \usepackage is YaTeX's job
34 * Online help:: On-line documentation of LaTeX
35 * Browsing file hierarchy:: Walking through file hierarchy
36 * Cooperation with other packages:: Work well with gmhist, min-out
37 * Customizations:: How to breed `Wild Bird'
38 * Etcetera:: YaTeX is acquisitive.
39 * Copying:: Redistribution
43 
44 File: yatexe, Node: What is YaTeX?, Next: Main features, Prev: Top, Up: Top
46 What is YaTeX?
47 **************
49 YaTeX automates typesetting and previewing of LaTeX and enables
50 completing input of LaTeX mark-up command such as `\begin{}'..`\end{}'.
52 YaTeX also supports Demacs which runs on MS-DOS(386), Mule (Multi
53 Language Enhancement to GNU Emacs), and latex on DOS.
56 
57 File: yatexe, Node: Main features, Next: Installation, Prev: What is YaTeX?, Up: Top
59 Main features
60 *************
62 * Invocation of typesetter, previewer and related programs(`C-c t')
63 * Typesetting on static region which is independent from point
64 * Semiautomatic replacing of `\includeonly'
65 * Jumping to error line(`C-c '')
66 * Completing-read of LaTeX commands such as `\begin{}', `\section' etc.
67 (`C-c b', `C-c s', `C-c l', `C-c m')
68 * Enclosing text into LaTeX environments or commands (`C-u'
69 ABOVEKEYSTROKES)
70 * Displaying the structure of text at entering sectioning commands
71 * Lump shifting of sectioning commands (*Note view-sectioning::)
72 * Learning unknown/new LaTeX commands for the next completion
73 * Argument reading with a guide for complicated LaTeX commands
74 * Generating argument-readers for new/unsupported commands(`yatexgen')
75 * Quick changing or deleting of LaTeX commands(`C-c c', `C-c k')
76 * Jumping from and to inter-file, begin<->end, ref<->label(`C-c g')
77 * Blanket commenting out or uncommenting (`C-c >', `C-c <', `C-c ,',
78 `C-c .')
79 * Easy input of accent mark, math-mode's commands and Greek letters
80 (`C-c a', `;', `:')
81 * Online help for the popular LaTeX commands (`C-c ?', `C-c /')
82 * Document files hierarchy browser (`C-c d')
83 * Adding automatically \usepackage corresponding to inputting LaTeX
84 macro with completion
85 * Allow you to forget creating \label{}s, \ref{} or \cite{} completion
86 automatically generate labels.
89 
90 File: yatexe, Node: Installation, Next: Typesetting, Prev: Main features, Up: Top
92 Installation
93 ************
95 Put next two expressions into your `~/.emacs'.
97 (setq auto-mode-alist
98 (cons (cons "\\.tex$" 'yatex-mode) auto-mode-alist))
99 (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t)
101 Next, add certain path name where you put files of YaTeX to your
102 load-path. If you want to put them in `~/src/emacs', write
104 (setq load-path
105 (cons (expand-file-name "~/src/emacs") load-path))
107 in your `~/.emacs'
109 Then, yatex-mode will be automatically loaded when you visit a file
110 which has extension `.tex'. If yatex-mode is successfully loaded, mode
111 string on mode line will be turned to "YaTeX".
115 
116 File: yatexe, Node: Typesetting, Next: %#notation, Prev: Installation, Up: Top
118 Typesetting
119 ***********
121 The prefix key stroke of yatex-mode is `C-c' (Press 'C' with Control
122 key) by default. If you don't intend to change the prefix key stroke,
123 assume all `[prefix]' as `C-c' in this document. These key strokes
124 execute typeset or preview command.
126 `[prefix] t j'
127 ... invoke latex
128 `[prefix] t r'
129 ... invoke latex on region
130 `[prefix] t e'
131 ... invoke latex on current environment or whole portion of
132 current formulas in math-mode.
133 `[prefix] t d'
134 ... invoke dvipdfmx after successful typesetting
135 `[prefix] t k'
136 ... kill current typesetting process
137 `[prefix] t b'
138 ... invoke bibtex
139 `[prefix] t i'
140 ... invoke makeindex
141 `[prefix] t d'
142 ... invoke latex && dvipdfmx
143 `[prefix] t p'
144 ... preview
145 `[prefix] t l'
146 ... lpr dvi-file
147 `[prefix] t s'
148 ... search current string on xdvi-remote
150 * Menu:
152 * Calling typesetter::
153 * Calling previewer::
154 * Printing out::
157 
158 File: yatexe, Node: Calling typesetter, Next: Calling previewer, Prev: Typesetting, Up: Typesetting
160 Calling typesetter
161 ==================
163 Typing `[prefix] t j', the current editing window will be divided
164 horizontally when you invoke latex command, and log message of LaTeX
165 typesetting will be displayed in the other window; called typesetting
166 buffer. The typesetting buffer automatically scrolls up and traces LaTeX
167 warnings and error messages. If you see latex stopping by an error, you
168 can send string to latex in the typesetting buffer.
170 If an error stops the LaTeX typesetting, this key stroke will move the
171 cursor to the line where LaTeX error is detected.
173 `[prefix] ''
174 `([prefix]+single quotation)'
176 ... jump to the previous error or warning
178 If you find a noticeable error, move to the typesetting buffer and move
179 the cursor on the line of error message and type `SPACE' key. This makes
180 the cursor move to corresponding source line.
182 YaTeX-typeset-region invoked by `[prefix] tr' call typesetter for
183 region. The region is specified by standard point and mark, or by
184 `%#BEGIN' and `%#END' marks. Selected region will be copied to the
185 temporary file `texput.tex' with the same preamble as the main file of
186 current editing sources. Be sure to put all local macro settings in
187 preamble, not after `\begin{document}'. The method of specification of
188 the region is shown in the section *Note %#notation::.
190 The documentclass for typeset-region is the same as that of editing file
191 if you edit one file, and is the same as main file's if you edit splitting
192 files.
194 The `[prefix] te' key automatically marks current inner environment or
195 inner math mode and then call typeset-region with marked region. This is
196 convenient to quick view of current tabular environment or current editing
197 formulas. Keeping previewer window for `texput.dvi' is handy for
198 debugging. Since `[prefix] te' selects the inner-most environment as
199 region, it is not suitable for partial typesetting of doubly or more
200 composed environment. If you want to do partial typesetting for a nested
201 environment, use `[prefix] tr' for static-region, which is described in
202 the section *Note %#notation::.
205 
206 File: yatexe, Node: Calling previewer, Next: Printing out, Prev: Calling typesetter, Up: Typesetting
208 Calling previewer
209 =================
211 `[prefix] t p' invokes the TeX previewer. And if you are using
212 xdvi-remote, which can be controled from other terminals, `[prefix] t s'
213 enables you to search current string at the cursor on the running xdvi
214 window.
217 
218 File: yatexe, Node: Printing out, Prev: Calling previewer, Up: Typesetting
220 Printing out
221 ============
223 When you type `[preifx] t l', YaTeX asks you the range of dvi-printing
224 by default. You can skip this by invoking it with universal-argument as
225 follows:
227 C-u [prefix] tl
230 
231 File: yatexe, Node: %#notation, Next: Completion, Prev: Typesetting, Up: Top
233 %# notation
234 ***********
236 You can control the typesetting process by describing `%#' notations in
237 the source text.
239 * Menu:
241 * Changing typesetter::
242 * Splitting input files::
243 * Static region for typesetting::
244 * Lpr format::
245 * Controlling which command to invoke::
246 * Editing %# notation::
249 
250 File: yatexe, Node: Changing typesetter, Next: Splitting input files, Prev: %#notation, Up: %#notation
252 To change the `latex' command or to split a source text.
253 ========================================================
255 To change the typesetting command, write
257 %#!latex-big
259 anywhere in the source text. This is useful for changing typesetter.
262 
263 File: yatexe, Node: Splitting input files, Next: Static region for typesetting, Prev: Changing typesetter, Up: %#notation
265 Splitting input files
266 =====================
268 And if you split the source text and edit subfile that should be
269 included from main text.
271 %#!latex main.tex
273 will be helpful to execute latex on main file from sub text buffer. Since
274 this command line after `%#!' will be sent to shell literally, next
275 description makes it convenient to use ghostview as dvi-previewer.
277 %#!latex main && dvi2ps main.dvi > main
279 Note that YaTeX assumes the component before the last period of the last
280 word in this line as base name of the main LaTeX source. The `%f'
281 notation in this line is replaced by main file name, and `%r' replaced by
282 root name of main file name. If you specify `%f' or `%r', YaTeX always
283 ask you the name of main file at the first typesetting.
285 To make best use of the feature of inter-file jumping by `[prefix] g'
286 (see *Note Cursor jump::), take described below into consideration.
288 * You can put split texts in sub directory, but not in sub directory of
289 sub directory.
290 * In the main text, specify the child file name with relative path name
291 such as \include{chap1/sub}, when you include the file in a
292 sub-directory.
293 * In a sub-text, write `%#!latex main.tex' even if `main.tex' is in the
294 parent directory(not %#!latex ../main.tex).
297 
298 File: yatexe, Node: Static region for typesetting, Next: Lpr format, Prev: Splitting input files, Up: %#notation
300 Static region
301 =============
303 Typeset-region by `[prefix] tr' passes the region between point and mark
304 to typesetting command by default. But when you want to typeset static
305 region, enclose the region by `%#BEGIN' and `%#END' as follows.
307 %#BEGIN
308 TheRegionYouWantToTypesetManyTimes
309 %#END
311 This is the rule of deciding the region.
313 1. If there exists %#BEGIN before point,
315 1. If there exists %#END after %#BEGIN,
316 * From %#BEGIN to %#END.
318 2. If %#END does not exist after %#BEGIN,
319 * From %#BEGIN to the end of buffer.
321 2. If there does not exist %#BEGIN before point,
322 * Between point and mark(standard method of Emacs).
324 It is useful to write `%#BEGIN' in the previous line of \begin and
325 `%#END' in the next line of \`end' when you try complex environment such
326 as `tabular' many times. It is also useful to put only `%#BEGIN' alone at
327 the middle of very long text. Do not forget to erase `%#BEGIN' `%#END'
328 pair.
331 
332 File: yatexe, Node: Lpr format, Next: Controlling which command to invoke, Prev: Static region for typesetting, Up: %#notation
334 Lpr format
335 ==========
337 Lpr format is specified by three Lisp variables. Here are the default
338 values of them.
340 `(1)dviprint-command-format'
341 `"dvi2ps %f %t %s | lpr"'
342 `(2)dviprint-from-format'
343 `"-f %b"'
344 `(3)dviprint-to-format'
345 `"-t %e"'
347 On YaTeX-lpr, `%s' in (1) is replaced by the file name of main text,
348 `%f' by contents of (2), %t by contents of (3). At these replacements,
349 `%b' in (2) is also replaced by the number of beginning page, `%e' in (3)
350 is replaced by the number of ending page. But `%f' and `%t' are ignored
351 when you omit the range of print-out by `C-u [prefix] tl'.
353 If you want to change this lpr format temporarily, put a command such as
354 follows somewhere in the text:
356 %#LPR dvi2ps %f %t %s | 4up -page 4 | texfix | lpr -Plp2
358 And if you want YaTeX not to ask you the range of printing out, the next
359 example may be helpful.
361 %#LPR dvi2ps %s | lpr
364 
365 File: yatexe, Node: Controlling which command to invoke, Next: Editing %# notation, Prev: Lpr format, Up: %#notation
367 Controlling which command to invoke
368 ===================================
370 These %# notation below can control which command to invoke for LaTeX
371 related process.
373 `%#BIBTEX'
375 ... Command line for makeindex ([prefix] t i)
376 `%#MAKEINDEX'
378 ... Command line for bibtex ([prefix] t b)
379 `%#DVIPDF'
381 ... Command line for dvipdf(mx) ([prefix] t b)
383 If you want to invoke "makeidx hogehoge" to update index, put the next
384 line some upper place in the source, for example.
386 %#MAKEINDEX makeidx hogehoge
390 
391 File: yatexe, Node: Editing %# notation, Prev: Controlling which command to invoke, Up: %#notation
393 Editing %# notation
394 ===================
396 To edit `%#' notation described above, type
398 `[prefix] %'
399 ... editing %# notation menu
401 and select one of the entry of the menu as follows.
403 !)Edit-%#! B)EGIN-END-region L)Edit-%#LPR
405 Type `!' to edit `%#!' entry, `b' to enclose the region with `%#BEGIN' and
406 `%#END', and `l' to edit `%#LPR' entry. When you type `b', all `%#BEGIN'
407 and `%#END' are automatically erased.
410 
411 File: yatexe, Node: Completion, Next: Local dictionaries, Prev: %#notation, Up: Top
413 Completion
414 **********
416 YaTeX makes it easy to input the LaTeX commands. There are several
417 kinds of completion type, begin-type, section-type, large-type, etc...
419 * Menu:
421 * Begin-type completion::
422 * Section-type completion::
423 * Large-type completion::
424 * Maketitle-type completion::
425 * Arbitrary completion::
426 * End completion::
427 * Accent completion::
428 * Image completion::
429 * Greek letters completion::
432 
433 File: yatexe, Node: Begin-type completion, Next: Section-type completion, Prev: Completion, Up: Completion
435 Begin-type completion
436 =====================
438 "Begin-type completion" completes commands of `\begin{env}' ...
439 `\end{env}'. All of the begin-type completions begin with this key
440 sequence.
442 `[prefix] b'
443 ... start begin-type completion
445 An additional key stroke immediately completes a frequently used LaTeX
446 `\begin{}'...`\`end'{}' environment.
448 `[prefix] b c'
449 ... `\begin{center}...\end{center}'
450 `[prefix] b d'
451 ... `\begin{document}...\end{document}'
452 `[prefix] b D'
453 ... `\begin{description}...\end{description}'
454 `[prefix] b e'
455 ... `\begin{enumerate}...\end{enumerate}'
456 `[prefix] b E'
457 ... `\begin{equation}...\end{equation}'
458 `[prefix] b i'
459 ... `\begin{itemize}...\end{itemize}'
460 `[prefix] b l'
461 ... `\begin{flushleft}...\end{flushleft}'
462 `[prefix] b m'
463 ... `\begin{minipage}...\end{minipage}'
464 `[prefix] b t'
465 ... `\begin{tabbing}...\end{tabbing}'
466 `[prefix] b T'
467 ... `\begin{tabular}...\end{tabular}'
468 `[prefix] b^T'
469 ... `\begin{table}...\end{table}'
470 `[prefix] b p'
471 ... `\begin{picture}...\end{picture}'
472 `[prefix] b q'
473 ... `\begin{quote}...\end{quote}'
474 `[prefix] b Q'
475 ... `\begin{quotation}...\end{quotation}'
476 `[prefix] b r'
477 ... `\begin{flushright}...\end{flushright}'
478 `[prefix] b v'
479 ... `\begin{verbatim}...\end{verbatim}'
480 `[prefix] b V'
481 ... `\begin{verse}...\end{verse}'
483 Any other LaTeX environments are made by completing-read of the Emacs
484 function.
486 `[prefix] b SPACE'
487 ... begin-type completion
489 The next message will show up in the minibuffer
491 Begin environment(default document):
493 by typing `[prefix] b'. Put the wishing environment with completion in
494 the minibuffer, and `\begin{env}'...\`\end{env}' will be inserted in the
495 LaTeX source text. If the environment you want to put does not exist in
496 the YaTeX completion table, it will be registered in the user completion
497 table. YaTeX automatically saves the user completion table in the user
498 dictionary file at exiting of emacs.
500 At the completion of certain environments, the expected initial entry will
501 automatically inserted such as `\item' for `itemize' environment. If you
502 don't want the entry, it can be removed by undoing.
504 If you want to enclose some paragraphs which have already been written,
505 invoke the begin-type completion with changing the case of `b' of key
506 sequence upper(or invoke it with universal argument by `C-u' prefix).
508 The following example encloses a region with `description' environment.
510 `[prefix] B D'
511 `(or ESC 1 [prefix] b D)'
512 `(or C-u [prefix] b D)'
514 ... begin-type completion for region
516 This enclosing holds good for the completing input by `[prefix] b SPC'.
517 `[prefix] B SPC' enclose a region with the environment selected by
518 completing-read.
521 
522 File: yatexe, Node: Section-type completion, Next: Large-type completion, Prev: Begin-type completion, Up: Completion
524 Section-type completion
525 =======================
527 "Section-type completion" completes section-type commands which take an
528 argument or more such as `\section{foo}'. To invoke section-type
529 completion, type
531 `[prefix] s'
532 ... section-type completion
534 then the prompt
536 (C-v for view) \???{} (default documentclass):
538 will show up in the minibuffer. Section-type LaTeX commands are completed
539 by space key, and the default value is selected when you type nothing in
540 the minibuffer.
542 Next,
544 \section{???}:
546 prompts you the argument of section-type LaTeX command. For example, the
547 following inputs
549 \???{} (default documentclass): section
550 \section{???}: Hello world.
552 will insert the string
554 \section{Hello world.}
556 in your LaTeX source. When you neglect argument such as
558 (C-v for view) \???{} (default section): vspace*
559 \vspace*{???}:
561 YaTeX puts
563 \vspace*{}
565 and move the cursor in the braces.
567 In LaTeX command, there are commands which take more than one arguments
568 such as `\addtolength{\topmargin}{8mm}'. To complete these commands,
569 invoke section-type completion with universal argument as,
571 C-u 2 [prefix] s (or ESC 2 [prefix] s)
573 and make answers in minibuffer like this.
575 (C-v for view) \???{} (default vspace*): addtolength
576 \addtolength{???}: \topmargin
577 Argument 2: 8mm
579 `\addtolength' and the first argument `\topmargin' can be typed easily by
580 completing read. Since YaTeX also learns the number of arguments of
581 section-type command and will ask that many arguments in future
582 completion, you had better tell the number of arguments to YaTeX at the
583 first completion of the new word. But you can change the number of
584 arguments by calling the completion with different universal argument
585 again.
588 Invoking section-type completion with `[Prefix] S' (Capital `S')
589 includes the region as the first argument of section-type command.
591 The section/large/maketitle type completion can work at the prompt for
592 the argument of other section-type completion. Nested LaTeX commands are
593 efficiently read with the recursive completion by typing YaTeX's
594 completion key sequence in the minibuffer.
596 * Menu:
598 * view-sectioning::
601 
602 File: yatexe, Node: view-sectioning, Prev: Section-type completion, Up: Section-type completion
604 view-sectioning
605 ---------------
607 In the minibuffer at the prompt of section-type command completion,
608 typing `C-v' shows a list of sectioning commands in source text(The line
609 with `<<--' mark is the nearest sectioning command). Then, default
610 sectioning command appears in the minibuffer. You can go up/down
611 sectioning command by typing `C-p'/`C-n', can scrolls up/down the listing
612 buffer by `C-v'/`M-v', and can hide sectioning commands under certain
613 level by 0 through 6. Type `?' in the minibuffer of sectioning prompt
614 for more information.
616 You can generate this listing buffer (`*Sectioning Lines*' buffer) by
617 typing
618 `M-x YaTeX-section-overview'
619 ... Generate *Sectioning Lines* buffer
621 from the LaTeX source buffer. In this listing buffer, typing `u' on the
622 sectioning command shifts up the corresponding sectioning command in
623 source text and `d' shifts down. After marking lines in the listing
624 buffer, typing `U' shifts up all sectioning commands in the region, and
625 `U' shifts down. Here are all the key bindings of `*Sectioning Lines*'
626 buffer.
628 `SPC'
629 ... Jump to corresponding source line
630 `.'
631 ... Display corresponding source line
632 `u'
633 ... Shift up a sectioning line
634 `d'
635 ... Shift down a sectioning line
636 `U'
637 ... Shift up sectioning lines in region
638 `D'
639 ... Shift down sectioning lines in region
640 `0...6'
641 ... Hide sectioning commands whose level is lower than n
645 
646 File: yatexe, Node: Large-type completion, Next: Maketitle-type completion, Prev: Section-type completion, Up: Completion
648 Large-type completion
649 =====================
651 "Large-type completion" inputs the font or size changing descriptions
652 such as `{\large }'. When you type
654 `[prefix] l'
655 ... large-type completion
657 the message in the minibuffer
659 {\??? } (default large):
661 prompts prompts you large-type command with completing-read. There are
662 TeX commands to change fonts or sizes, `it', `huge' and so on, in the
663 completion table.
665 Region-based completion is also invoked by changing the letter after
666 prefix key stroke as `[prefix] L'. It encloses the region by braces with
667 large-type command.
670 
671 File: yatexe, Node: Maketitle-type completion, Next: Arbitrary completion, Prev: Large-type completion, Up: Completion
673 Maketitle-type completion
674 =========================
676 We call it "maketitle-type completion" which completes commands such as
677 `\maketitle'. Take notice that maketitle-type commands take no arguments.
678 Then, typing
680 `[prefix] m'
681 ... maketitle-type completion
683 begins maketitle-completion. Above mentioned method is true for
684 maketitle-completion, and there are LaTeX commands with no arguments in
685 completion table.
688 
689 File: yatexe, Node: Arbitrary completion, Next: End completion, Prev: Maketitle-type completion, Up: Completion
691 Arbitrary completion
692 ====================
694 You can complete certain LaTeX command anywhere without typical
695 completing method as described, by typing
697 `[prefix] SPC'
698 ... arbitrary completion
700 after the initial string of LaTeX command that is preceded by `\'.
703 
704 File: yatexe, Node: End completion, Next: Accent completion, Prev: Arbitrary completion, Up: Completion
706 End completion
707 ==============
709 YaTeX automatically detects the opened environment and close it with
710 \`\end{environment}'. Though proficient YaTeX users never fail to make
711 environment with begin-type completion, some may begin an environment
712 manually. In that case, type
714 `[prefix] e'
715 ... `end' completion
717 at the end of the opened environment.
720 
721 File: yatexe, Node: Accent completion, Next: Image completion, Prev: End completion, Up: Completion
723 Accent completion
724 =================
726 When you want to write the European accent marks(like `\`{o}'),
728 `[prefix] a'
729 ... accent completion
731 shows the menu
733 1:` 2:' 3:^ 4:" 5:~ 6:= 7:. u v H t c d b
735 in the minibuffer. Chose one character or corresponding numeric, and you
736 will see
738 \`{}
740 in the editing buffer with the cursor positioned in braces. Type one more
741 character `o' for example, then
743 \`{o}
745 will be completed, and the cursor gets out from braces.
748 
749 File: yatexe, Node: Image completion, Next: Greek letters completion, Prev: Accent completion, Up: Completion
751 Image completion of mathematical sign
752 =====================================
754 Arrow marks, sigma mark and those signs mainly used in the TeX's math
755 environment are completed by key sequences which imitate the corresponding
756 symbols graphically. This completion only works in the math environment.
757 YaTeX automatically detects whether the cursor located in math environment
758 or not, and change the behavior of key strokes `;' and `:'.
760 By the way, we often express the leftarrow mark by `<-' for example.
761 Considering such image, you can write `\leftarrow' by typing `<-' after
762 `;' (semicolon) as a prefix. In the same way, `\longleftarrow' (`<--') is
763 completed by typing `;<--', infinity mark which is imitated by `oo' is
764 completed by typing `;oo'.
766 Here are the sample operations in YaTeX math-mode.
768 INPUT Completed LaTeX commands
769 ; < - `\leftarrow'
770 ; < - - `\longleftarrow'
771 ; < - - > `\longleftrightarrow'
772 ; o `\circ'
773 ; o o `\infty'
775 In any case, you can quit from image completion and can move to the next
776 editing operation if the LaTeX command you want is shown in the buffer.
778 `;' itself in math-environment is inserted by `;;'. Typing `TAB' in the
779 midst of image completion shows all of the LaTeX commands that start with
780 the same name as string you previously typed in. In this menu buffer,
781 press `RET' after moving the cursor (by `n', `p', `b', `f') to insert the
782 LaTeX command.
784 To know all of the completion table, type `TAB' just after `;'. And
785 here is the sample menu by `TAB' after `;<'.
787 KEY LaTeX sequence sign
788 < \leq <
789 ~
790 << \ll <<
791 <- \leftarrow <-
792 <= \Leftarrow <=
794 You can define your favorite key-vs-sequence completion table in the
795 Emacs-Lisp variable `YaTeX-math-sign-alist-private'. See also
796 `yatexmth.el' for the information of the structure of this variable.
799 
800 File: yatexe, Node: Greek letters completion, Prev: Image completion, Up: Completion
802 Greek letters completion
803 ========================
805 Math-mode of YaTeX provides another image completion, Greek letters
806 completion in the same method. After prefix `:', typing `a' makes
807 `\alpha', `b' makes `\beta' and `g' makes `\gamma' and so on. First, type
808 `:TAB' to know all the correspondence of alphabets vs. Greek letters.
810 If you will find `;' or `:' doesn't work in correct position of math
811 environment, it may be a bug of YaTeX. Please send me a bug report with
812 the configuration of your text, and avoid it temporarily by typing `;' or
813 `:' after universal-argument(`C-u') which forces `;' and `:' to work as
814 math-prefix.
817 
818 File: yatexe, Node: Local dictionaries, Next: Commenting out, Prev: Completion, Up: Top
820 Local dictionaries
821 ******************
823 Tables for completion consist of three dictionaries; `standard
824 dictionary' built in `yatex.el', `user dictionary' for your common private
825 commands, and `local dictionary' that is effective in a certain directory.
827 When you input the command unknown to YaTeX at a completion in the
828 minibuffer, YaTeX asks you with the following prompt;
830 `foo' is not in table. Register into: U)serDic L)ocalDic N)one D)iscard
832 In this menu, typing `u' updates your `user dictionary', `l' updates your
833 local dictionary, `n' updates only on-memory dictionary which go through
834 only current Emacs session, and `d' updates no dictionary and throws the
835 new word away.
837 If you find this switching feature meaningless and bothersome, put the
838 next expression into your `~/.emacs'
840 (setq YaTeX-nervous nil)
843 
844 File: yatexe, Node: Commenting out, Next: Cursor jump, Prev: Local dictionaries, Up: Top
846 Commenting out
847 **************
849 You may want to comment out some region.
851 `[prefix] >'
852 ... comment out region by %
853 `[prefix] <'
854 ... uncomment region
856 cause an operation to the region between point and mark.
858 `[prefix] .'
859 ... comment out current paragraph
860 `[prefix] ,'
861 ... uncomment current paragraph
863 comments or uncomments the paragraph where the cursor belongs. This
864 `paragraph' means the region marked by the function mark-paragraph, bound
865 to `ESC h' by default. It is NOT predictable what will happen when you
866 continuously comment out some paragraph many times.
868 You can also comment out an environment between `\begin' and `\end', or
869 a `\begin'-\`\end' pair themselves, by making the following key strokes on
870 the line where `\begin{}' or `\end{}' exists.
872 `[prefix] >'
873 ... comment out from \begin to \`end'
874 `[prefix] <'
875 ... uncomment from \begin to \`end'
877 comment whole the contents of environment. Moreover,
879 `[prefix] .'
880 ... comment out \begin and \`end'
881 `[prefix] ,'
882 ... uncomment \begin and \`end'
884 (un)comments out only environment declaration: `\begin{}' and `\end{}'.
885 NOTE that even if you intend to comment out some region, invoking
886 `[prefix] >' on the `\begin',`\end' line decides to work in `commenting
887 out from `\begin' to `\end'' mode.
891 
892 File: yatexe, Node: Cursor jump, Next: Changing and Deleting, Prev: Commenting out, Up: Top
894 Cursor jump
895 ***********
898 * Menu:
900 * Jump to corresponding object::
901 * Invoking image processor::
902 * Jump to main file::
903 * Jumping around the environment::
904 * Jumping to last completion position::
907 
908 File: yatexe, Node: Jump to corresponding object, Next: Invoking image processor, Prev: Cursor jump, Up: Cursor jump
910 Jump to corresponding object
911 ============================
913 Typing
915 `[prefix] g'
916 ... go to corresponding object
918 in a certain place move the cursor to the place corresponding to the LaTeX
919 command of last place. YaTeX recognize the followings as pairs that have
920 relation each other.
922 * `\begin{}' <-> `\end{}'
923 * `%#BEGIN' <-> `%#END'
924 * On the image-including line -> corresponding viewer or drawing tool
925 * `\label{}' <-> `\ref{}'
926 * `\include(\input)' -> included file
927 * `\bibitem{}' <-> `\cite{}'
929 On a `\begin',`\end' line, typing `[prefix] g' moves the cursor to the
930 corresponding `\end',`\begin' line, if its partner really exists. The
931 behavior on the line `%#BEGIN' and `%#END' are the same. Note that if the
932 correspondent of `label/ref' or `cite/bibitem' exists in another file,
933 that file have to be opened to make a round trip between references by
934 `[prefix] g'.
936 If you type `[prefix] g' on the line of `\include{chap1}', typically in
937 the main text, YaTeX switches buffer to `chap1.tex'.
939 `[prefix] 4 g'
940 ... go to corresponding object in other window
942 do the same job as `[prefix] g' except it's done in other window. Note
943 that this function doesn't work on `begin/end', `%#BEGIN/%#END' pairs
944 because it is meaningless.
947 
948 File: yatexe, Node: Invoking image processor, Next: Jump to main file, Prev: Jump to corresponding object, Up: Cursor jump
950 Invoking image processor
951 ========================
954 `image-including line' described above means such lines as
955 `\epsfile{file=foo.ps}'. If you type `[prefix] g' on that line, YaTeX
956 automatically searches source of `foo.ps' and invokes image viewer or
957 drawing tool correspoinding to it. For example; if you draw an image
958 foo.obj with Tgif and enclose its product named foo.eps by `\epsfile'
959 command. Typing `[prefix] g' on `\epsfile' line make YaTeX invoke `tgif
960 foo.obj'. How a processor is choosen is as follows.
962 1. If there is an expression matching with one of the pattern defined in
963 `YaTeX-processed-file-regexp-alist', extract file name from regexp
964 group surrounded by \\(\\). (Which group corresponds is written in
965 the cdr part of each list.) If no matches were found, do nothing.
966 2. If there is a pattern as `%PROCESSOR' which is defined in the
967 variable `YaTeX-file-processor-alist', call that processor giving the
968 file name with corresponding extension.
969 3. If not, check the existence of each file which is supplied the
970 extension in the cdr part of each list of
971 `YaTeX-file-processor-alist'. If any, call the corresponding image
972 viewer or drawing tool.
975 
976 File: yatexe, Node: Jump to main file, Next: Jumping around the environment, Prev: Invoking image processor, Up: Cursor jump
978 Jump to main file
979 =================
981 Typing
983 `[prefix] ^'
984 ... visit main file
985 `[prefix] 4^'
986 ... visit main file in other buffer
988 in a sub text switch the buffer to the main text specified by `%#!'
989 notation.
992 
993 File: yatexe, Node: Jumping around the environment, Next: Jumping to last completion position, Prev: Jump to main file, Up: Cursor jump
995 Jumping around the environment
996 ==============================
998 And these are the functions which work on the current LaTeX environment:
1000 `M-C-a'
1001 ... beginning of environment
1002 `M-C-e'
1003 ... `end' of environment
1004 `M-C-@'
1005 ... mark environment
1009 File: yatexe, Node: Jumping to last completion position, Prev: Jumping around the environment, Up: Cursor jump
1011 Jumping to last completion position
1012 ===================================
1014 YaTeX always memorize the position of completion into register `3'. So
1015 every time you make a trip to any other part of text other than you are
1016 writing, you can return to the editing paragraph by calling
1017 register-to-point with argument YaTeX-current-position-register, which is
1018 achieved by typing `C-x j 3'(by default).
1022 File: yatexe, Node: Changing and Deleting, Next: Filling, Prev: Cursor jump, Up: Top
1024 Changing and Deleting
1025 *********************
1027 These functions are for change or deletion of LaTeX commands already
1028 entered.
1030 `[prefix] c'
1031 ... change LaTeX command
1032 `[prefix] k'
1033 ... kill LaTeX command
1035 * Menu:
1037 * Changing LaTeX commands::
1038 * Killing LaTeX commands::
1042 File: yatexe, Node: Changing LaTeX commands, Next: Killing LaTeX commands, Prev: Changing and Deleting, Up: Changing and Deleting
1044 Changing LaTeX commands
1045 =======================
1047 `[prefix] c' can change the various (La)TeX commands. This can change the
1048 followings.
1049 * Environment names
1050 * Section-type commands
1051 * Argument of section-type commands
1052 * Optional parameters (enclosed by []) of section-type commands
1053 * Font/size designators
1054 * Math-mode's maketitle-type commands that can be inputted with image
1055 completion
1057 Typing `[prefix] c' on one of above objects you want to change brings a
1058 suitable reading function sometimes with completion. Note: If you want to
1059 change the argument of section-type command that contains other LaTeX
1060 commands, type `[prefix] c' either of surrounding braces of the argument
1061 in order to make YaTeX ignore the internal LaTeX sequences as an object of
1062 changing. Anyway, it is very difficult to know which argument position
1063 the cursor belongs because the LaTeX commands can be nested and braces can
1064 freely emerge. So keep it mind to put the cursor on a brace when you are
1065 thinking of changing a complicated argument.
1069 File: yatexe, Node: Killing LaTeX commands, Prev: Changing LaTeX commands, Up: Changing and Deleting
1071 Killing LaTeX commands
1072 ======================
1074 `[prefix] k' kills the LaTeX commands sometimes with their arguments.
1075 Following table illustrates the correspondence of the invoking position
1076 and what is killed.
1078 [Invoking position] [action]
1079 \begin, \end line kill \begin,\end pairs
1080 %#BEGIN, %#END line kill %#BEGIN,%#END pairs
1081 on a Section-type command kill section-type command
1082 on a parenthesis kill parentheses
1084 Note that when killing `\begin, \end' or `%#BEGIN, %#END' pair, the lines
1085 `\begin, \end' or `%#BEGIN, %#END' exist will be killed entirely. So take
1086 care not to create any line that contains more than one `\begin' or so.
1088 While all operations above are to kill `containers' which surround some
1089 text, universal argument (`C-u') for these commands kills not only
1090 `containers' but also `contents' of them. See below as a sample.
1092 Original text: [prefix] k C-u [prefix] k
1093 Main \footnote{note} here. Main note here. Main here.
1094 ~(cursor)
1098 File: yatexe, Node: Filling, Next: Updation of includeonly, Prev: Changing and Deleting, Up: Top
1100 Filling
1101 *******
1104 Filling an item
1105 ===============
1107 To fill a term (descriptive sentences) of `\item', type
1109 `M-q'
1110 ... fill item
1112 on that item.
1114 YaTeX uses the value of the variable `YaTeX-item-regexp' as the regular
1115 expression to search item header in itemize environment. If you make a
1116 newcommand to itemize terms(e.g. `\underlineitem'), put
1118 (setq YaTeX-item-regexp
1119 "\\(\\\\\\(sub\\)*item\\)\\|\\(\\\\underlineitem\\)")
1121 in your `~/.emacs'. If you are not familiar with regular expression for
1122 Emacs-Lisp, name a newcommand for `itemize' beginning with `\item' such as
1123 `\itembf', not `\bfitem'.
1125 This function reformats the `\item' into `hang-indented' style. For
1126 example:
1128 itemize, enumerate environment:
1130 >\item[foo] `foo' is the typical word for describing an
1131 > arbitrarily written....
1132 description environment:
1133 > \item[bar] When the word `for' is used as an arbitrarily
1134 > word, `bar' is bound to follow it.
1136 Note that the indent depth of an `\item' word and its descriptive
1137 paragraph are the same in latter case. If you want to use different
1138 depth, invoke fill-paragraph at the beginning of non-whitespace
1139 character(see below).
1142 Filling paragraph
1143 =================
1145 Fill-paragraph is little bit adapted for LaTeX sources. It retains from
1146 filling in certain environments where formatting leads to a disaster such
1147 as verbatim, tabular, or so. And it protects `\verb' expressions from
1148 being folded (The variable `YaTeX-verb-regexp' controls this). Besides,
1149 putting cursor on the first occurrence of non-whitespace character on a
1150 line changes the fill-prefix temporarily to the depth of the line.
1154 File: yatexe, Node: Updation of includeonly, Next: What column, Prev: Filling, Up: Top
1156 Updation of `\includeonly'
1157 **************************
1159 When you edit splitting source texts, the notation
1161 \includeonly{CurrentEditingFileName}
1163 in the main file reduces the time of typesetting. If you want to hack
1164 other file a little however, you have to rewrite it to
1166 \includeonly{OtherFileNameYouWantToFix}
1168 in the main file. YaTeX automatically detects that the current edited
1169 text is not in includeonly list and prompts you
1171 A)dd R)eplace %)comment?
1173 in the minibuffer. Type `a' if you want to add the current file name to
1174 `\includeonly' list, `r' to replace \`includeonly' list with the current
1175 file, and type `%' to comment out the `\includeonly' line.
1179 File: yatexe, Node: What column, Next: Intelligent newline, Prev: Updation of includeonly, Up: Top
1181 What column?
1182 ************
1184 We are often get tired of finding the corresponding column in large
1185 tabulars. For example,
1187 \begin{tabular}{|c|c|c|c|c|c|c|c|}\hline
1188 Name&Position&Post No.&Addr.&Phone No.&FAX No.&
1189 Home Addr.&Home Phone\\ \hline
1190 Thunder Bird & 6 & 223 & LA & xxx-yyy &
1191 zzz-www & Japan & 9876-54321 \\
1192 & 2 & \multicolumn{2}{c|}{Unknown}
1193 &&&(???)
1194 \\ \hline
1195 \end{tabular}
1197 Suppose you have the cursor located at `(???)' mark, can you tell which
1198 column it is belonging at once? Maybe no. In such case, type
1200 `[prefix] &'
1201 ... What column
1203 in that position. YaTeX tells you the column header of the current field.
1204 Since YaTeX assumes the first line of tabular environment as a row of
1205 column headers, you can create a row of virtual column headers by putting
1206 them in the first line and commenting that line with `%'.
1210 File: yatexe, Node: Intelligent newline, Next: Usepackage checker, Prev: What column, Up: Top
1212 Intelligent newline
1213 *******************
1215 At the end of begin-type completion of tabular[*], array, itemize,
1216 enumerate or tabbing environment, or typing
1218 `ESC RET'
1219 ... Intelligent newline
1221 in these environments inserts the contents corresponding to the current
1222 environment in the next line. (At the begin-type completion, this
1223 contents can be removed by `undo'.) In `tabular' environment, for
1224 example, `ESC RET' inserts the certain number of `&' and trailing `\\',
1225 and `\hline' if other `\hline' is found in backward. Here are the list of
1226 contents vs. environments.
1228 * `tabular', `tabular*', `array'
1230 Corresponding number of `&' and `\\'. And `\hline' if
1231 needed.
1233 * `tabbing'
1235 The same number of `\>' as `\=' in the first line.
1237 * `itemize', `enumerate', `description', `list'
1239 `\item' or `item[]'.
1241 Note that since this function works seeing the contents of the first
1242 line, please call this after the second line if possible.
1244 If you want to apply these trick to other environments, `foo'
1245 environment for example, define the function named
1246 `YaTeX-intelligent-newline-foo' to insert corresponding contents. That
1247 function will be called at the beginning of the next line after the
1248 newline is inserted to the current line. Since the function
1249 `YaTeX-indent-line' is designed to indent the current line properly,
1250 calling this function before your code to insert certain contents must be
1251 useful. See the definition of the function
1252 `YaTeX-intelligent-newline-itemize' as an example.
1256 File: yatexe, Node: Usepackage checker, Next: Online help, Prev: Intelligent newline, Up: Top
1258 Usepackage checker
1259 ******************
1261 When you input begint-type, section-type, maketitle-type macros with
1262 completion, and it requires some LaTeX2e package, YaTeX examines the
1263 existence of correct `\usepackage'. If not, YaTeX inserts the
1264 `\usepackage{}' declaration corresponding to input macro.
1266 To activate the package completion for your favarite package, set the
1267 variable `YaTeX-package-alist-private' correctly. Please refere the value
1268 of `YaTeX-package-alist-default' as an example.
1272 File: yatexe, Node: Online help, Next: Browsing file hierarchy, Prev: Usepackage checker, Up: Top
1274 Online help
1275 ***********
1277 YaTeX provides you the online help with popular LaTeX commands.
1279 Here are the key strokes for the online help.
1281 `[prefix] ?'
1282 ... Online help
1283 `[prefix] /'
1284 ... Online apropos
1287 Online help
1288 ===========
1290 `Online help' shows the documentation for the popular LaTeX
1291 commands(defaults to the commands on the cursor) in the next buffer.
1292 There are two help file, `global help' and `private help'. The former
1293 file contains the descriptions on the standard LaTeX command and is
1294 specified its name by variable `YaTeX-help-file'. Usually, the global
1295 help file should be located in public space (`$EMACSEXECPATH' by default)
1296 and should be world writable so that anyone can update it to enrich its
1297 contents. The latter file contains descriptions on non-standard or
1298 personal command definitions and is specified by
1299 `YaTeX-help-file-private'. This file should be put into private
1300 directory.
1303 Online apropos
1304 ==============
1306 `Online apropos' is an equivalent of GNU Emacs's apropos. It shows all
1307 the documentations that contains the keyword entered by the user.
1310 When no descriptions are found...
1311 =================================
1313 If there is no description on a command in help files, YaTeX requires
1314 you to write a description on that command. If you are willing to do,
1315 determine which help file to add and write the description on it referring
1316 your manual of (La)TeX. Please send me your additional descriptions if
1317 you describe the help on some standard commands. I might want to include
1318 it in the next distribution.
1322 File: yatexe, Node: Browsing file hierarchy, Next: Cooperation with other packages, Prev: Online help, Up: Top
1324 Browsing file hierarchy
1325 ***********************
1327 When you are editing multi-file source, typing
1329 `[prefix] d'
1330 ... browse file hierarchy
1332 asks you the parent-most file (which may be defaulted) and displays the
1333 documentation hierarchy in the next window. In this buffer, the following
1334 commands are available.
1336 `n'
1337 ... move to the next line and show its contents
1338 `p'
1339 ... move to the previous line and show its contents
1340 `N'
1341 ... move to the next file in the same inclusion level
1342 `P'
1343 ... move to the previous file in the same inclusion level
1344 `j'
1345 ... move to the next line
1346 `k'
1347 ... move to the previous line
1348 `u'
1349 ... move to the parent file
1350 `.'
1351 ... show the current files contents in the next window
1352 `SPC'
1353 ... scroll up the current file window
1354 `DEL, b'
1355 ... scroll down the current file window
1356 `<'
1357 ... show the beginning of the current file
1358 `>'
1359 ... show the end of the current file
1360 `>'
1361 ... return to the previous postion after `<' or `>'
1362 `RET, g'
1363 ... open the current file in the next window
1364 `mouse-2'
1365 ... same as RET(available only with window system)
1366 `o'
1367 ... other window
1368 `1'
1369 ... delete other windows
1370 `-'
1371 ... shrink hierarchy buffer window
1372 `+'
1373 ... enlarge hierarchy buffer window
1374 `?'
1375 ... describe mode
1376 `q'
1377 ... quit
1379 Note that operations on the file contents in the next window do not work
1380 correctly when you close the corresponding file.
1384 File: yatexe, Node: Cooperation with other packages, Next: Customizations, Prev: Browsing file hierarchy, Up: Top
1386 Cooperation with other packages
1387 *******************************
1389 YaTeX works better with other brilliant packages.
1392 gmhist
1393 ======
1395 When you are loading `gmhist.el' and `gmhist-mh.el', you can use
1396 independent command history list at the prompt of preview command
1397 (`[prefix] tp') and print command (`[prefix] tl'). On each prompt, you
1398 can enter the previous command line string repeatedly by typing `M-p'.
1401 min-out
1402 =======
1404 `min-out', the outline minor mode, can be used in yatex-mode buffers.
1405 If you want to use it with YaTeX, please refer the file `yatexm-o.el' as
1406 an example.
1410 File: yatexe, Node: Customizations, Next: Etcetera, Prev: Cooperation with other packages, Up: Top
1412 Customizations
1413 **************
1415 You can customize YaTeX by setting Emacs-Lisp variables and by making
1416 add-in functions.
1418 * Menu:
1420 * Lisp variables::
1421 * Add-in functions::
1422 * Add-in generator::
1426 File: yatexe, Node: Lisp variables, Next: Add-in functions, Prev: Customizations, Up: Customizations
1428 Lisp variables
1429 ==============
1431 You can change the key assignments or make completion more comfortable
1432 by setting the values of various variables which control the movement of
1433 yatex-mode.
1435 For example, if you want to change the prefix key stroke from `C-c' to
1436 any other sequence, set YaTeX-prefix to whatever you want to use. If you
1437 don't want to use the key sequence `C-c letter' which is assumed to be the
1438 user reserved sequence in Emacs world, set `YaTeX-inhibit-prefix-letter'
1439 to `t', and all of the default key bind of `C-c letter' will turn to the
1440 corresponding `C-c C-letter' (but the region based completions that is
1441 invoked with `C-c Capital-letter' remain valid, if you want to disable
1442 those bindings, set that variable to 1 instead of `t').
1444 * Menu:
1446 * All customizable variables::
1447 * Sample definitions::
1448 * Hook variables::
1449 * Hook file::
1453 File: yatexe, Node: All customizable variables, Next: Sample definitions, Prev: Lisp variables, Up: Lisp variables
1455 All customizable variables
1456 --------------------------
1458 Here are the customizable variables of yatex-mode. Each value setq-ed
1459 in `~/.emacs' is preferred and that of defined in `yatex.el' is neglected.
1460 Parenthesized contents stands for the default value. When you are to
1461 change some of these variables, see more detailed documentation of the
1462 variable by `M-x describe-variable'.
1464 -- Variable: YaTeX-japan
1465 Set this nil to produce all messages in English (`Depends on Japanese
1466 feature of Emacs')
1468 -- Variable: YaTeX-kanji-code
1469 Default buffer-file-coding-system for YaTeX modes' buffer. Set this
1470 0 to no language conversion. Nil to preserve original
1471 coding-system. 1=Shift JIS, 2=JIS, 3=EUC, 4=UTF-8 (`1 or 2')
1473 -- Variable: YaTeX-prefix
1474 Prefix key stroke (`C-c')
1476 -- Variable: YaTeX-inhibit-prefix-letter
1477 Change key stroke from `C-c letter' to `C-c C-letter' (`nil')
1479 -- Variable: YaTeX-fill-prefix
1480 Fill-prefix used in yatex-mode (`nil')
1482 -- Variable: YaTeX-user-completion-table
1483 Name of user dictionary where learned completion table will be
1484 stored. (`"~/.yatexrc"')
1486 -- Variable: tex-command
1487 LaTeX typesetter command (`"latex"')
1489 -- Variable: dvi2-command
1490 Preview command (`"xdvi -geo +0+0 -s 4"')
1492 -- Variable: dviprint-command-format
1493 Command format to print dvi file (`"dvi2ps %f %t %s | lpr"')
1495 -- Variable: dviprint-from-format
1496 Start page format of above %f. %b will turn to start page (`"-f %b"')
1498 -- Variable: dviprint-to-format
1499 End page format of above %t. %e will turn to `end' page (`"-t %e"')
1501 -- Variable: makeindex-command
1502 Default makeindex command (`"makeindex"' (`"makeind"' on MS-DOS))
1504 -- Variable: YaTeX-dvipdf-command
1505 Default command name to convert .dvi to PDF (`"dvipdfmx"')
1507 -- Variable: YaTeX-cmd-gimp
1508 Command name of GIMP (code{"gimp"})
1509 -- Variable: YaTeX-cmd-tgif
1510 Command name of tgif (code{"tgif"})
1511 -- Variable: YaTeX-cmd-inkscape
1512 Command name of Inkscape (code{"inkscape"})
1513 -- Variable: YaTeX-cmd-dia
1514 Command name of Dia (code{"dia"})
1515 -- Variable: YaTeX-cmd-ooo
1516 Command name of OpenOffice.org/LibreOffice (code{"soffice"})
1517 -- Variable: YaTeX-cmd-gs
1518 Command name of Ghostscript (code{"gs"})
1519 -- Variable: YaTeX-cmd-dvips
1520 Command name of dvips (code{"dvips"})
1521 -- Variable: YaTeX-cmd-displayline
1522 Command name of displayline
1523 (code{"/Applications/Skim.app/Contents/SharedSupport/displayline"})
1524 -- Variable: YaTeX-cmd-edit-ps
1525 Command name for editing PostScript files(Value of
1526 code{"YaTeX-cmd-gimp"})
1527 -- Variable: YaTeX-cmd-edit-pdf
1528 Command name for editing PDF files(Value of code{"YaTeX-cmd-ooo"})
1529 -- Variable: YaTeX-cmd-edit-ai
1530 Command name for editing `.ai' files(Value of
1531 code{"YaTeX-cmd-inkscape"})
1532 -- Variable: YaTeX-cmd-edit-svg
1533 Command name for editing SVG files(Value of
1534 code{"YaTeX-cmd-inkscape"})
1535 -- Variable: YaTeX-cmd-edit-images
1536 Command name for editing image files(Value of code{"YaTeX-cmd-gimp"})
1538 -- Variable: YaTeX-need-nonstop
1539 Put `\nonstopmode{}' or not (`nil')
1541 -- Variable: latex-warning-regexp
1542 Regular expression of warning message latex command puts out
1543 (`"line.* [0-9]*"')
1545 -- Variable: latex-error-regexp
1546 Regular expression of error message (`"l\\.[1-9][0-9]*"')
1548 -- Variable: latex-dos-emergency-message
1549 Message latex command running on DOS puts at abort (`"Emergency
1550 stop"')
1552 -- Variable: YaTeX-item-regexp
1553 Regular expression of item command (`"\\\\item"')
1555 -- Variable: YaTeX-verb-regexp
1556 Regexp of verb family. Omit \\\\. (`"verb\\*?\\|path"')
1558 -- Variable: YaTeX-nervous
1559 T for using local dictionary (`t')
1561 -- Variable: YaTeX-sectioning-regexp
1562 Regexp of LaTeX sectioning command
1563 (`"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"')
1565 -- Variable: YaTeX-fill-inhibit-environments
1566 Inhibit fill in these environments (`'("tabular" "tabular*" "array"
1567 "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath"
1568 "verbatim" "verbatim*")')
1570 -- Variable: YaTeX-uncomment-once
1571 T for deleting all preceding `%' (`nil')
1573 -- Variable: YaTeX-close-paren-always
1574 T for always close all parenthesis automatically, `nil' for only eol
1575 (`t')
1577 -- Variable: YaTeX-auto-math-mode
1578 Switch math-mode automatically (`t')
1580 -- Variable: YaTeX-math-key-list-private
1581 User defined alist, math-mode-prefix vs completion alist used in
1582 image completion (`nil'). See `yatexmth.el' for the information
1583 about how to define a completion alist.
1585 -- Variable: YaTeX-default-pop-window-height
1586 Initial height of typesetting buffer when one-window. Number for the
1587 lines of the buffer, numerical string for the percentage of the
1588 screen-height. `nil' for half height (10)
1590 -- Variable: YaTeX-help-file
1591 Global online help file name
1592 (`$doc-directory/../../site-lisp/YATEXHLP.eng')
1594 -- Variable: YaTeX-help-file-private
1595 Private online help file name (`"~/YATEXHLP.eng"')
1597 -- Variable: YaTeX-no-begend-shortcut
1598 Disable [prefix] b ?? shortcut (`nil)'
1600 -- Variable: YaTeX-hilit-pattern-adjustment-private
1601 List of the list that contain the regular expression and the symbol
1602 of logical meaning of the string that matches the pattern. See also
1603 the value from `(assq 'yatex-mode hilit-patterns-alist)' and the
1604 value of `YaTeX-hilit-pattern-adjustment-default' (and even the
1605 document of hilit19.el).
1607 -- Variable: YaTeX-sectioning-level
1608 Alist of LaTeX's sectioning command vs its height.
1610 -- Variable: YaTeX-hierarchy-ignore-heading-regexp
1611 `YaTeX-display-hierarchy' searches for sectioning command first, and
1612 comment line secondary as a file headings. In latter case, ignore lines
1613 that match with regular expression of this variable. Default value of
1614 this variable is RCS header expressions and mode specifying line `-*- xxxx
1615 -*'.
1617 -- Variable: YaTeX-skip-default-reader
1618 Non-nil for this variable skips the default argument reader of
1619 section-type command when add-in function for it is not defined
1620 (`nil')
1622 -- Variable: YaTeX-create-file-prefix-g
1623 When typing `prefix g' on the `\include' line, open the target file
1624 even if the file doesn't exist (`nil')
1626 -- Variable: YaTeX-simple-messages
1627 Simplyfy messages of various completions (`nil')
1629 -- Variable: YaTeX-hilit-sectioning-face
1630 When hilit19 and yatex19 is active, YaTeX colors the sectioning
1631 commands. This variable specifies the foreground and background
1632 color of `\part' macro. The default value is `'(yellow/dodgerblue
1633 yellow/slateblue)'. The first element of this list is for the screen
1634 when `hilit-background-mode' is `'light', and the second element is
1635 for `'dark'. You should specify both color as `forecolor/backcolor'.
1637 -- Variable: YaTeX-hilit-sectioning-attenuation-rate
1638 When color mode, this variable specifies how much attenuate the color
1639 density of `\subparagraph' compared with that of `\chapter' (`'(15
1640 40)') See also `YaTeX-hilit-sectioning-face'.
1642 -- Variable: YaTeX-use-AMS-LaTeX
1643 If you use AMS-LaTeX, set to `t' (`nil')
1645 -- Variable: YaTeX-use-LaTeX2e
1646 If you use LaTeX2e, set to `t' (`t')
1648 -- Variable: YaTeX-template-file
1649 File name which is automatically inserted at creation
1650 (`~/work/template.tex')
1652 -- Variable: YaTeX-search-file-from-top-directory
1653 Non-nil means to search input-files from the directory where main
1654 file exists (`t')
1656 -- Variable: YaTeX-use-font-lock
1657 Use font-lock to fontify buffer or not (`(featurep 'font-lock)'
1659 -- Variable: YaTeX-use-hilit19
1660 Use hilit19 to highlight buffer or not (`(featurep 'hilit19)'
1662 -- Variable: YaTeX-use-italic-bold
1663 YaTeX tries to search italic, bold fontsets or not (`t' if Emacs-20
1664 or later). This variable is effective only when font-lock is used.
1665 (`(featurep 'hilit19)'
1667 -- Variable: YaTeX-singlecmd-suffix
1668 Suffix which is always inserted after maketitle-type macros. `"{}"'
1669 is recommended.
1671 -- Variable: YaTeX-package-alist-private
1672 Alist of LaTeX2e-package name vs. lists of macros in it. Set this
1673 alist properly and YaTeX automatically check the declaratiion of
1674 `usepackage' for corresponding macro, when you input that macro with
1675 completion. If required `usepackage' is not found, YaTeX also
1676 automatically inserts `\usepackage'. Alist is as follows;
1677 '((PackageName1 (completionType ListOfMacro) (completionType
1678 ListOfMacro)) (PackageName2 (completionType ListOfMacro)
1679 (completionType ListOfMacro...))....) completionType is one of `env,
1680 section, maketitle'. Consult the value of
1681 `YaTeX-package-alist-default' as an example.
1683 -- Variable: YaTeX-tabular-indentation
1684 At indentation by `C-i' in tabular or array environment, YaTeX put
1685 the additional spaces to the normail indentation depth. The number
1686 of additional spaces is the product of YaTeX-tabular-indentation and
1687 the number of column position in tabular.
1689 -- Variable: YaTeX-noindent-env-regexp
1690 Regexp of environment names that should begin with no indentation.
1691 All verbatime-like environment name should match with.
1693 -- Variable: YaTeX-ref-default-label-string
1694 Default \\ref time string format. This format is like strftime(3)
1695 but allowed conversion char are as follows; %y -> Last 2 digit of
1696 year, %b -> Month name, %m -> Monthe number(1-12), %d -> Day, %H ->
1697 Hour, %M -> Minute, %S -> Second, %qx -> alphabetical-decimal
1698 conversion of yymmdd. %qX -> alphabetical-decimal conversion of
1699 HHMMSS. Beware defualt label-string should be always unique. So
1700 this format string should have both time part (%H+%M+%S or %qX) and
1701 date part (%y+(%b|%m)+%d or %qx).
1703 -- Variable: YaTeX-ref-generate-label-function
1704 Function to generate default label string for unnamed \\label{}s.
1705 The function pointed to this value should take two arguments. First
1706 argument is LaTeX macro's name, second is macro's argument. Here is
1707 an example for using this value.
1708 (setq YaTeX-ref-generate-label-function 'my-yatex-generate-label)
1709 (defun my-yatex-generate-label (command value)
1710 (and (string= command "caption")
1711 (re-search-backward "\\\\begin{\\(figure\\|table\\)}" nil t)
1712 (setq command (match-string 1)))
1713 (let ((alist '(("chapter" . "chap")
1714 ("section" . "sec")
1715 ("subsection" . "subsec")
1716 ("figure" . "fig")
1717 ("table" . "tbl"))))
1718 (if (setq command (cdr (assoc command alist)))
1719 (concat command ":" value)
1720 (YaTeX::ref-generate-label nil nil))))
1725 File: yatexe, Node: Sample definitions, Next: Hook variables, Prev: All customizable variables, Up: Lisp variables
1727 Sample definitions
1728 ------------------
1730 For instance, to change the prefix key stroke to `ESC', and name of the
1731 user dictionary `~/src/emacs/yatexrc', and set `fill-prefix' to single TAB
1732 character, add the following `setq' to `~/.emacs'.
1734 (setq YaTeX-prefix "\e"
1735 YaTeX-user-completion-table "~/src/emacs/yatexrc"
1736 YaTeX-fill-prefix " ")
1740 File: yatexe, Node: Hook variables, Next: Hook file, Prev: Sample definitions, Up: Lisp variables
1742 Hook variables
1743 --------------
1745 More customizations will be done by the hook-function defined in
1746 hook-variable `yatex-mode-hook'. This is useful to define a shortcut key
1747 sequence to enter some environments other than `document' and `enumerate'
1748 etc. The following statement defines `[prefix] ba' to enter
1749 `\begin{abstract}' ... `=end{abstract}' immediately.
1751 (setq yatex-mode-hook
1752 '(lambda() (YaTeX-define-begend-key "ba" "abstract")))
1754 You should use functions `YaTeX-define-key', or
1755 `YaTeX-define-begend-key' to define all the key sequences of yatex-mode.
1759 File: yatexe, Node: Hook file, Prev: Hook variables, Up: Lisp variables
1761 Hook file
1762 ---------
1764 You can stuff all of YaTeX related expressions into a file named
1765 `yatexhks.el' if you have a lot of codes. YaTeX automatically load this
1766 file at the initialization of itself. Using `yatexhks.el' makes
1767 `yatex-mode-load-hook' unnecessary.
1771 File: yatexe, Node: Add-in functions, Next: Add-in generator, Prev: Lisp variables, Up: Customizations
1773 Add-in functions
1774 ================
1776 You can easily define a function to input detailed arguments with
1777 completion according to LaTeX environments or commands.
1780 What is add-in functions?
1781 -------------------------
1783 When you input `tabular' environment, don't you think "I want YaTeX to
1784 complete its argument toward my favorite one such as `{|c|c|c|}'..."?
1785 Yes, you can define the function to complete arguments for any environment
1786 and any LaTeX commands.
1789 Procedure
1790 ---------
1792 Here is the procedure to define add-in functions.
1793 1. Define the function
1794 2. Put the function into `yatexhks.el'
1796 * Menu:
1798 * How the add-in function works::
1799 * How the function is called::
1800 * Useful functions for creating add-in::
1801 * Contribution::
1805 File: yatexe, Node: How the add-in function works, Next: How the function is called, Prev: Add-in functions, Up: Add-in functions
1807 How the add-in function works
1808 -----------------------------
1810 There are three types of add-in.
1812 1. Option add-in
1813 2. argument add-in
1814 3. enclosing add-in
1816 "Option add-in" returns the LaTeX's optional parameters such as optional
1817 strings after `\begin{ENV}', optional strings between a section-type
1818 command and its first argument, and optional strings just after type
1819 maketitle-type command. The following illustrates the name of add-in
1820 functions, where underlined strings are generated by add-in functions.
1822 \begin{table}[ht] (Function name: YaTeX:table)
1823 ~~~~
1824 \put(100,200){} (Function name: YaTeX:put)
1825 ~~~~~~~~~
1826 \sum_{i=0}^{n} (Function name: YaTeX:sum)
1827 ~~~~~~~~~~
1829 Obviously, the function name is decided by concatenating the prefix
1830 `YaTeX:' and LaTeX command's name.
1832 Another add-in type is "argument add-in", which completes arguments for
1833 section-type commands.
1835 \newcommand{\foo}{bar} (Function name: YaTeX::newcommand)
1836 ~~~~ ~~~
1838 When the section-type command is inputted, the function named by
1839 concatenating `YaTeX::' and section-type command, is called automatically
1840 with an integer argument which indicates which argument of section-type
1841 command is being read. Thus the add-in should determine the job referring
1842 the value of its argument.
1844 "enclosing add-in" is for modifying and/or checking the region that will
1845 be enclosed by section-type commands via `[prefix] S'. An enclosing
1846 add-in function will be called with two arguments, beginning of the
1847 enclosed region and end of the region. Suppose you want to enclose the
1848 existing text `(a+b)/c' by `\frac{}'.
1850 a/c
1851 | |
1852 A B
1854 You do set-mark-command at point A and then move to point B. Typing
1855 `[prefix] S' and input `frac' enclose the region like this;
1857 \frac{a/c}
1859 Normally, the expression `a/c' is translated to `\frac{a}{c}'. An
1860 enclosing add-in is useful for modifying `/' to `}{'.
1862 * Menu:
1864 * Defining option-add-in::
1865 * Defining argument-add-in::
1866 * Defining enclosing-add-in::
1870 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
1872 Defining `option add-in'
1873 ........................
1875 If you want `{|c|c|c|}' for all `tabular' environment,
1877 (defun YaTeX:tabular ()
1878 "{|c|c|c|}")
1880 is enough. If you want more complicated format, define as below.
1882 (defun YaTeX:tabular ()
1883 "{@{\\vrule width 1pt\\ }|||@{\\ \\vrule width 1pt}}")
1885 Note that the character `\' must be described as `\\' in Emacs-Lisp. The
1886 next example reads the tabular format from keyboard.
1887 (defun YaTeX:tabular ()
1888 (concat "{" (read-string "Rule: ") "}"))
1892 File: yatexe, Node: Defining argument-add-in, Next: Defining enclosing-add-in, Prev: Defining option-add-in, Up: How the add-in function works
1894 Defining `argument add-in'
1895 ..........................
1897 This section describes how to define the add-in function for
1898 `\newcommand'.
1900 The first argument of `\newcommand' begins always with `\'. The second
1901 argument is usually so complex that we can not edit them in the
1902 minibuffer. Here is the created function considering this.
1904 (defun YaTeX::newcommand (n) ;n is argument position
1905 (cond
1906 ((= n 1) ;1st argument is macro name
1907 (read-string "Command: " "\\")) ;initial input `\'
1908 ((= n 2) "") ;do nothing when reading arg#2
1909 (t nil)))
1911 Note that when the `argument add-in' function return `nil', normal
1912 argument reader will be called.
1916 File: yatexe, Node: Defining enclosing-add-in, Prev: Defining argument-add-in, Up: How the add-in function works
1918 Defining `enclosing add-in'
1919 ...........................
1921 This section describes how to define the add-in function for text
1922 enclosed by `\frac{}'.
1924 When enclosing the text `5/3' by `\frac{}', you might want to replace
1925 `/' with `}{'. Enclosing function `YaTeX::frac-region' is called with two
1926 arguments, beginning of enclosed text and end of enclosed text. The
1927 function is expected to replace `/' with `}{'. Here is an example
1928 expression.
1930 (defun YaTeX::frac-region (beg end)
1931 (catch 'done
1932 (while (search-forward "/" end t)
1933 (goto-char (match-beginning 0))
1934 (if (y-or-n-p "Replace this slash(/) with `}{'")
1935 (throw 'done (replace-match "}{")))
1936 (goto-char (match-end 0)))))
1940 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
1942 How the function is called
1943 --------------------------
1945 YaTeX calls the add-in functions for specified begin-type, section-type,
1946 and maketitle-type command, if any. `Option add-in' functions for
1947 begin-type are called when `\begin{ENV}' has been inserted, functions for
1948 section-type are called just before input of the first argument, and
1949 functions for maketitle-type is called after maketitle-type command has
1950 been inserted. `Argument add-in' functions are called at each entry of
1951 arguments for section-type commands.
1955 File: yatexe, Node: Useful functions for creating add-in, Next: Contribution, Prev: How the function is called, Up: Add-in functions
1957 Useful functions for creating add-in
1958 ------------------------------------
1960 Many add-in functions for typical LaTeX commands are defined in
1961 `yatexadd.el'. Those are also useful as references. Here are the short
1962 descriptions on useful functions, where [F] means function, [A] means
1963 arguments, [D] means description.
1965 `[F]'
1966 YaTeX:read-position
1967 `[A]'
1968 Character list which can show up in the brackets
1969 `[D]'
1970 Return the location specifier such as `[htb]'. When nothing is
1971 entered, omit [] itself. If the possible characters are "htbp", call
1972 this function as `(YaTeX:read-position "htbp")'
1974 `[F]'
1975 YaTeX:read-coordinates
1976 `[A]'
1977 Base prompt, X-axis prompt, Y-axis prompt (each optional)
1978 `[D]'
1979 Read the coordinates with the prompt "BasePrompt X-axisPrompt:" for
1980 X-axis, "BasePrompt Y-axisPrompt:" for Y-axis, and return it in the
1981 form of "(X,Y)". The default prompts are `Dimension', `X', `Y'
1982 respectively.
1984 `[F]'
1985 YaTeX:check-completion-type
1986 `[A]'
1987 One of the symbols: 'begin, 'section, or 'maketitle
1988 `[D]'
1989 Check the current completion type is specified one and cause error
1990 if not. The variable `YaTeX-current-completion-type' holds the symbol
1991 according to the current completion type.
1995 File: yatexe, Node: Contribution, Prev: Useful functions for creating add-in, Up: Add-in functions
1997 Contribution
1998 ------------
2000 If you make your own pretty function and you let it be in public, please
2001 send me the function. I'm going to include it in the next release.
2005 File: yatexe, Node: Add-in generator, Prev: Add-in functions, Up: Customizations
2007 Add-in generator
2008 ================
2010 First, don't forget to read the section of add-in functions *Note Add-in
2011 functions::. If you easily understand how to define them, there's no need
2012 to read this section. But being not familiar with Emacs-Lisp, when you
2013 don't have clear idea what to do, this section describes how to get YaTeX
2014 make add-in function.
2016 There are two methods of generation. One is for fully interactive
2017 generator for beginners and another requires little knowledge of
2018 Emacs-Lisp.
2021 Generator for beginners
2022 -----------------------
2023 The former generator is called by
2024 `M-x YaTeX-generate'
2026 strokes. All you have to do is follow the guidances. Defying them may
2027 cases the disaster (I wonder what is it???). So when you make some
2028 mistake, it is recommendable to type `C-g' and start afresh.
2031 Simple generator
2032 ----------------
2034 The latter generator is invoked by the next sequence. `M-x
2035 YaTeX-generate-simple' This generator can make both "option add-in" and
2036 "argument add-in" (*refer the section add-in functions* *Note How the
2037 add-in function works::), whereas `YaTeX-generate' cannot make "argument
2038 addin".
2040 For example, assume you have the LaTeX command as follows.
2042 \epsinput[t](250,50){hoge.eps}{plain}{Picture of foo}
2043 (A) (B) (1) (2) (3)
2044 (A)Optional parameter to specify the position
2045 One of t(top), b(bottom), l(left), r(right)
2046 (B)Maximum size of frame
2047 (1)1st argument is filename of EPS file
2048 (2)2nd argument indicates
2049 plain do nothing
2050 frame make frame around image
2051 dframe make double-frame around image
2052 for included EPS file.
2053 (3)Caption for the picture
2055 Now get start with generation. Typing `M-x YaTeX-generate-simple'
2056 brings the prompt:
2057 (O)ption? (A)rgument?
2060 Generating "option add-in"
2061 ..........................
2063 Since (A), (B) above are optional argument, all we have to do to
2064 complete them is define the option add-in for them. Let's generate the
2065 function to complete (A).
2067 M-x YaTeX-generate-simple RET
2068 epsinput RET
2071 Typing as above leads the next prompt.
2073 Read type(1): (S)tring (C)omplete (F)ile ([)option (P)osition co(O)rd. (q)uit
2075 This asks that "Which type is the completion style of 1st argument?".
2076 Here are the possible completion style.
2078 `String'
2079 read plain string
2080 `Complete'
2081 read with completion
2082 `File'
2083 read file name
2084 `Option'
2085 read optional string (if string omitted, omit [] too)
2086 `Position'
2087 read positional option (like [htbp])
2088 `Coord.'
2089 read coordinates
2090 `Quit'
2091 quit from generating
2093 Since (A) is the optional argument to specify the location of included
2094 EPS file, the completion style is `Position', and the possible characters
2095 are t, b, l, and r. To tell these information to generator, operate as
2096 follows.
2098 Read type(1).... p
2099 Acceptable characters: tblr RET
2101 (B) is coordinate. So its completion style is coOrd. We want a prompt
2102 meaning "Maximum size" when completion.
2104 Read type(2).... o
2105 Prompt for coordinates: Max size RET
2107 That's all for optional argument. Select quit.
2109 Read type(3).... q
2111 Then the generated option add-in function for \epsinput will be shown in
2112 the next window.
2115 Generating "argument add-in"
2116 ............................
2118 Next, create the argument add-in. The arguments for \epsinput are EPS
2119 file name, framing style, and caption string in sequence.
2121 M-x YaTeX-generate-simple RET
2122 epsinput RET
2125 Above key strokes bring the prompt that asks the number of argument.
2126 Answer it with 3.
2128 How many arguments?: 3 RET
2130 Then the generator asks the completion style and prompt for completion.
2131 Answer them. `f' for FileName and prompt string.
2133 Read type(1).... f
2134 Prompt for argument#1 EPS file name RET
2136 The second argument is one of selected symbol. So the completion type
2137 is `Completion'.
2139 Read type(2).... c
2140 Prompt for argument#2 Include style RET
2142 Then all the candidates ready to be read. Type single RET after
2143 entering all.
2145 Item[1](RET to exit): plain RET
2146 Item[2](RET to exit): frame RET
2147 Item[3](RET to exit): dframe RET
2148 Item[4](RET to exit): RET
2150 The following prompt asks whether the entered string must belong to
2151 candidates or not. In this case, since the argument must be one of
2152 `plain', `frame', and `dframe', type `y'.
2154 Require match? (y or n) y
2156 The last argument is the caption string for which any completion is
2157 needed.
2159 Read type(3).... s
2160 Prompt for argument#3 Caption RET
2161 default: Figure of RET
2163 Finally we'll get the argument add-in in the next window.
2166 Contribution
2167 ------------
2169 If you get your own pretty function and you let it be in public, please
2170 steel yourself in the happy atmosphere and do not send me the function. I
2171 do know it is not fine because it is generated by yatexgen:-p.
2175 File: yatexe, Node: Etcetera, Next: Copying, Prev: Customizations, Up: Top
2177 Etcetera
2178 ********
2180 The standard completion tables provided in `yatex.el' contain a few
2181 LaTeX commands I frequently use. This is to lessen the key strokes to
2182 complete entire word, because too many candidates rarely used often cause
2183 too many hits. Therefore always try to use completion in order to enrich
2184 your dictionary, and you will also find `Wild Bird' growing suitable for
2185 your LaTeX style.
2187 The package name `Wild Bird' is the English translation of Japanese
2188 title `Yachou', which is a trick on words of Japanese.
2192 File: yatexe, Node: Copying, Prev: Etcetera, Up: Top
2194 Copying
2195 *******
2197 This program is distributed as a free software. You can
2198 use/copy/modify/redistribute this software freely but with NO warranty to
2199 anything as a result of using this software. Adopting code from this
2200 program is also free. But I would not do contract act.
2202 Any reports and suggestions are welcome as long as I feel interests in
2203 this software. My possible e-mail address is `yuuji@yatex.org'. (as of
2204 Jan.2004) And there is mailing list for YaTeX. Although the common
2205 language is Japanese, questions in English will be welcome. To join the
2206 ML, send the mail whose subject is `append' to the address
2207 `yatex@yatex.org. If you have some question, please ask to
2208 `yatex-admin@yatex.org'.
2210 The specification of this software will be surely modified (depending on
2211 my feelings) without notice :-p.
2214 HIROSE Yuuji
2217 Tag table:
2218 Node: Top253
2219 Node: What is YaTeX?1594
2220 Node: Main features1967
2221 Node: Installation3496
2222 Node: Typesetting4273
2223 Node: Calling typesetter5403
2224 Node: Calling previewer7607
2225 Node: Printing out7968
2226 Node: %#notation8260
2227 Node: Changing typesetter8678
2228 Node: Splitting input files9042
2229 Node: Static region for typesetting10467
2230 Node: Lpr format11596
2231 Node: Controlling which command to invoke12669
2232 Node: Editing %# notation13339
2233 Node: Completion13883
2234 Node: Begin-type completion14443
2235 Node: Section-type completion17486
2236 Node: view-sectioning19921
2237 Node: Large-type completion21501
2238 Node: Maketitle-type completion22232
2239 Node: Arbitrary completion22784
2240 Node: End completion23174
2241 Node: Accent completion23644
2242 Node: Image completion24261
2243 Node: Greek letters completion26518
2244 Node: Local dictionaries27245
2245 Node: Commenting out28182
2246 Node: Cursor jump29641
2247 Node: Jump to corresponding object29953
2248 Node: Invoking image processor31354
2249 Node: Jump to main file32697
2250 Node: Jumping around the environment33062
2251 Node: Jumping to last completion position33480
2252 Node: Changing and Deleting33989
2253 Node: Changing LaTeX commands34381
2254 Node: Killing LaTeX commands35558
2255 Node: Filling36743
2256 Node: Updation of includeonly38594
2257 Node: What column39391
2258 Node: Intelligent newline40476
2259 Node: Usepackage checker42130
2260 Node: Online help42721
2261 Node: Browsing file hierarchy44396
2262 Node: Cooperation with other packages46133
2263 Node: Customizations46838
2264 Node: Lisp variables47172
2265 Node: All customizable variables48176
2266 Node: Sample definitions59211
2267 Node: Hook variables59724
2268 Node: Hook file60428
2269 Node: Add-in functions60767
2270 Node: How the add-in function works61627
2271 Node: Defining option-add-in63826
2272 Node: Defining argument-add-in64548
2273 Node: Defining enclosing-add-in65430
2274 Node: How the function is called66284
2275 Node: Useful functions for creating add-in66960
2276 Node: Contribution68365
2277 Node: Add-in generator68639
2278 Node: Etcetera74011
2279 Node: Copying74616
2281 End tag table