Dominik Waßenhoven wrote:
> Daniel Lohmann schrieb:
> 
>> [...]
>>
>> On the LyX side I did some customization to support my intended document
>> structure. For instance, each chapter is a child document which includes
>> the bibliography if compiled stand-alone, but does not include a
>> bibliography if embedded into the master document. In this case there is
>> only one bibliography at the very end. 
> 
> Could you explain a little bit more what exactly you did or give an
> example of this?

1.) At the end of the master document, I added the bibliography as usual.

2.) At the end of each child document, I did the same. However,
immediately before and after I put some ERT to include it only
conditionally (if the macro \master is *not* defined):


\ifx\master\undefined
[bibtex generated bibliography]
\fi

3.) In the preamble of the master document I added the line:
\def\master{true}


Daniel

Reply via email to