emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: "Symbol’s value as variable is void: compile" when export to latex
Date: Tue, 29 Sep 2015 13:39:36 -0400	[thread overview]
Message-ID: <87y4fpf7l3.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: m2pp11380i.fsf@krugs.de

Rainer M Krug <Rainer@krugs.de> 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) "\b<\205..\303\b8\211.\205..\304\n <\203.. \202..
> | C\"?)?\205\".\b\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) "\b<\205..\303\b8\211.\205..\304\n <\203..
> | \202.. C\"?)?\205\".\b\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	other threads:[~2015-09-29 17:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-29  9:11 "Symbol’s value as variable is void: compile" when export to latex Rainer M Krug
2015-09-29 17:39 ` Nick Dokos [this message]
2015-09-29 17:45 ` Rasmus
2015-09-29 18:41 ` Eric S Fraga
2015-09-29 18:50 ` Nick Dokos
2015-09-29 21:21 ` Kaushal Modi
2015-09-30  8:11   ` Rainer M Krug
2015-09-30  9:46 ` Suvayu Ali

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4fpf7l3.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).