diff options
author | Karl Berry <karl@freefriends.org> | 2011-09-30 18:16:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-09-30 18:16:23 +0000 |
commit | 5a1f9d77f917c0302c0bfef9b45658a9d1ca83da (patch) | |
tree | 25c481dcb87e7bd06588e87b6647eb72c7864a20 /Build/source/texk/kpathsea/tex-file.c | |
parent | be62200a7e0420b4a11f6cbca5848f9ea5666c93 (diff) |
new (biblio) formats .ris and .bltxml per philkime
git-svn-id: svn://tug.org/texlive/trunk@24156 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea/tex-file.c')
-rw-r--r-- | Build/source/texk/kpathsea/tex-file.c | 15 |
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); } |