summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea/tex-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/kpathsea/tex-file.c')
-rw-r--r--Build/source/texk/kpathsea/tex-file.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/Build/source/texk/kpathsea/tex-file.c b/Build/source/texk/kpathsea/tex-file.c
index 293bca1b729..0cb119721bf 100644
--- a/Build/source/texk/kpathsea/tex-file.c
+++ b/Build/source/texk/kpathsea/tex-file.c
@@ -1,6 +1,7 @@
/* tex-file.c: high-level file searching by format.
- Copyright 1993, 1994, 1995, 1996, 1997, 2007, 2008, 2009, 2010, 2011 Karl Berry.
+ Copyright 1993, 1994, 1995, 1996, 1997, 2007, 2008, 2009, 2010, 2011
+ Karl Berry.
Copyright 1998-2005 Olaf Weber.
This library is free software; you can redistribute it and/or
@@ -91,6 +92,8 @@
#define MLBIB_ENVS "MLBIBINPUTS", BIB_ENVS
#define MLBST_ENVS "MLBSTINPUTS", BST_ENVS
#define CLUA_ENVS "CLUAINPUTS"
+#define RIS_ENVS "RISINPUTS"
+#define BLTXML_ENVS "BLTXMLINPUTS"
/* The compiled-in default list, DEFAULT_FONT_SIZES, is intended to be
set from the command line (presumably via the Makefile). */
@@ -806,6 +809,16 @@ kpathsea_init_format (kpathsea kpse, kpse_file_format_type format)
SUFFIXES (CLUA_SUFFIXES);
FMT_INFO.suffix_search_only = true;
break;
+ case kpse_ris_format:
+ INIT_FORMAT ("ris", DEFAULT_RISINPUTS, RIS_ENVS);
+ SUFFIXES (".ris");
+ FMT_INFO.suffix_search_only = true;
+ break;
+ case kpse_bltxml_format:
+ INIT_FORMAT ("bltxml", DEFAULT_BLTXMLINPUTS, BLTXML_ENVS);
+ SUFFIXES (".bltxml");
+ FMT_INFO.suffix_search_only = true;
+ break;
default:
LIB_FATAL1 ("kpse_init_format: Unknown format %d", format);
}