From: André W. <wo...@us...> - 2011-07-13 21:13:00
|
Hi Michael, as far as I checked this libkpathsea uses the singular form consistently. Clearly a bug in PyX. Fixed in changeset 3203. Thank you. Best, André Am 13.07.2011 um 16:28 schrieb Michael J Gruber: > kpsearch -help says "graphic/figure". > In fact, this makes no difference, and may be a typo in kpsearch. > --- > Optional, of course, dunno what more recent kpsearch says. > > pyx/filelocator.py | 2 +- > pyx/pykpathsea.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/pyx/filelocator.py b/pyx/filelocator.py > index 69bec5c..cd55037 100644 > --- a/pyx/filelocator.py > +++ b/pyx/filelocator.py > @@ -281,7 +281,7 @@ class format: > format.tfm = format("tfm", [".tfm"]) > format.afm = format("afm", [".afm"]) > format.fontmap = format("map", []) > -format.pict = format("graphics/figure", [".eps", ".epsi"]) > +format.pict = format("graphic/figure", [".eps", ".epsi"]) > format.tex_ps_header = format("PostScript header", [".pro"]) # contains also: enc files > format.type1 = format("type1 fonts", [".pfa", ".pfb"]) > format.vf = format("vf", [".vf"]) > diff --git a/pyx/pykpathsea.c b/pyx/pykpathsea.c > index 72a7a8d..b26d431 100644 > --- a/pyx/pykpathsea.c > +++ b/pyx/pykpathsea.c > @@ -56,7 +56,7 @@ static PyObject *py_kpse_find_file(PyObject *self, PyObject *args) > /* if (!strcmp(format, "otp")) kpse_file_format = kpse_otp_format; else */ > /* if (!strcmp(format, "ovf")) kpse_file_format = kpse_ovf_format; else */ > /* if (!strcmp(format, "ovp")) kpse_file_format = kpse_ovp_format; else */ > - if (!strcmp(format, "graphics/figure")) kpse_file_format = kpse_pict_format; else > + if (!strcmp(format, "graphic/figure")) kpse_file_format = kpse_pict_format; else > /* if (!strcmp(format, "tex")) kpse_file_format = kpse_tex_format; else */ > /* if (!strcmp(format, "TeX system documentation")) kpse_file_format = kpse_texdoc_format; else */ > /* if (!strcmp(format, "texpool")) kpse_file_format = kpse_texpool_format; else */ > -- > 1.7.6.336.gdf067 > > > ------------------------------------------------------------------------------ > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > _______________________________________________ > PyX-devel mailing list > PyX...@li... > https://lists.sourceforge.net/lists/listinfo/pyx-devel -- by _ _ _ Dr. André Wobst, Amselweg 22, 85716 Unterschleißheim / \ \ / ) wo...@us..., http://www.wobsta.de/ / _ \ \/\/ / PyX - High quality PostScript and PDF figures (_/ \_)_/\_/ with Python & TeX: visit http://pyx.sourceforge.net/ |