emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Danenberg <pcd@roxygen.org>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-exp-bibtex
Date: Fri, 29 Jan 2010 06:24:41 -0600	[thread overview]
Message-ID: <20100129122441.GA30190@klutometis.wikitex.org> (raw)
In-Reply-To: <4A0F3CEB-52BB-4E87-ADBB-F94F933D3049@gmail.com>

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

  reply	other threads:[~2010-01-29 12:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-28 16:20 org-exp-bibtex Peter Danenberg
2010-01-28 16:27 ` org-exp-bibtex Nick Dokos
2010-01-28 23:21   ` org-exp-bibtex Peter Danenberg
2010-01-29  9:16     ` org-exp-bibtex Carsten Dominik
2010-01-29 12:24       ` Peter Danenberg [this message]
2010-01-28 18:18 ` org-exp-bibtex Carsten Dominik
2010-01-28 23:18   ` org-exp-bibtex Peter Danenberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100129122441.GA30190@klutometis.wikitex.org \
    --to=pcd@roxygen.org \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).