[tex-live] bibtex8

Olaf Weber olaf at infovore.xs4all.nl
Mon Sep 20 20:00:06 CEST 2004


Olaf Weber writes:
> Staszek Wawrykiewicz writes:
>> On Sun, 19 Sep 2004, Maksym Polyakov wrote:

>>> bibtex8: 
>>> 
>>> sparc solaris 2.7 -- can not find bst and csf files 
>>> neither in texmf tree nor in current directory
>>> 
>>> windows -- everything works

>> Can it be the problem found last year for TL 2003?
>> texmf.cnf should contain:
>> BSTINPUTS.bibtex8 = .;$TEXMF/bibtex/{bst,csf,}//

>> It seems that texmf.cnf produced by build doesn't have it, so use
>> texmf.cnf from Master/texmf/web2c/

>> Anyway, building bibtex8 should be cured. Anybody can help?
>> Thanks,

> What I do not understand is why bibtex8 would need a
> 	BSTINPUTS.bibtex8 = .;$TEXMF/bibtex/{bst,csf,}//
> entry when there is a
> 	BSTINPUTS = .;$TEXMF/bibtex/{bst,}//

> Is this really _only_ on Solaris?

> By the way, aren't the formats wrong here for the second and third
> cases?  Those should be kpse_bst_format, unless we want to break out a
> kpse_csf_format at this point in time...

Since is this is obviously a bug, I've made the change without further
ado.  If you want a separate kpse_csf_format, let me know.  If this
does or doesn't fix the problem, make some noise.

$ p4 describe -du 5943
Change 5943 by olaf at olaf on 2004/09/20 19:57:06

	Use kpse_bst_format for BST_FILE_SEARCH_PATH and CSF_FILE_SEARCH_PATH.

Affected files ...

... //depot/Build/source.development/TeX/texk/bibtex8/utils.c#2 edit

Differences ...

==== //depot/Build/source.development/TeX/texk/bibtex8/utils.c#2 (text) ====

@@ -702,14 +702,14 @@
             break;
         case BST_FILE_SEARCH_PATH:
 #ifdef KPATHSEA
-	  status = ((full_filespec = kpse_find_file(filename, kpse_bib_format, false)) == NULL);
+	  status = ((full_filespec = kpse_find_file(filename, kpse_bst_format, false)) == NULL);
 #else            status = find_file (BST_INPUT_ENVVAR, BST_INPUT_PATH,
                                 filename, full_filespec);
 #endif
             break;
         case CSF_FILE_SEARCH_PATH:
 #ifdef KPATHSEA
-	  status = ((full_filespec = kpse_find_file(filename, kpse_bib_format, false)) == NULL);
+	  status = ((full_filespec = kpse_find_file(filename, kpse_bst_format, false)) == NULL);
 #else
             status = find_file (CSF_INPUT_ENVVAR, CSF_INPUT_PATH,
                                 filename, full_filespec);


-- 
Olaf Weber

               (This space left blank for technical reasons.)



More information about the tex-live mailing list