From 9a7112462b181f48f41cc0f69eea7a1d435af310 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Wed, 13 Jul 2011 21:08:33 +0000 Subject: [PATCH] fix pict format name (reported by Michael J Gruber) git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@3203 069f4177-920e-0410-937b-c2a4a81bcd90 --- 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 69bec5c8..cd55037e 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 72a7a8d4..b26d4318 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 */ -- 2.11.4.GIT