Dear Org List,
I came across a typo that makes exporting to Latex impossible. The attached
patch fixes this problem.
This is the first patch I submit, and I changed just one line. If there is a
problem, you can just fix this one place manually.
All the best,
Christian
--
Christian Wittern, Kyoto
>From 597d30459c6637ce3c42d7155bcc1487e2e15ac9 Mon Sep 17 00:00:00 2001
From: ChristianW <chris@mbp4-ubuntu.local>
Date: Thu, 22 Dec 2016 19:17:17 +0900
Subject: [PATCH] Fixed error in org-compile-file out-dir
---
lisp/org.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/org.el b/lisp/org.el
index 3ed7187..9b0b9cc 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -22680,7 +22680,7 @@ be set to a buffer or a buffer name. `shell-command' then uses
it for output."
(let* ((base-name (file-name-base source))
(full-name (file-truename source))
- (out-dir (file-name-directory source))
+ (out-dir (file-name-directory full-name))
(output (expand-file-name (concat base-name "." ext) out-dir))
(time (current-time))
(err-msg (if (stringp err-msg) (concat ". " err-msg) "")))
--
2.7.4