[Wikitex-l] Gnuplot questions
Peter Danenberg
pcd at wikitex.org
Fri Feb 25 21:24:37 CST 2005
> Other users might benefit from this knowledge.
Well said, John; another solution would be to update
Apache's $PATH. I'll add something to that effect.
> External data: Where would we put datafiles to plot?
WikiTeX restricts local I/O out-of-the-box; but if you're
running in a protected environment, consider relaxing the
quote restriction in wikitex.php on line 82
($arrBlack['plot']). Then it's a matter of negotiating with
the web server; but absolute paths should do the trick.
> Gnuplot failures: Is there a way to get an idea of the failures
> associated with a plot (a log or otherwise).
Great idea; let's get complete error dumps with, say, a con-
figurable threshold.
> When Wikitex gives one of the previously defined errors, the
> mediawiki formatting is left indented to the location of the WikiTeX
> output.
Would you mind scripting up a quick reproduction?
As far as the color irregularities: gnuplot depends on
libpng, I believe; see if you can't determine which version
SF is running.
P.S. Line 46 in wikitex.sh under wt_anch() should
read:
STR=$(printf '<a href="%s">%s</a>' "${OUT}${HASH}" "${STR}")
which accounts for the problems viewing the source, and will
make its way into the latest branch.
--
Peter Danenberg .
wikisophia.org ..:
More information about the Wikitex-l
mailing list