emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [PATCH] Optional \caption argument in LaTeX export


From: Thomas S. Dye
Subject: [O] [PATCH] Optional \caption argument in LaTeX export
Date: Sun, 08 May 2011 07:58:20 -1000

Aloha all,

The attached patch initializes the shortn variable, uses it to add the
optional argument to \caption in two places where this wasn't
implemented, and adds a bit of documentation.

Note that the shortn variable in org-mode is already used to add an
optional argument to \caption in one case.  The patch enables this
behavior for other captions, as well.

Note also, that if the shortn variable isn't initialized nil, the
optional argument to one \caption is recycled to the next \caption
indefinitely until shortn is reset.

Thanks to Nick Dokos for explaining why an earlier patch of mine didn't
show up on patchwork (wrong MIME type, evil mail client).  This one is
sent from gnus with crossed fingers.

All the best,
Tom

Attachment: 0001-optional-caption-arguments-in-LaTeX-export.patch
Description: Optional caption argument in LaTeX export

-- 
http://www.tsdye.com


reply via email to

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