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.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/Build/source/texk/kpathsea/tex-file.c b/Build/source/texk/kpathsea/tex-file.c
index 7b81c7a0532..56933985616 100644
--- a/Build/source/texk/kpathsea/tex-file.c
+++ b/Build/source/texk/kpathsea/tex-file.c
@@ -87,6 +87,8 @@
#define LUA_ENVS "LUAINPUTS"
#define FONTFEATURES_ENVS "FONTFEATURES"
#define FONTCIDMAPS_ENVS "FONTCIDMAPS"
+#define MLBIB_ENVS "MLBIBINPUTS", BIB_ENVS
+#define MLBST_ENVS "MLBSTINPUTS", BST_ENVS
/* The compiled-in default list, DEFAULT_FONT_SIZES, is intended to be
set from the command line (presumably via the Makefile). */
@@ -751,6 +753,18 @@ kpathsea_init_format (kpathsea kpse, kpse_file_format_type format)
SUFFIXES (CID_SUFFIXES);
FMT_INFO.suffix_search_only = true;
break;
+ case kpse_mlbib_format:
+ INIT_FORMAT ("mlbib", DEFAULT_MLBIBINPUTS, MLBIB_ENVS);
+#define MLBIB_SUFFIXES ".mlbib", ".bib"
+ SUFFIXES (MLBIB_SUFFIXES);
+ FMT_INFO.suffix_search_only = true;
+ break;
+ case kpse_mlbst_format:
+ INIT_FORMAT ("mlbst", DEFAULT_MLBSTINPUTS, MLBST_ENVS);
+#define MLBST_SUFFIXES ".mlbst", ".bst"
+ SUFFIXES (MLBST_SUFFIXES);
+ FMT_INFO.suffix_search_only = true;
+ break;
default:
LIB_FATAL1 ("kpse_init_format: Unknown format %d", format);
}