emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 102/299: Document some missing functions and options.


From: Stefan Monnier
Subject: [elpa] 102/299: Document some missing functions and options.
Date: Sun, 02 Nov 2014 03:10:38 +0000

monnier pushed a commit to branch externals/auctex
in repository elpa.

commit e2df32c4a3e97362106e348f006a024d3affd5f8
Author: Mosè Giordano <address@hidden>
Date:   Tue Apr 16 15:45:25 2013 +0200

    Document some missing functions and options.
    
    * doc/auctex.texi (Itemize-like): Document `TeX-arg-item-label-p'
    option.
    (Tabular-like): Document `LaTeX-default-width' option.
    (Modes and Hooks): Add modes and hooks to indices.
    (Adding Macros): Document `TeX-arg-index-tag', `TeX-arg-index',
    `TeX-arg-document', `LaTeX-arg-usepackage', `TeX-arg-bibstyle',
    `TeX-arg-bibliography', `TeX-read-key-val', and `TeX-arg-key-val'
    functions.  Mention `TeX-arg-cite-note-p' option.
    (Adding Environments): Use in example code actually present in
    `listings.el' file.
---
 ChangeLog       |   13 ++++++++++
 doc/auctex.texi |   70 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 2 files changed, 80 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index fe9f160..4409695 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2013-04-16  Mos� Giordano  <address@hidden>
+
+       * doc/auctex.texi (Itemize-like): Document `TeX-arg-item-label-p'
+       option.
+       (Tabular-like): Document `LaTeX-default-width' option.
+       (Modes and Hooks): Add modes and hooks to indices.
+       (Adding Macros): Document `TeX-arg-index-tag', `TeX-arg-index',
+       `TeX-arg-document', `LaTeX-arg-usepackage', `TeX-arg-bibstyle',
+       `TeX-arg-bibliography', `TeX-read-key-val', and `TeX-arg-key-val'
+       functions.  Mention `TeX-arg-cite-note-p' option.
+       (Adding Environments): Use in example code actually present in
+       `listings.el' file.
+
 2013-04-16  Tassilo Horn  <address@hidden>
 
        * tex.el (TeX-source-correlate-sync-source): Use `raise-frame'
diff --git a/doc/auctex.texi b/doc/auctex.texi
index 61609df..7b8a526 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -847,6 +847,11 @@ insert an appropriate @samp{\item} for the current 
environment. That is,
 `description' will have @samp{\item[]} inserted.
 @end deffn
 
address@hidden TeX-arg-item-label-p
+If non-nil, you will always be asked for optional label in items.
+Otherwise, you will be asked only in description environments.
address@hidden defopt
+
 @node Tabular-like
 @subsection Tabular-like Environments
 
@@ -858,6 +863,10 @@ Related variables:
 Default format string for array and tabular environments.
 @end defopt
 
address@hidden LaTeX-default-width
+Default width for minipage and tabular* environments.
address@hidden defopt
+
 @defopt LaTeX-default-position
 Default position string for array and tabular environments.  If nil,
 act like the empty string is given, but don't prompt for a position.
@@ -2987,6 +2996,18 @@ functions and hooks.
 @item Texinfo      @tab @code{Texinfo-mode}   @tab @code{Texinfo-mode-hook}
 @item address@hidden    @tab @code{docTeX-mode}    @tab @code{docTeX-mode-hook}
 @end multitable
address@hidden plain-TeX-mode
address@hidden plain-TeX-mode-hook
address@hidden LaTeX-mode
address@hidden LaTeX-mode-hook
address@hidden AmS-TeX-mode
address@hidden AmS-TeX-mode-hook
address@hidden ConTeXt-mode
address@hidden ConTeXt-mode-hook
address@hidden Texinfo-mode
address@hidden Texinfo-mode-hook
address@hidden docTeX-mode
address@hidden docTeX-mode-hook
 
 If you need to make a customization via a hook which is only relevant
 for one of the modes listed above, put it into the respective mode hook,
@@ -3955,6 +3976,12 @@ Evaluate arguments and insert the result in the buffer.
 @item TeX-arg-label
 Prompt for a label completing with known labels.
 
address@hidden TeX-arg-index-tag
+Prompt for an index tag.  This is the name of an index, not the entry.
+
address@hidden TeX-arg-index
+Prompt for an index entry completing with known entries.
+
 @item TeX-arg-length
 Prompt for a @LaTeX{} length completing with known lengths.
 
@@ -3968,7 +3995,9 @@ Prompt for a date, defaulting to the current date.
 Prompt for a @LaTeX{} environment with completion.
 
 @item TeX-arg-cite
-Prompt for a address@hidden citation.
address@hidden TeX-arg-cite-note-p
+Prompt for a address@hidden citation.  If the variable
address@hidden is non-nil, ask also for optional note in citations.
 
 @item TeX-arg-counter
 Prompt for a @LaTeX{} counter completing with known counters.
@@ -4013,6 +4042,34 @@ Prompt for a @LaTeX{} counter.
 @item TeX-arg-define-savebox
 Prompt for a @LaTeX{} savebox.
 
address@hidden TeX-arg-document
address@hidden LaTeX-default-style
address@hidden LaTeX-default-options
address@hidden TeX-arg-input-file-search
address@hidden LaTeX-style-list
+Prompt for a @LaTeX{} document class, using @code{LaTeX-default-style}
+as default value and @code{LaTeX-default-options} as default list of
+options.  If the variable @code{TeX-arg-input-file-search} is t, you
+will be able to complete with all @LaTeX{} classes available on your
+system, otherwise classes listed in the variable @code{LaTeX-style-list}
+will be used for completion.  It is also provided completion for options
+of many common classes.
+
address@hidden LaTeX-arg-usepackage
address@hidden TeX-arg-input-file-search
+Prompt for @LaTeX{} packages.  If the variable
address@hidden is t, you will be able to complete with
+all @LaTeX{} packages available on your system.  It is also provided
+completion for options of many common packages.
+
address@hidden TeX-arg-bibstyle
+Prompt for a address@hidden style file completing with all style available on
+your system.
+
address@hidden TeX-arg-bibliography
+Prompt for BibTeX database files completing with all databases available
+on your system.
+
 @item TeX-arg-corner
 Prompt for a @LaTeX{} side or corner position with completion.
 
@@ -4037,6 +4094,13 @@ Insert width and height as a pair.  No arguments.
 
 @item TeX-arg-coordinate
 Insert x and y coordinates as a pair.  No arguments.
+
address@hidden TeX-read-key-val
+Prompt for a key=value list of options and return them.
+
address@hidden TeX-arg-key-val
+Prompt for a key=value list of options and insert it as a @TeX{} macro
+argument.
 @end ftable
 
 If you add new hooks, you can assume that point is placed directly after
@@ -4179,8 +4243,8 @@ an optional argument of the @samp{lstlisting} environment:
 
 @lisp
 (LaTeX-add-environments
- `("lstlisting" LaTeX-env-args
-   [TeX-arg-key-val ,LaTeX-listings-key-val-options]))
+ '("lstlisting" LaTeX-env-args
+   [TeX-arg-key-val LaTeX-listings-key-val-options]))
 @end lisp
 @end ftable
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]