forked from mirrors/org-mode
Fix some more comments in export back-ends
This commit is contained in:
parent
946230bae4
commit
c84cda961f
|
@ -1448,8 +1448,8 @@ INFO is a plist holding contextual information."
|
||||||
(let ((ref (org-element-property :path link)))
|
(let ((ref (org-element-property :path link)))
|
||||||
(format (org-export-get-coderef-format ref desc)
|
(format (org-export-get-coderef-format ref desc)
|
||||||
(org-export-resolve-coderef ref info))))
|
(org-export-resolve-coderef ref info))))
|
||||||
;; Do not apply a special syntax on radio links. Though, parse
|
;; Do not apply a special syntax on radio links. Though, use
|
||||||
;; and transcode path to have a proper display of contents.
|
;; transcoded target's contents as output.
|
||||||
((string= type "radio")
|
((string= type "radio")
|
||||||
(let ((destination (org-export-resolve-radio-link link info)))
|
(let ((destination (org-export-resolve-radio-link link info)))
|
||||||
(when destination
|
(when destination
|
||||||
|
|
|
@ -2461,8 +2461,6 @@ INFO is a plist holding contextual information. See
|
||||||
(setq raw-path (match-string 1 raw-path)))
|
(setq raw-path (match-string 1 raw-path)))
|
||||||
(if (file-name-absolute-p raw-path)
|
(if (file-name-absolute-p raw-path)
|
||||||
(concat "file://" (expand-file-name raw-path))
|
(concat "file://" (expand-file-name raw-path))
|
||||||
;; TODO: Not implemented yet. Concat also:
|
|
||||||
;; (org-export-directory :HTML info)
|
|
||||||
(concat "file://" raw-path)))
|
(concat "file://" raw-path)))
|
||||||
(t raw-path)))
|
(t raw-path)))
|
||||||
protocol)
|
protocol)
|
||||||
|
@ -2472,9 +2470,8 @@ INFO is a plist holding contextual information. See
|
||||||
(and org-e-html-inline-images (not desc)))
|
(and org-e-html-inline-images (not desc)))
|
||||||
(org-export-inline-image-p link org-e-html-inline-image-rules))
|
(org-export-inline-image-p link org-e-html-inline-image-rules))
|
||||||
(org-e-html-link--inline-image link desc info))
|
(org-e-html-link--inline-image link desc info))
|
||||||
;; Radioed target: Target's name is obtained from original raw
|
;; Radio target: Transcode target's contents and use them as
|
||||||
;; link. Path is parsed and transcoded in order to have a proper
|
;; link's description.
|
||||||
;; display of the contents.
|
|
||||||
((string= type "radio")
|
((string= type "radio")
|
||||||
(let ((destination (org-export-resolve-radio-link link info)))
|
(let ((destination (org-export-resolve-radio-link link info)))
|
||||||
(when destination
|
(when destination
|
||||||
|
|
|
@ -1577,17 +1577,14 @@ INFO is a plist holding contextual information. See
|
||||||
(setq raw-path (match-string 1 raw-path)))
|
(setq raw-path (match-string 1 raw-path)))
|
||||||
(if (file-name-absolute-p raw-path)
|
(if (file-name-absolute-p raw-path)
|
||||||
(concat "file://" (expand-file-name raw-path))
|
(concat "file://" (expand-file-name raw-path))
|
||||||
;; TODO: Not implemented yet. Concat also:
|
|
||||||
;; (org-export-directory :LaTeX info)
|
|
||||||
(concat "file://" raw-path)))
|
(concat "file://" raw-path)))
|
||||||
(t raw-path)))
|
(t raw-path)))
|
||||||
protocol)
|
protocol)
|
||||||
(cond
|
(cond
|
||||||
;; Image file.
|
;; Image file.
|
||||||
(imagep (org-e-latex-link--inline-image link info))
|
(imagep (org-e-latex-link--inline-image link info))
|
||||||
;; Radioed target: Target's name is obtained from original raw
|
;; Radio link: Transcode target's contents and use them as link's
|
||||||
;; link. Path is parsed and transcoded in order to have a proper
|
;; description.
|
||||||
;; display of the contents.
|
|
||||||
((string= type "radio")
|
((string= type "radio")
|
||||||
(let ((destination (org-export-resolve-radio-link link info)))
|
(let ((destination (org-export-resolve-radio-link link info)))
|
||||||
(when destination
|
(when destination
|
||||||
|
|
|
@ -3602,8 +3602,6 @@ INFO is a plist holding contextual information. See
|
||||||
(setq raw-path (match-string 1 raw-path)))
|
(setq raw-path (match-string 1 raw-path)))
|
||||||
(if (file-name-absolute-p raw-path)
|
(if (file-name-absolute-p raw-path)
|
||||||
(concat "file://" (expand-file-name raw-path))
|
(concat "file://" (expand-file-name raw-path))
|
||||||
;; TODO: Not implemented yet. Concat also:
|
|
||||||
;; (org-export-directory :HTML info)
|
|
||||||
(concat "file://" raw-path)))
|
(concat "file://" raw-path)))
|
||||||
(t raw-path)))
|
(t raw-path)))
|
||||||
protocol)
|
protocol)
|
||||||
|
@ -3612,9 +3610,8 @@ INFO is a plist holding contextual information. See
|
||||||
((and (not desc) (org-export-inline-image-p
|
((and (not desc) (org-export-inline-image-p
|
||||||
link org-e-odt-inline-image-rules))
|
link org-e-odt-inline-image-rules))
|
||||||
(org-e-odt-link--inline-image link info))
|
(org-e-odt-link--inline-image link info))
|
||||||
;; Radioed target: Target's name is obtained from original raw
|
;; Radio target: Transcode target's contents and use them as
|
||||||
;; link. Path is parsed and transcoded in order to have a proper
|
;; link's description.
|
||||||
;; display of the contents.
|
|
||||||
((string= type "radio")
|
((string= type "radio")
|
||||||
(let ((destination (org-export-resolve-radio-link link info)))
|
(let ((destination (org-export-resolve-radio-link link info)))
|
||||||
(when destination
|
(when destination
|
||||||
|
|
Loading…
Reference in New Issue