From: tsd@tsdye.com (Thomas S. Dye)
To: Org-mode <emacs-orgmode@gnu.org>
Subject: Symbol's value as variable is void: org-version
Date: Sat, 28 Apr 2012 07:59:44 -1000 [thread overview]
Message-ID: <m1397nenzj.fsf@tsdye.com> (raw)
Aloha all,
In the last day or so, I started running into a problem with a variable,
org-version.
When I look at Org/Documentation/Show Version, I get:
Org-mode version N/A (N/A @ /Users/dk/.emacs.d/src/org/lisp/org-install.el)
When I export to LaTeX with -Q and the appended initialization file,
export fails with the error message in the subject line.
Here is the call:
/Applications/Emacs-23-4.app/Contents/MacOS/Emacs --batch -Q -l
init-old.el sigproc-sp-org-new.org -f org-export-as-latex
The org file I'm exporting doesn't refer to org-version anywhere.
I don't know how to figure out what's going on. Can someone help?
Thanks,
Tom
---- init-old.el
(add-to-list 'load-path "~/.emacs.d/src/org/lisp") ;; <- adjust
(add-to-list 'load-path "~/.emacs.d/src/org") ;; <- adjust
(require 'org-install)
(require 'org-latex)
;; this line only required until the upcomming Org-mode/Emacs24 sync
(load "~/.emacs.d/src/org/lisp/org-exp-blocks.el")
;; Configure Babel to support all languages included in the manuscript
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)
(org . t)))
(setq org-confirm-babel-evaluate nil)
;; Configure Org-mode
(setq org-export-latex-hyperref-format "\\ref{%s}")
(setq org-entities-user '(("space" "\\ " nil " " " " " " " ")))
(setq org-latex-to-pdf-process '("texi2dvi --pdf --clean --verbose --batch %f"))
(require 'org-special-blocks)
(defun org-export-latex-no-toc (depth)
(when depth
(format "%% Org-mode is exporting headings to %s levels.\n"
depth)))
(setq org-export-latex-format-toc-function 'org-export-latex-no-toc)
(setq org-export-pdf-remove-logfiles nil)
(add-to-list 'org-export-latex-classes
'("acm-proc-article-sp"
"\\documentclass{acm_proc_article-sp}
[NO-DEFAULT-PACKAGES]
[EXTRA]"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
----
--
Thomas S. Dye
http://www.tsdye.com
--
Thomas S. Dye
http://www.tsdye.com
next reply other threads:[~2012-04-28 17:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-28 17:59 Thomas S. Dye [this message]
2012-04-28 18:19 ` Symbol's value as variable is void: org-version Martyn Jago
2012-04-28 18:22 ` Martyn Jago
2012-04-28 19:30 ` Thomas S. Dye
2012-04-28 20:01 ` Carsten Dominik
2012-04-28 21:34 ` Achim Gratz
2012-04-29 10:20 ` Bastien
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=m1397nenzj.fsf@tsdye.com \
--to=tsd@tsdye.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).