Docbook export: Fix export bug related to ID links
This commit is contained in:
parent
7bc578c6ad
commit
148ab8c8d0
|
@ -793,12 +793,13 @@ publishing directory."
|
||||||
(setq id-file (org-id-find-id-file path)))
|
(setq id-file (org-id-find-id-file path)))
|
||||||
;; This is an id: link to another file (if it was the same file,
|
;; This is an id: link to another file (if it was the same file,
|
||||||
;; it would have become an internal link...)
|
;; it would have become an internal link...)
|
||||||
(setq id-file (file-relative-name
|
(save-match-data
|
||||||
id-file (file-name-directory org-current-export-file)))
|
(setq id-file (file-relative-name
|
||||||
(setq id-file (concat (file-name-sans-extension id-file)
|
id-file (file-name-directory org-current-export-file)))
|
||||||
org-export-docbook-extension))
|
(setq id-file (concat (file-name-sans-extension id-file)
|
||||||
(setq rpl (format "<link xlink:href=\"%s#%s\">%s</link>"
|
org-export-docbook-extension))
|
||||||
id-file path (org-export-docbook-format-desc desc))))
|
(setq rpl (format "<link xlink:href=\"%s#%s\">%s</link>"
|
||||||
|
id-file path (org-export-docbook-format-desc desc)))))
|
||||||
((member type '("http" "https"))
|
((member type '("http" "https"))
|
||||||
;; Standard URL, just check if we need to inline an image
|
;; Standard URL, just check if we need to inline an image
|
||||||
(if (and (or (eq t org-export-docbook-inline-images)
|
(if (and (or (eq t org-export-docbook-inline-images)
|
||||||
|
|
Loading…
Reference in New Issue