[OS X TeX] Bibliography: pedestrian way works too...

Bruno Voisin bvoisin at mac.com
Fri Jan 14 09:25:09 CET 2005


Le 14 janv. 05, à 08:52, Josep M.Font a écrit :

> Great! I installed it with the latest version of i-Installer (got a  
> message "installation completed successfully") but when invoking  
> bibtool I get a "tcsh: bibtool: Command not found." message. Is there  
> something I should do before using it ? How can I confirm it is really  
> installed ? I re-installed it from the local i-package, wilth the same  
> results.
>
> According to the information given by the i-package, it should be  
> installed in /usr/local. However, here I only have the directories:  
> bin, include, lib, man, share, tetex. The Finder search does not find  
> any directory or file containing "bibtool" in its name (other than the  
> i-package). Is the installer broken ? Am I doing something wrong ?

In the Subprocess Output window of i-Installer, you get after install  
the BibTool i-Package:

### bibtool.prepare: Started...
### bibtool.prepare: Finished.
./bin/bibtool
./lib/BibTool/braces.rsc
./lib/BibTool/check_y.rsc
./lib/BibTool/default.rsc
./lib/BibTool/field.rsc
./lib/BibTool/improve.rsc
./lib/BibTool/iso2tex.rsc
./lib/BibTool/month.rsc
./lib/BibTool/opt.rsc
./lib/BibTool/sort_fld.rsc
./lib/BibTool/tex_def.rsc
./lib/libbib.a
./man/man1/bibtool.1
./include/bibtool/config.h
./include/bibtool/database.h
./include/bibtool/bibtool.h
./include/bibtool/entry.h
./include/bibtool/error.h
./include/bibtool/expand.h
./include/bibtool/general.h
./include/bibtool/init.h
./include/bibtool/key.h
./include/bibtool/keynode.h
./include/bibtool/macros.h
./include/bibtool/names.h
./include/bibtool/parse.h
./include/bibtool/print.h
./include/bibtool/pxfile.h
./include/bibtool/regex.h
./include/bibtool/record.h
./include/bibtool/resource.h
./include/bibtool/rewrite.h
./include/bibtool/rsc.h
./include/bibtool/s_parse.h
./include/bibtool/sbuffer.h
./include/bibtool/stack.h
./include/bibtool/symbols.h
./include/bibtool/tex_aux.h
./include/bibtool/tex_read.h
./include/bibtool/type.h
./include/bibtool/version.h
./include/bibtool/wordlist.h

This tells what was installed and where (replace . by /usr/local). If  
you don't have these files, then something went wrong during the  
install.

Regarding the message about tcsh not found, it seems you have tcsh set  
as your shell. What does "echo $PATH" return? There should be  
/usr/local/bin in the output. For example, I get:

legimc11:~ brunovoisin$ echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/teTeX/bin/ 
powerpc-apple-darwin-current:/opt/local/bin

The first four bits /bin, /sbin, /usr/bin and /usr/sbin are (I think)  
OS X default, the sixth bit  
/usr/local/teTeX/bin/powerpc-apple-darwin-current is added when  
installing the TeX i-Package, the seventh bit /opt/local/bin is a  
DarwinPorts thing specific to my setup. The fifth bit /usr/local/bin is  
the one required for BibTool. It is added, in particular, when  
selecting CLI activation in the TeX i-Package, and also by the  
GhostScript i-Package (for which I don't remember whether or not it is  
optional). It's easy to check: if things went right, you should have  
inside /private/etc/csh.login lines like:

## setloginpath added /usr/local/bin start at Mon Dec 20 09:28:30 CET  
2004
## Do not remove the previous line
if ("${uid}" != "0") then
   set path = ( ${path} /usr/local/bin )
endif
## Do not remove the next line
## setloginpath added /usr/local/bin end at Mon Dec 20 09:28:30 CET 2004

and inside /private/etc/profile lines like:

## setloginpath added /usr/local/bin start at Mon Dec 20 09:28:30 CET  
2004
## Do not remove the previous line
if [ `whoami` != "root" ]
then
   PATH="$PATH:/usr/local/bin"
   export PATH
fi
## Do not remove the next line
## setloginpath added /usr/local/bin end at Mon Dec 20 09:28:30 CET 2004

Finally, in the Finder search, you need to make sure that you have  
selected, as one search criteria, "Visibility = Visible and invisible  
elements" (the exact wording is probably different in English, I'm  
translating approximately from the French).

Hope this helps,

Bruno Voisin
--------------------- 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