James Harkins <[email protected]> writes:
> Specific question: Is there an easy way to use a given LaTeX template (.cls
> and .bib)? (I also found [2] but "easy" is not how I would describe that.)
The easiest way is probably
#+BEGIN_SRC emacs-lisp
(require 'org-export)
(require 'org-e-latex)
(setq org-e-latex-default-class "new-article")
(add-to-list
'org-e-latex-classes
'("new-article" "\\documentclass[10pt]{my-style}
\n\\bibliography{/path/to/bibfile.bib}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
#+END_SRC
This works just like `org-export-latex-classes' but see the docstring.
Now you are ready to go: M-x org-export-dispatch
--
Florian Beck