From mboxrd@z Thu Jan 1 00:00:00 1970 From: avigoz Subject: Bug: "LATEX_HEADER includes are not copied to temp directories" [8.2.5c (8.2.5c-elpa @ /Users/avigoz/.emacs.d/elpa/org-20140107/)] Date: Thu, 21 Aug 2014 14:28:21 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKQYK-0002xP-Jd for emacs-orgmode@gnu.org; Thu, 21 Aug 2014 07:29:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XKQYD-00033q-VQ for emacs-orgmode@gnu.org; Thu, 21 Aug 2014 07:29:12 -0400 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:46578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XKQYD-00033Z-NY for emacs-orgmode@gnu.org; Thu, 21 Aug 2014 07:29:05 -0400 Received: by mail-wg0-f43.google.com with SMTP id l18so8946299wgh.26 for ; Thu, 21 Aug 2014 04:29:04 -0700 (PDT) Received: from hezimacair.es.huji.ac.il (hezimacair.es.huji.ac.il. [132.64.145.26]) by mx.google.com with ESMTPSA id za9sm50286880wjc.29.2014.08.21.04.29.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Aug 2014 04:29:03 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ in my orgmode files i include the line "#+LATEX_HEADER: \input{lib.tex}" in order to have the latex listings package included. (lib.tex includes only one line - \usepackage{listings} ). When I now use c-c c-x c-l in order to view an equation snippet inside an orgmode buffer, compilation fails because the temporary directory that orgmode uses does not include lib.tex . if I copy lib.tex manually to the temp directory, everything works. Emacs : GNU Emacs 24.3.1 (x86_64-apple-darwin12.3.0, NS apple-appkit-1187.37) of 2013-10-02 on avigozs-MacBook-Pro.local Package: Org-mode version 8.2.5c (8.2.5c-elpa @ /Users/avigoz/.emacs.d/elpa/org-20140107/) current state: ============== (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-agenda-start-on-weekday 0 org-html-format-drawer-function '(lambda (name contents) contents) org-latex-format-inlinetask-function 'ignore org-confirm-shell-link-function 'yes-or-no-p org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-latex-format-headline-function 'org-latex-format-headline-default-function org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function '(lambda (name contents) contents) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] turn-on-font-lock #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-ascii-format-drawer-function '(lambda (name contents width) contents) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-babel-tangle-lang-exts '(("python" . "py") ("perl" . "pl") ("latex" . "tex") ("emacs-lisp" . "el")) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-html-format-headline-function 'ignore org-startup-truncated nil org-babel-load-languages '((emacs-lisp . t) (latex . t) (octave . t) (perl . t) (python . t) (sh . t)) org-html-format-inlinetask-function 'ignore org-agenda-files '("~/Dropbox/gtd/work.org" "~/Dropbox/gtd/gtd_all.org" "~/Dropbox/gtd/birthdays_anniv.org" "~/Dropbox/gtd/jewish.org" "~/Dropbox/gtd/private_google.org") org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-confirm-babel-evaluate nil org-src-fontify-natively t )