From: Christopher Witte <chris@witte.net.au>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: XeLaTeX and the new exporter
Date: Fri, 31 May 2013 09:58:57 +0200 [thread overview]
Message-ID: <CAALnB3H165CD98kErVqPXxuTbhSQqRCVFZ8_YoXwiyuhAik=Lg@mail.gmail.com> (raw)
In-Reply-To: <20130522170743.GC5171@kuru.dyndns-at-home.com>
[-- Attachment #1: Type: text/plain, Size: 2531 bytes --]
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 <fatkasuvayu+linux@gmail.com> 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
> > FAQ<http://orgmode.org/worg/org-faq.html#using-xelatex-for-pdf-export
> >(with
> > 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))
>
> ;; org to latex customisations, -shell-escape needed for minted
> (setq org-export-dispatch-use-expert-ui t ; non-intrusive export dispatch
> org-latex-pdf-process ; for regular export
> '("xelatex -shell-escape -interaction nonstopmode
> -output-directory %o %f"
> "xelatex -shell-escape -interaction nonstopmode
> -output-directory %o %f"
> "xelatex -shell-escape -interaction nonstopmode
> -output-directory %o %f"))
>
> For beamer export I add this line:
>
> #+LaTeX_HEADER: \setsansfont{Linux Biolinum O}
>
> So far I have not encountered any problems. Although I have to say, I
> do not use unicode in mathmode.
>
> I am curious to know why others need all this elaborate setup to use
> XeLaTeX.
>
> Cheers,
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>
>
[-- Attachment #2: Type: text/html, Size: 3472 bytes --]
next prev parent reply other threads:[~2013-05-31 7:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-07 15:42 XeLaTeX and the new exporter Christopher Witte
2013-05-14 10:04 ` Søren Mikkelsen
2013-05-22 16:35 ` Christopher Witte
2013-05-22 17:07 ` Suvayu Ali
2013-05-31 7:58 ` Christopher Witte [this message]
2013-06-01 6:43 ` Carsten Dominik
2013-06-03 10:47 ` Christopher Witte
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='CAALnB3H165CD98kErVqPXxuTbhSQqRCVFZ8_YoXwiyuhAik=Lg@mail.gmail.com' \
--to=chris@witte.net.au \
--cc=emacs-orgmode@gnu.org \
--cc=fatkasuvayu+linux@gmail.com \
/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).