emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marius Hofert <marius.hofert@math.ethz.ch>
To: Emacs org-mode <emacs-orgmode@gnu.org>
Subject: How to use texi2dvi for export to LaTeX?
Date: Thu, 16 Aug 2012 21:43:51 +0200	[thread overview]
Message-ID: <87vcgi62rs.fsf@sklar.v.cablecom.net> (raw)


I found http://orgmode.org/worg/org-dependencies.html and proceeded as described
there to set up texi2dvi for LaTeX export. I don't have the egrep bug mentioned,
so all I had to do was:

1) put this in ~/.emacs:
   (setq org-latex-to-pdf-process "texi2dvi -p %f"); use texi2dvi; see
2) put this in ~/.profile:
   PDFLATEX="pdflatex --shell-escape"
   export PDFLATEX

texi2dvi is installed on my system (Ubuntu 12.04; Emacs 24; MacBook Air 4,1) and
works. However, if I export an org-mode file via 'C-c C-e p' to LaTeX, I obtain
an error. *Messages* shows:

| call-interactively: Wrong type argument: listp, "texi2dvi -p %f"


Something I'm wondering: Doesn't %f stand for the base file name with ending
.ps? Shouldn't it be texi2dvi -p %t? Trying this led to the same error, though.



             reply	other threads:[~2012-08-16 19:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-16 19:43 Marius Hofert [this message]
2012-08-16 20:15 ` Achim Gratz
2012-08-16 20:45   ` Nick Dokos
2012-08-16 20:54     ` Achim Gratz
2012-08-16 22:49 ` Marius Hofert

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:

  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=87vcgi62rs.fsf@sklar.v.cablecom.net \
    --to=marius.hofert@math.ethz.ch \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: How to use texi2dvi for export to LaTeX?' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).