emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Mathjax vs. problems with imagemagick
Date: Fri, 11 Jul 2014 14:05:42 -0400	[thread overview]
Message-ID: <87mwcfvki1.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: CAD-VTcGabzWY7UkZM=-97q8epXTs2BArU-r4MRk_KTd9723+vA@mail.gmail.com

Joseph Vidal-Rosset <joseph.vidal.rosset@gmail.com> 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	other threads:[~2014-07-11 18:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-06  8:03 Mathjax vs. problems with imagemagick Joseph Vidal-Rosset
2014-07-06  8:39 ` briangpowell .
2014-07-06  8:59   ` Joseph Vidal-Rosset
2014-07-06 21:25 ` Nick Dokos
2014-07-08 13:01   ` Joseph Vidal-Rosset
2014-07-08 13:04     ` Joseph Vidal-Rosset
2014-07-08 13:44       ` Joseph Vidal-Rosset
2014-07-11  0:59     ` Nick Dokos
2014-07-11  7:38       ` Joseph Vidal-Rosset
2014-07-11 15:59         ` Nick Dokos
2014-07-11 16:06           ` Joseph Vidal-Rosset
2014-07-11 18:05             ` Nick Dokos [this message]
2014-07-11 18:24               ` Joseph Vidal-Rosset
2014-07-28 14:36               ` Sebastien Vauban

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=87mwcfvki1.fsf@alphaville.bos.redhat.com \
    --to=ndokos@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).