org-mode/lisp
Thomas S. Dye cd05598dcd Optional \caption argument for LaTeX export
Aloha all,

The attached patch initializes the existing variable shortn, adds it to
two caption situations in addition to the one already coded, and adds
some description to the manual.

With this patch, #+CAPTION: [Short caption]{Long caption.} in the
Org-mode source exports to \caption[Short caption]{Long caption.} in the
LaTeX export, which is, I think, as it should be.

Many thanks to Nick Dokos who made me understand why earlier patches
hadn't shown up on the patchwork server (wrong mime type, evil mail
client).  This one sent with gnus and fingers crossed.

All the best,
Tom

>From 9dc65f7e598dd171ebce9448cd39c4062f7cafff Mon Sep 17 00:00:00 2001
From: Tom Dye <tsd@tsdye.com>
Date: Sun, 8 May 2011 06:56:25 -1000
Subject: [PATCH] optional caption arguments in LaTeX export
2011-05-08 22:15:45 +02:00
..
ob-asymptote.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-C.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-calc.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-clojure.el ob-clojure: qualify pp dispatch functions, wrap body in (do ) 2011-04-29 08:26:01 -06:00
ob-comint.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-css.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-ditaa.el ob-ditaa: specify utf8 data by default (default :java header argument) 2011-04-25 18:57:59 -06:00
ob-dot.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-emacs-lisp.el ob-emacs-lisp: now supports :results output 2011-04-10 16:29:14 -06:00
ob-eval.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-exp.el Don't prompt for bad links during babel export 2011-05-05 19:53:20 -06:00
ob-gnuplot.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-haskell.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-js.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-keys.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-latex.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-ledger.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-lisp.el ob-lisp: fixed bug in recent commit 2011-04-07 12:51:12 -06:00
ob-lob.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-matlab.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-maxima.el adding support for Maxima code blocks -- thanks to Eric Fraga 2011-03-15 11:25:40 -06:00
ob-mscgen.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-ocaml.el ob-ocaml: updated to use the new script-escape function 2011-04-19 09:43:34 -06:00
ob-octave.el ob-octave: do not echo variables to STDOUT -- Thanks to Eric S Fraga 2011-03-30 23:28:59 -06:00
ob-org.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-perl.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-plantuml.el ob-plantuml: adding eps support -- Thanks to Michael Gauland 2011-03-30 23:25:28 -06:00
ob-python.el ob-python: in the case of ":results output table" results can be parsed as a table 2011-04-14 20:24:10 -06:00
ob-R.el edit-prep: language specific src-edit buffer preparation, with R session association 2011-04-02 11:46:08 -06:00
ob-ref.el configurable names for inline data labels 2011-05-06 14:45:38 -06:00
ob-ruby.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-sass.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-scheme.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-screen.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-sh.el ob-sh: fixed insertion of table data into shell variables 2011-03-21 11:20:21 -06:00
ob-sql.el ob-sql: feed mysql through a pipe, thanks to Alain Clément 2011-03-07 08:32:37 -07:00
ob-sqlite.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-table.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
ob-tangle.el Babel: Stop tangling failing in an indirect buffer 2011-04-15 09:55:22 -06:00
ob.el configurable names for inline data labels 2011-05-06 14:45:38 -06:00
org-agenda.el Making the output of %% functions linkable in agenda views 2011-05-04 09:43:01 +02:00
org-archive.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-ascii.el Clean up the new options to remove tasks on export 2011-03-30 05:27:43 +02:00
org-attach.el (org-attach-store-link-p): Use 'attached instead of 'attach-dir. 2011-03-10 11:25:17 +01:00
org-bbdb.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-beamer.el Fix docstring 2011-04-06 10:50:34 +02:00
org-bibtex.el Add helper functions to org-bibtex 2011-05-02 11:23:11 -06:00
org-capture.el Document the capture property :table-line-pos 2011-05-05 09:58:31 +02:00
org-clock.el Implement clock consistency check functionality for agenda 2011-04-24 17:17:25 +02:00
org-colview-xemacs.el org-agenda: remove prefix-length property 2011-03-16 18:18:23 +01:00
org-colview.el org-colview: fix heading retrieval in Org buffers 2011-03-18 18:05:12 +01:00
org-compat.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-crypt.el org-crypt.el: only send a warning when Emacs is not running in daemon mode. 2011-03-16 17:13:36 +01:00
org-ctags.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-datetree.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-docbook.el Fix for html & docbook export of description list items 2011-04-09 18:40:45 +02:00
org-docview.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-entities.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-exp-blocks.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-exp.el Optional \caption argument for LaTeX export 2011-05-08 22:15:45 +02:00
org-faces.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-feed.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-footnote.el Tiny docstring fix in org-footnote.el 2011-03-22 10:48:24 +01:00
org-freemind.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-gnus.el org-gnus-follow-link and nnimap-request-scan 2011-05-02 11:10:22 +02:00
org-habit.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-html.el * org-html.el (org-html-handle-links): add an alternate for inline images 2011-04-19 11:22:20 +02:00
org-icalendar.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-id.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-indent.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-info.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-inlinetask.el org-inlinetask: modify export of inline tasks 2011-03-19 18:18:28 +01:00
org-irc.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-jsinfo.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-latex.el Optional \caption argument for LaTeX export 2011-05-08 22:15:45 +02:00
org-list.el org-list: correctly identify description lists 2011-05-07 02:33:13 +02:00
org-mac-message.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-macs.el Make `org-save-outline-visibility' macro return a useful value 2011-05-02 09:42:11 +02:00
org-mew.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-mhe.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-mks.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-mobile.el org mobile - call pre hooks earlier 2011-04-15 13:53:10 +02:00
org-mouse.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-pcomplete.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-plot.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-protocol.el org-protocol.el: more appropriate message when capture is done. 2011-04-08 18:18:02 +02:00
org-publish.el Optimize getting the date for org-publish 2011-05-02 11:13:46 +02:00
org-remember.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-rmail.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-special-blocks.el Use `org-export-current-backend' whenever possible. 2011-03-01 20:01:42 +01:00
org-src.el org-src-lang-modes: added alias "C" to "c" 2011-04-15 10:16:52 -06:00
org-table.el org-table: use point-min instead of 1 2011-04-09 14:46:45 +02:00
org-taskjuggler.el Taskjuggler: Make sure an id never starts with a number 2011-04-28 12:11:46 +02:00
org-timer.el org-timer: fix bug with `org-timer-item' 2011-03-08 10:40:46 +01:00
org-vm.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-w3m.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-wl.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org-xoxo.el Update website to show 7.5 as current release 2011-03-07 14:27:39 +00:00
org.el Add CLOCKSUM to special properties, to make org-invoice.el work again 2011-05-06 17:20:40 +02:00