From: Achim Gratz <Stromeko@nexgo.de> To: emacs-orgmode@gnu.org Subject: Re: How to use texi2dvi for export to LaTeX? Date: Thu, 16 Aug 2012 22:15:59 +0200 [thread overview] Message-ID: <87vcgiioe8.fsf@Rainer.invalid> (raw) In-Reply-To: <87vcgi62rs.fsf@sklar.v.cablecom.net> 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 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 > http://orgmode.org/worg/org-dependencies.html This is missing a `'(…)´ 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. > 2) put this in ~/.profile: > PDFLATEX="pdflatex --shell-escape" > export PDFLATEX 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. (setq org-latex-to-pdf-process "PDFLATEX=\"pdflatex --shell-escape\" texi2dvi -p %f") Or if your system still had the locale bug even (setq org-latex-to-pdf-process "LC_ALL=C PDFLATEX=\"pdflatex --shell-escape\" texi2dvi -p %f") Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Terratec KOMPLEXER: http://Synth.Stromeko.net/Downloads.html#KomplexerWaves
next prev parent reply other threads:[~2012-08-16 20:16 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-08-16 19:43 Marius Hofert 2012-08-16 20:15 ` Achim Gratz [this message] 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: 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=87vcgiioe8.fsf@Rainer.invalid \ --to=stromeko@nexgo.de \ --cc=emacs-orgmode@gnu.org \ --subject='Re: How to use texi2dvi for export to LaTeX?' \ /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
Code repositories for project(s) associated with this 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).