yatex

diff docs/yatexe.tex @ 471:d63ba3e187ca

Add description on \label-generation
author HIROSE Yuuji <yuuji@gentei.org>
date Tue, 22 Aug 2017 18:13:21 +0859
parents 9ab38ecfd3d1
children 355b28fc0025
line diff
     1.1 --- a/docs/yatexe.tex	Fri Feb 13 08:20:12 2015 +0900
     1.2 +++ b/docs/yatexe.tex	Tue Aug 22 18:13:21 2017 +0859
     1.3 @@ -8,7 +8,7 @@
     1.4  
     1.5  @iftex
     1.6  @c @syncodeindex fn cp
     1.7 -@c Last modified Fri Feb 13 08:15:26 2015 on firestorm
     1.8 +@c Last modified Tue Aug 22 13:08:29 2017 on firestorm
     1.9  @syncodeindex vr cp
    1.10  @end iftex
    1.11  
    1.12 @@ -18,7 +18,7 @@
    1.13  @subtitle Yet Another tex-mode for emacs
    1.14  @title Wild Bird
    1.15  @subtitle // YaTeX //
    1.16 -@author @copyright{} 1991-2012 by    HIROSE, Yuuji [yuuji@@yatex.org]
    1.17 +@author @copyright{} 1991-2017 by    HIROSE, Yuuji [yuuji@@yatex.org]
    1.18  @end titlepage
    1.19  
    1.20  @node Top, What is YaTeX?, (dir), (dir)
    1.21 @@ -29,7 +29,7 @@
    1.22  @cindex YaTeX
    1.23  
    1.24  @menu
    1.25 -* What is YaTeX?::              
    1.26 +* What is YaTeX?::
    1.27  * Main features::               What YaTeX can do
    1.28  * Installation::                Guide to install
    1.29  * Typesetting::                 Call typesetting processes
    1.30 @@ -96,6 +96,7 @@
    1.31        macro with completion
    1.32  @item Allow you to forget creating \label@{@}s, \ref@{@} or \cite@{@}
    1.33        completion automatically generate labels.
    1.34 +@item \includegraphics by Drag&Drop of image file
    1.35  @end itemize
    1.36  
    1.37  @node Installation, Typesetting, Main features, Top
    1.38 @@ -171,9 +172,9 @@
    1.39  @end table
    1.40  
    1.41  @menu
    1.42 -* Calling typesetter::          
    1.43 -* Calling previewer::           
    1.44 -* Printing out::                
    1.45 +* Calling typesetter::
    1.46 +* Calling previewer::
    1.47 +* Printing out::
    1.48  @end menu
    1.49  
    1.50  @node Calling typesetter, Calling previewer, Typesetting, Typesetting
    1.51 @@ -261,12 +262,12 @@
    1.52  notations in the source text.
    1.53  
    1.54  @menu
    1.55 -* Changing typesetter::         
    1.56 -* Splitting input files::       
    1.57 -* Static region for typesetting::  
    1.58 -* Lpr format::                  
    1.59 -* Controlling which command to invoke::  
    1.60 -* Editing %# notation::         
    1.61 +* Changing typesetter::
    1.62 +* Splitting input files::
    1.63 +* Static region for typesetting::
    1.64 +* Lpr format::
    1.65 +* Controlling which command to invoke::
    1.66 +* Editing %# notation::
    1.67  @end menu
    1.68  
    1.69  @node Changing typesetter, Splitting input files, %#notation, %#notation
    1.70 @@ -376,7 +377,7 @@
    1.71  @code{%#BEGIN} alone at the middle of very long text.  Do not forget to
    1.72  erase @code{%#BEGIN} @code{%#END} pair.
    1.73  
    1.74 -@node Lpr format,  , Static region for typesetting, %#notation
    1.75 +@node Lpr format, Controlling which command to invoke, Static region for typesetting, %#notation
    1.76  @comment  node-name,  next,  previous,  up
    1.77  @section Lpr format
    1.78  @cindex lpr format
    1.79 @@ -481,6 +482,7 @@
    1.80  @menu
    1.81  * Begin-type completion::
    1.82  * Section-type completion::
    1.83 +* Label Generation::
    1.84  * Large-type completion::
    1.85  * Maketitle-type completion::
    1.86  * Arbitrary completion::
    1.87 @@ -585,7 +587,7 @@
    1.88  begin-type completion to enclose text into a environment.
    1.89  
    1.90  
    1.91 -@node Section-type completion, Large-type completion, Begin-type completion, Completion
    1.92 +@node Section-type completion, , Begin-type completion, Completion
    1.93  @comment  node-name,  next,  previous,  up
    1.94  @section Section-type completion
    1.95  @cindex section-type completion
    1.96 @@ -687,7 +689,7 @@
    1.97  minibuffer.
    1.98  
    1.99  @menu
   1.100 -* view-sectioning::             
   1.101 +* view-sectioning::
   1.102  @end menu
   1.103  
   1.104  @node view-sectioning,  , Section-type completion, Section-type completion
   1.105 @@ -736,8 +738,38 @@
   1.106          @dots{} Hide sectioning commands whose level is lower than n
   1.107  @end table
   1.108  
   1.109 -
   1.110 -@node Large-type completion, Maketitle-type completion, Section-type completion, Completion
   1.111 +@node  Label Generation, Large-type completion, Section-type completion, Completion
   1.112 +@section Label Generation
   1.113 +@comment label generation
   1.114 +@cindex label generation
   1.115 +@cindex ref label cite
   1.116 +
   1.117 +When you want to type-in references of @code{\ref} or @code{\cite},
   1.118 +all you have to do is type @kbd{[prefix] s ref} without adding labels
   1.119 +beforehand.  You will see possible La@TeX{}-counters in the next window
   1.120 +even if some counter does not have @code{\label}.  Selecting the counter
   1.121 +will automatically set the label to that counter.
   1.122 +
   1.123 +All possible counter list in the buffer tends to be large.
   1.124 +You can reduce the number of list by filtering type of counters by
   1.125 +key-commands as follows.
   1.126 +@table @kbd
   1.127 + @item M-a
   1.128 +	@dots{} Show all(disable filtering)
   1.129 + @item M-c
   1.130 +	@dots{} Captions only
   1.131 + @item M-e
   1.132 +	@dots{} equations (with counters) only
   1.133 + @item M-i
   1.134 +	@dots{} numbers items only
   1.135 + @item M-s
   1.136 +	@dots{} sections only
   1.137 + @item M-m
   1.138 +	@dots{} other counters only
   1.139 +@end table
   1.140 +
   1.141 +
   1.142 +@node Large-type completion, Maketitle-type completion, Label Generation, Completion
   1.143  @comment  node-name,  next,  previous,  up
   1.144  @section Large-type completion
   1.145  
   1.146 @@ -1046,11 +1078,11 @@
   1.147  
   1.148  
   1.149  @menu
   1.150 -* Jump to corresponding object::  
   1.151 -* Invoking image processor::    
   1.152 -* Jump to main file::           
   1.153 -* Jumping around the environment::  
   1.154 -* Jumping to last completion position::  
   1.155 +* Jump to corresponding object::
   1.156 +* Invoking image processor::
   1.157 +* Jump to main file::
   1.158 +* Jumping around the environment::
   1.159 +* Jumping to last completion position::
   1.160  @end menu
   1.161  
   1.162  @node Jump to corresponding object, Invoking image processor, Cursor jump, Cursor jump
   1.163 @@ -1194,8 +1226,8 @@
   1.164  @cindex prefix k
   1.165  
   1.166  @menu
   1.167 -* Changing LaTeX commands::     
   1.168 -* Killing LaTeX commands::      
   1.169 +* Changing LaTeX commands::
   1.170 +* Killing LaTeX commands::
   1.171  @end menu
   1.172  
   1.173  @node Changing LaTeX commands, Killing LaTeX commands, Changing and Deleting, Changing and Deleting
   1.174 @@ -1609,9 +1641,9 @@
   1.175  add-in functions.
   1.176  
   1.177  @menu
   1.178 -* Lisp variables::              
   1.179 -* Add-in functions::            
   1.180 -* Add-in generator::            
   1.181 +* Lisp variables::
   1.182 +* Add-in functions::
   1.183 +* Add-in generator::
   1.184  @end menu
   1.185  
   1.186  @node Lisp variables, Add-in functions, Customizations, Customizations
   1.187 @@ -1634,10 +1666,10 @@
   1.188  that variable to 1 instead of @code{t}).
   1.189  
   1.190  @menu
   1.191 -* All customizable variables::  
   1.192 -* Sample definitions::          
   1.193 -* Hook variables::              
   1.194 -* Hook file::                   
   1.195 +* All customizable variables::
   1.196 +* Sample definitions::
   1.197 +* Hook variables::
   1.198 +* Hook file::
   1.199  @end menu
   1.200  
   1.201  @node All customizable variables, Sample definitions, Lisp variables, Lisp variables
   1.202 @@ -2077,10 +2109,10 @@
   1.203  @end enumerate
   1.204  
   1.205  @menu
   1.206 -* How the add-in function works::  
   1.207 -* How the function is called::  
   1.208 -* Useful functions for creating add-in::  
   1.209 -* Contribution::                
   1.210 +* How the add-in function works::
   1.211 +* How the function is called::
   1.212 +* Useful functions for creating add-in::
   1.213 +* Contribution::
   1.214  @end menu
   1.215  
   1.216  @node How the add-in function works, How the function is called, Add-in functions, Add-in functions
   1.217 @@ -2155,9 +2187,9 @@
   1.218  @code{/} to @code{@}@{}.
   1.219  
   1.220  @menu
   1.221 -* Defining option-add-in::      
   1.222 -* Defining argument-add-in::    
   1.223 -* Defining enclosing-add-in::   
   1.224 +* Defining option-add-in::
   1.225 +* Defining argument-add-in::
   1.226 +* Defining enclosing-add-in::
   1.227  @end menu
   1.228  
   1.229  @node Defining option-add-in, Defining argument-add-in, How the add-in function works, How the add-in function works