Robert Klein <rokl...@roklein.de> 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,

>From a1156041a3af9b45ad195828a5d79f90c01e9a5f Mon Sep 17 00:00:00 2001
From: Nicolas Goaziou <m...@nicolasgoaziou.fr>
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

Reply via email to