[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] org-exp-bibtex
From: |
Peter Danenberg |
Subject: |
Re: [Orgmode] org-exp-bibtex |
Date: |
Fri, 29 Jan 2010 06:24:41 -0600 |
User-agent: |
Mutt/1.5.16 (2007-06-11) |
> No, just requiring should do the trick. Can you check if
> org-export-bibtex-preprocess does indeed end up in the hook?
It does now, inexplicably; thank you. And using the following code, I
can process the doc with xelatex and bibtex (provided that <file>.bib
accompanies <file>.org):
(require 'org-latex)
(setq org-export-latex-classes
(cons '("article"
"\\documentclass{article}
\\usepackage{amsmath}
\\usepackage{amssymb}
\\usepackage{xunicode}
\\usepackage{fixltx2e}
\\usepackage{xltxtra}
\\usepackage{graphicx}
\\usepackage{longtable}
\\usepackage{float}
\\usepackage{wrapfig}
\\usepackage{soul}
\\usepackage{hyperref}"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
org-export-latex-classes))
(setq org-latex-to-pdf-process
'("xelatex -interaction nonstopmode %b"
"bibtex %b"
"xelatex -interaction nonstopmode %b"
"xelatex -interaction nonstopmode %b"))
This is fantastic!