emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* "Symbol’s value as variable is void: compile" when export to latex
@ 2015-09-29  9:11 Rainer M Krug
  2015-09-29 17:39 ` Nick Dokos
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Rainer M Krug @ 2015-09-29  9:11 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 19222 bytes --]


Exporting to latex of the simple file below results in an error:

,----
| mapcar: Symbol’s value as variable is void: compile
`----

--8<---------------cut here---------------start------------->8---
#+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?
--8<---------------cut here---------------end--------------->8---


,----
| Debugger entered--Lisp error: (void-variable compile)
|   #[(pkg) "\b<\205.\0\303\b8\211.\205.\0\304\n	<\203.\0	\202.\0	C\"?)?\205\".\b\207" [pkg third compile 3 member-ignore-case] 4](("AUTO" "inputenc" t ("pdflatex")))
|   mapcar(#[(pkg) "\b<\205.\0\303\b8\211.\205.\0\304\n	<\203.\0	\202.\0	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")) ("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)) (:export-options nil :input-buffer "test.org" :input-file "/Users/rainerkrug/tmp/test.org" :latex-class "article" :latex-class-options "" :latex-header "" :latex-header-extra "" :description nil :keywords nil :subtitle nil :latex-active-timestamp-format "\\textit{%s}" :latex-caption-above (table) :latex-classes (("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) :latex-default-figure-position "htb" :latex-default-table-environment "tabular" :latex-default-table-mode table :latex-diary-timestamp-format "\\textit{%s}" :latex-footnote-separator "\\textsuperscript{,}\\," :latex-format-drawer-function (lambda (name contents) contents) :latex-format-headline-function org-latex-format-headline-default-function :latex-format-inlinetask-function org-latex-format-inlinetask-default-function :latex-hyperref-template "\\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n pdfkeywords={%k},\n pdfsubject={%d},\n pdfcreator={%c}, \n pdflang={%L}}\n" :latex-image-default-height "" :latex-image-default-option "" :latex-image-default-width ".9\\linewidth" ...))
|   org-latex--make-header((:export-options nil :input-buffer "test.org" :input-file "/Users/rainerkrug/tmp/test.org" :latex-class "article" :latex-class-options "" :latex-header "" :latex-header-extra "" :description nil :keywords nil :subtitle nil :latex-active-timestamp-format "\\textit{%s}" :latex-caption-above (table) :latex-classes (("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) :latex-default-figure-position "htb" :latex-default-table-environment "tabular" :latex-default-table-mode table :latex-diary-timestamp-format "\\textit{%s}" :latex-footnote-separator "\\textsuperscript{,}\\," :latex-format-drawer-function (lambda (name contents) contents) :latex-format-headline-function org-latex-format-headline-default-function :latex-format-inlinetask-function org-latex-format-inlinetask-default-function :latex-hyperref-template "\\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n pdfkeywords={%k},\n pdfsubject={%d},\n pdfcreator={%c}, \n pdflang={%L}}\n" :latex-image-default-height "" :latex-image-default-option "" :latex-image-default-width ".9\\linewidth" ...))
|   org-latex-template(#("\n\\section{Emacs version}\n\\label{sec:orgheadline1}\n\\lstset{language=Lisp,label= ,caption= ,captionpos=b,numbers=none}\n\\begin{lstlisting}\n (emacs-version)\n\\end{lstlisting}\n\n\\lstset{language=Lisp,label= ,caption= ,captionpos=b,numbers=none}\n\\begin{lstlisting}\n (org-version)\n\\end{lstlisting}\n\nOrg-mode version 8.3.1 (release\\(_{\\text{8.3.1}}\\)-283-gf6187d @ \\emph{Users/rainerkrug}.emacs.d/org-mode/lisp/)\n\nPS: how do I get this output from a source block above?\n" 10 23 (:parent (headline (:raw-value "Emacs version" :begin 167 :end 436 :pre-blank 0 :contents-begin 183 :contents-end 435 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 167 :title (#("Emacs version" 0 13 (:parent #2))) :parent (org-data nil (section (:begin 1 :end 167 :contents-begin 1 :contents-end 166 :post-blank 1 :post-affiliated 1 :parent #4) (keyword (:key "LATEX_CLASS" :value "article" :begin 1 :end 24 :post-blank 0 :post-affiliated 1 :parent #5)) (keyword (:key "LATEX_CLASS_OPTIONS" :value "" :begin 24 :end 47 :post-blank 0 :post-affiliated 24 :parent #5)) (keyword (:key "LATEX_HEADER" :value "" :begin 47 :end 63 :post-blank 0 :post-affiliated 47 :parent #5)) (keyword (:key "LATEX_HEADER_EXTRA" :value "" :begin 63 :end 85 :post-blank 0 :post-affiliated 63 :parent #5)) (keyword (:key "DESCRIPTION" :value "" :begin 85 :end 100 :post-blank 0 :post-affiliated 85 :parent #5)) (keyword (:key "KEYWORDS" :value "" :begin 100 :end 112 :post-blank 0 :post-affiliated 100 :parent #5)) (keyword (:key "SUBTITLE" :value "" :begin 112 :end 124 :post-blank 0 :post-affiliated 112 :parent #5)) (keyword (:key "LATEX_COMPILER" :value "pdflatex" :begin 124 :end 151 :post-blank 0 :post-affiliated 124 :parent #5)) (keyword (:key "DATE" :value "\\today" :begin 151 :end 166 :post-blank 0 :post-affiliated 151 :parent #5))) #2)) (section (:begin 183 :end 436 :contents-begin 183 :contents-end 435 :post-blank 1 :post-affiliated 183 :parent #2) (src-block (:language "emacs-lisp" :switches nil :parameters nil :begin 183 :end 234 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value " (emacs-version)\n" :post-blank 1 :post-affiliated 183 :parent #3)) (src-block (:language "emacs-lisp" :switches nil :parameters nil :begin 234 :end 283 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value " (org-version)\n" :post-blank 1 :post-affiliated 234 :parent #3)) (paragraph (:begin 283 :end 379 :contents-begin 283 :contents-end 378 :post-blank 1 :post-affiliated 283 :parent #3) #("Org-mode version 8.3.1 (release" 0 31 (:parent #4)) (latex-math-block (:parent #4 :post-blank 0) (subscript (:begin 314 :end 320 :use-brackets-p nil :contents-begin 315 :contents-end 320 :post-blank 0 :parent #5) #("8.3.1" 0 5 ...))) #("-283-gf6187d @ " 0 15 (:parent #4)) (italic (:begin 335 :end 353 :contents-begin 336 :contents-end 352 :post-blank 0 :parent #4) #("Users/rainerkrug" 0 16 (:parent #5))) #(".emacs.d/org-mode/lisp/)\n" 0 25 (:parent #4))) (paragraph (:begin 379 :end 435 :contents-begin 379 :contents-end 435 :post-blank 0 :post-affiliated 379 :parent #3) #("PS: how do I get this output from a source block above?\n" 0 56 (:parent #4)))))) 290 321 (:parent (paragraph (:begin 283 :end 379 :contents-begin 283 :contents-end 378 :post-blank 1 :post-affiliated 283 :parent (section (:begin 183 :end 436 :contents-begin 183 :contents-end 435 :post-blank 1 :post-affiliated 183 :parent (headline (:raw-value "Emacs version" :begin 167 :end 436 :pre-blank 0 :contents-begin 183 :contents-end 435 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 167 :title ... :parent ...) #4)) (src-block (:language "emacs-lisp" :switches nil :parameters nil :begin 183 :end 234 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value " (emacs-version)\n" :post-blank 1 :post-affiliated 183 :parent #4)) (src-block (:language "emacs-lisp" :switches nil :parameters nil :begin 234 :end 283 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value " (org-version)\n" :post-blank 1 :post-affiliated 234 :parent #4)) #2 (paragraph (:begin 379 :end 435 :contents-begin 379 :contents-end 435 :post-blank 0 :post-affiliated 379 :parent #4) #("PS: how do I get this output from a source block above?\n" 0 56 (:parent #5))))) #("Org-mode version 8.3.1 (release" 0 31 (:parent #2)) (latex-math-block (:parent #2 :post-blank 0) (subscript (:begin 314 :end 320 :use-brackets-p nil :contents-begin 315 :contents-end 320 :post-blank 0 :parent #3) #("8.3.1" 0 5 (:parent #4)))) #("-283-gf6187d @ " 0 15 (:parent #2)) (italic (:begin 335 :end 353 :contents-begin 336 :contents-end 352 :post-blank 0 :parent #2) #("Users/rainerkrug" 0 16 (:parent #3))) #(".emacs.d/org-mode/lisp/)\n" 0 25 (:parent #2)))) 331 336 (:parent (subscript (:begin 314 :end 320 :use-brackets-p nil :contents-begin 315 :contents-end 320 :post-blank 0 :parent (latex-math-block (:parent (paragraph (:begin 283 :end 379 :contents-begin 283 :contents-end 378 :post-blank 1 :post-affiliated 283 :parent ...) #("Org-mode version 8.3.1 (release" 0 31 ...) #4 #("-283-gf6187d @ " 0 15 ...) (italic ... #("Users/rainerkrug" 0 16 ...)) #(".emacs.d/org-mode/lisp/)\n" 0 25 ...)) :post-blank 0) #2)) #("8.3.1" 0 5 (:parent #2)))) 340 355 (:parent (paragraph (:begin 283 :end 379 :contents-begin 283 :contents-end 378 :post-blank 1 :post-affiliated 283 :parent (section (:begin 183 :end 436 :contents-begin 183 :contents-end 435 :post-blank 1 :post-affiliated 183 :parent (headline (:raw-value "Emacs version" :begin 167 :end 436 :pre-blank 0 :contents-begin 183 :contents-end 435 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 167 :title ... :parent ...) #4)) (src-block (:language "emacs-lisp" :switches nil :parameters nil :begin 183 :end 234 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value " (emacs-version)\n" :post-blank 1 :post-affiliated 183 :parent #4)) (src-block (:language "emacs-lisp" :switches nil :parameters nil :begin 234 :end 283 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value " (org-version)\n" :post-blank 1 :post-affiliated 234 :parent #4)) #2 (paragraph (:begin 379 :end 435 :contents-begin 379 :contents-end 435 :post-blank 0 :post-affiliated 379 :parent #4) #("PS: how do I get this output from a source block above?\n" 0 56 (:parent #5))))) #("Org-mode version 8.3.1 (release" 0 31 (:parent #2)) (latex-math-block (:parent #2 :post-blank 0) (subscript (:begin 314 :end 320 :use-brackets-p nil :contents-begin 315 :contents-end 320 :post-blank 0 :parent #3) #("8.3.1" 0 5 (:parent #4)))) #("-283-gf6187d @ " 0 15 (:parent #2)) (italic (:begin 335 :end 353 :contents-begin 336 :contents-end 352 :post-blank 0 :parent #2) #("Users/rainerkrug" 0 16 (:parent #3))) #(".emacs.d/org-mode/lisp/)\n" 0 25 (:parent #2)))) 361 377 (:parent (italic (:begin 335 :end 353 :contents-begin 336 :contents-end 352 :post-blank 0 :parent (paragraph (:begin 283 :end 379 :contents-begin 283 :contents-end 378 :post-blank 1 :post-affiliated 283 :parent (section (:begin 183 :end 436 :contents-begin 183 :contents-end 435 :post-blank 1 :post-affiliated 183 :parent ...) (src-block ...) (src-block ...) #4 (paragraph ... #("PS: how do I get this output from a source block above?\n" 0 56 ...)))) #("Org-mode version 8.3.1 (release" 0 31 (:parent #4)) (latex-math-block (:parent #4 :post-blank 0) (subscript (:begin 314 :end 320 :use-brackets-p nil :contents-begin 315 :contents-end 320 :post-blank 0 :parent #5) #("8.3.1" 0 5 ...))) #("-283-gf6187d @ " 0 15 (:parent #4)) #2 #(".emacs.d/org-mode/lisp/)\n" 0 25 (:parent #4)))) #("Users/rainerkrug" 0 16 (:parent #2)))) 378 402 (:parent (paragraph (:begin 283 :end 379 :contents-begin 283 :contents-end 378 :post-blank 1 :post-affiliated 283 :parent (section (:begin 183 :end 436 :contents-begin 183 :contents-end 435 :post-blank 1 :post-affiliated 183 :parent (headline (:raw-value "Emacs version" :begin 167 :end 436 :pre-blank 0 :contents-begin 183 :contents-end 435 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 167 :title ... :parent ...) #4)) (src-block (:language "emacs-lisp" :switches nil :parameters nil :begin 183 :end 234 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value " (emacs-version)\n" :post-blank 1 :post-affiliated 183 :parent #4)) (src-block (:language "emacs-lisp" :switches nil :parameters nil :begin 234 :end 283 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value " (org-version)\n" :post-blank 1 :post-affiliated 234 :parent #4)) #2 (paragraph (:begin 379 :end 435 :contents-begin 379 :contents-end 435 :post-blank 0 :post-affiliated 379 :parent #4) #("PS: how do I get this output from a source block above?\n" 0 56 (:parent #5))))) #("Org-mode version 8.3.1 (release" 0 31 (:parent #2)) (latex-math-block (:parent #2 :post-blank 0) (subscript (:begin 314 :end 320 :use-brackets-p nil :contents-begin 315 :contents-end 320 :post-blank 0 :parent #3) #("8.3.1" 0 5 (:parent #4)))) #("-283-gf6187d @ " 0 15 (:parent #2)) (italic (:begin 335 :end 353 :contents-begin 336 :contents-end 352 :post-blank 0 :parent #2) #("Users/rainerkrug" 0 16 (:parent #3))) #(".emacs.d/org-mode/lisp/)\n" 0 25 (:parent #2)))) 404 459 (:parent (paragraph (:begin 379 :end 435 :contents-begin 379 :contents-end 435 :post-blank 0 :post-affiliated 379 :parent (section (:begin 183 :end 436 :contents-begin 183 :contents-end 435 :post-blank 1 :post-affiliated 183 :parent (headline (:raw-value "Emacs version" :begin 167 :end 436 :pre-blank 0 :contents-begin 183 :contents-end 435 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 167 :title ... :parent ...) #4)) (src-block (:language "emacs-lisp" :switches nil :parameters nil :begin 183 :end 234 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value " (emacs-version)\n" :post-blank 1 :post-affiliated 183 :parent #4)) (src-block (:language "emacs-lisp" :switches nil :parameters nil :begin 234 :end 283 :number-lines nil :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value " (org-version)\n" :post-blank 1 :post-affiliated 234 :parent #4)) (paragraph (:begin 283 :end 379 :contents-begin 283 :contents-end 378 :post-blank 1 :post-affiliated 283 :parent #4) #("Org-mode version 8.3.1 (release" 0 31 (:parent #5)) (latex-math-block (:parent #5 :post-blank 0) (subscript ... #("8.3.1" 0 5 ...))) #("-283-gf6187d @ " 0 15 (:parent #5)) (italic (:begin 335 :end 353 :contents-begin 336 :contents-end 352 :post-blank 0 :parent #5) #("Users/rainerkrug" 0 16 ...)) #(".emacs.d/org-mode/lisp/)\n" 0 25 (:parent #5))) #2)) #("PS: how do I get this output from a source block above?\n" 0 56 (:parent #2))))) (:export-options nil :input-buffer "test.org" :input-file "/Users/rainerkrug/tmp/test.org" :latex-class "article" :latex-class-options "" :latex-header "" :latex-header-extra "" :description nil :keywords nil :subtitle nil :latex-active-timestamp-format "\\textit{%s}" :latex-caption-above (table) :latex-classes (("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))) :latex-default-figure-position "htb" :latex-default-table-environment "tabular" :latex-default-table-mode table :latex-diary-timestamp-format "\\textit{%s}" :latex-footnote-separator "\\textsuperscript{,}\\," :latex-format-drawer-function (lambda (name contents) contents) :latex-format-headline-function org-latex-format-headline-default-function :latex-format-inlinetask-function org-latex-format-inlinetask-default-function :latex-hyperref-template "\\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n pdfkeywords={%k},\n pdfsubject={%d},\n pdfcreator={%c}, \n pdflang={%L}}\n" :latex-image-default-height "" :latex-image-default-option "" :latex-image-default-width ".9\\linewidth" ...))
|   org-export-as(latex nil nil nil (:output-file "./test.tex"))
|   org-export-to-file(latex "./test.tex" nil nil nil nil nil)
|   org-latex-export-to-latex(nil nil nil nil)
|   org-export-dispatch(nil)
|   funcall-interactively(org-export-dispatch nil)
|   call-interactively(org-export-dispatch nil nil)
|   command-execute(org-export-dispatch)
`----

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug

PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: "Symbol’s value as variable is void: compile" when export to latex
  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
  2015-09-29 17:45 ` Rasmus
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Nick Dokos @ 2015-09-29 17:39 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: "Symbol’s value as variable is void: compile" when export to latex
  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
@ 2015-09-29 17:45 ` Rasmus
  2015-09-29 18:41 ` Eric S Fraga
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Rasmus @ 2015-09-29 17:45 UTC (permalink / raw)
  To: emacs-orgmode

Hi Rainer,

Thanks for the report.

Rainer M Krug <Rainer@krugs.de> writes:

> Exporting to latex of the simple file below results in an error:

How embarrassing!  Hopefully there are no more typos in the choice of
latex compiler changeset...

Rasmus

-- 
It was you, Jezebel, it was you

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: "Symbol’s value as variable is void: compile" when export to latex
  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
  2015-09-29 17:45 ` Rasmus
@ 2015-09-29 18:41 ` Eric S Fraga
  2015-09-29 18:50 ` Nick Dokos
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 8+ messages in thread
From: Eric S Fraga @ 2015-09-29 18:41 UTC (permalink / raw)
  To: Rainer M Krug; +Cc: emacs-orgmode

On Tuesday, 29 Sep 2015 at 11:11, Rainer M Krug wrote:
> Exporting to latex of the simple file below results in an error:
>
> ,----
> | mapcar: Symbol’s value as variable is void: compile
> `----

Works for me... albeit in a slightly older version of org that I have on
my laptop.

> PS: how do I get this output from a source block above?

(org-version nil t)
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3.1-203-g4ca3d3

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: "Symbol’s value as variable is void: compile" when export to latex
  2015-09-29  9:11 "Symbol’s value as variable is void: compile" when export to latex Rainer M Krug
                   ` (2 preceding siblings ...)
  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  9:46 ` Suvayu Ali
  5 siblings, 0 replies; 8+ messages in thread
From: Nick Dokos @ 2015-09-29 18:50 UTC (permalink / raw)
  To: emacs-orgmode

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
> `----
>

Rasmus just fixed it:

commit 679adcaa64613c821b38cd1d34b081640315293a
Author: Rasmus <rasmus@gmx.us>
Date:   Tue Sep 29 19:39:01 2015 +0200

    ox-latex: Fix typo in 1e4b7e4bec6b6d4351b1e23872b6
    
    * ox-latex.el (org-latex--remove-packages): Fix typo.

Nick

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: "Symbol’s value as variable is void: compile" when export to latex
  2015-09-29  9:11 "Symbol’s value as variable is void: compile" when export to latex Rainer M Krug
                   ` (3 preceding siblings ...)
  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
  5 siblings, 1 reply; 8+ messages in thread
From: Kaushal Modi @ 2015-09-29 21:21 UTC (permalink / raw)
  To: Rainer M Krug, emacs-org list, Rasmus

[-- Attachment #1: Type: text/plain, Size: 20344 bytes --]

Rasmus has fixed this in
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=679adcaa64613c821b38cd1d34b081640315293a
.



--
Kaushal Modi

On Tue, Sep 29, 2015 at 5:11 AM, Rainer M Krug <Rainer@krugs.de> wrote:

>
> Exporting to latex of the simple file below results in an error:
>
> ,----
> | mapcar: Symbol’s value as variable is void: compile
> `----
>
> --8<---------------cut here---------------start------------->8---
> #+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?
> --8<---------------cut here---------------end--------------->8---
>
>
> ,----
> | Debugger entered--Lisp error: (void-variable compile)
> |   #[(pkg) " <\205. \303 8\211.\205. \304\n    <\203.  \202.
>  C\"?)?\205\". \207" [pkg third compile 3 member-ignore-case] 4](("AUTO"
> "inputenc" t ("pdflatex")))
> |   mapcar(#[(pkg) " <\205. \303 8\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")) ("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)) (:export-options nil :input-buffer "test.org"
> :input-file "/Users/rainerkrug/tmp/test.org" :latex-class "article"
> :latex-class-options "" :latex-header "" :latex-header-extra ""
> :description nil :keywords nil :subtitle nil :latex-active-timestamp-format
> "\\textit{%s}" :latex-caption-above (table) :latex-classes (("article"
> "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
> "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}")
> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report"
> "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}")
> ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
> "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}"
> ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}")
> ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" .
> "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> :latex-default-figure-position "htb" :latex-default-table-environment
> "tabular" :latex-default-table-mode table :latex-diary-timestamp-format
> "\\textit{%s}" :latex-footnote-separator "\\textsuperscript{,}\\,"
> :latex-format-drawer-function (lambda (name contents) contents)
> :latex-format-headline-function org-latex-format-headline-default-function
> :latex-format-inlinetask-function
> org-latex-format-inlinetask-default-function :latex-hyperref-template
> "\\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n pdfkeywords={%k},\n
> pdfsubject={%d},\n pdfcreator={%c}, \n pdflang={%L}}\n"
> :latex-image-default-height "" :latex-image-default-option ""
> :latex-image-default-width ".9\\linewidth" ...))
> |   org-latex--make-header((:export-options nil :input-buffer "test.org"
> :input-file "/Users/rainerkrug/tmp/test.org" :latex-class "article"
> :latex-class-options "" :latex-header "" :latex-header-extra ""
> :description nil :keywords nil :subtitle nil :latex-active-timestamp-format
> "\\textit{%s}" :latex-caption-above (table) :latex-classes (("article"
> "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
> "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}")
> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report"
> "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}")
> ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
> "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}"
> ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}")
> ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" .
> "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> :latex-default-figure-position "htb" :latex-default-table-environment
> "tabular" :latex-default-table-mode table :latex-diary-timestamp-format
> "\\textit{%s}" :latex-footnote-separator "\\textsuperscript{,}\\,"
> :latex-format-drawer-function (lambda (name contents) contents)
> :latex-format-headline-function org-latex-format-headline-default-function
> :latex-format-inlinetask-function
> org-latex-format-inlinetask-default-function :latex-hyperref-template
> "\\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n pdfkeywords={%k},\n
> pdfsubject={%d},\n pdfcreator={%c}, \n pdflang={%L}}\n"
> :latex-image-default-height "" :latex-image-default-option ""
> :latex-image-default-width ".9\\linewidth" ...))
> |   org-latex-template(#("\n\\section{Emacs
> version}\n\\label{sec:orgheadline1}\n\\lstset{language=Lisp,label=
> ,caption= ,captionpos=b,numbers=none}\n\\begin{lstlisting}\n
> (emacs-version)\n\\end{lstlisting}\n\n\\lstset{language=Lisp,label=
> ,caption= ,captionpos=b,numbers=none}\n\\begin{lstlisting}\n
> (org-version)\n\\end{lstlisting}\n\nOrg-mode version 8.3.1
> (release\\(_{\\text{8.3.1}}\\)-283-gf6187d @
> \\emph{Users/rainerkrug}.emacs.d/org-mode/lisp/)\n\nPS: how do I get this
> output from a source block above?\n" 10 23 (:parent (headline (:raw-value
> "Emacs version" :begin 167 :end 436 :pre-blank 0 :contents-begin 183
> :contents-end 435 :level 1 :priority nil :tags nil :todo-keyword nil
> :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil
> :commentedp nil :post-affiliated 167 :title (#("Emacs version" 0 13
> (:parent #2))) :parent (org-data nil (section (:begin 1 :end 167
> :contents-begin 1 :contents-end 166 :post-blank 1 :post-affiliated 1
> :parent #4) (keyword (:key "LATEX_CLASS" :value "article" :begin 1 :end 24
> :post-blank 0 :post-affiliated 1 :parent #5)) (keyword (:key
> "LATEX_CLASS_OPTIONS" :value "" :begin 24 :end 47 :post-blank 0
> :post-affiliated 24 :parent #5)) (keyword (:key "LATEX_HEADER" :value ""
> :begin 47 :end 63 :post-blank 0 :post-affiliated 47 :parent #5)) (keyword
> (:key "LATEX_HEADER_EXTRA" :value "" :begin 63 :end 85 :post-blank 0
> :post-affiliated 63 :parent #5)) (keyword (:key "DESCRIPTION" :value ""
> :begin 85 :end 100 :post-blank 0 :post-affiliated 85 :parent #5)) (keyword
> (:key "KEYWORDS" :value "" :begin 100 :end 112 :post-blank 0
> :post-affiliated 100 :parent #5)) (keyword (:key "SUBTITLE" :value ""
> :begin 112 :end 124 :post-blank 0 :post-affiliated 112 :parent #5))
> (keyword (:key "LATEX_COMPILER" :value "pdflatex" :begin 124 :end 151
> :post-blank 0 :post-affiliated 124 :parent #5)) (keyword (:key "DATE"
> :value "\\today" :begin 151 :end 166 :post-blank 0 :post-affiliated 151
> :parent #5))) #2)) (section (:begin 183 :end 436 :contents-begin 183
> :contents-end 435 :post-blank 1 :post-affiliated 183 :parent #2) (src-block
> (:language "emacs-lisp" :switches nil :parameters nil :begin 183 :end 234
> :number-lines nil :preserve-indent nil :retain-labels t :use-labels t
> :label-fmt nil :value " (emacs-version)\n" :post-blank 1 :post-affiliated
> 183 :parent #3)) (src-block (:language "emacs-lisp" :switches nil
> :parameters nil :begin 234 :end 283 :number-lines nil :preserve-indent nil
> :retain-labels t :use-labels t :label-fmt nil :value " (org-version)\n"
> :post-blank 1 :post-affiliated 234 :parent #3)) (paragraph (:begin 283 :end
> 379 :contents-begin 283 :contents-end 378 :post-blank 1 :post-affiliated
> 283 :parent #3) #("Org-mode version 8.3.1 (release" 0 31 (:parent #4))
> (latex-math-block (:parent #4 :post-blank 0) (subscript (:begin 314 :end
> 320 :use-brackets-p nil :contents-begin 315 :contents-end 320 :post-blank 0
> :parent #5) #("8.3.1" 0 5 ...))) #("-283-gf6187d @ " 0 15 (:parent #4))
> (italic (:begin 335 :end 353 :contents-begin 336 :contents-end 352
> :post-blank 0 :parent #4) #("Users/rainerkrug" 0 16 (:parent #5)))
> #(".emacs.d/org-mode/lisp/)\n" 0 25 (:parent #4))) (paragraph (:begin 379
> :end 435 :contents-begin 379 :contents-end 435 :post-blank 0
> :post-affiliated 379 :parent #3) #("PS: how do I get this output from a
> source block above?\n" 0 56 (:parent #4)))))) 290 321 (:parent (paragraph
> (:begin 283 :end 379 :contents-begin 283 :contents-end 378 :post-blank 1
> :post-affiliated 283 :parent (section (:begin 183 :end 436 :contents-begin
> 183 :contents-end 435 :post-blank 1 :post-affiliated 183 :parent (headline
> (:raw-value "Emacs version" :begin 167 :end 436 :pre-blank 0
> :contents-begin 183 :contents-end 435 :level 1 :priority nil :tags nil
> :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil
> :archivedp nil :commentedp nil :post-affiliated 167 :title ... :parent ...)
> #4)) (src-block (:language "emacs-lisp" :switches nil :parameters nil
> :begin 183 :end 234 :number-lines nil :preserve-indent nil :retain-labels t
> :use-labels t :label-fmt nil :value " (emacs-version)\n" :post-blank 1
> :post-affiliated 183 :parent #4)) (src-block (:language "emacs-lisp"
> :switches nil :parameters nil :begin 234 :end 283 :number-lines nil
> :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value "
> (org-version)\n" :post-blank 1 :post-affiliated 234 :parent #4)) #2
> (paragraph (:begin 379 :end 435 :contents-begin 379 :contents-end 435
> :post-blank 0 :post-affiliated 379 :parent #4) #("PS: how do I get this
> output from a source block above?\n" 0 56 (:parent #5))))) #("Org-mode
> version 8.3.1 (release" 0 31 (:parent #2)) (latex-math-block (:parent #2
> :post-blank 0) (subscript (:begin 314 :end 320 :use-brackets-p nil
> :contents-begin 315 :contents-end 320 :post-blank 0 :parent #3) #("8.3.1" 0
> 5 (:parent #4)))) #("-283-gf6187d @ " 0 15 (:parent #2)) (italic (:begin
> 335 :end 353 :contents-begin 336 :contents-end 352 :post-blank 0 :parent
> #2) #("Users/rainerkrug" 0 16 (:parent #3))) #(".emacs.d/org-mode/lisp/)\n"
> 0 25 (:parent #2)))) 331 336 (:parent (subscript (:begin 314 :end 320
> :use-brackets-p nil :contents-begin 315 :contents-end 320 :post-blank 0
> :parent (latex-math-block (:parent (paragraph (:begin 283 :end 379
> :contents-begin 283 :contents-end 378 :post-blank 1 :post-affiliated 283
> :parent ...) #("Org-mode version 8.3.1 (release" 0 31 ...) #4
> #("-283-gf6187d @ " 0 15 ...) (italic ... #("Users/rainerkrug" 0 16 ...))
> #(".emacs.d/org-mode/lisp/)\n" 0 25 ...)) :post-blank 0) #2)) #("8.3.1" 0 5
> (:parent #2)))) 340 355 (:parent (paragraph (:begin 283 :end 379
> :contents-begin 283 :contents-end 378 :post-blank 1 :post-affiliated 283
> :parent (section (:begin 183 :end 436 :contents-begin 183 :contents-end 435
> :post-blank 1 :post-affiliated 183 :parent (headline (:raw-value "Emacs
> version" :begin 167 :end 436 :pre-blank 0 :contents-begin 183 :contents-end
> 435 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil
> :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil
> :post-affiliated 167 :title ... :parent ...) #4)) (src-block (:language
> "emacs-lisp" :switches nil :parameters nil :begin 183 :end 234
> :number-lines nil :preserve-indent nil :retain-labels t :use-labels t
> :label-fmt nil :value " (emacs-version)\n" :post-blank 1 :post-affiliated
> 183 :parent #4)) (src-block (:language "emacs-lisp" :switches nil
> :parameters nil :begin 234 :end 283 :number-lines nil :preserve-indent nil
> :retain-labels t :use-labels t :label-fmt nil :value " (org-version)\n"
> :post-blank 1 :post-affiliated 234 :parent #4)) #2 (paragraph (:begin 379
> :end 435 :contents-begin 379 :contents-end 435 :post-blank 0
> :post-affiliated 379 :parent #4) #("PS: how do I get this output from a
> source block above?\n" 0 56 (:parent #5))))) #("Org-mode version 8.3.1
> (release" 0 31 (:parent #2)) (latex-math-block (:parent #2 :post-blank 0)
> (subscript (:begin 314 :end 320 :use-brackets-p nil :contents-begin 315
> :contents-end 320 :post-blank 0 :parent #3) #("8.3.1" 0 5 (:parent #4))))
> #("-283-gf6187d @ " 0 15 (:parent #2)) (italic (:begin 335 :end 353
> :contents-begin 336 :contents-end 352 :post-blank 0 :parent #2)
> #("Users/rainerkrug" 0 16 (:parent #3))) #(".emacs.d/org-mode/lisp/)\n" 0
> 25 (:parent #2)))) 361 377 (:parent (italic (:begin 335 :end 353
> :contents-begin 336 :contents-end 352 :post-blank 0 :parent (paragraph
> (:begin 283 :end 379 :contents-begin 283 :contents-end 378 :post-blank 1
> :post-affiliated 283 :parent (section (:begin 183 :end 436 :contents-begin
> 183 :contents-end 435 :post-blank 1 :post-affiliated 183 :parent ...)
> (src-block ...) (src-block ...) #4 (paragraph ... #("PS: how do I get this
> output from a source block above?\n" 0 56 ...)))) #("Org-mode version 8.3.1
> (release" 0 31 (:parent #4)) (latex-math-block (:parent #4 :post-blank 0)
> (subscript (:begin 314 :end 320 :use-brackets-p nil :contents-begin 315
> :contents-end 320 :post-blank 0 :parent #5) #("8.3.1" 0 5 ...)))
> #("-283-gf6187d @ " 0 15 (:parent #4)) #2 #(".emacs.d/org-mode/lisp/)\n" 0
> 25 (:parent #4)))) #("Users/rainerkrug" 0 16 (:parent #2)))) 378 402
> (:parent (paragraph (:begin 283 :end 379 :contents-begin 283 :contents-end
> 378 :post-blank 1 :post-affiliated 283 :parent (section (:begin 183 :end
> 436 :contents-begin 183 :contents-end 435 :post-blank 1 :post-affiliated
> 183 :parent (headline (:raw-value "Emacs version" :begin 167 :end 436
> :pre-blank 0 :contents-begin 183 :contents-end 435 :level 1 :priority nil
> :tags nil :todo-keyword nil :todo-type nil :post-blank 1
> :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 167
> :title ... :parent ...) #4)) (src-block (:language "emacs-lisp" :switches
> nil :parameters nil :begin 183 :end 234 :number-lines nil :preserve-indent
> nil :retain-labels t :use-labels t :label-fmt nil :value "
> (emacs-version)\n" :post-blank 1 :post-affiliated 183 :parent #4))
> (src-block (:language "emacs-lisp" :switches nil :parameters nil :begin 234
> :end 283 :number-lines nil :preserve-indent nil :retain-labels t
> :use-labels t :label-fmt nil :value " (org-version)\n" :post-blank 1
> :post-affiliated 234 :parent #4)) #2 (paragraph (:begin 379 :end 435
> :contents-begin 379 :contents-end 435 :post-blank 0 :post-affiliated 379
> :parent #4) #("PS: how do I get this output from a source block above?\n" 0
> 56 (:parent #5))))) #("Org-mode version 8.3.1 (release" 0 31 (:parent #2))
> (latex-math-block (:parent #2 :post-blank 0) (subscript (:begin 314 :end
> 320 :use-brackets-p nil :contents-begin 315 :contents-end 320 :post-blank 0
> :parent #3) #("8.3.1" 0 5 (:parent #4)))) #("-283-gf6187d @ " 0 15 (:parent
> #2)) (italic (:begin 335 :end 353 :contents-begin 336 :contents-end 352
> :post-blank 0 :parent #2) #("Users/rainerkrug" 0 16 (:parent #3)))
> #(".emacs.d/org-mode/lisp/)\n" 0 25 (:parent #2)))) 404 459 (:parent
> (paragraph (:begin 379 :end 435 :contents-begin 379 :contents-end 435
> :post-blank 0 :post-affiliated 379 :parent (section (:begin 183 :end 436
> :contents-begin 183 :contents-end 435 :post-blank 1 :post-affiliated 183
> :parent (headline (:raw-value "Emacs version" :begin 167 :end 436
> :pre-blank 0 :contents-begin 183 :contents-end 435 :level 1 :priority nil
> :tags nil :todo-keyword nil :todo-type nil :post-blank 1
> :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 167
> :title ... :parent ...) #4)) (src-block (:language "emacs-lisp" :switches
> nil :parameters nil :begin 183 :end 234 :number-lines nil :preserve-indent
> nil :retain-labels t :use-labels t :label-fmt nil :value "
> (emacs-version)\n" :post-blank 1 :post-affiliated 183 :parent #4))
> (src-block (:language "emacs-lisp" :switches nil :parameters nil :begin 234
> :end 283 :number-lines nil :preserve-indent nil :retain-labels t
> :use-labels t :label-fmt nil :value " (org-version)\n" :post-blank 1
> :post-affiliated 234 :parent #4)) (paragraph (:begin 283 :end 379
> :contents-begin 283 :contents-end 378 :post-blank 1 :post-affiliated 283
> :parent #4) #("Org-mode version 8.3.1 (release" 0 31 (:parent #5))
> (latex-math-block (:parent #5 :post-blank 0) (subscript ... #("8.3.1" 0 5
> ...))) #("-283-gf6187d @ " 0 15 (:parent #5)) (italic (:begin 335 :end 353
> :contents-begin 336 :contents-end 352 :post-blank 0 :parent #5)
> #("Users/rainerkrug" 0 16 ...)) #(".emacs.d/org-mode/lisp/)\n" 0 25
> (:parent #5))) #2)) #("PS: how do I get this output from a source block
> above?\n" 0 56 (:parent #2))))) (:export-options nil :input-buffer "
> test.org" :input-file "/Users/rainerkrug/tmp/test.org" :latex-class
> "article" :latex-class-options "" :latex-header "" :latex-header-extra ""
> :description nil :keywords nil :subtitle nil :latex-active-timestamp-format
> "\\textit{%s}" :latex-caption-above (table) :latex-classes (("article"
> "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
> "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}")
> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report"
> "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}")
> ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
> "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}"
> ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}")
> ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" .
> "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
> :latex-default-figure-position "htb" :latex-default-table-environment
> "tabular" :latex-default-table-mode table :latex-diary-timestamp-format
> "\\textit{%s}" :latex-footnote-separator "\\textsuperscript{,}\\,"
> :latex-format-drawer-function (lambda (name contents) contents)
> :latex-format-headline-function org-latex-format-headline-default-function
> :latex-format-inlinetask-function
> org-latex-format-inlinetask-default-function :latex-hyperref-template
> "\\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n pdfkeywords={%k},\n
> pdfsubject={%d},\n pdfcreator={%c}, \n pdflang={%L}}\n"
> :latex-image-default-height "" :latex-image-default-option ""
> :latex-image-default-width ".9\\linewidth" ...))
> |   org-export-as(latex nil nil nil (:output-file "./test.tex"))
> |   org-export-to-file(latex "./test.tex" nil nil nil nil nil)
> |   org-latex-export-to-latex(nil nil nil nil)
> |   org-export-dispatch(nil)
> |   funcall-interactively(org-export-dispatch nil)
> |   call-interactively(org-export-dispatch nil nil)
> |   command-execute(org-export-dispatch)
> `----
>
> --
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
> Biology, UCT), Dipl. Phys. (Germany)
>
> Centre of Excellence for Invasion Biology
> Stellenbosch University
> South Africa
>
> Tel :       +33 - (0)9 53 10 27 44
> Cell:       +33 - (0)6 85 62 59 98
> Fax :       +33 - (0)9 58 10 27 44
>
> Fax (D):    +49 - (0)3 21 21 25 22 44
>
> email:      Rainer@krugs.de
>
> Skype:      RMkrug
>
> PGP: 0x0F52F982
>

[-- Attachment #2: Type: text/html, Size: 24271 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: "Symbol’s value as variable is void: compile" when export to latex
  2015-09-29 21:21 ` Kaushal Modi
@ 2015-09-30  8:11   ` Rainer M Krug
  0 siblings, 0 replies; 8+ messages in thread
From: Rainer M Krug @ 2015-09-30  8:11 UTC (permalink / raw)
  To: Kaushal Modi; +Cc: emacs-org list, Rasmus

[-- Attachment #1: Type: text/plain, Size: 21179 bytes --]

Kaushal Modi <kaushal.modi@gmail.com> writes:

> Rasmus has fixed this in
> http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=679adcaa64613c821b38cd1d34b081640315293a

Working - thanks

> .
>
>
>
> --
> Kaushal Modi
>
> On Tue, Sep 29, 2015 at 5:11 AM, Rainer M Krug <Rainer@krugs.de> wrote:
>
>>
>> Exporting to latex of the simple file below results in an error:
>>
>> ,----
>> | mapcar: Symbol’s value as variable is void: compile
>> `----
>>
>> --8<---------------cut here---------------start------------->8---
>> #+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?
>> --8<---------------cut here---------------end--------------->8---
>>
>>
>> ,----
>> | Debugger entered--Lisp error: (void-variable compile)
>> |   #[(pkg) " <\205. \303 8\211.\205. \304\n    <\203.  \202.
>>  C\"?)?\205\". \207" [pkg third compile 3 member-ignore-case] 4](("AUTO"
>> "inputenc" t ("pdflatex")))
>> |   mapcar(#[(pkg) " <\205. \303 8\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")) ("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)) (:export-options nil :input-buffer "test.org"
>> :input-file "/Users/rainerkrug/tmp/test.org" :latex-class "article"
>> :latex-class-options "" :latex-header "" :latex-header-extra ""
>> :description nil :keywords nil :subtitle nil :latex-active-timestamp-format
>> "\\textit{%s}" :latex-caption-above (table) :latex-classes (("article"
>> "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}")
>> ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
>> "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}")
>> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report"
>> "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}")
>> ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}")
>> ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
>> "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}"
>> ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}")
>> ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" .
>> "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
>> :latex-default-figure-position "htb" :latex-default-table-environment
>> "tabular" :latex-default-table-mode table :latex-diary-timestamp-format
>> "\\textit{%s}" :latex-footnote-separator "\\textsuperscript{,}\\,"
>> :latex-format-drawer-function (lambda (name contents) contents)
>> :latex-format-headline-function org-latex-format-headline-default-function
>> :latex-format-inlinetask-function
>> org-latex-format-inlinetask-default-function :latex-hyperref-template
>> "\\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n pdfkeywords={%k},\n
>> pdfsubject={%d},\n pdfcreator={%c}, \n pdflang={%L}}\n"
>> :latex-image-default-height "" :latex-image-default-option ""
>> :latex-image-default-width ".9\\linewidth" ...))
>> |   org-latex--make-header((:export-options nil :input-buffer "test.org"
>> :input-file "/Users/rainerkrug/tmp/test.org" :latex-class "article"
>> :latex-class-options "" :latex-header "" :latex-header-extra ""
>> :description nil :keywords nil :subtitle nil :latex-active-timestamp-format
>> "\\textit{%s}" :latex-caption-above (table) :latex-classes (("article"
>> "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}")
>> ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
>> "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}")
>> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report"
>> "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}")
>> ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}")
>> ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
>> "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}"
>> ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}")
>> ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" .
>> "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
>> :latex-default-figure-position "htb" :latex-default-table-environment
>> "tabular" :latex-default-table-mode table :latex-diary-timestamp-format
>> "\\textit{%s}" :latex-footnote-separator "\\textsuperscript{,}\\,"
>> :latex-format-drawer-function (lambda (name contents) contents)
>> :latex-format-headline-function org-latex-format-headline-default-function
>> :latex-format-inlinetask-function
>> org-latex-format-inlinetask-default-function :latex-hyperref-template
>> "\\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n pdfkeywords={%k},\n
>> pdfsubject={%d},\n pdfcreator={%c}, \n pdflang={%L}}\n"
>> :latex-image-default-height "" :latex-image-default-option ""
>> :latex-image-default-width ".9\\linewidth" ...))
>> |   org-latex-template(#("\n\\section{Emacs
>> version}\n\\label{sec:orgheadline1}\n\\lstset{language=Lisp,label=
>> ,caption= ,captionpos=b,numbers=none}\n\\begin{lstlisting}\n
>> (emacs-version)\n\\end{lstlisting}\n\n\\lstset{language=Lisp,label=
>> ,caption= ,captionpos=b,numbers=none}\n\\begin{lstlisting}\n
>> (org-version)\n\\end{lstlisting}\n\nOrg-mode version 8.3.1
>> (release\\(_{\\text{8.3.1}}\\)-283-gf6187d @
>> \\emph{Users/rainerkrug}.emacs.d/org-mode/lisp/)\n\nPS: how do I get this
>> output from a source block above?\n" 10 23 (:parent (headline (:raw-value
>> "Emacs version" :begin 167 :end 436 :pre-blank 0 :contents-begin 183
>> :contents-end 435 :level 1 :priority nil :tags nil :todo-keyword nil
>> :todo-type nil :post-blank 1 :footnote-section-p nil :archivedp nil
>> :commentedp nil :post-affiliated 167 :title (#("Emacs version" 0 13
>> (:parent #2))) :parent (org-data nil (section (:begin 1 :end 167
>> :contents-begin 1 :contents-end 166 :post-blank 1 :post-affiliated 1
>> :parent #4) (keyword (:key "LATEX_CLASS" :value "article" :begin 1 :end 24
>> :post-blank 0 :post-affiliated 1 :parent #5)) (keyword (:key
>> "LATEX_CLASS_OPTIONS" :value "" :begin 24 :end 47 :post-blank 0
>> :post-affiliated 24 :parent #5)) (keyword (:key "LATEX_HEADER" :value ""
>> :begin 47 :end 63 :post-blank 0 :post-affiliated 47 :parent #5)) (keyword
>> (:key "LATEX_HEADER_EXTRA" :value "" :begin 63 :end 85 :post-blank 0
>> :post-affiliated 63 :parent #5)) (keyword (:key "DESCRIPTION" :value ""
>> :begin 85 :end 100 :post-blank 0 :post-affiliated 85 :parent #5)) (keyword
>> (:key "KEYWORDS" :value "" :begin 100 :end 112 :post-blank 0
>> :post-affiliated 100 :parent #5)) (keyword (:key "SUBTITLE" :value ""
>> :begin 112 :end 124 :post-blank 0 :post-affiliated 112 :parent #5))
>> (keyword (:key "LATEX_COMPILER" :value "pdflatex" :begin 124 :end 151
>> :post-blank 0 :post-affiliated 124 :parent #5)) (keyword (:key "DATE"
>> :value "\\today" :begin 151 :end 166 :post-blank 0 :post-affiliated 151
>> :parent #5))) #2)) (section (:begin 183 :end 436 :contents-begin 183
>> :contents-end 435 :post-blank 1 :post-affiliated 183 :parent #2) (src-block
>> (:language "emacs-lisp" :switches nil :parameters nil :begin 183 :end 234
>> :number-lines nil :preserve-indent nil :retain-labels t :use-labels t
>> :label-fmt nil :value " (emacs-version)\n" :post-blank 1 :post-affiliated
>> 183 :parent #3)) (src-block (:language "emacs-lisp" :switches nil
>> :parameters nil :begin 234 :end 283 :number-lines nil :preserve-indent nil
>> :retain-labels t :use-labels t :label-fmt nil :value " (org-version)\n"
>> :post-blank 1 :post-affiliated 234 :parent #3)) (paragraph (:begin 283 :end
>> 379 :contents-begin 283 :contents-end 378 :post-blank 1 :post-affiliated
>> 283 :parent #3) #("Org-mode version 8.3.1 (release" 0 31 (:parent #4))
>> (latex-math-block (:parent #4 :post-blank 0) (subscript (:begin 314 :end
>> 320 :use-brackets-p nil :contents-begin 315 :contents-end 320 :post-blank 0
>> :parent #5) #("8.3.1" 0 5 ...))) #("-283-gf6187d @ " 0 15 (:parent #4))
>> (italic (:begin 335 :end 353 :contents-begin 336 :contents-end 352
>> :post-blank 0 :parent #4) #("Users/rainerkrug" 0 16 (:parent #5)))
>> #(".emacs.d/org-mode/lisp/)\n" 0 25 (:parent #4))) (paragraph (:begin 379
>> :end 435 :contents-begin 379 :contents-end 435 :post-blank 0
>> :post-affiliated 379 :parent #3) #("PS: how do I get this output from a
>> source block above?\n" 0 56 (:parent #4)))))) 290 321 (:parent (paragraph
>> (:begin 283 :end 379 :contents-begin 283 :contents-end 378 :post-blank 1
>> :post-affiliated 283 :parent (section (:begin 183 :end 436 :contents-begin
>> 183 :contents-end 435 :post-blank 1 :post-affiliated 183 :parent (headline
>> (:raw-value "Emacs version" :begin 167 :end 436 :pre-blank 0
>> :contents-begin 183 :contents-end 435 :level 1 :priority nil :tags nil
>> :todo-keyword nil :todo-type nil :post-blank 1 :footnote-section-p nil
>> :archivedp nil :commentedp nil :post-affiliated 167 :title ... :parent ...)
>> #4)) (src-block (:language "emacs-lisp" :switches nil :parameters nil
>> :begin 183 :end 234 :number-lines nil :preserve-indent nil :retain-labels t
>> :use-labels t :label-fmt nil :value " (emacs-version)\n" :post-blank 1
>> :post-affiliated 183 :parent #4)) (src-block (:language "emacs-lisp"
>> :switches nil :parameters nil :begin 234 :end 283 :number-lines nil
>> :preserve-indent nil :retain-labels t :use-labels t :label-fmt nil :value "
>> (org-version)\n" :post-blank 1 :post-affiliated 234 :parent #4)) #2
>> (paragraph (:begin 379 :end 435 :contents-begin 379 :contents-end 435
>> :post-blank 0 :post-affiliated 379 :parent #4) #("PS: how do I get this
>> output from a source block above?\n" 0 56 (:parent #5))))) #("Org-mode
>> version 8.3.1 (release" 0 31 (:parent #2)) (latex-math-block (:parent #2
>> :post-blank 0) (subscript (:begin 314 :end 320 :use-brackets-p nil
>> :contents-begin 315 :contents-end 320 :post-blank 0 :parent #3) #("8.3.1" 0
>> 5 (:parent #4)))) #("-283-gf6187d @ " 0 15 (:parent #2)) (italic (:begin
>> 335 :end 353 :contents-begin 336 :contents-end 352 :post-blank 0 :parent
>> #2) #("Users/rainerkrug" 0 16 (:parent #3))) #(".emacs.d/org-mode/lisp/)\n"
>> 0 25 (:parent #2)))) 331 336 (:parent (subscript (:begin 314 :end 320
>> :use-brackets-p nil :contents-begin 315 :contents-end 320 :post-blank 0
>> :parent (latex-math-block (:parent (paragraph (:begin 283 :end 379
>> :contents-begin 283 :contents-end 378 :post-blank 1 :post-affiliated 283
>> :parent ...) #("Org-mode version 8.3.1 (release" 0 31 ...) #4
>> #("-283-gf6187d @ " 0 15 ...) (italic ... #("Users/rainerkrug" 0 16 ...))
>> #(".emacs.d/org-mode/lisp/)\n" 0 25 ...)) :post-blank 0) #2)) #("8.3.1" 0 5
>> (:parent #2)))) 340 355 (:parent (paragraph (:begin 283 :end 379
>> :contents-begin 283 :contents-end 378 :post-blank 1 :post-affiliated 283
>> :parent (section (:begin 183 :end 436 :contents-begin 183 :contents-end 435
>> :post-blank 1 :post-affiliated 183 :parent (headline (:raw-value "Emacs
>> version" :begin 167 :end 436 :pre-blank 0 :contents-begin 183 :contents-end
>> 435 :level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil
>> :post-blank 1 :footnote-section-p nil :archivedp nil :commentedp nil
>> :post-affiliated 167 :title ... :parent ...) #4)) (src-block (:language
>> "emacs-lisp" :switches nil :parameters nil :begin 183 :end 234
>> :number-lines nil :preserve-indent nil :retain-labels t :use-labels t
>> :label-fmt nil :value " (emacs-version)\n" :post-blank 1 :post-affiliated
>> 183 :parent #4)) (src-block (:language "emacs-lisp" :switches nil
>> :parameters nil :begin 234 :end 283 :number-lines nil :preserve-indent nil
>> :retain-labels t :use-labels t :label-fmt nil :value " (org-version)\n"
>> :post-blank 1 :post-affiliated 234 :parent #4)) #2 (paragraph (:begin 379
>> :end 435 :contents-begin 379 :contents-end 435 :post-blank 0
>> :post-affiliated 379 :parent #4) #("PS: how do I get this output from a
>> source block above?\n" 0 56 (:parent #5))))) #("Org-mode version 8.3.1
>> (release" 0 31 (:parent #2)) (latex-math-block (:parent #2 :post-blank 0)
>> (subscript (:begin 314 :end 320 :use-brackets-p nil :contents-begin 315
>> :contents-end 320 :post-blank 0 :parent #3) #("8.3.1" 0 5 (:parent #4))))
>> #("-283-gf6187d @ " 0 15 (:parent #2)) (italic (:begin 335 :end 353
>> :contents-begin 336 :contents-end 352 :post-blank 0 :parent #2)
>> #("Users/rainerkrug" 0 16 (:parent #3))) #(".emacs.d/org-mode/lisp/)\n" 0
>> 25 (:parent #2)))) 361 377 (:parent (italic (:begin 335 :end 353
>> :contents-begin 336 :contents-end 352 :post-blank 0 :parent (paragraph
>> (:begin 283 :end 379 :contents-begin 283 :contents-end 378 :post-blank 1
>> :post-affiliated 283 :parent (section (:begin 183 :end 436 :contents-begin
>> 183 :contents-end 435 :post-blank 1 :post-affiliated 183 :parent ...)
>> (src-block ...) (src-block ...) #4 (paragraph ... #("PS: how do I get this
>> output from a source block above?\n" 0 56 ...)))) #("Org-mode version 8.3.1
>> (release" 0 31 (:parent #4)) (latex-math-block (:parent #4 :post-blank 0)
>> (subscript (:begin 314 :end 320 :use-brackets-p nil :contents-begin 315
>> :contents-end 320 :post-blank 0 :parent #5) #("8.3.1" 0 5 ...)))
>> #("-283-gf6187d @ " 0 15 (:parent #4)) #2 #(".emacs.d/org-mode/lisp/)\n" 0
>> 25 (:parent #4)))) #("Users/rainerkrug" 0 16 (:parent #2)))) 378 402
>> (:parent (paragraph (:begin 283 :end 379 :contents-begin 283 :contents-end
>> 378 :post-blank 1 :post-affiliated 283 :parent (section (:begin 183 :end
>> 436 :contents-begin 183 :contents-end 435 :post-blank 1 :post-affiliated
>> 183 :parent (headline (:raw-value "Emacs version" :begin 167 :end 436
>> :pre-blank 0 :contents-begin 183 :contents-end 435 :level 1 :priority nil
>> :tags nil :todo-keyword nil :todo-type nil :post-blank 1
>> :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 167
>> :title ... :parent ...) #4)) (src-block (:language "emacs-lisp" :switches
>> nil :parameters nil :begin 183 :end 234 :number-lines nil :preserve-indent
>> nil :retain-labels t :use-labels t :label-fmt nil :value "
>> (emacs-version)\n" :post-blank 1 :post-affiliated 183 :parent #4))
>> (src-block (:language "emacs-lisp" :switches nil :parameters nil :begin 234
>> :end 283 :number-lines nil :preserve-indent nil :retain-labels t
>> :use-labels t :label-fmt nil :value " (org-version)\n" :post-blank 1
>> :post-affiliated 234 :parent #4)) #2 (paragraph (:begin 379 :end 435
>> :contents-begin 379 :contents-end 435 :post-blank 0 :post-affiliated 379
>> :parent #4) #("PS: how do I get this output from a source block above?\n" 0
>> 56 (:parent #5))))) #("Org-mode version 8.3.1 (release" 0 31 (:parent #2))
>> (latex-math-block (:parent #2 :post-blank 0) (subscript (:begin 314 :end
>> 320 :use-brackets-p nil :contents-begin 315 :contents-end 320 :post-blank 0
>> :parent #3) #("8.3.1" 0 5 (:parent #4)))) #("-283-gf6187d @ " 0 15 (:parent
>> #2)) (italic (:begin 335 :end 353 :contents-begin 336 :contents-end 352
>> :post-blank 0 :parent #2) #("Users/rainerkrug" 0 16 (:parent #3)))
>> #(".emacs.d/org-mode/lisp/)\n" 0 25 (:parent #2)))) 404 459 (:parent
>> (paragraph (:begin 379 :end 435 :contents-begin 379 :contents-end 435
>> :post-blank 0 :post-affiliated 379 :parent (section (:begin 183 :end 436
>> :contents-begin 183 :contents-end 435 :post-blank 1 :post-affiliated 183
>> :parent (headline (:raw-value "Emacs version" :begin 167 :end 436
>> :pre-blank 0 :contents-begin 183 :contents-end 435 :level 1 :priority nil
>> :tags nil :todo-keyword nil :todo-type nil :post-blank 1
>> :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 167
>> :title ... :parent ...) #4)) (src-block (:language "emacs-lisp" :switches
>> nil :parameters nil :begin 183 :end 234 :number-lines nil :preserve-indent
>> nil :retain-labels t :use-labels t :label-fmt nil :value "
>> (emacs-version)\n" :post-blank 1 :post-affiliated 183 :parent #4))
>> (src-block (:language "emacs-lisp" :switches nil :parameters nil :begin 234
>> :end 283 :number-lines nil :preserve-indent nil :retain-labels t
>> :use-labels t :label-fmt nil :value " (org-version)\n" :post-blank 1
>> :post-affiliated 234 :parent #4)) (paragraph (:begin 283 :end 379
>> :contents-begin 283 :contents-end 378 :post-blank 1 :post-affiliated 283
>> :parent #4) #("Org-mode version 8.3.1 (release" 0 31 (:parent #5))
>> (latex-math-block (:parent #5 :post-blank 0) (subscript ... #("8.3.1" 0 5
>> ...))) #("-283-gf6187d @ " 0 15 (:parent #5)) (italic (:begin 335 :end 353
>> :contents-begin 336 :contents-end 352 :post-blank 0 :parent #5)
>> #("Users/rainerkrug" 0 16 ...)) #(".emacs.d/org-mode/lisp/)\n" 0 25
>> (:parent #5))) #2)) #("PS: how do I get this output from a source block
>> above?\n" 0 56 (:parent #2))))) (:export-options nil :input-buffer "
>> test.org" :input-file "/Users/rainerkrug/tmp/test.org" :latex-class
>> "article" :latex-class-options "" :latex-header "" :latex-header-extra ""
>> :description nil :keywords nil :subtitle nil :latex-active-timestamp-format
>> "\\textit{%s}" :latex-caption-above (table) :latex-classes (("article"
>> "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}")
>> ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
>> "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}")
>> ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report"
>> "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}")
>> ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}")
>> ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" .
>> "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}"
>> ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}")
>> ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" .
>> "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))
>> :latex-default-figure-position "htb" :latex-default-table-environment
>> "tabular" :latex-default-table-mode table :latex-diary-timestamp-format
>> "\\textit{%s}" :latex-footnote-separator "\\textsuperscript{,}\\,"
>> :latex-format-drawer-function (lambda (name contents) contents)
>> :latex-format-headline-function org-latex-format-headline-default-function
>> :latex-format-inlinetask-function
>> org-latex-format-inlinetask-default-function :latex-hyperref-template
>> "\\hypersetup{\n pdfauthor={%a},\n pdftitle={%t},\n pdfkeywords={%k},\n
>> pdfsubject={%d},\n pdfcreator={%c}, \n pdflang={%L}}\n"
>> :latex-image-default-height "" :latex-image-default-option ""
>> :latex-image-default-width ".9\\linewidth" ...))
>> |   org-export-as(latex nil nil nil (:output-file "./test.tex"))
>> |   org-export-to-file(latex "./test.tex" nil nil nil nil nil)
>> |   org-latex-export-to-latex(nil nil nil nil)
>> |   org-export-dispatch(nil)
>> |   funcall-interactively(org-export-dispatch nil)
>> |   call-interactively(org-export-dispatch nil nil)
>> |   command-execute(org-export-dispatch)
>> `----
>>
>> --
>> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
>> Biology, UCT), Dipl. Phys. (Germany)
>>
>> Centre of Excellence for Invasion Biology
>> Stellenbosch University
>> South Africa
>>
>> Tel :       +33 - (0)9 53 10 27 44
>> Cell:       +33 - (0)6 85 62 59 98
>> Fax :       +33 - (0)9 58 10 27 44
>>
>> Fax (D):    +49 - (0)3 21 21 25 22 44
>>
>> email:      Rainer@krugs.de
>>
>> Skype:      RMkrug
>>
>> PGP: 0x0F52F982
>>

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug

PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: "Symbol’s value as variable is void: compile" when export to latex
  2015-09-29  9:11 "Symbol’s value as variable is void: compile" when export to latex Rainer M Krug
                   ` (4 preceding siblings ...)
  2015-09-29 21:21 ` Kaushal Modi
@ 2015-09-30  9:46 ` Suvayu Ali
  5 siblings, 0 replies; 8+ messages in thread
From: Suvayu Ali @ 2015-09-30  9:46 UTC (permalink / raw)
  To: emacs-orgmode

On Tue, Sep 29, 2015 at 11:11:09AM +0200, Rainer M Krug wrote:
> 
> Exporting to latex of the simple file below results in an error:
> 
> ,----
> | mapcar: Symbol’s value as variable is void: compile
> `----

 [...chomp...chomp...chomp...]

> #+LATEX_COMPILER: pdflatex

Are you trying to use Rasmus's latex variant facility?  I'll update and
test soon.

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-09-30  9:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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).