[Ipe-discuss] Ipe-discuss Digest, Vol 147, Issue 1

Troels Bjerre Lund trbj at itu.dk
Fri Sep 14 13:01:35 CEST 2018


>
> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.science.uu.nl/pipermail/ipe-discuss/attachments/20180914/faaca97b/attachment.html>


More information about the Ipe-discuss mailing list