Browse Source

Merge branch 'maint'

Bastien Guerry 11 years ago
parent
commit
ed3f1288cb
4 changed files with 8 additions and 11 deletions
  1. 2 5
      lisp/ox-ascii.el
  2. 2 2
      lisp/ox-beamer.el
  3. 2 2
      lisp/ox-html.el
  4. 2 2
      lisp/ox-latex.el

+ 2 - 5
lisp/ox-ascii.el

@@ -1386,12 +1386,9 @@ INFO is a plist holding contextual information."
       (let ((ref (org-element-property :path link)))
 	(format (org-export-get-coderef-format ref desc)
 		(org-export-resolve-coderef ref info))))
-     ;; Do not apply a special syntax on radio links.  Though, use
-     ;; transcoded target's contents as output.
+     ;; Do not apply a special syntax on radio links.
      ((string= type "radio")
-      (let ((destination (org-export-resolve-radio-link link info)))
-	(when destination
-	  (org-export-data (org-element-contents destination) info))))
+      (org-element-property :path link))
      ;; Do not apply a special syntax on fuzzy links pointing to
      ;; targets.
      ((string= type "fuzzy")

+ 2 - 2
lisp/ox-beamer.el

@@ -689,8 +689,8 @@ used as a communication channel."
 	(when destination
 	  (format "\\hyperlink%s{%s}{%s}"
 		  (or (org-beamer--element-has-overlay-p link) "")
-		  (org-export-solidify-link-text path)
-		  (org-export-data (org-element-contents destination) info)))))
+		  (org-export-data (org-element-contents destination) info)
+		  (org-export-solidify-link-text path)))))
      ((and (member type '("custom-id" "fuzzy" "id"))
 	   (let ((destination (if (string= type "fuzzy")
 				  (org-export-resolve-fuzzy-link link info)

+ 2 - 2
lisp/ox-html.el

@@ -2775,9 +2775,9 @@ INFO is a plist holding contextual information.  See
       (let ((destination (org-export-resolve-radio-link link info)))
 	(when destination
 	  (format "<a href=\"#%s\"%s>%s</a>"
-		  (org-export-solidify-link-text path)
+		  (org-export-data (org-element-contents destination) info)
 		  attributes
-		  (org-export-data (org-element-contents destination) info)))))
+		  (org-export-solidify-link-text path)))))
      ;; Links pointing to a headline: Find destination and build
      ;; appropriate referencing command.
      ((member type '("custom-id" "fuzzy" "id"))

+ 2 - 2
lisp/ox-latex.el

@@ -1889,8 +1889,8 @@ INFO is a plist holding contextual information.  See
       (let ((destination (org-export-resolve-radio-link link info)))
 	(when destination
 	  (format "\\hyperref[%s]{%s}"
-		  (org-export-solidify-link-text path)
-		  (org-export-data (org-element-contents destination) info)))))
+		  (org-export-data (org-element-contents destination) info)
+		  (org-export-solidify-link-text path)))))
      ;; Links pointing to a headline: Find destination and build
      ;; appropriate referencing command.
      ((member type '("custom-id" "fuzzy" "id"))