[OS X TeX] TeXShop and Bibunits engine

Joshua Smith joshua.smith at ucsf.edu
Tue May 15 19:43:48 CEST 2007


On May 15, 2007, at 10:31 AM, Justin C. Walker wrote:

>> There seems to be a problem with foreach.  I have reduced the  
>> engine down to
>>
>> #!/bin/tcsh
>>
>> ls -l *
>> foreach f (*)
>>   echo $f
>> end
>
> I get "expected behavior" as well.  For a start, create a directory  
> in /tmp, cd to it, and create a small number of files with 'touch':

I followed Justin's directions and got expected behavior.  The  
difference?  I had not put a carriage return after "end" in the  
engine but I did when I created the script file y.sh.  Now, I can use  
bibunits with the engine

#!/bin/tcsh

foreach auxfile (bu*.aux)
   bibtex $auxfile
end

Thanks everyone for their help.

Josh


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