On 2009-10-22, rgheck wrote: > On 10/22/2009 04:44 PM, Pete Crite wrote: >> On 23/10/2009, at 7:22 AM, rgheck wrote: >>> On 10/22/2009 02:27 PM, Jan Piet Joris en Corneel wrote:
>>>> I was wondering how to deal with child documents and bibtex. Basically >>>> I want to do this. >>>> 1. Have one master document with several child documents (i.e. one for >>>> each child documents. >>>> 2. Have one bibliography at the end of the thesis. >>>> 3. Have the ability to insert citations to that bibliography using the >>>> Lyx function. >>>> How do I make the bibliography 'invisible' at the end of a chapter in >>>> the pdftex output , without losing the ability to insert citations? ... > If you want to be able to view the child alone, then what you want to do > is this. (I think this is on the wiki.) At the top of the master, put in > ERT: ... No need to use evil red text. Instead you can create a branch which you set to active in the child and inactive in the master. Then, all child-specific code (like an ERT to set the chapter/section number or the bibliography) can go inside a branch inset. > Note that in this case too inter-document xrefs, etc, won't work if you > view the child alone. Günter