kpathsea for epsfile
commit07a6f2a8b0734d41e60f109152bce4b370dfc03d
authorMichael J Gruber <michaeljgruber@users.sourceforge.net>
Thu, 27 May 2004 11:26:16 +0000 (27 13:26 +0200)
committerMichael J Gruber <michaeljgruber@users.sourceforge.net>
Thu, 27 May 2004 11:26:16 +0000 (27 13:26 +0200)
treeabe26df32db06d9827ed1a8faca731de56243817
parent6a040f79a06ff7110bf377c23b9adba0c0b875c4
kpathsea for epsfile

LaTeX/epsfig biased users may expect PyX's epsfile to find the same
files as LaTeX's epsfig. Currently there is no file searching done.
The attached patch against PyX 0.6.3 adds an option "kpsearch" to
epsfile (to its constructor). Default is 0 (standard behaviour). If
"kpsearch=1" is specified then the kpathsea library is used to search
for the file with format=graphics/figure.
pyx/epsfile.py