|
From: Michael J G. <mic...@us...> - 2011-07-13 14:29:13
|
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
|