Re: Ipe-discuss Digest, Vol 147, Issue 1
Mathias Rav via Ipe-discuss <ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]> Fri, 14 Sep 2018 13:11:45 +0200
| Newsgroups | gmane.comp.graphics.ipe.general |
|---|---|
| Message-ID | <20180914131145.02583850@novascotia> |
2018-09-14 13:01 +0200 Troels Bjerre Lund via Ipe-discuss <ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]>: > > 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. > > 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. You can change the path only for the invocation of Ipe. For instance, if you use bash on Linux you can make an alias alias ipe='PATH=~/.ipepath:$PATH \ipe' ... and create the wrapper for pdflatex inside .ipepath: mkdir ~/.ipepath cat > ~/.ipepath/pdflatex <<EOF #!/bin/sh exec /usr/bin/pdflatex -shell-escape "$@" EOF chmod +x ~/.ipepath Cheers, Mathias