[OS X TeX] Creating a glossar

Peter Dyballa Peter_Dyballa at Web.DE
Fri Jan 26 23:21:10 CET 2007


Am 23.01.2007 um 11:16 schrieb Christian Burk:

> bibtex myglossar.gls
>
> Is there a way to do this with a maybe modified copy of the BibTeX- 
> engine within TeXShop?

I just had a TeX file open in TeXShop, having remembered some things  
– there seems to be everything already ready for you! There is the  
Macros menu and in it Claus Gerhardt's Macros, and one of those is  
bibtex!


Obviously it's not so good to never use TeXShop for editing ...


And you are editing in TeXShop the file myglossar.gls? Or another  
file for this purpose that has always the extension .gls? This is an  
important item, because in this case this part of Herb's engine  
script from two weeks ago

	"`basename "$1" .tex`"

must not be used (it would fail, anyway). (And the first part

	bfname=$(dirname "$1")/

is also not necessary, since TeXShop only passes the file's name  
including its extension to a macro or engine script. The directory's  
name is contained in the environment variable $PWD.)


Claus Gerhardt's macros scripts have all one problem: they set a  
particular value for path (or PATH in Bourne or Bourne Again shell  
based scripts)! The value can be wrong (for PowerPC hardware or for  
teTeX). This constant source of errors could be easily avoided by  
using the ~/.MacOSX/environment.plist file with a proper PATH setting  
in it.


One more thing: since you're coming from a German speaking area the  
use of bibtex8 instead of bibtex might be more adequate – but I am  
making this remark as a non-expert on BibTeX!

--
Mit friedvollen Grüßen

   Pete                                           0
                                            %-/\_//
                                             (*)(*)



------------------------- 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 macostex-archives mailing list