[OS X TeX] bibtex8 TeXShop engine
Alex Hamann
mailinglist at alex-hamann.de
Sun Oct 19 19:00:47 CEST 2008
On 19.10.2008, at 19:10, Peter Dyballa wrote:
>
> Am 19.10.2008 um 16:06 schrieb Alex Hamann:
>
>> #!/bin/tcsh
>> set path= ($path /usr/texbin /usr/local/bin)
>> bibtex8 --wolfgang "$1"
>>
>> but obviously the above code will run the command on the .tex file
>> not on .aux. Could anybody how to obtain the desired result?
>
>
> You can use the basename command that's able to remove a file
> name's extension. In some ENGINE files it's use as:
>
> set basefname=`basename "$1" .tex`
>
> Then you can use:
>
> bibtex8 --wolfgang "${basefname}.aux"
>
> --
> Mit friedvollen Grüßen
>
> Pete
>
Thanks Alex and Pete.
Are such engines something people would like to see on the MacTeX
wiki? If yes, where would be the best place to store them?
Alex----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: http://www.esm.psu.edu/mac-tex/list/
List Archive: http://tug.org/pipermail/macostex-archives/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: http://email.esm.psu.edu/mailman/listinfo/macosx-tex
More information about the macostex-archives
mailing list