auctex-devel
[Top][All Lists]
Advanced

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

[AUCTeX-devel] [elpa] externals/auctex cfa82d8 65/69: Prompt for optiona


From: Tassilo Horn
Subject: [AUCTeX-devel] [elpa] externals/auctex cfa82d8 65/69: Prompt for optional short caption parameter.
Date: Sat, 26 Mar 2016 21:36:37 +0000

branch: externals/auctex
commit cfa82d807cb2d2f9cdcd2f7816030485505e2eb4
Author: Matthew Leach <address@hidden>
Commit: Mosè Giordano <address@hidden>

    Prompt for optional short caption parameter.
    
    * latex.el (LaTeX-compose-caption-macro): New.
      (LaTeX-short-caption-prompt-length): New.
      (LaTeX-env-figure): Prompt for optional short caption parameter, when
      the caption length is >= `LaTeX-short-caption-prompt-length', and pass
      to `LaTeX-compose-caption-macro'.
    * style/longtable.el ("longtable"): Likewise.
    * style/psfig.el (LaTeX-env-psfigure): Likewise.
    * doc/auctex.texi (Floats): Document short-caption prompting and
      `LaTeX-short-caption-prompt-length'.
    * doc/changes.texi: Likewise.
    
    Signed-off-by: Mosè Giordano <address@hidden>
---
 doc/auctex.texi    |   13 +++++++++++++
 doc/changes.texi   |    6 ++++++
 latex.el           |   37 ++++++++++++++++++++++++++++---------
 style/longtable.el |   12 +++++++-----
 style/psfig.el     |   20 +++++++++++---------
 5 files changed, 65 insertions(+), 23 deletions(-)

diff --git a/doc/auctex.texi b/doc/auctex.texi
index d0d0673..8c5218a 100644
--- a/doc/auctex.texi
+++ b/doc/auctex.texi
@@ -1005,6 +1005,14 @@ at the bottom of the float.  You can specify floats 
where the caption
 should be placed at the top with @code{LaTeX-top-caption-list}.
 @vindex LaTeX-top-caption-list
 
address@hidden short caption
+If the specified caption is greater than a specific length, then a short
+caption is prompted for and it is inserted as an optional argument to
+the @samp{



reply via email to

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