emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] "Symbol’s value as variable is void: compile" when export to lat


From: Nick Dokos
Subject: Re: [O] "Symbol’s value as variable is void: compile" when export to latex
Date: Tue, 29 Sep 2015 13:39:36 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Rainer M Krug <address@hidden> writes:

> Exporting to latex of the simple file below results in an error:
>
> ,----
> | mapcar: Symbol’s value as variable is void: compile
> `----
>

Can't reproduce it.

> #+LATEX_CLASS: article
> #+LATEX_CLASS_OPTIONS:
> #+LATEX_HEADER:
> #+LATEX_HEADER_EXTRA:
> #+DESCRIPTION:
> #+KEYWORDS:
> #+SUBTITLE:
> #+LATEX_COMPILER: pdflatex
> #+DATE: \today
>
> * Emacs version
> #+begin_src emacs-lisp 
>  (emacs-version)
> #+end_src
>
> #+RESULTS:
> : GNU Emacs 25.0.50.1 (x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 
> 10.10.5 (Build 14F27))
> :  of 2015-09-29
>
> #+begin_src emacs-lisp
>  (org-version)
> #+end_src
>
> #+RESULTS:
> : 8.3.1
>
> Org-mode version 8.3.1 (release_8.3.1-283-gf6187d @ 
> /Users/rainerkrug/.emacs.d/org-mode/lisp/)
>
> PS: how do I get this output from a source block above?
>

#+BEGIN_SRC emacs-lisp
(org-version nil t)
#+END_SRC

#+RESULTS:
: Org-mode version 8.3.1 (release_8.3.1-48-g3add78 @ 
/home/nick/elisp/org-mode/lisp/)

>

> ,----
> | Debugger entered--Lisp error: (void-variable compile)
> |   #[(pkg) "<\205..\3038\211.\205..\304\n <\203.. \202..
> | C\"?)?\205\".\207" [pkg third compile 3 member-ignore-case]
                                    ^^^^^^^
This is the problem but it's not clear to me where it's coming from.
Try with an uncompiled org perhaps? See

(info "(org) Feedback")

for how to do that.

> | 4](("AUTO" "inputenc" t ("pdflatex")))
> |   mapcar(#[(pkg) "<\205..\3038\211.\205..\304\n <\203..
> | \202.. C\"?)?\205\".\207" [pkg third compile 3
> | member-ignore-case] 4] (("AUTO" "inputenc" t ("pdflatex")) ("T1"
> | "fontenc" t ("pdflatex")) ("" "graphicx" t) ("" "grffile" t) (""
> | "longtable" nil) ("" "wrapfig" nil) ("" "rotating" nil) ("normalem"
> | "ulem" t) ("" "amsmath" t) ("" "textcomp" t) ("" "amssymb" t) (""
> | "capt-of" nil) ("" "hyperref" nil)))
> |   org-latex--remove-packages((("AUTO" "inputenc" t ("pdflatex"))
> |    ...

BTW, I cannot find an org-latex--remove-packages function in my org
installation.

Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]