Export: Keep relative path to image relative also after LaTeX export.
Reported by Manish.
This commit is contained in:
parent
e76dd96fce
commit
bc530157aa
|
@ -1,5 +1,8 @@
|
|||
2009-01-19 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-export-latex.el (org-export-latex-links): Keep a relative
|
||||
path relative also after export.
|
||||
|
||||
* org-exp.el (org-export-html-scripts): Fix HTML snippet.
|
||||
|
||||
* org.el (org-make-tags-matcher): Never use IDO for completing the
|
||||
|
|
|
@ -1238,7 +1238,9 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER."
|
|||
(if floatp "\\begin{figure}[htb]\n")
|
||||
(format "\\centerline{\\includegraphics[%s]{%s}}\n"
|
||||
(or attr org-export-latex-image-default-option)
|
||||
(expand-file-name raw-path))
|
||||
(if (file-name-absolute-p raw-path)
|
||||
(expand-file-name raw-path)
|
||||
raw-path))
|
||||
(if floatp
|
||||
(format "\\caption{%s%s}\n"
|
||||
(if label (concat "\\label{" label "}") "")
|
||||
|
|
Loading…
Reference in New Issue