From 74d337ef23bd727daa59a457787bcadd5af3e2b0 Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Mon, 14 Jun 2010 14:45:33 -0700 Subject: [PATCH] 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 --- contrib/babel/lisp/langs/org-babel-latex.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/babel/lisp/langs/org-babel-latex.el b/contrib/babel/lisp/langs/org-babel-latex.el index 5b8723c53..0dc14a356 100644 --- a/contrib/babel/lisp/langs/org-babel-latex.el +++ b/contrib/babel/lisp/langs/org-babel-latex.el @@ -97,7 +97,8 @@ called by `org-babel-execute-src-block'." (if 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) "Extracted from `org-export-as-pdf' in org-latex.el."