emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Mathjax vs. problems with imagemagick


From: Nick Dokos
Subject: Re: [O] Mathjax vs. problems with imagemagick
Date: Fri, 11 Jul 2014 14:05:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Joseph Vidal-Rosset <address@hidden> writes:

>     > I guess that I have to put in  my .bashrc a command to say that I always
>     > want to use latex with -shell-escape option  , but I am not sure that it
>     > is the best solution.
>     >
>    
>     -shell-escape is a security risk, allowing arbitrary programs to
>     execute, but if you are careful about what you allow and don't get
>     careless, I think it's reasonable to set it once and for all. I do that
>     because I use minted all the time (it's also needed by some svg package
>     that I occasionally use). But I do try to be careful about what new
>     latex packages I install.
>
> I have just to find how to write this setup in my .bashrc file. If you know 
> the command line for a Linux user, do not hesitate to
> tell me. It will be more quick for me !
>

Sorry, I misspoke: I only set it in org. Most of my latex usage is
org->latex->pdf nowadays, so I don't bother to do it from the shell. On
the rare occasions when I do it from the command line, I type the option
explicitly if needed.

My org-latex-pdf-process setting is

  (setq org-latex-pdf-process '("texi2dvi --shell-escape --pdf %f"))

and I'm experimenting with

  (setq org-latex-pdf-process '("latexmk --shell-escape -pdf -xelatex %f"))

HTH,
Nick







reply via email to

[Prev in Thread] Current Thread [Next in Thread]