On 31.5.2013, at 09:58, Christopher Witte <address@hidden> wrote:
Sorry for the late reply.
I'm not entirely sure either, I pretty much just blindly followed the instructions on the FAQ. I don't think this is at all the minimum you need to get xelatex working, it also sets up a few other things. For instance it used latexmk instead of just recompiling a few times. Perhaps the FAQ should be split up into a few different questions:
1. minimum setup for XeLaTeX, something similar to your setup
2. how to use latexmk
Cheers,
Chris
On 22 May 2013 19:07, Suvayu Ali <address@hidden> wrote:
Hi Christopher,
On Tue, May 07, 2013 at 05:42:04PM +0200, Christopher Witte wrote:
>
> I had export working using XeLaTeX using the instructions from the
> some slight modifications), but after upgrading to the new export it
> isn't working. It appears the hook
> org-export-latex-after-initial-vars-hook isn't defined anymore.
>
> Any advice on what I need to change to get it to work?
I have noticed discussions on this before and I fail to understand the
need for all the setup mentioned in the above Worg entry. I use XeLaTeX
almost exclusively, and all I have is something like this:
;;; XeLaTeX customisations
;; remove "inputenc" from default packages as it clashes with xelatex
(setf org-latex-default-packages-alist
(remove '("AUTO" "inputenc" t) org-latex-default-packages-alist))
(add-to-list 'org-latex-packages-alist '("" "xltxtra" t))
;; choose Linux Libertine O as serif and Linux Biolinum O as sans-serif fonts
(add-to-list 'org-latex-packages-alist '("" "libertineotf" t))