Re: Ipe-discuss Digest, Vol 147, Issue 1
Otfried Cheong via Ipe-discuss <ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected]> Fri, 14 Sep 2018 22:51:12 +0900
| Newsgroups | gmane.comp.graphics.ipe.general |
|---|---|
| Message-ID | <1536933072.249372.1508143912.7E3F57D3@webmail.messagingengine.com> |
Ipe can use a private path to search for Latex: just set the environment variable IPELATEXPATH. (On Windows you can make an "ipe.conf" file instead of setting an environment variable.) See http://ipe.otfried.org/manual/manual_40.html. Cheers, Otfried On Fri, Sep 14, 2018, at 20:11, Mathias Rav via Ipe-discuss wrote: > 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 > _______________________________________________ > Ipe-discuss mailing list > Ipe-discuss-rGrgPyRx506NN8uzcEdRPYRWq/[email protected] > https://mailman.science.uu.nl/mailman/listinfo/ipe-discuss