From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Symbol's value as variable is void: org-version Date: Sat, 28 Apr 2012 07:59:44 -1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SOBw4-0006VR-Nb for emacs-orgmode@gnu.org; Sat, 28 Apr 2012 13:59:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SOBw2-0004Pw-Dt for emacs-orgmode@gnu.org; Sat, 28 Apr 2012 13:59:56 -0400 Received: from oproxy7-pub.bluehost.com ([67.222.55.9]:52787) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1SOBw2-0004Pc-4G for emacs-orgmode@gnu.org; Sat, 28 Apr 2012 13:59:54 -0400 Received: from cpe-24-94-66-191.hawaii.res.rr.com ([24.94.66.191] helo=poto) by box472.bluehost.com with esmtpa (Exim 4.76) (envelope-from ) id 1SOBvw-0007UG-D0 for emacs-orgmode@gnu.org; Sat, 28 Apr 2012 11:59:49 -0600 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: Org-mode 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