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: org-version


From: Carsten Dominik
Subject: Re: [O] Symbol's value as variable is void: org-version
Date: Sat, 28 Apr 2012 22:01:58 +0200

Dear all,

I am sure I missed the discussion about this - but I do not understand why
org-version is not loaded by org.el by default.  Really, this variable belongs 
into org.el, and if it is not there, org.el should require org-version.el.

My 5c, of course.

- Carsten

On 28.4.2012, at 19:59, Thomas S. Dye wrote:

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




reply via email to

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