[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


More information about the macostex-archives mailing list