emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Bach <phaebz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [New Exporter] org-export-latex-after-initial-vars-hook
Date: Thu, 6 Jun 2013 10:38:24 +0200	[thread overview]
Message-ID: <CAFbCY6hh_11satxO5Op68GXaVBQXY2t29fhT+FSQxcCEk3wyzg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 986 bytes --]

Nicolas Goaziou <address@hidden> writes:

> Søren Mikkelsen <address@hidden> writes:

>>* But I have a problem with the exporter:*
>>**
>*> I have modified by org-exporter to export latex-files with the xelatex*
>*> compiler. The implementation uses the*
>*> "org-export-latex-after-initial-vars-hook"-hook to reconfigure the*
>>* default process, however, this hook seems to be deleted and I'm not*
>>* able to find equivalent hook.*

> Isn't it sufficient to customize `org-latex-pdf-process' so it uses

> xelatex?

I assume Søren is using a similar snippet [1] as I do which is very
convenient (credit goes to Bruno Tavernier). This approach lets you
specify a #+LATEX_CMD (think of xelatex, -shell-escape, etc.) on a per
file basis and allows LaTeX package 'injection'.

Is there a hook that is run before actual LaTeX export of a given
org-mode buffer in the new exporter engine?

[1] http://lists.gnu.org/archive/html/emacs-orgmode/2010-10/msg00218.html

[-- Attachment #2: Type: text/html, Size: 1757 bytes --]

             reply	other threads:[~2013-06-06  8:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-06  8:38 Michael Bach [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-06-06  8:59 [New Exporter] org-export-latex-after-initial-vars-hook Michael Bach
2013-06-06 12:48 ` Michael Bach
2013-04-29 15:46 Søren Mikkelsen
2013-04-29 17:16 ` Nicolas Goaziou

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=CAFbCY6hh_11satxO5Op68GXaVBQXY2t29fhT+FSQxcCEk3wyzg@mail.gmail.com \
    --to=phaebz@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).