🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #238

Re: per-chapter bibliography

#238
From: Robert D. Nicholson
Date: Wed, 04 Nov 1992 08:37
136 lines
4513 bytes
heitkoet@lucky.informatik.uni-dortmund.de (Joerg Heitkoetter) writes:

>In article <1992Nov3.001811.7414@sserve.cc.adfa.oz.au>,
>Christopher.Vance@adfa.oz.au (Christopher JS Vance) writes:
>|> I have been asked to try to keep several different bibliographies
>|> within my thesis draft, one bibliography per chapter, and a separate
>|> overall one.  I'm using LaTeX, BiBTeX, and \include.
>Hmm, switch to \input and it works (see below).

>|> How easy is this to do?  If not easy, I can probably escape this.
>Why running away? Help is at your fingertips ;-)

>|> Otherwise I may have to separate the drafts into separate documents.
>|> (I'm currently using one main file for the entire thing and would
>|> prefer not to have to jiggle page numbers manually between chapters.)
>You don't have to jiggle page numbers, even when using "distributed
>documents" which are quite easy to handle, if you use a management tool,
>like good ol' MAKE.

>0. define your local stuff
>LATEX		= latex
>BIBTEX		= bibtex
>MAKEINDEX	= makeindex

>1. add the following implicit rules to your Makefile:
>#
>#       implicit rules:
>#
>.SUFFIXES:      .tex .dvi  .bib .bbl  .idx .ind
>.tex.dvi:
>                $(LATEX)        $*
>.tex.aux:
>                $(LATEX)        $*
>.aux.bbl:
>                touch           $*.bbl
>#               $(BIBTEX)       $*
>.bib.bbl:
>                touch           $*.aux
>                touch           $*.bbl
>#               $(BIBTEX)       $*
>.idx.ind:
>                $(MAKEINDEX)    $*

>2. and the following target:
>thesis.dvi: $(PARTS)
>	$(LATEX) thesis
>with
>PARTS	= thesis.tex \
>	chapter-one.tex chapter-one.bib \
>	chapter-two.tex chapter-two.bib \
>	[..]

>The idea is of course to have serveral files that build the whole
>document, just like the following:

>		|--- chapter-one.[tex|bib]
>THESIS.TEX -----|--- chapter-two.[tex|bib]
>		|--- ...

>FILE `thesis.tex' ***

>\documentstyle[]{}
>\begin{document}

>\bibliographysection{\subsection{References concerning...}}
>\bibliographyfile{chapter-one}			% chapter-one.bbl
>\input{chapter-one}				% chapter-one.tex

>\bibliographysection{\subsection{References concerning...}}
>\bibliographyfile{chapter-two}			% chapter-two.bbl
>\input{chapter-two}				% chapter-two.tex

>[etc.]
>\end{document}
>[EOF]


>FILE `chapter-one.tex' ***

>\documentstyle[]{}

>\title{ Master's Thesis of <your name here>}
>\author{ <your name here>}
>\date{  \today  }

>\begin{document}
>        \maketitle

>        \nocite{*}

>        \bibliography{chapter-one}
>        \bibliographystyle{delphi/styles/plain}

>\end{document}
>[EOF]
>All other chapter files should look the same. Each of them has

>FILE `chapter-one.bib' ***
><your reference of chapter one>
>[EOF]

>This structure enables you to print chapters of your work (e.g.
>your Dissertation) without running TeX on the whole document ;-)

>Please stay tuned for "The Dungeons of BiBTeX revisited", an article
>I will post in the near future, that (hopefully) covers most of the
>currently floating BiBTeX questions. But as Newton once said:
>"If I've seen farther it was, because I was standing on the shoulders
>of giants" I'd like to hear from BiBTeX giants to proof-read it
>before posting to the net. (Send me your email address, and look what
>happens ;-)

>Happy TeXing!

>	-joke

>--
>Joerg Heitkoetter
>Systems Analysis Group
>University of Dortmund, Germany
>(joke@ls11.informatik.uni-dortmund.de).

>*** "What's 'ey scream'?" "Hmmm... sounds like GUMS 'N' DOSES" ***

Isn't the chapterbib.sty appropriate for this?

TeXIndex by DM Jones say this.

Name: chapterbib.sty
Description: Document-style option for allowing multiple bibliographies
    in a LaTeX document.
Keywords: LaTeX, bibliography, BibTeX
Author: Niel Kempson <rmcs-tex@cdvc.cranfield.ac.uk>
Supported: ???
Latest Version: v1.0, 23 Nov 1988
Archives: ymir
Technical Details
Message-ID: <1992Nov4.083735.23260@monu6.cc.monash.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!batcomputer!munnari.oz.au!bruce.cs.monash.edu.au!monu6!ede978e
References: <1992Nov3.001811.7414@sserve.cc.adfa.oz.au> <1d5focINN56t@fbi-news.Informatik.Uni-Dortmund.DE>

Show Full Headers
Complete Article Headers
Newsgroups: comp.text.tex
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!batcomputer!munnari.oz.au!bruce.cs.monash.edu.au!monu6!ede978e
From: ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson)
Subject: Re: per-chapter bibliography
Message-ID: <1992Nov4.083735.23260@monu6.cc.monash.edu.au>
Keywords: LaTex BiBTeX
Organization: Monash University, Caulfield Campus
References: <1992Nov3.001811.7414@sserve.cc.adfa.oz.au> <1d5focINN56t@fbi-news.Informatik.Uni-Dortmund.DE>
Date: Wed, 4 Nov 1992 08:37:35 GMT
Lines: 137