annotate docs/yatexe.tex @ 472:355b28fc0025 dev

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

yatex.org