[OS X TeX] Texshop & chapterbib

Jonas Wellendorf Jonas.Wellendorf at cms.uib.no
Mon Jun 6 20:21:22 CEST 2005

På 6. jun. 2005 kl. 15.02 skrev Ingo Reich:

> Hi,
> I work on a larger project with several files included in a root file, 
> each of which starts with the line "%!TEX root = ../root.tex" so that 
> only the root file gets latexed. To put a short bibliography at the 
> end of each included file, I furthermore make use of chapterbib.sty. 
> Now my problem: To build the bibliography at the end of an included 
> file, I need to bibtex the aux-file of the included file, but running 
> bibtex on this file results in bibtexing the aux-file of the 
> root-file. So it's a kind of  paradoxical situation: as for latex, I 
> want texshop to go to the root file; as for bibtex, I don't want it 
> to. Is there some elegant workaround (maybe via an applescript and/or 
> a %!TEX-insensitive bibtex command)?
I have encountered the same problem. My solution (which may not be 
elegant) is to run bibtex directly on the included files from the 


Jonas Wellendorf
Doctoral fellow
Centre for Medieval Studies
University of Bergen, Norway

E-mail: Jonas.Wellendorf at cms.uib.no
Phone: (+47) 55 58 80 93

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>

More information about the macostex-archives mailing list