From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: How to use texi2dvi for export to LaTeX? Date: Thu, 16 Aug 2012 16:45:16 -0400 Message-ID: <15717.1345149916@alphaville> References: <87vcgi62rs.fsf@sklar.v.cablecom.net> <87vcgiioe8.fsf@Rainer.invalid> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T26wY-0007QU-Og for emacs-orgmode@gnu.org; Thu, 16 Aug 2012 16:45:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T26wX-00072v-GH for emacs-orgmode@gnu.org; Thu, 16 Aug 2012 16:45:26 -0400 Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:37600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T26wX-00070x-Aw for emacs-orgmode@gnu.org; Thu, 16 Aug 2012 16:45:25 -0400 In-Reply-To: Message from Achim Gratz of "Thu\, 16 Aug 2012 22\:15\:59 +0200." <87vcgiioe8.fsf@Rainer.invalid> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Achim Gratz Cc: emacs-orgmode@gnu.org Achim Gratz wrote: > Marius Hofert writes: > > 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 m= entioned, > > so all I had to do was: > > > > 1) put this in ~/.emacs: > > (setq org-latex-to-pdf-process "texi2dvi -p %f"); use texi2dvi; see > > http://orgmode.org/worg/org-dependencies.html >=20 > This is missing a `'(=E2=80=A6)=C2=B4 around the string. But you should = rather use > customize to change that variable, which should be a list of strings > (just on in your case). Org-latex needs to have been loaded before the > variable can be customized, however. >=20 I fixed that on worg. > > 2) put this in ~/.profile: > > PDFLATEX=3D"pdflatex --shell-escape" > > export PDFLATEX >=20 > You might not want to do this either. The canonical way to set the > environment for a single command is to define it right there with the > invocation of the command. >=20 > (setq org-latex-to-pdf-process "PDFLATEX=3D\"pdflatex --shell-escape\" t= exi2dvi -p %f") >=20 > Or if your system still had the locale bug even >=20 > (setq org-latex-to-pdf-process "LC_ALL=3DC PDFLATEX=3D\"pdflatex --shell= -escape\" texi2dvi -p %f") >=20 I added this comment to worg as well, but note that the setqs need the '(..= .) treatment. Nick >=20 > Regards, > Achim. > --=20 > +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ >=20 > Wavetables for the Terratec KOMPLEXER: > http://Synth.Stromeko.net/Downloads.html#KomplexerWaves >=20 >=20