From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Latex export repeating captions Date: Sat, 19 Jan 2013 11:42:20 -0600 Message-ID: <20130119174220.GJ3714@cardamom.adamsinfoserv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwcRC-0004QE-9D for emacs-orgmode@gnu.org; Sat, 19 Jan 2013 12:42:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TwcR8-0005FK-8m for emacs-orgmode@gnu.org; Sat, 19 Jan 2013 12:42:38 -0500 Received: from tropicana.asmallorange.com ([108.165.20.17]:34754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TwcR8-0005FB-4j for emacs-orgmode@gnu.org; Sat, 19 Jan 2013 12:42:34 -0500 Received: from c-76-123-161-213.hsd1.ms.comcast.net ([76.123.161.213]:39358 helo=localhost) by tropicana.asmallorange.com with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1TwcR5-0006zi-Oq for emacs-orgmode@gnu.org; Sat, 19 Jan 2013 12:42:32 -0500 Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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