On Tue, 30 Jan 2007, Georg Baum wrote:
Am Dienstag, 30. Januar 2007 18:09 schrieb John Hughes:
I have just discovered the Insert->File->Child Document option in LyX,
which
is useful for inserting several chapter documents into one master
document.
However, if I use BibTeX references in my chapter documents, they don't
appear correctly in the master output. The best output I have managed so
far
inserts a bibliography at the end of each chapter but the individual
bibliographies include all the references from the entire document (i.e.
from all of the chapters). Is there a way of achieving either individual
bibliographies that only include the references cited in their own
chapters
or a single bibliography at the end of the master document?
AFAIK you need some extra packages for the first option, but the second one
is easy. Don't include any bibliography in child documents, only include
one in the master.
If you want to enter a new citation in a child you need to open the child
from the master doc, otherwise LyX will not know which .bib file is used.
To make it easier to insert citatiosn (if you still need to), you can
insert a bibliography within each child document, but place it inside a
*comment*. That way LaTeX won't see it, but LyX will know what .bib-files
to scan for when showing you the available citations.
/C
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr