From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Suvayu Ali <fatkasuvayu+linux@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How can I use xelatex with the new latex exporter?
Date: Fri, 09 Nov 2012 13:42:13 +0100 [thread overview]
Message-ID: <m2obj7ne1m.fsf@top.irisa.fr> (raw)
In-Reply-To: <20121109072249.GB29495@kuru.dyndns-at-home.com> (Suvayu Ali's message of "Fri, 9 Nov 2012 08:22:49 +0100")
Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:
>> Before using this machinery, is it enough to customize
>> `org-e-latex-pdf-process'?
>>
>
> This is pretty much what I do.
>
>
> ;;; XeLaTeX customisations
> ;; remove "inputenc" from default packages as it clashes with xelatex
> (setf org-export-latex-default-packages-alist
> (remove '("AUTO" "inputenc" t) org-export-latex-default-packages-alist))
>
> (add-to-list 'org-export-latex-packages-alist '("" "xltxtra" t))
> ;; commented for now as preferable to set per file for now
> ;; (add-to-list 'org-export-latex-packages-alist '("" "unicode-math" t))
> ;; (add-to-list 'org-export-latex-packages-alist
> ;; "\\setmathfont{Linux Libertine O}" t) ; needed for unicode-math
>
> ;; org to latex customisations, -shell-escape needed for minted
> (setq org-latex-to-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")
> org-export-dispatch-use-expert-ui t ; non-intrusive export dispatch
> org-e-latex-pdf-process ; for experimental org-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"))
>
>
> I do not use unicode-math anymore but the OP can try uncommenting some
> of the lines above.
Thank you, this is most helpful.
Alan
next prev parent reply other threads:[~2012-11-09 12:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-08 12:33 How can I use xelatex with the new latex exporter? Alan Schmitt
2012-11-09 0:40 ` Nicolas Goaziou
2012-11-09 7:22 ` Suvayu Ali
2012-11-09 12:42 ` Alan Schmitt [this message]
2012-11-09 11:36 ` Alan Schmitt
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2obj7ne1m.fsf@top.irisa.fr \
--to=alan.schmitt@polytechnique.org \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.