[Ipe-discuss] minted and -shell-escape
otfried at ipe.airpost.net
Wed Sep 12 16:01:14 CEST 2018
On Wed, Sep 12, 2018, at 22:00, Troels Bjerre Lund via Ipe-discuss wrote:
> 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?
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.
More information about the Ipe-discuss