[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-latex-classes removed?
From: |
David Dynerman |
Subject: |
Re: [O] org-latex-classes removed? |
Date: |
Sat, 23 May 2015 16:12:44 +0200 |
Please disregard - just a silly mistake on my end: forgot (require
'ox-latex).
Thank you,
David
David Dynerman writes:
> Hello,
>
> In the master I'm currently seeing that org-latex-classes is
> undefined. Is this intended? Has this functionality been replaced by
> something else? I didn't see anything in a quick search of the mailing
> list archives.
>
> Running emacs -q, in *scratch* I evaluate:
>
> (add-to-list 'load-path "/usr/share/site-lisp/org")
> (load-library "org")
> (require 'org)
> (add-to-list 'org-latex-classes '("book-no-parts"
> "\\documentclass[11pt]{book}"
> ("\\chapter{%s}" . "\\chapter*{%s}")
> ("\\section{%s}" . "\\section*{%s}")
> ("\\subsection{%s}" . "\\subsection*{%s}")
> ("\\subsubsection{%s}" .
> "\\subsubsection*{%s}")))
>
> Result:
>
> if: Symbol's value as variable is void: org-latex-classes
>
> This is on OS X using a emacsformacosx.com build:
>
> GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of
> 2015-04-10 on builder10-9.porkrind.org
>
> Org-mode version 8.3beta (release_8.3beta-1159-g71641b @
> /usr/share/site-lisp/org/)
>
> ProductName: Mac OS X
> ProductVersion: 10.10.3
> BuildVersion: 14D136
>
> Thank you,
> David