Re: Ipe-discuss Digest, Vol 147, Issue 1

Troels Bjerre Lund via Ipe-discuss <ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]> Fri, 14 Sep 2018 13:01:35 +0200
Newsgroups gmane.comp.graphics.ipe.general
Message-ID <CAJ9COeri_Vud=6_M+uMOuJqNFHo6=+-NSfWMoDOF550oE2RH7A@mail.gmail.com>
>
> > Is there a way to use the minted package with ipe? The package needs to
> > call an external python program (Pygments) during latex compilation,
> > which requires the flag "-shell-escape", without which compilation
> > fails. Is there a way to locally change the flags passed to latex?
>
> No, this is currently not possible.
>
> One easy solution you could try is to make a script named "pdflatex" that
> is on your path before the actual pdflatex executable and let this set the
> flag.   Are you on Windows, OSX, or Linux?
>

That workaround works, thanks.

It would be easy to add a mechanism for this to Ipe - I think we discussed
> this before - but I was always hesitating because of the security
> implications.
>

Yes, it is a security issue. It definitely is not something that should be
on by default. I am already a little worried by the workaround, since it
effectively sets the flag globally, and I need to have other latex tools
circumnavigate the script, hoping I don't forget any. In any case, it might
be ugly, but it works.

Thanks,
Troels

_______________________________________________
Ipe-discuss mailing list
Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]
https://mailman.science.uu.nl/mailman/listinfo/ipe-discuss