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

Otfried Cheong otfried at ipe.airpost.net
Fri Sep 14 15:51:12 CEST 2018


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 at lists.science.uu.nl>:
> > > 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 at lists.science.uu.nl
> https://mailman.science.uu.nl/mailman/listinfo/ipe-discuss


More information about the Ipe-discuss mailing list