comparison docs/yatexe @ 471:d63ba3e187ca dev

Add description on \label-generation
author HIROSE Yuuji <yuuji@gentei.org>
date Tue, 22 Aug 2017 18:13:21 +0859
parents 510106cf15fb
children 355b28fc0025
comparison
equal deleted inserted replaced
470:6a1ce7ed519b 471:d63ba3e187ca
63 * Invocation of typesetter, previewer and related programs(`C-c t') 63 * Invocation of typesetter, previewer and related programs(`C-c t')
64 * Typesetting on static region which is independent from point 64 * Typesetting on static region which is independent from point
65 * Semiautomatic replacing of `\includeonly' 65 * Semiautomatic replacing of `\includeonly'
66 * Jumping to error line(`C-c '') 66 * Jumping to error line(`C-c '')
67 * Completing-read of LaTeX commands such as `\begin{}', `\section' etc. 67 * Completing-read of LaTeX commands such as `\begin{}', `\section' etc.
68 (`C-c b', `C-c s', `C-c l', `C-c m') 68 (`C-c b', `C-c s', `C-c l', `C-c m')
69 * Enclosing text into LaTeX environments or commands (ABOVEKEYSTROKES 69 * Enclosing text into LaTeX environments or commands (ABOVEKEYSTROKES
70 after region setting) 70 after region setting)
71 * Displaying the structure of text at entering sectioning commands 71 * Displaying the structure of text at entering sectioning commands
72 * Lump shifting of sectioning commands (*Note view-sectioning::) 72 * Lump shifting of sectioning commands (*Note view-sectioning::)
73 * Learning unknown/new LaTeX commands for the next completion 73 * Learning unknown/new LaTeX commands for the next completion
74 * Argument reading with a guide for complicated LaTeX commands 74 * Argument reading with a guide for complicated LaTeX commands
75 * Generating argument-readers for new/unsupported commands(`yatexgen') 75 * Generating argument-readers for new/unsupported commands(`yatexgen')
76 * Quick changing or deleting of LaTeX commands(`C-c c', `C-c k') 76 * Quick changing or deleting of LaTeX commands(`C-c c', `C-c k')
77 * Jumping from and to inter-file, begin<->end, ref<->label(`C-c g') 77 * Jumping from and to inter-file, begin<->end, ref<->label(`C-c g')
78 * Blanket commenting out or uncommenting (`C-c >', `C-c <', `C-c ,', 78 * Blanket commenting out or uncommenting (`C-c >', `C-c <', `C-c ,',
79 `C-c .') 79 `C-c .')
80 * Easy input of accent mark, math-mode's commands and Greek letters 80 * Easy input of accent mark, math-mode's commands and Greek letters
81 (`C-c a', `;', `:') 81 (`C-c a', `;', `:')
82 * Online help for the popular LaTeX commands (`C-c ?', `C-c /') 82 * Online help for the popular LaTeX commands (`C-c ?', `C-c /')
83 * Document files hierarchy browser (`C-c d') 83 * Document files hierarchy browser (`C-c d')
84 * Adding automatically \usepackage corresponding to inputting LaTeX 84 * Adding automatically \usepackage corresponding to inputting LaTeX
85 macro with completion 85 macro with completion
86 * Allow you to forget creating \label{}s, \ref{} or \cite{} completion 86 * Allow you to forget creating \label{}s, \ref{} or \cite{} completion
87 automatically generate labels. 87 automatically generate labels.
88 * \includegraphics by Drag&Drop of image file
88 89
89 90
90  91 
91 File: yatexe, Node: Installation, Next: Typesetting, Prev: Main features, Up: Top 92 File: yatexe, Node: Installation, Next: Typesetting, Prev: Main features, Up: Top
92 93
128 ... invoke typesetter 129 ... invoke typesetter
129 `[prefix] t r' 130 `[prefix] t r'
130 ... invoke typesetter on region 131 ... invoke typesetter on region
131 `[prefix] t e' 132 `[prefix] t e'
132 ... `on-the-fly preview' on current environment or whole 133 ... `on-the-fly preview' on current environment or whole
133 portion of current formulas in math-mode 134 portion of current formulas in math-mode
134 `[prefix] t d' 135 `[prefix] t d'
135 ... invoke dvipdfmx after successful typesetting 136 ... invoke dvipdfmx after successful typesetting
136 `[prefix] t k' 137 `[prefix] t k'
137 ... kill current typesetting process 138 ... kill current typesetting process
138 `[prefix] t b' 139 `[prefix] t b'
291 292
292 To make best use of the feature of inter-file jumping by `[prefix] g' 293 To make best use of the feature of inter-file jumping by `[prefix] g'
293 (see *Note Cursor jump::), take described below into consideration. 294 (see *Note Cursor jump::), take described below into consideration.
294 295
295 * You can put split texts in sub directory, but not in sub directory of 296 * You can put split texts in sub directory, but not in sub directory of
296 sub directory. 297 sub directory.
297 * In the main text, specify the child file name with relative path name 298 * In the main text, specify the child file name with relative path name
298 such as \include{chap1/sub}, when you include the file in a 299 such as \include{chap1/sub}, when you include the file in a
299 sub-directory. 300 sub-directory.
300 * In a sub-text, write `%#!latex main.tex' even if `main.tex' is in the 301 * In a sub-text, write `%#!latex main.tex' even if `main.tex' is in the
301 parent directory(not %#!latex ../main.tex). 302 parent directory(not %#!latex ../main.tex).
302 303
303 304
304  305 
305 File: yatexe, Node: Static region for typesetting, Next: Lpr format, Prev: Splitting input files, Up: %#notation 306 File: yatexe, Node: Static region for typesetting, Next: Lpr format, Prev: Splitting input files, Up: %#notation
306 307
334 the middle of very long text. Do not forget to erase `%#BEGIN' `%#END' 335 the middle of very long text. Do not forget to erase `%#BEGIN' `%#END'
335 pair. 336 pair.
336 337
337 338
338  339 
339 File: yatexe, Node: Lpr format, Prev: Static region for typesetting, Up: %#notation 340 File: yatexe, Node: Lpr format, Next: Controlling which command to invoke, Prev: Static region for typesetting, Up: %#notation
340 341
341 Lpr format 342 Lpr format
342 ========== 343 ==========
343 344
344 Lpr format is specified by three Lisp variables. Here are the default 345 Lpr format is specified by three Lisp variables. Here are the default
437 438
438 * Menu: 439 * Menu:
439 440
440 * Begin-type completion:: 441 * Begin-type completion::
441 * Section-type completion:: 442 * Section-type completion::
443 * Label Generation::
442 * Large-type completion:: 444 * Large-type completion::
443 * Maketitle-type completion:: 445 * Maketitle-type completion::
444 * Arbitrary completion:: 446 * Arbitrary completion::
445 * End completion:: 447 * End completion::
446 * Accent completion:: 448 * Accent completion::
531 environment. 533 environment.
532 534
533 535
534 536
535  537 
536 File: yatexe, Node: Section-type completion, Next: Large-type completion, Prev: Begin-type completion, Up: Completion 538 File: yatexe, Node: Section-type completion, Prev: Begin-type completion, Up: Completion
537 539
538 Section-type completion 540 Section-type completion
539 ======================= 541 =======================
540 542
541 "Section-type completion" completes section-type commands which take an 543 "Section-type completion" completes section-type commands which take an
653 ... Shift down sectioning lines in region 655 ... Shift down sectioning lines in region
654 `0...6' 656 `0...6'
655 ... Hide sectioning commands whose level is lower than n 657 ... Hide sectioning commands whose level is lower than n
656 658
657 659
658 660 
659  661 File: yatexe, Node: Label Generation, Next: Large-type completion, Prev: Section-type completion, Up: Completion
660 File: yatexe, Node: Large-type completion, Next: Maketitle-type completion, Prev: Section-type completion, Up: Completion 662
663 Label Generation
664 ================
665
666 When you want to type-in references of `\ref' or `\cite', all you have to
667 do is type `[prefix] s ref' without adding labels beforehand. You will
668 see possible LaTeX-counters in the next window even if some counter does
669 not have `\label'. Selecting the counter will automatically set the label
670 to that counter.
671
672 All possible counter list in the buffer tends to be large. You can reduce
673 the number of list by filtering type of counters by key-commands as
674 follows.
675 `M-a'
676
677 ... Show all(disable filtering)
678 `M-c'
679
680 ... Captions only
681 `M-e'
682
683 ... equations (with counters) only
684 `M-i'
685
686 ... numbers items only
687 `M-s'
688
689 ... sections only
690 `M-m'
691
692 ... other counters only
693
694
695
696 
697 File: yatexe, Node: Large-type completion, Next: Maketitle-type completion, Prev: Label Generation, Up: Completion
661 698
662 Large-type completion 699 Large-type completion
663 ===================== 700 =====================
664 701
665 "Large-type completion" inputs the font or size changing descriptions 702 "Large-type completion" inputs the font or size changing descriptions
718 755
719 End completion 756 End completion
720 ============== 757 ==============
721 758
722 YaTeX automatically detects the opened environment and close it with 759 YaTeX automatically detects the opened environment and close it with
723 `\end{environment}'. Though proficient YaTeX users never fail to make 760 \`\end{environment}'. Though proficient YaTeX users never fail to make
724 environment with begin-type completion, some may begin an environment 761 environment with begin-type completion, some may begin an environment
725 manually. In that case, type 762 manually. In that case, type
726 763
727 `[prefix] e' 764 `[prefix] e'
728 ... `end' completion 765 ... `end' completion
1254 contents vs. environments. 1291 contents vs. environments.
1255 1292
1256 * `tabular', `tabular*', `array' 1293 * `tabular', `tabular*', `array'
1257 1294
1258 Corresponding number of `&' and `\\'. And `\hline' if 1295 Corresponding number of `&' and `\\'. And `\hline' if
1259 needed. 1296 needed.
1260 1297
1261 * `tabbing' 1298 * `tabbing'
1262 1299
1263 The same number of `\>' as `\=' in the first line. 1300 The same number of `\>' as `\=' in the first line.
1264 1301
1604 Regexp of LaTeX sectioning command 1641 Regexp of LaTeX sectioning command
1605 (`"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"') 1642 (`"\\(part\\|chapter\\*?\\|\\(sub\\)*\\(section\\|paragraph\\)\\*?\\)\\b"')
1606 1643
1607 -- Variable: YaTeX-fill-inhibit-environments 1644 -- Variable: YaTeX-fill-inhibit-environments
1608 Inhibit fill in these environments (`'("tabular" "tabular*" "array" 1645 Inhibit fill in these environments (`'("tabular" "tabular*" "array"
1609 picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" 1646 "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath"
1610 verbatim" "verbatim*")') 1647 "verbatim" "verbatim*")')
1611 1648
1612 -- Variable: YaTeX-uncomment-once 1649 -- Variable: YaTeX-uncomment-once
1613 T for deleting all preceding `%' (`nil') 1650 T for deleting all preceding `%' (`nil')
1614 1651
1615 -- Variable: YaTeX-close-paren-always 1652 -- Variable: YaTeX-close-paren-always
2080 2117
2081 Simple generator 2118 Simple generator
2082 ---------------- 2119 ----------------
2083 2120
2084 The latter generator is invoked by the next sequence. `M-x 2121 The latter generator is invoked by the next sequence. `M-x
2085 YaTeX-generate-simple' This generator can make both "option add-in" and 2122 YaTeX-generate-simple' This generator can make both
2086 argument add-in" (*refer the section add-in functions* *Note How the 2123 "option add-in" and "argument add-in" (*refer the
2087 add-in function works::), whereas `YaTeX-generate' cannot make "argument 2124 section add-in functions* *Note How the add-in
2088 addin". 2125 function works::), whereas `YaTeX-generate' cannot
2126 make "argument addin".
2089 2127
2090 For example, assume you have the LaTeX command as follows. 2128 For example, assume you have the LaTeX command as follows.
2091 2129
2092 \epsinput[t](250,50){hoge.eps}{plain}{Picture of foo} 2130 \epsinput[t](250,50){hoge.eps}{plain}{Picture of foo}
2093 (A) (B) (1) (2) (3) 2131 (A) (B) (1) (2) (3)
2265  2303 
2266 Tag table: 2304 Tag table:
2267 Node: Top256 2305 Node: Top256
2268 Node: What is YaTeX?1583 2306 Node: What is YaTeX?1583
2269 Node: Main features1956 2307 Node: Main features1956
2270 Node: Installation3500 2308 Node: Installation3591
2271 Node: Typesetting4277 2309 Node: Typesetting4368
2272 Node: Calling typesetter5389 2310 Node: Calling typesetter5489
2273 Node: Calling previewer7916 2311 Node: Calling previewer8016
2274 Node: Printing out8277 2312 Node: Printing out8377
2275 Node: %#notation8569 2313 Node: %#notation8669
2276 Node: Changing typesetter8940 2314 Node: Changing typesetter9040
2277 Node: Splitting input files9304 2315 Node: Splitting input files9404
2278 Node: Static region for typesetting10729 2316 Node: Static region for typesetting10833
2279 Node: Lpr format11858 2317 Node: Lpr format11962
2280 Node: Controlling which command to invoke12888 2318 Node: Controlling which command to invoke13035
2281 Node: Editing %# notation13845 2319 Node: Editing %# notation13992
2282 Node: Completion14389 2320 Node: Completion14536
2283 Node: Begin-type completion14904 2321 Node: Begin-type completion15072
2284 Node: Section-type completion17758 2322 Node: Section-type completion17926
2285 Node: view-sectioning20179 2323 Node: view-sectioning20318
2286 Node: Large-type completion21759 2324 Node: Label Generation21897
2287 Node: Maketitle-type completion22412 2325 Node: Large-type completion22797
2288 Node: Arbitrary completion22964 2326 Node: Maketitle-type completion23443
2289 Node: End completion23354 2327 Node: Arbitrary completion23995
2290 Node: Accent completion23823 2328 Node: End completion24385
2291 Node: Image completion24440 2329 Node: Accent completion24855
2292 Node: Greek letters completion26695 2330 Node: Image completion25472
2293 Node: Inserting parentheses27451 2331 Node: Greek letters completion27727
2294 Node: Local dictionaries27858 2332 Node: Inserting parentheses28483
2295 Node: Commenting out28795 2333 Node: Local dictionaries28890
2296 Node: Cursor jump30254 2334 Node: Commenting out29827
2297 Node: Jump to corresponding object30545 2335 Node: Cursor jump31286
2298 Node: Invoking image processor31945 2336 Node: Jump to corresponding object31577
2299 Node: Jump to main file33288 2337 Node: Invoking image processor32977
2300 Node: Jumping around the environment33654 2338 Node: Jump to main file34320
2301 Node: Jumping to last completion position34072 2339 Node: Jumping around the environment34686
2302 Node: Changing and Deleting34581 2340 Node: Jumping to last completion position35104
2303 Node: Changing LaTeX commands34962 2341 Node: Changing and Deleting35613
2304 Node: Killing LaTeX commands36139 2342 Node: Changing LaTeX commands35994
2305 Node: Filling37324 2343 Node: Killing LaTeX commands37171
2306 Node: Updation of includeonly39179 2344 Node: Filling38356
2307 Node: What column39976 2345 Node: Updation of includeonly40211
2308 Node: Intelligent newline41061 2346 Node: What column41008
2309 Node: Usepackage checker42714 2347 Node: Intelligent newline42093
2310 Node: Online help43305 2348 Node: Usepackage checker43754
2311 Node: Browsing file hierarchy44980 2349 Node: Online help44345
2312 Node: Cooperation with other packages46717 2350 Node: Browsing file hierarchy46020
2313 Node: Customizations47422 2351 Node: Cooperation with other packages47757
2314 Node: Lisp variables47718 2352 Node: Customizations48462
2315 Node: All customizable variables48677 2353 Node: Lisp variables48758
2316 Node: Sample definitions60640 2354 Node: All customizable variables49717
2317 Node: Hook variables61153 2355 Node: Sample definitions61682
2318 Node: Hook file61857 2356 Node: Hook variables62195
2319 Node: Add-in functions62196 2357 Node: Hook file62899
2320 Node: How the add-in function works63034 2358 Node: Add-in functions63238
2321 Node: Defining option-add-in65220 2359 Node: How the add-in function works64076
2322 Node: Defining argument-add-in65942 2360 Node: Defining option-add-in66262
2323 Node: Defining enclosing-add-in66823 2361 Node: Defining argument-add-in66984
2324 Node: How the function is called67679 2362 Node: Defining enclosing-add-in67865
2325 Node: Useful functions for creating add-in68355 2363 Node: How the function is called68721
2326 Node: Contribution69765 2364 Node: Useful functions for creating add-in69397
2327 Node: Add-in generator70039 2365 Node: Contribution70807
2328 Node: Etcetera75499 2366 Node: Add-in generator71081
2329 Node: Copying76104 2367 Node: Etcetera76657
2368 Node: Copying77262
2330  2369 
2331 End tag table 2370 End tag table

yatex.org