<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> Is there a way to use the minted package with ipe? The package needs to <br>
> call an external python program (Pygments) during latex compilation, <br>
> which requires the flag "-shell-escape", without which compilation <br>
> fails. Is there a way to locally change the flags passed to latex?<br>
<br>
No, this is currently not possible.<br>
<br>
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?<br></blockquote><div><br></div><div>That workaround works, thanks.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br></blockquote><div><br></div><div>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.</div><div><br></div><div>Thanks,</div><div>Troels</div></div></div>