Closed shiblon closed 3 years ago
I'm reading about pgfplots now. Looks really interesting.
So, the -shell-escape is there because pdflatex wants to shell out to gnuplot to do
its work, right? Make makes this sort of thing really hard (global parameter settings
based on the way that dependencies are set up). I think we have basically two options:
1) Always set --shell-escape. This seems like it could be dangerous, but I don't have
my head wrapped around all of the implications.
2) Provide an externally-settable LATEX_OPTS variable, that you can set in e..g, Makefile.ini
or Variables.ini like so: LATEX_OPTS := -shell-escape
Thoughts?
Reported by shiblon
on 2011-07-12 13:18:22
Accepted
I'd prefer the second option - seems more generic :D
A notable alternative to pgfplots is TiKZ, which works with pdflatex without any issues.
Reported by patrick.hieber@gmx.net
on 2011-07-19 21:07:26
OK - try the attached. It allows you to set "LATEX_OPTS" and add extra latex options
to the command line, like the --shell-escape option you need.
You can put it into Variables.ini or Makefile.ini like this:
LATEX_OPTS := -shell-escape
Reported by shiblon@google.com
on 2011-07-20 20:00:15
This could probably be closed. LATEX_OPTS := -shell-escape
seems like a great solution.
Thanks for the feedback, glad it worked!
Originally reported on Google Code with ID 135
Reported by
patrick.hieber@gmx.net
on 2011-07-11 07:21:44