[OS X TeX] Creating a glossar

Herbert Schulz herbs at wideopenwest.com
Sat Jan 27 10:26:18 EST 2007

On Jan 27, 2007, at 9:18 AM, Christian Burk wrote:

> [...]
> I created a new engine with your code and replaced the right *.gls  
> name:
> -----
> #!/bin/sh
> 	fname="`basename "$1" .tex`"	# here the LaTeX file's name is given
> 	pdflatex  "$fname"
> 	bibtex "glossar.gls"	# this is the constant name!
> 	pdflatex  "$fname"
> 	pdflatex  "$fname"
> -----
> TeXShops runs four times but the console says for the part of  
> bibtex: "I couldn't open file name `glossar.gls.aux'"
> I checked the name but that is right.
> Christian


Is it in fact a fixed name? My impression from glancing at the gloss  
manual is that the file produced when you compile myfile.tex is  
myfile.gls so the command should be

bibtex "$fname".gls

rather than the fixed name.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the MacOSX-TeX mailing list