emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] LaTeX export: Unknown LaTeX class `org-article'


From: Peter Davis
Subject: Re: [O] LaTeX export: Unknown LaTeX class `org-article'
Date: Fri, 24 Jan 2014 09:21:03 -0500
User-agent: Mutt/1.5.22 (2013-10-16)

On Fri, Jan 24, 2014 at 01:58:19PM +0100, Michael Strey wrote:
> Peter,
> 
> address@hidden writes:
> 
> > Other ideas?
> 
> Did you check the availability of org-article.cls in the TeX tree
> using `kpsewhich org-article.cls'?

Yes, I get:

[pdavismbp15:~] pdavis% kpsewhich org-article.cls
/usr/local/texlive/2012/../texmf-local/tex/latex/base/org-article.cls

> 
> Do you have an entry for "org-article" in org-export-latex-classes?

Yes, like this:

(add-to-list 'org-export-latex-classes
          '("org-article"
             "\\documentclass{org-article}
             [NO-DEFAULT-PACKAGES]
             [PACKAGES]
             [EXTRA]"
             ("\\section{%s}" . "\\section*{%s}")
             ("\\subsection{%s}" . "\\subsection*{%s}")
             ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
             ("\\paragraph{%s}" . "\\paragraph*{%s}")
             ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))

I don't even know if this error is coming from emacs or LaTeX. 

Thanks,
-pd


-- 
----
Peter Davis
The Tech Curmudgeon
www.techcurmudgeon.com



reply via email to

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