[OS X TeX] chapterbib

Samuel Cox samcox2 at mac.com
Sun Jan 29 14:37:26 EST 2012


On Jan 29, 2012, at 9:48 AM, Herbert Schulz wrote:

> 
> On Jan 29, 2012, at 9:09 AM, George Gratzer wrote:
> 
>> I am trying to use chapterbib.sty for a chapter in a book,
>> to conclude the chapter with a bibliography which does
>> not start on an odd numbered page (right side page).
>> 
>> Attached a minimal example. 
>> 
>> main.tex only has
>> 
>> \input{Chapter}
>> 
>> and Chapter.tex has two lines of text and a bibliography of two items.
>> 
>> main.pdf has three pages, the lines on p. 1, a blank page, 
>> and the bibliography on p. 3.
>> 
>> I do not want thee blank page 2. How do I do this?
>> 
>> Thanks,
>> 
>> GG
> 
> 
> Howdy,
> 
> By default the bibliography is set as an un-numbered chapter to have it set as an un-numbered section use the chapterbib package with the [sectionbib] option. This will make the bibliography appear directly following the last section. To put the bibliography on the following page put a \newpage just before the bibliography.
> 
> <main.tex><Chapter.tex>
> 
> Good Luck,
> 
> Herb Schulz
> (herbs at wideopenwest dot com)
> 
> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: http://email.esm.psu.edu/mac-tex/
> 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
> 

Thank you, Herb.  I was wondering about this recently.   

It works just as well with \cite{} commands in Chapter.tex.  I put a test.bib file in the same folder with main.text and Chapter.tex and replaced the \begin{bibliography} ... \end{bibliography} with a single \bibliography{test.bib}.  Then typeset once and it just works.  The test folder is attached.

Sam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test Latex Chapterbib.zip
Type: application/zip
Size: 6267 bytes
Desc: not available
URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20120129/6ee93544/attachment.zip>
-------------- next part --------------

Samuel H. Cox
Dr. L. A. H. Warren Chair Professor of Actuarial Science
University of Manitoba



More information about the MacOSX-TeX mailing list