From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: tentative patch Re: commit found, was: Re: ECM for: issues with publishing to LaTeX using #INCLUDE Date: Tue, 23 Jun 2015 23:44:10 +0200 Message-ID: <87bng6rtg5.fsf@nicolasgoaziou.fr> References: <20150617.200443.1764368968080794485.roklein@roklein.de> <20150618085813.1630b824@pckr150.mpip-mainz.mpg.de> <20150618091550.57e2553f@pckr150.mpip-mainz.mpg.de> <20150618092142.6257f8f6@pckr150.mpip-mainz.mpg.de> <87ioal78nv.fsf@selenimh.access.network> <20150618142142.639189af@pckr150.mpip-mainz.mpg.de> <20150618205110.6ce38bf5@zotac> <20150619095140.3c6e8892@pckr150.mpip-mainz.mpg.de> <20150619202859.48888231@zotac> <87oaka58mi.fsf@selenimh.access.network> <20150621145522.6d13b2da@zotac> <87ioagt9yx.fsf@nicolasgoaziou.fr> <20150622170115.594b06c3@pckr150.mpip-mainz.mpg.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Vxq-0008Ql-Hg for emacs-orgmode@gnu.org; Tue, 23 Jun 2015 17:42:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7Vxp-0001eN-Bw for emacs-orgmode@gnu.org; Tue, 23 Jun 2015 17:42:42 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:46090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7Vxp-0001eC-5J for emacs-orgmode@gnu.org; Tue, 23 Jun 2015 17:42:41 -0400 In-Reply-To: <20150622170115.594b06c3@pckr150.mpip-mainz.mpg.de> (Robert Klein's message of "Mon, 22 Jun 2015 17:01:15 +0200") 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: Robert Klein Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Robert Klein writes: > I'm not sure how to proceed at the moment, are there other set-ups I > could test? Out of curiosity, could you try the following patch? Regards, --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-ox-Fix.patch >From a1156041a3af9b45ad195828a5d79f90c01e9a5f Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Tue, 23 Jun 2015 23:41:30 +0200 Subject: [PATCH] ox: Fix ??? * lisp/ox.el (org-export-as): Refresh regexps after executing Babel code. --- lisp/ox.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/ox.el b/lisp/ox.el index f60ff12..9d3552e 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -2936,6 +2936,8 @@ Return code as a string." (org-macro-initialize-templates) (org-macro-replace-all org-macro-templates nil parsed-keywords) (org-export-execute-babel-code) + (org-set-regexps-and-options) + (org-update-radio-target-regexp) ;; Run last hook with current back-end's name as argument. (goto-char (point-min)) (save-excursion -- 2.4.4 --=-=-=--