From 6d9ad83c3c55d2423019a5ad4b182e2ddd18dc03 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 31 Dec 2008 19:42:03 +0000 Subject: special-case XDvi to "other text files" git-svn-id: svn://tug.org/texlive/trunk@11772 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/ChangeLog | 5 +++++ Build/source/texk/kpathsea/kpathsea.texi | 4 ++++ Build/source/texk/kpathsea/kpsewhich.c | 2 ++ 3 files changed, 11 insertions(+) diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index df6cee11483..8aa46e9b03d 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,8 @@ +2008-12-31 Karl Berry + + * kpsewhich.c (find_format): special-case XDvi to + kpse_program_text_file ("other text files"). + 2008-12-15 Karl Berry * kpsewhich.c (main): warn if the explicit --user-format string diff --git a/Build/source/texk/kpathsea/kpathsea.texi b/Build/source/texk/kpathsea/kpathsea.texi index c7c550a9b7c..c33aeb7aefe 100644 --- a/Build/source/texk/kpathsea/kpathsea.texi +++ b/Build/source/texk/kpathsea/kpathsea.texi @@ -1355,6 +1355,10 @@ look for the file @file{pdftexconfig.tex} instead.) @item texmf.cnf @samp{cnf} +@flindex XDvi +@item XDvi +@samp{other text files} + @end table A user-specified format will override the above defaults. diff --git a/Build/source/texk/kpathsea/kpsewhich.c b/Build/source/texk/kpathsea/kpsewhich.c index 1ca606cba7d..84194dbb58e 100644 --- a/Build/source/texk/kpathsea/kpsewhich.c +++ b/Build/source/texk/kpathsea/kpsewhich.c @@ -117,6 +117,8 @@ find_format P2C(string, name, boolean, is_filename) ret = kpse_cnf_format; } else if (FILESTRCASEEQ (name, "updmap.cfg")) { ret = kpse_web2c_format; + } else if (FILESTRCASEEQ (name, "XDvi")) { + ret = kpse_program_text_format; } else { int f = 0; /* kpse_file_format_type */ unsigned name_len = strlen (name); -- cgit v1.2.3