babel: fixed latex packages in org-babel-latex -- Thanks to William Henney
* contrib/babel/lisp/langs/org-babel-latex.el (org-babel-latex-body-to-tex-file): now calling `org-export-latex-fix-inputenc' to sort out encodings in latex package list
This commit is contained in:
parent
08d8331307
commit
74d337ef23
|
@ -97,7 +97,8 @@ called by `org-babel-execute-src-block'."
|
||||||
(if org-format-latex-header-extra
|
(if org-format-latex-header-extra
|
||||||
(concat "\n" org-format-latex-header-extra)
|
(concat "\n" org-format-latex-header-extra)
|
||||||
"")
|
"")
|
||||||
"\n\\begin{document}\n" body "\n\\end{document}\n")))
|
"\n\\begin{document}\n" body "\n\\end{document}\n")
|
||||||
|
(org-export-latex-fix-inputenc)))
|
||||||
|
|
||||||
(defun org-babel-latex-tex-to-pdf (tex-file)
|
(defun org-babel-latex-tex-to-pdf (tex-file)
|
||||||
"Extracted from `org-export-as-pdf' in org-latex.el."
|
"Extracted from `org-export-as-pdf' in org-latex.el."
|
||||||
|
|
Loading…
Reference in New Issue