emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Latex export repeating captions
@ 2013-01-19 17:42 Russell Adams
  2013-01-23 13:15 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Russell Adams @ 2013-01-19 17:42 UTC (permalink / raw)
  To: emacs-orgmode

I discovered my captions were growing... This seemed to fix the
problem.

I'm on Org 7.8.10.

--- org-exp.el~	2012-05-16 12:42:30.000000000 -0500
+++ org-exp.el	2013-01-19 11:39:05.772305510 -0600
@@ -1919,7 +1919,7 @@
        ;; there is a caption
        ((match-end 1)
 	(progn
-	  (setq cap (concat cap (if cap " " "") (org-trim (match-string 1))))
+	  (setq cap (concat (if cap " " "") (org-trim (match-string 1))))
 	  (when (string-match "\\[\\(.*\\)\\]{\\(.*\\)}" cap)
 	    (setq shortn (match-string 1 cap)
 		  cap (match-string 2 cap)))


------------------------------------------------------------------
Russell Adams                            RLAdams@AdamsInfoServ.com

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-23 13:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-19 17:42 Latex export repeating captions Russell Adams
2013-01-23 13:15 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).