Mercurial > hgrepos > hgweb.cgi > yatex
diff 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 |
line wrap: on
line diff
--- a/docs/yatexe Tue Aug 22 18:11:52 2017 +0859 +++ b/docs/yatexe Tue Aug 22 18:13:21 2017 +0859 @@ -65,9 +65,9 @@ * Semiautomatic replacing of `\includeonly' * Jumping to error line(`C-c '') * Completing-read of LaTeX commands such as `\begin{}', `\section' etc. - (`C-c b', `C-c s', `C-c l', `C-c m') + (`C-c b', `C-c s', `C-c l', `C-c m') * Enclosing text into LaTeX environments or commands (ABOVEKEYSTROKES - after region setting) + after region setting) * Displaying the structure of text at entering sectioning commands * Lump shifting of sectioning commands (*Note view-sectioning::) * Learning unknown/new LaTeX commands for the next completion @@ -76,15 +76,16 @@ * Quick changing or deleting of LaTeX commands(`C-c c', `C-c k') * Jumping from and to inter-file, begin<->end, ref<->label(`C-c g') * Blanket commenting out or uncommenting (`C-c >', `C-c <', `C-c ,', - `C-c .') + `C-c .') * Easy input of accent mark, math-mode's commands and Greek letters - (`C-c a', `;', `:') + (`C-c a', `;', `:') * Online help for the popular LaTeX commands (`C-c ?', `C-c /') * Document files hierarchy browser (`C-c d') * Adding automatically \usepackage corresponding to inputting LaTeX - macro with completion + macro with completion * Allow you to forget creating \label{}s, \ref{} or \cite{} completion - automatically generate labels. + automatically generate labels. + * \includegraphics by Drag&Drop of image file @@ -130,7 +131,7 @@ ... invoke typesetter on region `[prefix] t e' ... `on-the-fly preview' on current environment or whole - portion of current formulas in math-mode + portion of current formulas in math-mode `[prefix] t d' ... invoke dvipdfmx after successful typesetting `[prefix] t k' @@ -293,12 +294,12 @@ (see *Note Cursor jump::), take described below into consideration. * You can put split texts in sub directory, but not in sub directory of - sub directory. + sub directory. * In the main text, specify the child file name with relative path name - such as \include{chap1/sub}, when you include the file in a - sub-directory. + such as \include{chap1/sub}, when you include the file in a + sub-directory. * In a sub-text, write `%#!latex main.tex' even if `main.tex' is in the - parent directory(not %#!latex ../main.tex). + parent directory(not %#!latex ../main.tex). @@ -336,7 +337,7 @@ -File: yatexe, Node: Lpr format, Prev: Static region for typesetting, Up: %#notation +File: yatexe, Node: Lpr format, Next: Controlling which command to invoke, Prev: Static region for typesetting, Up: %#notation Lpr format ========== @@ -439,6 +440,7 @@ * Begin-type completion:: * Section-type completion:: +* Label Generation:: * Large-type completion:: * Maketitle-type completion:: * Arbitrary completion:: @@ -533,7 +535,7 @@ -File: yatexe, Node: Section-type completion, Next: Large-type completion, Prev: Begin-type completion, Up: Completion +File: yatexe, Node: Section-type completion, Prev: Begin-type completion, Up: Completion Section-type completion ======================= @@ -655,9 +657,44 @@ ... Hide sectioning commands whose level is lower than n + +File: yatexe, Node: Label Generation, Next: Large-type completion, Prev: Section-type completion, Up: Completion + +Label Generation +================ + +When you want to type-in references of `\ref' or `\cite', all you have to +do is type `[prefix] s ref' without adding labels beforehand. You will +see possible LaTeX-counters in the next window even if some counter does +not have `\label'. Selecting the counter will automatically set the label +to that counter. + +All possible counter list in the buffer tends to be large. You can reduce +the number of list by filtering type of counters by key-commands as +follows. + `M-a' + + ... Show all(disable filtering) + `M-c' + + ... Captions only + `M-e' + + ... equations (with counters) only + `M-i' + + ... numbers items only + `M-s' + + ... sections only + `M-m' + + ... other counters only + + -File: yatexe, Node: Large-type completion, Next: Maketitle-type completion, Prev: Section-type completion, Up: Completion +File: yatexe, Node: Large-type completion, Next: Maketitle-type completion, Prev: Label Generation, Up: Completion Large-type completion ===================== @@ -720,7 +757,7 @@ ============== YaTeX automatically detects the opened environment and close it with -`\end{environment}'. Though proficient YaTeX users never fail to make +\`\end{environment}'. Though proficient YaTeX users never fail to make environment with begin-type completion, some may begin an environment manually. In that case, type @@ -1256,7 +1293,7 @@ * `tabular', `tabular*', `array' Corresponding number of `&' and `\\'. And `\hline' if - needed. + needed. * `tabbing' @@ -1606,8 +1643,8 @@ -- Variable: YaTeX-fill-inhibit-environments Inhibit fill in these environments (`'("tabular" "tabular*" "array" - picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" - verbatim" "verbatim*")') + "picture" "eqnarray" "eqnarray*" "equation" "math" "displaymath" + "verbatim" "verbatim*")') -- Variable: YaTeX-uncomment-once T for deleting all preceding `%' (`nil') @@ -2082,10 +2119,11 @@ ---------------- The latter generator is invoked by the next sequence. `M-x -YaTeX-generate-simple' This generator can make both "option add-in" and -argument add-in" (*refer the section add-in functions* *Note How the -add-in function works::), whereas `YaTeX-generate' cannot make "argument -addin". + YaTeX-generate-simple' This generator can make both + "option add-in" and "argument add-in" (*refer the + section add-in functions* *Note How the add-in + function works::), whereas `YaTeX-generate' cannot + make "argument addin". For example, assume you have the LaTeX command as follows. @@ -2267,65 +2305,66 @@ Node: Top256 Node: What is YaTeX?1583 Node: Main features1956 -Node: Installation3500 -Node: Typesetting4277 -Node: Calling typesetter5389 -Node: Calling previewer7916 -Node: Printing out8277 -Node: %#notation8569 -Node: Changing typesetter8940 -Node: Splitting input files9304 -Node: Static region for typesetting10729 -Node: Lpr format11858 -Node: Controlling which command to invoke12888 -Node: Editing %# notation13845 -Node: Completion14389 -Node: Begin-type completion14904 -Node: Section-type completion17758 -Node: view-sectioning20179 -Node: Large-type completion21759 -Node: Maketitle-type completion22412 -Node: Arbitrary completion22964 -Node: End completion23354 -Node: Accent completion23823 -Node: Image completion24440 -Node: Greek letters completion26695 -Node: Inserting parentheses27451 -Node: Local dictionaries27858 -Node: Commenting out28795 -Node: Cursor jump30254 -Node: Jump to corresponding object30545 -Node: Invoking image processor31945 -Node: Jump to main file33288 -Node: Jumping around the environment33654 -Node: Jumping to last completion position34072 -Node: Changing and Deleting34581 -Node: Changing LaTeX commands34962 -Node: Killing LaTeX commands36139 -Node: Filling37324 -Node: Updation of includeonly39179 -Node: What column39976 -Node: Intelligent newline41061 -Node: Usepackage checker42714 -Node: Online help43305 -Node: Browsing file hierarchy44980 -Node: Cooperation with other packages46717 -Node: Customizations47422 -Node: Lisp variables47718 -Node: All customizable variables48677 -Node: Sample definitions60640 -Node: Hook variables61153 -Node: Hook file61857 -Node: Add-in functions62196 -Node: How the add-in function works63034 -Node: Defining option-add-in65220 -Node: Defining argument-add-in65942 -Node: Defining enclosing-add-in66823 -Node: How the function is called67679 -Node: Useful functions for creating add-in68355 -Node: Contribution69765 -Node: Add-in generator70039 -Node: Etcetera75499 -Node: Copying76104 +Node: Installation3591 +Node: Typesetting4368 +Node: Calling typesetter5489 +Node: Calling previewer8016 +Node: Printing out8377 +Node: %#notation8669 +Node: Changing typesetter9040 +Node: Splitting input files9404 +Node: Static region for typesetting10833 +Node: Lpr format11962 +Node: Controlling which command to invoke13035 +Node: Editing %# notation13992 +Node: Completion14536 +Node: Begin-type completion15072 +Node: Section-type completion17926 +Node: view-sectioning20318 +Node: Label Generation21897 +Node: Large-type completion22797 +Node: Maketitle-type completion23443 +Node: Arbitrary completion23995 +Node: End completion24385 +Node: Accent completion24855 +Node: Image completion25472 +Node: Greek letters completion27727 +Node: Inserting parentheses28483 +Node: Local dictionaries28890 +Node: Commenting out29827 +Node: Cursor jump31286 +Node: Jump to corresponding object31577 +Node: Invoking image processor32977 +Node: Jump to main file34320 +Node: Jumping around the environment34686 +Node: Jumping to last completion position35104 +Node: Changing and Deleting35613 +Node: Changing LaTeX commands35994 +Node: Killing LaTeX commands37171 +Node: Filling38356 +Node: Updation of includeonly40211 +Node: What column41008 +Node: Intelligent newline42093 +Node: Usepackage checker43754 +Node: Online help44345 +Node: Browsing file hierarchy46020 +Node: Cooperation with other packages47757 +Node: Customizations48462 +Node: Lisp variables48758 +Node: All customizable variables49717 +Node: Sample definitions61682 +Node: Hook variables62195 +Node: Hook file62899 +Node: Add-in functions63238 +Node: How the add-in function works64076 +Node: Defining option-add-in66262 +Node: Defining argument-add-in66984 +Node: Defining enclosing-add-in67865 +Node: How the function is called68721 +Node: Useful functions for creating add-in69397 +Node: Contribution70807 +Node: Add-in generator71081 +Node: Etcetera76657 +Node: Copying77262 End tag table