[OS X TeX] Cite Bibliography script

Will Robertson will at guerilla.net.au
Sat Sep 18 10:24:41 CEST 2004

Hi Matthew

The script doesn't work for me :( , but I have a fix :) .

To be more precise, it works perfectly when I have local bib files, but 
when the bib files are located in the TeX tree, kpsewhich doesn't find 

More precisely again, I don't think kpsewhich is ever queried for them. 
In the get_kpath_file function, you have the line:

   set lookup_texfile_script to "if ( [[ -x `which kpsewhich` ]] ) then 
" & kpse_lookup & else_default

I think it automatically elses because kpsewhich is not found in the 
default path of the "do shell script" environment.
The script works if I use the following line instead:

   set lookup_texfile_script to 
"/usr/local/teTeX/bin/powerpc-apple-darwin-current/kpsewhich " & fname

You will probably prefer something more elaborate and robust, but that 
appears to be a philosophical difference between us :)


--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>

More information about the macostex-archives mailing list