From aadd7399e1fdc21ba8d52dc6f2149e6e7baa9c4a Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Thu, 24 Dec 2009 09:29:59 +0100 Subject: [PATCH] The text of a radio target must sill be processed in LaTeX export --- lisp/ChangeLog | 5 +++++ lisp/org-latex.el | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 133db2b29..642acfaf2 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2009-12-24 Carsten Dominik + + * org-latex.el (org-export-latex-preprocess): Do process the text + of a radio target. + 2009-12-20 Carsten Dominik * org.el (org-entry-properties): Add TIMESTAMP properties back diff --git a/lisp/org-latex.el b/lisp/org-latex.el index b9d467c69..86b6b04ad 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -1924,10 +1924,12 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER." ">>>?\\((INVISIBLE)\\)?") nil t) (org-if-unprotected-at (+ (match-beginning 0) 2) (replace-match - (org-export-latex-protect-string - (format "\\label{%s}%s" (save-match-data (org-solidify-link-text - (match-string 1))) - (if (match-string 2) "" (match-string 1)))) t t))) + (concat + (org-export-latex-protect-string + (format "\\label{%s}" (save-match-data (org-solidify-link-text + (match-string 1))))) + (if (match-string 2) "" (match-string 1))) + t t))) ;; Delete @<...> constructs ;; Thanks to Daniel Clemente for this regexp