Re: Properties of Child Document Taken from the Master Document
On Mon, 30 Apr 2018 05:37:15 + Baris Erkuswrote: > > By the way, would you mind bottom-posting (and in-line posting) on > > the list, as according to the list netiquette? [1] Bottom-posting > > makes it much easier to have a detailed conversation, and see > > exactly what points each part of your responses refer to. > > > > Best, > > > > Scott > > > > > > [1] > > https://wiki.lyx.org/FAQ/ListNetiquette#replying > > > > Scott, > > I have been using Microsoft Mail that comes with Windows. MS Mail > does not allow conventional markup and was ugly to reply at the > bottom. > > I have just installed Thunderbird for LyX Mail list. I hope my reply > looks OK on the reader side now. > > Thanks for the warning and linking... > > Baris Claws-mail is also ported to windows. If it helps. Charlie -- Registered Linux User:- 329524 *** Prejudice is opinion without judgement. .Voltaire *** Debian GNU/Linux - Magic indeed. -
Re: Properties of Child Document Taken from the Master Document
On Mon, Apr 30, 2018 at 05:37:15AM +, Baris Erkus wrote: > On 28-Apr-18 10:13 PM, Scott Kostyshak wrote: > > On Sat, Apr 28, 2018 at 05:21:24PM +, Baris Erkus wrote: > >> Well, Yes. I am guessing that the issues I am facing can be partially > >> solved by this enhancement. > > OK I linked to this conversation from that ticket, so that if someone > > works on implementing the feature, they can take this conversation into > > account. I agree that it would be nice to have an improvement in this > > area. > > > > By the way, would you mind bottom-posting (and in-line posting) on the > > list, as according to the list netiquette? [1] Bottom-posting makes it > > much easier to have a detailed conversation, and see exactly what points > > each part of your responses refer to. > > > > Best, > > > > Scott > > > > > > [1] > > https://wiki.lyx.org/FAQ/ListNetiquette#replying > > > > Scott, > > I have been using Microsoft Mail that comes with Windows. MS Mail does > not allow conventional markup and was ugly to reply at the bottom. > > I have just installed Thunderbird for LyX Mail list. I hope my reply > looks OK on the reader side now. It looks great! I'm sorry that you had to install and configure a new mail client just because of my suggestion. That must have taken a lot of time. I had no idea it would be so complicated or that it is not easy to bottom-post in some mail clients. Thank you very much for taking the time to do that, Barış. Best, Scott signature.asc Description: PGP signature
Re: Properties of Child Document Taken from the Master Document
On 28-Apr-18 10:13 PM, Scott Kostyshak wrote: > On Sat, Apr 28, 2018 at 05:21:24PM +, Baris Erkus wrote: >> Well, Yes. I am guessing that the issues I am facing can be partially >> solved by this enhancement. > OK I linked to this conversation from that ticket, so that if someone > works on implementing the feature, they can take this conversation into > account. I agree that it would be nice to have an improvement in this > area. > > By the way, would you mind bottom-posting (and in-line posting) on the > list, as according to the list netiquette? [1] Bottom-posting makes it > much easier to have a detailed conversation, and see exactly what points > each part of your responses refer to. > > Best, > > Scott > > > [1] > https://wiki.lyx.org/FAQ/ListNetiquette#replying > Scott, I have been using Microsoft Mail that comes with Windows. MS Mail does not allow conventional markup and was ugly to reply at the bottom. I have just installed Thunderbird for LyX Mail list. I hope my reply looks OK on the reader side now. Thanks for the warning and linking... Baris
Re: Properties of Child Document Taken from the Master Document
On Sat, Apr 28, 2018 at 05:21:24PM +, Baris Erkus wrote: > Well, Yes. I am guessing that the issues I am facing can be partially solved > by this enhancement. OK I linked to this conversation from that ticket, so that if someone works on implementing the feature, they can take this conversation into account. I agree that it would be nice to have an improvement in this area. By the way, would you mind bottom-posting (and in-line posting) on the list, as according to the list netiquette? [1] Bottom-posting makes it much easier to have a detailed conversation, and see exactly what points each part of your responses refer to. Best, Scott [1] https://wiki.lyx.org/FAQ/ListNetiquette#replying signature.asc Description: PGP signature
RE: Properties of Child Document Taken from the Master Document
Thanks Jürgen: You are right. However, I would like to work on the child documents independently. Please see my response to Scott’s mail. Bests, Baris Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10 From: Jürgen Spitzmüller<mailto:sp...@lyx.org> Sent: Saturday, April 28, 2018 6:19 PM To: lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org> Subject: Re: Properties of Child Document Taken from the Master Document Am Samstag, den 28.04.2018, 13:47 + schrieb Baris Erkus: > Hello, > > It seems like only the preamble of the master document is inherited > to the child document along with the bibliography and labels. > Properties such as document class, modules and other properties are > not inherited by the child document. Is this true? No. They are inherited. But you can compile the child standalone, in which case everything is taken from the child. Different classes are useful for instance with beamer as a child and beamer handout as a master. > For the case of document class, I have this issue that if I change > the document class in master document, LyX gives a warning for each > child document that each child document has a different class, when I > want to preview the PDF file. This is quite bothering. While I can > turn off this warning, I would like to keep it for future use. You can click "Do not show this warning again", which is followed for this particular document. > Similarly, if I want to change some other properties, i.e. the ones > from in the document settings, I have to change them in each of the > child document one by one. This would be quite time consuming if I > want to try out various options for a given property and if I have > many child documents. As said, the properties are inherited iff you compile from the master. Jürgen > > Thanks for your comments. > > BE > > > > > > > > > Sent from Mail for Windows 10 >
RE: Properties of Child Document Taken from the Master Document
Well, Yes. I am guessing that the issues I am facing can be partially solved by this enhancement. I would have one recommendations tough: A child document should be given the chance of using the options provided in the native document, when compiled only by itself. For example, for the purpose of compiling one child document only, the user may be given two options: 1. The option of “Getting the properties from a Master Document” 2. The option of using native documents properties, which can be modified from within child document. The native document properties can initially set to the master document properties and the user can change them as he/she works on the document. When compiling the master document, of course the child documents will be compiled with the master document properties as in the current case. This enhancement will be really useful as in the current format it is very difficult to change things if they are not set up at the very beginning. Or if you want to switch to another class later. For example, I am working on a long term book project (may be 5-10 years) and I have started with the standard book class. I will decide on the final book class later, after I complete most of the material. In the mean time, I want to try the available classes as testing and arrangement. In this case, It would be really useful to have this enhancement. Thanks for the heads up. Baris From: Scott Kostyshak<mailto:skost...@lyx.org> Sent: Saturday, April 28, 2018 6:24 PM To: lyx-users@lists.lyx.org<mailto:lyx-users@lists.lyx.org> Subject: Re: Properties of Child Document Taken from the Master Document On Sat, Apr 28, 2018 at 01:47:35PM +, Baris Erkus wrote: > Similarly, if I want to change some other properties, i.e. the ones from in > the document settings, I have to change them in each of the child document > one by one. This would be quite time consuming if I want to try out various > options for a given property and if I have many child documents. Is your desired behavior related to the following? https://www.lyx.org/trac/ticket/10049 Scott
Re: Properties of Child Document Taken from the Master Document
On Sat, Apr 28, 2018 at 01:47:35PM +, Baris Erkus wrote: > Similarly, if I want to change some other properties, i.e. the ones from in > the document settings, I have to change them in each of the child document > one by one. This would be quite time consuming if I want to try out various > options for a given property and if I have many child documents. Is your desired behavior related to the following? https://www.lyx.org/trac/ticket/10049 Scott signature.asc Description: PGP signature
Re: Properties of Child Document Taken from the Master Document
Am Samstag, den 28.04.2018, 13:47 + schrieb Baris Erkus: > Hello, > > It seems like only the preamble of the master document is inherited > to the child document along with the bibliography and labels. > Properties such as document class, modules and other properties are > not inherited by the child document. Is this true? No. They are inherited. But you can compile the child standalone, in which case everything is taken from the child. Different classes are useful for instance with beamer as a child and beamer handout as a master. > For the case of document class, I have this issue that if I change > the document class in master document, LyX gives a warning for each > child document that each child document has a different class, when I > want to preview the PDF file. This is quite bothering. While I can > turn off this warning, I would like to keep it for future use. You can click "Do not show this warning again", which is followed for this particular document. > Similarly, if I want to change some other properties, i.e. the ones > from in the document settings, I have to change them in each of the > child document one by one. This would be quite time consuming if I > want to try out various options for a given property and if I have > many child documents. As said, the properties are inherited iff you compile from the master. Jürgen > > Thanks for your comments. > > BE > > > > > > > > > Sent from Mail for Windows 10 > signature.asc Description: This is a digitally signed message part
Properties of Child Document Taken from the Master Document
Hello, It seems like only the preamble of the master document is inherited to the child document along with the bibliography and labels. Properties such as document class, modules and other properties are not inherited by the child document. Is this true? For the case of document class, I have this issue that if I change the document class in master document, LyX gives a warning for each child document that each child document has a different class, when I want to preview the PDF file. This is quite bothering. While I can turn off this warning, I would like to keep it for future use. Similarly, if I want to change some other properties, i.e. the ones from in the document settings, I have to change them in each of the child document one by one. This would be quite time consuming if I want to try out various options for a given property and if I have many child documents. Thanks for your comments. BE Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
Re: Master Document
On 14/11/2011 11:30 PM, Louise Wilkinson wrote: Hi, I'm having trouble getting my BibTex references to work in my master file. I keep getting the error message 'Undefined control sequence'. Any help would be most appreciated. Thanks You may often identify and solve a problem like that by removing a lot of the content of your LyX file until you have reduced your LyX file to a minimum while still reproducing your problem. It's also usually useful to share on this list this minimal example file showing your problem. Other readers might have seen such problems before. Cheers, Julien
Re: Master Document
On 14/11/2011 11:30 PM, Louise Wilkinson wrote: Hi, I'm having trouble getting my BibTex references to work in my master file. I keep getting the error message 'Undefined control sequence'. Any help would be most appreciated. Thanks You may often identify and solve a problem like that by removing a lot of the content of your LyX file until you have reduced your LyX file to a minimum while still reproducing your problem. It's also usually useful to share on this list this minimal example file showing your problem. Other readers might have seen such problems before. Cheers, Julien
Re: Master Document
On 14/11/2011 11:30 PM, Louise Wilkinson wrote: Hi, I'm having trouble getting my BibTex references to work in my master file. I keep getting the error message 'Undefined control sequence'. Any help would be most appreciated. Thanks You may often identify and solve a problem like that by removing a lot of the content of your LyX file until you have reduced your LyX file to a minimum while still reproducing your problem. It's also usually useful to share on this list this minimal example file showing your problem. Other readers might have seen such problems before. Cheers, Julien
Master Document
Hi, I'm having trouble getting my BibTex references to work in my master file. I keep getting the error message 'Undefined control sequence'. Any help would be most appreciated. Thanks
Master Document
Hi, I'm having trouble getting my BibTex references to work in my master file. I keep getting the error message 'Undefined control sequence'. Any help would be most appreciated. Thanks
Master Document
Hi, I'm having trouble getting my BibTex references to work in my master file. I keep getting the error message 'Undefined control sequence'. Any help would be most appreciated. Thanks
Re: Master document
Two additions: Jürgen Spitzmüller wrote: Yes, that's an includeonly issue. Supposed that you run LyX 2.0, go to Document Settings Child Documents in the master and select the respective children (this is the includeonly GUI). For includeonly, you will need to compile the master (View View/Update Master, if you're in a child document). You will need to select maintain counters and references (at least on the first run) to get the numbers right. If you put the following into the master's preamble, you don't need to select maintain counters and references, if you just want to have sort of, but not 100% exact counters. This assures all auxiliary files are generated once (on the first run), but only updates the included file's aux files later (and thus speeds up compilation): \IfFileExists{\jobname.aux}{}{\AtBeginDocument{\@partswfalse}} Jürgen
Re: Master document
Two additions: Jürgen Spitzmüller wrote: Yes, that's an includeonly issue. Supposed that you run LyX 2.0, go to Document Settings Child Documents in the master and select the respective children (this is the includeonly GUI). For includeonly, you will need to compile the master (View View/Update Master, if you're in a child document). You will need to select maintain counters and references (at least on the first run) to get the numbers right. If you put the following into the master's preamble, you don't need to select maintain counters and references, if you just want to have sort of, but not 100% exact counters. This assures all auxiliary files are generated once (on the first run), but only updates the included file's aux files later (and thus speeds up compilation): \IfFileExists{\jobname.aux}{}{\AtBeginDocument{\@partswfalse}} Jürgen
Re: Master document
Two additions: Jürgen Spitzmüller wrote: > Yes, that's an includeonly issue. Supposed that you run LyX 2.0, go to > Document > Settings > Child Documents in the master and select the > respective children (this is the includeonly GUI). For includeonly, you will need to compile the master (View > View/Update Master, if you're in a child document). > You will need to select "maintain counters and references" (at least on > the first run) to get the numbers right. If you put the following into the master's preamble, you don't need to select "maintain counters and references", if you just want to have "sort of", but not "100% exact" counters. This assures all auxiliary files are generated once (on the first run), but only updates the included file's aux files later (and thus speeds up compilation): \IfFileExists{\jobname.aux}{}{\AtBeginDocument{\@partswfalse}} Jürgen
Re: Master document
Guenter Milde wrote: Actually, the use case for \include (vs. \input) is that you can compile selected chapters with \includeonly --- but unfortunately not with LyX. :-( Therefore, with LyX you can always use \input (the chapter will start a new page anyway). \include is of use only if you want to be prepared for \includeonly-support in some future LyX version (I do not give up hope). Huh? LyX 2.0 has \includeonly support. Jürgen
Re: Master document
On 04/21/2011 11:12 PM, Guenter Milde wrote: On 2011-04-21, Mathieu Dubois wrote: On 04/20/2011 11:25 PM, Julien Rioux wrote: On 20/04/2011 4:00 PM, Mathieu Dubois wrote: First I have then to use input instead of include, right? Hello, 1) \include starts the content on a new page, \input does not. OK. So I can \include the chapter and \input the section. Actually, the use case for \include (vs. \input) is that you can compile selected chapters with \includeonly --- but unfortunately not with LyX. :-( Therefore, with LyX you can always use \input (the chapter will start a new page anyway). \include is of use only if you want to be prepared for \includeonly-support in some future LyX version (I do not give up hope). 2) I would try to set the master of section.lyx to chapter.lyx, I think. That's what I did. The only problem I that I cannot compile the section alone (I have to compile the chapter). Not a big deal. What is the problem/error? Well I think I made a mistake somewhere. Now it works (I started over with my new knowledge of master documents). Maybe I can ask another question: when I open a child document the numbering (sections, figures, etc) is correct (because I set the master document). However when I compile it to PDF, it is not. I understand that a child document is a document /per se/ but maybe there could be an option. Maybe that's related to \includeonly... Thanks. Mathieu
Re: Master document
On 04/21/2011 03:37 PM, Rainer M Krug wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/04/11 15:28, Mathieu Dubois wrote: On 04/20/2011 11:25 PM, Julien Rioux wrote: On 20/04/2011 4:00 PM, Mathieu Dubois wrote: Hello (again), I have another question. I'm writing my PhD thesis (how many messages started like this one on this list?). Of course I have planned to split the document into a master document and child documents. I have set the master document field of each child document. However each chapter is rather long so I wanted to split chapters into several files (one for each section). I have several questions. First I have then to use input instead of include, right? Second, what is the master document of the section file? Is it the main document or the chapter one? Would it be better include every section into the main document? Third, I have configured my main document for using hyperef and saved as default. But then when compiling the document LyX complains about option clashes in hyperef. Do I have to use hyperef only for the master? Thanks in advance, Mathieu Hello, 1) \include starts the content on a new page, \input does not. OK. So I can \include the chapter and \input the section. 2) I would try to set the master of section.lyx to chapter.lyx, I think. That's what I did. The only problem I that I cannot compile the section alone (I have to compile the chapter). Not a big deal. 3) Not all options are inherited between master and childs, you mostly have to repeat the settings in both to avoid any problems. (you can do it once for one of the child, then copy paste the heading of the .lyx files in an standard text editor to save time. Thanks for the trick. Just something more: I used for the preamble in LyX a separate file (preamble.tex) and included it in the preamble field of my documents (child and master) as \include{preamble.tex} So I had to change the preamble only once, and it was always in all documents. If you put \hyperref and the config for hyperref in this document and disable the hyperref use in the LyX document options, yo should have solved your problems as well. Thanks also Rainer. Very useful. Mathieu
Re: Master document
Mathieu Dubois wrote: Maybe I can ask another question: when I open a child document the numbering (sections, figures, etc) is correct (because I set the master document). However when I compile it to PDF, it is not. I understand that a child document is a document per se but maybe there could be an option. Maybe that's related to \includeonly... You mean you do not want to compile the whole master from within the child (i.e., via View Master), but only the child, but with correct numbering? Yes, that's an includeonly issue. Supposed that you run LyX 2.0, go to Document Settings Child Documents in the master and select the respective children (this is the includeonly GUI). You will need to select maintain counters and references (at least on the first run) to get the numbers right. Jürgen
Re: Master document
Guenter Milde wrote: Actually, the use case for \include (vs. \input) is that you can compile selected chapters with \includeonly --- but unfortunately not with LyX. :-( Therefore, with LyX you can always use \input (the chapter will start a new page anyway). \include is of use only if you want to be prepared for \includeonly-support in some future LyX version (I do not give up hope). Huh? LyX 2.0 has \includeonly support. Jürgen
Re: Master document
On 04/21/2011 11:12 PM, Guenter Milde wrote: On 2011-04-21, Mathieu Dubois wrote: On 04/20/2011 11:25 PM, Julien Rioux wrote: On 20/04/2011 4:00 PM, Mathieu Dubois wrote: First I have then to use input instead of include, right? Hello, 1) \include starts the content on a new page, \input does not. OK. So I can \include the chapter and \input the section. Actually, the use case for \include (vs. \input) is that you can compile selected chapters with \includeonly --- but unfortunately not with LyX. :-( Therefore, with LyX you can always use \input (the chapter will start a new page anyway). \include is of use only if you want to be prepared for \includeonly-support in some future LyX version (I do not give up hope). 2) I would try to set the master of section.lyx to chapter.lyx, I think. That's what I did. The only problem I that I cannot compile the section alone (I have to compile the chapter). Not a big deal. What is the problem/error? Well I think I made a mistake somewhere. Now it works (I started over with my new knowledge of master documents). Maybe I can ask another question: when I open a child document the numbering (sections, figures, etc) is correct (because I set the master document). However when I compile it to PDF, it is not. I understand that a child document is a document /per se/ but maybe there could be an option. Maybe that's related to \includeonly... Thanks. Mathieu
Re: Master document
On 04/21/2011 03:37 PM, Rainer M Krug wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/04/11 15:28, Mathieu Dubois wrote: On 04/20/2011 11:25 PM, Julien Rioux wrote: On 20/04/2011 4:00 PM, Mathieu Dubois wrote: Hello (again), I have another question. I'm writing my PhD thesis (how many messages started like this one on this list?). Of course I have planned to split the document into a master document and child documents. I have set the master document field of each child document. However each chapter is rather long so I wanted to split chapters into several files (one for each section). I have several questions. First I have then to use input instead of include, right? Second, what is the master document of the section file? Is it the main document or the chapter one? Would it be better include every section into the main document? Third, I have configured my main document for using hyperef and saved as default. But then when compiling the document LyX complains about option clashes in hyperef. Do I have to use hyperef only for the master? Thanks in advance, Mathieu Hello, 1) \include starts the content on a new page, \input does not. OK. So I can \include the chapter and \input the section. 2) I would try to set the master of section.lyx to chapter.lyx, I think. That's what I did. The only problem I that I cannot compile the section alone (I have to compile the chapter). Not a big deal. 3) Not all options are inherited between master and childs, you mostly have to repeat the settings in both to avoid any problems. (you can do it once for one of the child, then copy paste the heading of the .lyx files in an standard text editor to save time. Thanks for the trick. Just something more: I used for the preamble in LyX a separate file (preamble.tex) and included it in the preamble field of my documents (child and master) as \include{preamble.tex} So I had to change the preamble only once, and it was always in all documents. If you put \hyperref and the config for hyperref in this document and disable the hyperref use in the LyX document options, yo should have solved your problems as well. Thanks also Rainer. Very useful. Mathieu
Re: Master document
Mathieu Dubois wrote: Maybe I can ask another question: when I open a child document the numbering (sections, figures, etc) is correct (because I set the master document). However when I compile it to PDF, it is not. I understand that a child document is a document per se but maybe there could be an option. Maybe that's related to \includeonly... You mean you do not want to compile the whole master from within the child (i.e., via View Master), but only the child, but with correct numbering? Yes, that's an includeonly issue. Supposed that you run LyX 2.0, go to Document Settings Child Documents in the master and select the respective children (this is the includeonly GUI). You will need to select maintain counters and references (at least on the first run) to get the numbers right. Jürgen
Re: Master document
Guenter Milde wrote: > Actually, the use case for \include (vs. \input) is that you can compile > selected chapters with \includeonly --- but unfortunately not with LyX. > > :-( > > Therefore, with LyX you can always use \input (the chapter will start a > new page anyway). \include is of use only if you want to be prepared for > \includeonly-support in some future LyX version (I do not give up hope). Huh? LyX 2.0 has \includeonly support. Jürgen
Re: Master document
On 04/21/2011 11:12 PM, Guenter Milde wrote: On 2011-04-21, Mathieu Dubois wrote: On 04/20/2011 11:25 PM, Julien Rioux wrote: On 20/04/2011 4:00 PM, Mathieu Dubois wrote: First I have then to use "input" instead of "include", right? Hello, 1) \include starts the content on a new page, \input does not. OK. So I can \include the chapter and \input the section. Actually, the use case for \include (vs. \input) is that you can compile selected chapters with \includeonly --- but unfortunately not with LyX. :-( Therefore, with LyX you can always use \input (the chapter will start a new page anyway). \include is of use only if you want to be prepared for \includeonly-support in some future LyX version (I do not give up hope). 2) I would try to set the master of section.lyx to chapter.lyx, I think. That's what I did. The only problem I that I cannot compile the section alone (I have to compile the chapter). Not a big deal. What is the problem/error? Well I think I made a mistake somewhere. Now it works (I started over with my new knowledge of master documents). Maybe I can ask another question: when I open a child document the numbering (sections, figures, etc) is correct (because I set the master document). However when I compile it to PDF, it is not. I understand that a child document is a document /per se/ but maybe there could be an option. Maybe that's related to \includeonly... Thanks. Mathieu
Re: Master document
On 04/21/2011 03:37 PM, Rainer M Krug wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/04/11 15:28, Mathieu Dubois wrote: On 04/20/2011 11:25 PM, Julien Rioux wrote: On 20/04/2011 4:00 PM, Mathieu Dubois wrote: Hello (again), I have another question. I'm writing my PhD thesis (how many messages started like this one on this list?). Of course I have planned to split the document into a master document and child documents. I have set the master document field of each child document. However each chapter is rather long so I wanted to split chapters into several files (one for each section). I have several questions. First I have then to use "input" instead of "include", right? Second, what is the master document of the section file? Is it the main document or the chapter one? Would it be better include every section into the main document? Third, I have configured my main document for using hyperef and saved as default. But then when compiling the document LyX complains about option clashes in hyperef. Do I have to use hyperef only for the master? Thanks in advance, Mathieu Hello, 1) \include starts the content on a new page, \input does not. OK. So I can \include the chapter and \input the section. 2) I would try to set the master of section.lyx to chapter.lyx, I think. That's what I did. The only problem I that I cannot compile the section alone (I have to compile the chapter). Not a big deal. 3) Not all options are inherited between master and childs, you mostly have to repeat the settings in both to avoid any problems. (you can do it once for one of the child, then copy paste the heading of the .lyx files in an standard text editor to save time. Thanks for the trick. Just something more: I used for the preamble in LyX a separate file (preamble.tex) and included it in the preamble field of my documents (child and master) as \include{preamble.tex} So I had to change the preamble only once, and it was always in all documents. If you put \hyperref and the config for hyperref in this document and disable the hyperref use in the LyX document options, yo should have solved your problems as well. Thanks also Rainer. Very useful. Mathieu
Re: Master document
Mathieu Dubois wrote: > Maybe I can ask another question: when I open a child document the > numbering (sections, figures, etc) is correct (because I set the master > document). However when I compile it to PDF, it is not. I understand > that a child document is a document per se but maybe there could be an > option. Maybe that's related to \includeonly... You mean you do not want to compile the whole master from within the child (i.e., via View > Master), but only the child, but with correct numbering? Yes, that's an includeonly issue. Supposed that you run LyX 2.0, go to Document > Settings > Child Documents in the master and select the respective children (this is the includeonly GUI). You will need to select "maintain counters and references" (at least on the first run) to get the numbers right. Jürgen
Re: Master document
On 04/20/2011 11:25 PM, Julien Rioux wrote: On 20/04/2011 4:00 PM, Mathieu Dubois wrote: Hello (again), I have another question. I'm writing my PhD thesis (how many messages started like this one on this list?). Of course I have planned to split the document into a master document and child documents. I have set the master document field of each child document. However each chapter is rather long so I wanted to split chapters into several files (one for each section). I have several questions. First I have then to use input instead of include, right? Second, what is the master document of the section file? Is it the main document or the chapter one? Would it be better include every section into the main document? Third, I have configured my main document for using hyperef and saved as default. But then when compiling the document LyX complains about option clashes in hyperef. Do I have to use hyperef only for the master? Thanks in advance, Mathieu Hello, 1) \include starts the content on a new page, \input does not. OK. So I can \include the chapter and \input the section. 2) I would try to set the master of section.lyx to chapter.lyx, I think. That's what I did. The only problem I that I cannot compile the section alone (I have to compile the chapter). Not a big deal. 3) Not all options are inherited between master and childs, you mostly have to repeat the settings in both to avoid any problems. (you can do it once for one of the child, then copy paste the heading of the .lyx files in an standard text editor to save time. Thanks for the trick. Thanks, Mathieu
Re: Master document
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/04/11 15:28, Mathieu Dubois wrote: On 04/20/2011 11:25 PM, Julien Rioux wrote: On 20/04/2011 4:00 PM, Mathieu Dubois wrote: Hello (again), I have another question. I'm writing my PhD thesis (how many messages started like this one on this list?). Of course I have planned to split the document into a master document and child documents. I have set the master document field of each child document. However each chapter is rather long so I wanted to split chapters into several files (one for each section). I have several questions. First I have then to use input instead of include, right? Second, what is the master document of the section file? Is it the main document or the chapter one? Would it be better include every section into the main document? Third, I have configured my main document for using hyperef and saved as default. But then when compiling the document LyX complains about option clashes in hyperef. Do I have to use hyperef only for the master? Thanks in advance, Mathieu Hello, 1) \include starts the content on a new page, \input does not. OK. So I can \include the chapter and \input the section. 2) I would try to set the master of section.lyx to chapter.lyx, I think. That's what I did. The only problem I that I cannot compile the section alone (I have to compile the chapter). Not a big deal. 3) Not all options are inherited between master and childs, you mostly have to repeat the settings in both to avoid any problems. (you can do it once for one of the child, then copy paste the heading of the .lyx files in an standard text editor to save time. Thanks for the trick. Just something more: I used for the preamble in LyX a separate file (preamble.tex) and included it in the preamble field of my documents (child and master) as \include{preamble.tex} So I had to change the preamble only once, and it was always in all documents. If you put \hyperref and the config for hyperref in this document and disable the hyperref use in the LyX document options, yo should have solved your problems as well. Cheers, Rainer Thanks, Mathieu - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2wMv4ACgkQoYgNqgF2egpKBQCdHnY4xkqCydQRkgUpFdLhl824 2n0An2Qe+fExael7xNqHxefVsm0JVG3u =aVhC -END PGP SIGNATURE-
Re: Master document
On 2011-04-21, Mathieu Dubois wrote: On 04/20/2011 11:25 PM, Julien Rioux wrote: On 20/04/2011 4:00 PM, Mathieu Dubois wrote: First I have then to use input instead of include, right? Hello, 1) \include starts the content on a new page, \input does not. OK. So I can \include the chapter and \input the section. Actually, the use case for \include (vs. \input) is that you can compile selected chapters with \includeonly --- but unfortunately not with LyX. :-( Therefore, with LyX you can always use \input (the chapter will start a new page anyway). \include is of use only if you want to be prepared for \includeonly-support in some future LyX version (I do not give up hope). 2) I would try to set the master of section.lyx to chapter.lyx, I think. That's what I did. The only problem I that I cannot compile the section alone (I have to compile the chapter). Not a big deal. What is the problem/error? Most of this can be solved with code in a branch that is active in standalone but inactive in the master. Günter
Re: Master document
On 04/20/2011 11:25 PM, Julien Rioux wrote: On 20/04/2011 4:00 PM, Mathieu Dubois wrote: Hello (again), I have another question. I'm writing my PhD thesis (how many messages started like this one on this list?). Of course I have planned to split the document into a master document and child documents. I have set the master document field of each child document. However each chapter is rather long so I wanted to split chapters into several files (one for each section). I have several questions. First I have then to use input instead of include, right? Second, what is the master document of the section file? Is it the main document or the chapter one? Would it be better include every section into the main document? Third, I have configured my main document for using hyperef and saved as default. But then when compiling the document LyX complains about option clashes in hyperef. Do I have to use hyperef only for the master? Thanks in advance, Mathieu Hello, 1) \include starts the content on a new page, \input does not. OK. So I can \include the chapter and \input the section. 2) I would try to set the master of section.lyx to chapter.lyx, I think. That's what I did. The only problem I that I cannot compile the section alone (I have to compile the chapter). Not a big deal. 3) Not all options are inherited between master and childs, you mostly have to repeat the settings in both to avoid any problems. (you can do it once for one of the child, then copy paste the heading of the .lyx files in an standard text editor to save time. Thanks for the trick. Thanks, Mathieu
Re: Master document
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/04/11 15:28, Mathieu Dubois wrote: On 04/20/2011 11:25 PM, Julien Rioux wrote: On 20/04/2011 4:00 PM, Mathieu Dubois wrote: Hello (again), I have another question. I'm writing my PhD thesis (how many messages started like this one on this list?). Of course I have planned to split the document into a master document and child documents. I have set the master document field of each child document. However each chapter is rather long so I wanted to split chapters into several files (one for each section). I have several questions. First I have then to use input instead of include, right? Second, what is the master document of the section file? Is it the main document or the chapter one? Would it be better include every section into the main document? Third, I have configured my main document for using hyperef and saved as default. But then when compiling the document LyX complains about option clashes in hyperef. Do I have to use hyperef only for the master? Thanks in advance, Mathieu Hello, 1) \include starts the content on a new page, \input does not. OK. So I can \include the chapter and \input the section. 2) I would try to set the master of section.lyx to chapter.lyx, I think. That's what I did. The only problem I that I cannot compile the section alone (I have to compile the chapter). Not a big deal. 3) Not all options are inherited between master and childs, you mostly have to repeat the settings in both to avoid any problems. (you can do it once for one of the child, then copy paste the heading of the .lyx files in an standard text editor to save time. Thanks for the trick. Just something more: I used for the preamble in LyX a separate file (preamble.tex) and included it in the preamble field of my documents (child and master) as \include{preamble.tex} So I had to change the preamble only once, and it was always in all documents. If you put \hyperref and the config for hyperref in this document and disable the hyperref use in the LyX document options, yo should have solved your problems as well. Cheers, Rainer Thanks, Mathieu - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2wMv4ACgkQoYgNqgF2egpKBQCdHnY4xkqCydQRkgUpFdLhl824 2n0An2Qe+fExael7xNqHxefVsm0JVG3u =aVhC -END PGP SIGNATURE-
Re: Master document
On 2011-04-21, Mathieu Dubois wrote: On 04/20/2011 11:25 PM, Julien Rioux wrote: On 20/04/2011 4:00 PM, Mathieu Dubois wrote: First I have then to use input instead of include, right? Hello, 1) \include starts the content on a new page, \input does not. OK. So I can \include the chapter and \input the section. Actually, the use case for \include (vs. \input) is that you can compile selected chapters with \includeonly --- but unfortunately not with LyX. :-( Therefore, with LyX you can always use \input (the chapter will start a new page anyway). \include is of use only if you want to be prepared for \includeonly-support in some future LyX version (I do not give up hope). 2) I would try to set the master of section.lyx to chapter.lyx, I think. That's what I did. The only problem I that I cannot compile the section alone (I have to compile the chapter). Not a big deal. What is the problem/error? Most of this can be solved with code in a branch that is active in standalone but inactive in the master. Günter
Re: Master document
On 04/20/2011 11:25 PM, Julien Rioux wrote: On 20/04/2011 4:00 PM, Mathieu Dubois wrote: Hello (again), I have another question. I'm writing my PhD thesis (how many messages started like this one on this list?). Of course I have planned to split the document into a master document and child documents. I have set the master document field of each child document. However each chapter is rather long so I wanted to split chapters into several files (one for each section). I have several questions. First I have then to use "input" instead of "include", right? Second, what is the master document of the section file? Is it the main document or the chapter one? Would it be better include every section into the main document? Third, I have configured my main document for using hyperef and saved as default. But then when compiling the document LyX complains about option clashes in hyperef. Do I have to use hyperef only for the master? Thanks in advance, Mathieu Hello, 1) \include starts the content on a new page, \input does not. OK. So I can \include the chapter and \input the section. 2) I would try to set the master of section.lyx to chapter.lyx, I think. That's what I did. The only problem I that I cannot compile the section alone (I have to compile the chapter). Not a big deal. 3) Not all options are inherited between master and childs, you mostly have to repeat the settings in both to avoid any problems. (you can do it once for one of the child, then copy paste the heading of the .lyx files in an standard text editor to save time. Thanks for the trick. Thanks, Mathieu
Re: Master document
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/04/11 15:28, Mathieu Dubois wrote: > On 04/20/2011 11:25 PM, Julien Rioux wrote: >> On 20/04/2011 4:00 PM, Mathieu Dubois wrote: >>> Hello (again), >>> >>> I have another question. >>> >>> I'm writing my PhD thesis (how many messages started like this one on >>> this list?). Of course I have planned to split the document into a >>> master document and child documents. I have set the master document >>> field of each child document. >>> >>> However each chapter is rather long so I wanted to split chapters into >>> several files (one for each section). I have several questions. >>> >>> First I have then to use "input" instead of "include", right? >>> >>> Second, what is the master document of the section file? Is it the main >>> document or the chapter one? Would it be better include every section >>> into the main document? >>> >>> Third, I have configured my main document for using hyperef and saved as >>> default. But then when compiling the document LyX complains about option >>> clashes in hyperef. Do I have to use hyperef only for the master? >>> >>> Thanks in advance, >>> Mathieu >>> >> > Hello, >> 1) \include starts the content on a new page, \input does not. > OK. So I can \include the chapter and \input the section. >> 2) I would try to set the master of section.lyx to chapter.lyx, I think. > That's what I did. The only problem I that I cannot compile the section > alone (I have to compile the chapter). Not a big deal. >> 3) Not all options are inherited between master and childs, you mostly >> have to repeat the settings in both to avoid any problems. (you can do >> it once for one of the child, then copy paste the heading of the .lyx >> files in an standard text editor to save time. > Thanks for the trick. Just something more: I used for the preamble in LyX a separate file (preamble.tex) and included it in the preamble field of my documents (child and master) as \include{preamble.tex} So I had to change the preamble only once, and it was always in all documents. If you put \hyperref and the config for hyperref in this document and disable the hyperref use in the LyX document options, yo should have solved your problems as well. Cheers, Rainer > > Thanks, > Mathieu > - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D):+49 - (0)3 21 21 25 22 44 email: rai...@krugs.de Skype: RMkrug -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2wMv4ACgkQoYgNqgF2egpKBQCdHnY4xkqCydQRkgUpFdLhl824 2n0An2Qe+fExael7xNqHxefVsm0JVG3u =aVhC -END PGP SIGNATURE-
Re: Master document
On 2011-04-21, Mathieu Dubois wrote: > On 04/20/2011 11:25 PM, Julien Rioux wrote: >> On 20/04/2011 4:00 PM, Mathieu Dubois wrote: >>> First I have then to use "input" instead of "include", right? > Hello, >> 1) \include starts the content on a new page, \input does not. > OK. So I can \include the chapter and \input the section. Actually, the use case for \include (vs. \input) is that you can compile selected chapters with \includeonly --- but unfortunately not with LyX. :-( Therefore, with LyX you can always use \input (the chapter will start a new page anyway). \include is of use only if you want to be prepared for \includeonly-support in some future LyX version (I do not give up hope). >> 2) I would try to set the master of section.lyx to chapter.lyx, I think. > That's what I did. The only problem I that I cannot compile the section > alone (I have to compile the chapter). Not a big deal. What is the problem/error? Most of this can be solved with code in a branch that is active in standalone but inactive in the master. Günter
Master document
Hello (again), I have another question. I'm writing my PhD thesis (how many messages started like this one on this list?). Of course I have planned to split the document into a master document and child documents. I have set the master document field of each child document. However each chapter is rather long so I wanted to split chapters into several files (one for each section). I have several questions. First I have then to use input instead of include, right? Second, what is the master document of the section file? Is it the main document or the chapter one? Would it be better include every section into the main document? Third, I have configured my main document for using hyperef and saved as default. But then when compiling the document LyX complains about option clashes in hyperef. Do I have to use hyperef only for the master? Thanks in advance, Mathieu
Re: Master document
On 20/04/2011 4:00 PM, Mathieu Dubois wrote: Hello (again), I have another question. I'm writing my PhD thesis (how many messages started like this one on this list?). Of course I have planned to split the document into a master document and child documents. I have set the master document field of each child document. However each chapter is rather long so I wanted to split chapters into several files (one for each section). I have several questions. First I have then to use input instead of include, right? Second, what is the master document of the section file? Is it the main document or the chapter one? Would it be better include every section into the main document? Third, I have configured my main document for using hyperef and saved as default. But then when compiling the document LyX complains about option clashes in hyperef. Do I have to use hyperef only for the master? Thanks in advance, Mathieu Hi, 1) \include starts the content on a new page, \input does not. 2) I would try to set the master of section.lyx to chapter.lyx, I think. 3) Not all options are inherited between master and childs, you mostly have to repeat the settings in both to avoid any problems. (you can do it once for one of the child, then copy paste the heading of the .lyx files in an standard text editor to save time. Cheers, Julien
Master document
Hello (again), I have another question. I'm writing my PhD thesis (how many messages started like this one on this list?). Of course I have planned to split the document into a master document and child documents. I have set the master document field of each child document. However each chapter is rather long so I wanted to split chapters into several files (one for each section). I have several questions. First I have then to use input instead of include, right? Second, what is the master document of the section file? Is it the main document or the chapter one? Would it be better include every section into the main document? Third, I have configured my main document for using hyperef and saved as default. But then when compiling the document LyX complains about option clashes in hyperef. Do I have to use hyperef only for the master? Thanks in advance, Mathieu
Re: Master document
On 20/04/2011 4:00 PM, Mathieu Dubois wrote: Hello (again), I have another question. I'm writing my PhD thesis (how many messages started like this one on this list?). Of course I have planned to split the document into a master document and child documents. I have set the master document field of each child document. However each chapter is rather long so I wanted to split chapters into several files (one for each section). I have several questions. First I have then to use input instead of include, right? Second, what is the master document of the section file? Is it the main document or the chapter one? Would it be better include every section into the main document? Third, I have configured my main document for using hyperef and saved as default. But then when compiling the document LyX complains about option clashes in hyperef. Do I have to use hyperef only for the master? Thanks in advance, Mathieu Hi, 1) \include starts the content on a new page, \input does not. 2) I would try to set the master of section.lyx to chapter.lyx, I think. 3) Not all options are inherited between master and childs, you mostly have to repeat the settings in both to avoid any problems. (you can do it once for one of the child, then copy paste the heading of the .lyx files in an standard text editor to save time. Cheers, Julien
Master document
Hello (again), I have another question. I'm writing my PhD thesis (how many messages started like this one on this list?). Of course I have planned to split the document into a master document and child documents. I have set the master document field of each child document. However each chapter is rather long so I wanted to split chapters into several files (one for each section). I have several questions. First I have then to use "input" instead of "include", right? Second, what is the master document of the section file? Is it the main document or the chapter one? Would it be better include every section into the main document? Third, I have configured my main document for using hyperef and saved as default. But then when compiling the document LyX complains about option clashes in hyperef. Do I have to use hyperef only for the master? Thanks in advance, Mathieu
Re: Master document
On 20/04/2011 4:00 PM, Mathieu Dubois wrote: Hello (again), I have another question. I'm writing my PhD thesis (how many messages started like this one on this list?). Of course I have planned to split the document into a master document and child documents. I have set the master document field of each child document. However each chapter is rather long so I wanted to split chapters into several files (one for each section). I have several questions. First I have then to use "input" instead of "include", right? Second, what is the master document of the section file? Is it the main document or the chapter one? Would it be better include every section into the main document? Third, I have configured my main document for using hyperef and saved as default. But then when compiling the document LyX complains about option clashes in hyperef. Do I have to use hyperef only for the master? Thanks in advance, Mathieu Hi, 1) \include starts the content on a new page, \input does not. 2) I would try to set the master of section.lyx to chapter.lyx, I think. 3) Not all options are inherited between master and childs, you mostly have to repeat the settings in both to avoid any problems. (you can do it once for one of the child, then copy paste the heading of the .lyx files in an standard text editor to save time. Cheers, Julien
Re: Always compile the master document
On Mon, Jul 26, 2010 at 9:28 AM, Yegor Yefremov yegorsli...@googlemail.com wrote: Jürgen Spitzmüller wrote: Yegor Yefremov wrote: Thank you for your quick reply. I've tried specifying the master document, but it doesn't solve the problem I have. AFAIK the master document feature only helps to properly compile child if master document is not opened. The whole document won't be compiled. More than that if you've defined some LaTeX macros like newcommand they won't be taken, so child compilation fails. I'm using LyX 1.5.6 There's the lfuns master-buffer-view and master-buffer-update. They do not have a GUI element yet (they will in LyX 2.0), but you can add a toolbar button or a menu entry for them yourself. The lfuns are equivalent to the buffer-view and buffer-update lfuns, except that they compile from the master, if there's one. Thank you for clarification. I'll try it. Tried lyx 2.0.0 alpha5 and this feature is working like a charm. Waiting for the final release. Yegor
Re: Always compile the master document
On Mon, Jul 26, 2010 at 9:28 AM, Yegor Yefremov yegorsli...@googlemail.com wrote: Jürgen Spitzmüller wrote: Yegor Yefremov wrote: Thank you for your quick reply. I've tried specifying the master document, but it doesn't solve the problem I have. AFAIK the master document feature only helps to properly compile child if master document is not opened. The whole document won't be compiled. More than that if you've defined some LaTeX macros like newcommand they won't be taken, so child compilation fails. I'm using LyX 1.5.6 There's the lfuns master-buffer-view and master-buffer-update. They do not have a GUI element yet (they will in LyX 2.0), but you can add a toolbar button or a menu entry for them yourself. The lfuns are equivalent to the buffer-view and buffer-update lfuns, except that they compile from the master, if there's one. Thank you for clarification. I'll try it. Tried lyx 2.0.0 alpha5 and this feature is working like a charm. Waiting for the final release. Yegor
Re: Always compile the master document
On Mon, Jul 26, 2010 at 9:28 AM, Yegor Yefremov <yegorsli...@googlemail.com> wrote: > Jürgen Spitzmüller wrote: >> Yegor Yefremov wrote: >>> Thank you for your quick reply. I've tried specifying the master >>> document, but it doesn't solve the problem I have. AFAIK the master >>> document feature only helps to properly compile child if master >>> document is not opened. The whole document won't be compiled. More >>> than that if you've defined some LaTeX macros like "newcommand" they >>> won't be taken, so child compilation fails. I'm using LyX 1.5.6 >> >> There's the lfuns master-buffer-view and master-buffer-update. They do not >> have a GUI element yet (they will in LyX 2.0), but you can add a toolbar >> button or a menu entry for them yourself. >> >> The lfuns are equivalent to the buffer-view and buffer-update lfuns, except >> that they compile from the master, if there's one. > > Thank you for clarification. I'll try it. Tried lyx 2.0.0 alpha5 and this feature is working like a charm. Waiting for the final release. Yegor
Re: Always compile the master document
Jürgen Spitzmüller wrote: Yegor Yefremov wrote: Thank you for your quick reply. I've tried specifying the master document, but it doesn't solve the problem I have. AFAIK the master document feature only helps to properly compile child if master document is not opened. The whole document won't be compiled. More than that if you've defined some LaTeX macros like newcommand they won't be taken, so child compilation fails. I'm using LyX 1.5.6 There's the lfuns master-buffer-view and master-buffer-update. They do not have a GUI element yet (they will in LyX 2.0), but you can add a toolbar button or a menu entry for them yourself. The lfuns are equivalent to the buffer-view and buffer-update lfuns, except that they compile from the master, if there's one. Thank you for clarification. I'll try it. Yegor
Re: Always compile the master document
Jürgen Spitzmüller wrote: Yegor Yefremov wrote: Thank you for your quick reply. I've tried specifying the master document, but it doesn't solve the problem I have. AFAIK the master document feature only helps to properly compile child if master document is not opened. The whole document won't be compiled. More than that if you've defined some LaTeX macros like newcommand they won't be taken, so child compilation fails. I'm using LyX 1.5.6 There's the lfuns master-buffer-view and master-buffer-update. They do not have a GUI element yet (they will in LyX 2.0), but you can add a toolbar button or a menu entry for them yourself. The lfuns are equivalent to the buffer-view and buffer-update lfuns, except that they compile from the master, if there's one. Thank you for clarification. I'll try it. Yegor
Re: Always compile the master document
Jürgen Spitzmüller wrote: > Yegor Yefremov wrote: >> Thank you for your quick reply. I've tried specifying the master >> document, but it doesn't solve the problem I have. AFAIK the master >> document feature only helps to properly compile child if master >> document is not opened. The whole document won't be compiled. More >> than that if you've defined some LaTeX macros like "newcommand" they >> won't be taken, so child compilation fails. I'm using LyX 1.5.6 > > There's the lfuns master-buffer-view and master-buffer-update. They do not > have a GUI element yet (they will in LyX 2.0), but you can add a toolbar > button or a menu entry for them yourself. > > The lfuns are equivalent to the buffer-view and buffer-update lfuns, except > that they compile from the master, if there's one. Thank you for clarification. I'll try it. Yegor
Re: Always compile the master document
Yegor Yefremov wrote: Thank you for your quick reply. I've tried specifying the master document, but it doesn't solve the problem I have. AFAIK the master document feature only helps to properly compile child if master document is not opened. The whole document won't be compiled. More than that if you've defined some LaTeX macros like newcommand they won't be taken, so child compilation fails. I'm using LyX 1.5.6 There's the lfuns master-buffer-view and master-buffer-update. They do not have a GUI element yet (they will in LyX 2.0), but you can add a toolbar button or a menu entry for them yourself. The lfuns are equivalent to the buffer-view and buffer-update lfuns, except that they compile from the master, if there's one. Jürgen
Re: Always compile the master document
Yegor Yefremov wrote: Thank you for your quick reply. I've tried specifying the master document, but it doesn't solve the problem I have. AFAIK the master document feature only helps to properly compile child if master document is not opened. The whole document won't be compiled. More than that if you've defined some LaTeX macros like newcommand they won't be taken, so child compilation fails. I'm using LyX 1.5.6 There's the lfuns master-buffer-view and master-buffer-update. They do not have a GUI element yet (they will in LyX 2.0), but you can add a toolbar button or a menu entry for them yourself. The lfuns are equivalent to the buffer-view and buffer-update lfuns, except that they compile from the master, if there's one. Jürgen
Re: Always compile the master document
Yegor Yefremov wrote: > Thank you for your quick reply. I've tried specifying the master > document, but it doesn't solve the problem I have. AFAIK the master > document feature only helps to properly compile child if master > document is not opened. The whole document won't be compiled. More > than that if you've defined some LaTeX macros like "newcommand" they > won't be taken, so child compilation fails. I'm using LyX 1.5.6 There's the lfuns master-buffer-view and master-buffer-update. They do not have a GUI element yet (they will in LyX 2.0), but you can add a toolbar button or a menu entry for them yourself. The lfuns are equivalent to the buffer-view and buffer-update lfuns, except that they compile from the master, if there's one. Jürgen
Re: Always compile the master document
if I have master document with some child documents and I'm editing the child and then invoke View-PDF(pdflatex) LyX tries to compile only this child document and not the whole document beginning with master. How can I change LyX behavior to always compile a whole document regardless of what file is edited? I'll guess that you are opening the child directly, i.e., by itself. So LyX doesn't know that it's a child and compiles it on its own. Solution: Set the default master document under DocumentSettings. Then, when you open the document, LyX will always also open the master as well and identify the child as its child. Then compiling will compile the whole thing. Thank you for your quick reply. I've tried specifying the master document, but it doesn't solve the problem I have. AFAIK the master document feature only helps to properly compile child if master document is not opened. The whole document won't be compiled. More than that if you've defined some LaTeX macros like newcommand they won't be taken, so child compilation fails. I'm using LyX 1.5.6 Any other ideas? Or should it be added as feature request? Regards, Yegor
Re: Always compile the master document
if I have master document with some child documents and I'm editing the child and then invoke View-PDF(pdflatex) LyX tries to compile only this child document and not the whole document beginning with master. How can I change LyX behavior to always compile a whole document regardless of what file is edited? I'll guess that you are opening the child directly, i.e., by itself. So LyX doesn't know that it's a child and compiles it on its own. Solution: Set the default master document under DocumentSettings. Then, when you open the document, LyX will always also open the master as well and identify the child as its child. Then compiling will compile the whole thing. Thank you for your quick reply. I've tried specifying the master document, but it doesn't solve the problem I have. AFAIK the master document feature only helps to properly compile child if master document is not opened. The whole document won't be compiled. More than that if you've defined some LaTeX macros like newcommand they won't be taken, so child compilation fails. I'm using LyX 1.5.6 Any other ideas? Or should it be added as feature request? Regards, Yegor
Re: Always compile the master document
>> if I have master document with some child documents and I'm editing >> the child and then invoke View->PDF(pdflatex) LyX tries to compile >> only this child document and not the whole document beginning with >> master. How can I change LyX behavior to always compile a whole >> document regardless of what file is edited? >> >> > > I'll guess that you are opening the child directly, i.e., by itself. So LyX > doesn't know that it's a child and compiles it on its own. > > Solution: Set the default master document under Document>Settings. > Then, when you open the document, LyX will always also open the master > as well and identify the child as its child. Then compiling will compile the > whole thing. Thank you for your quick reply. I've tried specifying the master document, but it doesn't solve the problem I have. AFAIK the master document feature only helps to properly compile child if master document is not opened. The whole document won't be compiled. More than that if you've defined some LaTeX macros like "newcommand" they won't be taken, so child compilation fails. I'm using LyX 1.5.6 Any other ideas? Or should it be added as feature request? Regards, Yegor
Always compile the master document
Hello, if I have master document with some child documents and I'm editing the child and then invoke View-PDF(pdflatex) LyX tries to compile only this child document and not the whole document beginning with master. How can I change LyX behavior to always compile a whole document regardless of what file is edited? Regards. Yegor
Re: Always compile the master document
On 07/22/2010 10:53 AM, Yegor Yefremov wrote: Hello, if I have master document with some child documents and I'm editing the child and then invoke View-PDF(pdflatex) LyX tries to compile only this child document and not the whole document beginning with master. How can I change LyX behavior to always compile a whole document regardless of what file is edited? I'll guess that you are opening the child directly, i.e., by itself. So LyX doesn't know that it's a child and compiles it on its own. Solution: Set the default master document under DocumentSettings. Then, when you open the document, LyX will always also open the master as well and identify the child as its child. Then compiling will compile the whole thing. Richard
Always compile the master document
Hello, if I have master document with some child documents and I'm editing the child and then invoke View-PDF(pdflatex) LyX tries to compile only this child document and not the whole document beginning with master. How can I change LyX behavior to always compile a whole document regardless of what file is edited? Regards. Yegor
Re: Always compile the master document
On 07/22/2010 10:53 AM, Yegor Yefremov wrote: Hello, if I have master document with some child documents and I'm editing the child and then invoke View-PDF(pdflatex) LyX tries to compile only this child document and not the whole document beginning with master. How can I change LyX behavior to always compile a whole document regardless of what file is edited? I'll guess that you are opening the child directly, i.e., by itself. So LyX doesn't know that it's a child and compiles it on its own. Solution: Set the default master document under DocumentSettings. Then, when you open the document, LyX will always also open the master as well and identify the child as its child. Then compiling will compile the whole thing. Richard
Always compile the master document
Hello, if I have master document with some child documents and I'm editing the child and then invoke View->PDF(pdflatex) LyX tries to compile only this child document and not the whole document beginning with master. How can I change LyX behavior to always compile a whole document regardless of what file is edited? Regards. Yegor
Re: Always compile the master document
On 07/22/2010 10:53 AM, Yegor Yefremov wrote: Hello, if I have master document with some child documents and I'm editing the child and then invoke View->PDF(pdflatex) LyX tries to compile only this child document and not the whole document beginning with master. How can I change LyX behavior to always compile a whole document regardless of what file is edited? I'll guess that you are opening the child directly, i.e., by itself. So LyX doesn't know that it's a child and compiles it on its own. Solution: Set the default master document under Document>Settings. Then, when you open the document, LyX will always also open the master as well and identify the child as its child. Then compiling will compile the whole thing. Richard
Re: LyX 1.6.2: possible performance issue inside master document
Hi all, thank Abdelrazak Younes for the prompt answer. so I'm not the only one (see users list: Lyx 1.6.2 unusably slow on the Mac) Child document opened alone or together with its parent? Performance inside the child document is much better. Only the master is concerned. It does not matter whether the master is opened or not. It even does not make any difference if the master or the child is opened first. For me it looks like heavy internal updating inside the master is done for each included child-doc (it does not matter whether the child is opend). If you are able to send me a test document (maybe privately) I'll have a look. Even better: put it in a new bugzilla entry. Mailing is a problem since it's a whole project documentation, with pictures ... Hopefully I can reproduce it with smaller documents. But I think some othe guys already have the same trouble (see above). I'm not familar with bugzilla, but if I can reproduce it I'll give it a try. Thank's Zardoz -- Aufgepasst: Sind Ihre Daten beim Online-Banking auch optimal geschützt? Jetzt absichern: https://homebanking.gmx.net/?mc=m...@footer.hb
Re: LyX 1.6.2: possible performance issue inside master document
pseudo2...@gmx.at wrote: Child document opened alone or together with its parent? Performance inside the child document is much better. Only the master is concerned. It does not matter whether the master is opened or not. It even does not make any difference if the master or the child is opened first. For me it looks like heavy internal updating inside the master is done for each included child-doc (it does not matter whether the child is opend). If you are able to send me a test document (maybe privately) I'll have a look. Even better: put it in a new bugzilla entry. Mailing is a problem since it's a whole project documentation, with pictures ... Hopefully I can reproduce it with smaller documents. But I think some othe guys already have the same trouble (see above). I'm not familar with bugzilla, but if I can reproduce it I'll give it a try. I wish I had some idea why this is happening only on certain platforms. Or is it only on certain platforms? I've not seen reports of this behavior under Linux, but maybe there are people with similar problems. Have there been other changes to the Windows or Mac distributions from 1.6.1 to 1.6.2, besides the changes made internally to LyX? Richard
Re: LyX 1.6.2: possible performance issue inside master document
Hi all, thank Abdelrazak Younes for the prompt answer. so I'm not the only one (see users list: Lyx 1.6.2 unusably slow on the Mac) Child document opened alone or together with its parent? Performance inside the child document is much better. Only the master is concerned. It does not matter whether the master is opened or not. It even does not make any difference if the master or the child is opened first. For me it looks like heavy internal updating inside the master is done for each included child-doc (it does not matter whether the child is opend). If you are able to send me a test document (maybe privately) I'll have a look. Even better: put it in a new bugzilla entry. Mailing is a problem since it's a whole project documentation, with pictures ... Hopefully I can reproduce it with smaller documents. But I think some othe guys already have the same trouble (see above). I'm not familar with bugzilla, but if I can reproduce it I'll give it a try. Thank's Zardoz -- Aufgepasst: Sind Ihre Daten beim Online-Banking auch optimal geschützt? Jetzt absichern: https://homebanking.gmx.net/?mc=m...@footer.hb
Re: LyX 1.6.2: possible performance issue inside master document
pseudo2...@gmx.at wrote: Child document opened alone or together with its parent? Performance inside the child document is much better. Only the master is concerned. It does not matter whether the master is opened or not. It even does not make any difference if the master or the child is opened first. For me it looks like heavy internal updating inside the master is done for each included child-doc (it does not matter whether the child is opend). If you are able to send me a test document (maybe privately) I'll have a look. Even better: put it in a new bugzilla entry. Mailing is a problem since it's a whole project documentation, with pictures ... Hopefully I can reproduce it with smaller documents. But I think some othe guys already have the same trouble (see above). I'm not familar with bugzilla, but if I can reproduce it I'll give it a try. I wish I had some idea why this is happening only on certain platforms. Or is it only on certain platforms? I've not seen reports of this behavior under Linux, but maybe there are people with similar problems. Have there been other changes to the Windows or Mac distributions from 1.6.1 to 1.6.2, besides the changes made internally to LyX? Richard
Re: LyX 1.6.2: possible performance issue inside master document
Hi all, thank Abdelrazak Younes for the prompt answer. so I'm not the only one (see users list: Lyx 1.6.2 unusably slow on the Mac) > Child document opened alone or together with its parent? Performance inside the child document is much better. Only the master is concerned. It does not matter whether the master is opened or not. It even does not make any difference if the master or the child is opened first. For me it looks like heavy internal updating inside the master is done for each included child-doc (it does not matter whether the child is opend). > If you are able to send me a test document (maybe privately) I'll have a > look. Even better: put it in a new bugzilla entry. Mailing is a problem since it's a whole project documentation, with pictures ... Hopefully I can reproduce it with smaller documents. But I think some othe guys already have the same trouble (see above). I'm not familar with bugzilla, but if I can reproduce it I'll give it a try. Thank's Zardoz -- Aufgepasst: Sind Ihre Daten beim Online-Banking auch optimal geschützt? Jetzt absichern: https://homebanking.gmx.net/?mc=m...@footer.hb
Re: LyX 1.6.2: possible performance issue inside master document
pseudo2...@gmx.at wrote: Child document opened alone or together with its parent? Performance inside the child document is much better. Only the master is concerned. It does not matter whether the master is opened or not. It even does not make any difference if the master or the child is opened first. For me it looks like heavy internal updating inside the master is done for each included child-doc (it does not matter whether the child is opend). If you are able to send me a test document (maybe privately) I'll have a look. Even better: put it in a new bugzilla entry. Mailing is a problem since it's a whole project documentation, with pictures ... Hopefully I can reproduce it with smaller documents. But I think some othe guys already have the same trouble (see above). I'm not familar with bugzilla, but if I can reproduce it I'll give it a try. I wish I had some idea why this is happening only on certain platforms. Or is it only on certain platforms? I've not seen reports of this behavior under Linux, but maybe there are people with similar problems. Have there been other changes to the Windows or Mac distributions from 1.6.1 to 1.6.2, besides the changes made internally to LyX? Richard
RE: Forcing LyX master document to reformat output?
-Original Message- From: Juergen Spitzmueller [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: 10/27/06 6:29 PM Subject: Re: Forcing LyX master document to reformat output? Stefano Franchi wrote: When I select the View Pdf option in the master document, however, LyX not always updates the pdf output to reflect the editing changes. I see this as well (this is a bug). Is there any way top force a recompile of included files? I'm forcing it by doing some arbitrary change in the master document (usually adding or deleting a character in a comment or note inset). Jrgen
RE: Forcing LyX master document to reformat output?
-Original Message- From: Juergen Spitzmueller [EMAIL PROTECTED] To: lyx-users@lists.lyx.org Sent: 10/27/06 6:29 PM Subject: Re: Forcing LyX master document to reformat output? Stefano Franchi wrote: When I select the View Pdf option in the master document, however, LyX not always updates the pdf output to reflect the editing changes. I see this as well (this is a bug). Is there any way top force a recompile of included files? I'm forcing it by doing some arbitrary change in the master document (usually adding or deleting a character in a comment or note inset). Jrgen
RE: Forcing LyX master document to reformat output?
-Original Message- From: "Juergen Spitzmueller" <[EMAIL PROTECTED]> To: lyx-users@lists.lyx.org Sent: 10/27/06 6:29 PM Subject: Re: Forcing LyX master document to reformat output? Stefano Franchi wrote: > When I select the View Pdf option in the > master document, however, LyX not always updates the pdf output to > reflect the editing changes. I see this as well (this is a bug). > Is there any way top force a recompile of > included files? I'm forcing it by doing some arbitrary change in the master document (usually adding or deleting a character in a comment or note inset). Jrgen
Forcing LyX master document to reformat output?
Dear all, how can one force LyX to reformat the LaTeX (pdfLatex) output of a master document which contains only a few include statements? I am used to working with a top documents that simply lists, as includes, the various filenames of the single sections or chapters. All the editing os done in the included files. When I select the View Pdf option in the master document, however, LyX not always updates the pdf output to reflect the editing changes. Is there any way top force a recompile of included files? Thanks for the help, Stefano __ Stefano Franchi Department of Philosophy Ph: (64) 9 373-7599 x83940 University Of Auckland Fax: (64) 9 373-8768 Private Bag 92019 [EMAIL PROTECTED] Auckland New Zealand
Re: Forcing LyX master document to reformat output?
Stefano Franchi wrote: When I select the View Pdf option in the master document, however, LyX not always updates the pdf output to reflect the editing changes. I see this as well (this is a bug). Is there any way top force a recompile of included files? I'm forcing it by doing some arbitrary change in the master document (usually adding or deleting a character in a comment or note inset). Jürgen
Forcing LyX master document to reformat output?
Dear all, how can one force LyX to reformat the LaTeX (pdfLatex) output of a master document which contains only a few include statements? I am used to working with a top documents that simply lists, as includes, the various filenames of the single sections or chapters. All the editing os done in the included files. When I select the View Pdf option in the master document, however, LyX not always updates the pdf output to reflect the editing changes. Is there any way top force a recompile of included files? Thanks for the help, Stefano __ Stefano Franchi Department of Philosophy Ph: (64) 9 373-7599 x83940 University Of Auckland Fax: (64) 9 373-8768 Private Bag 92019 [EMAIL PROTECTED] Auckland New Zealand
Re: Forcing LyX master document to reformat output?
Stefano Franchi wrote: When I select the View Pdf option in the master document, however, LyX not always updates the pdf output to reflect the editing changes. I see this as well (this is a bug). Is there any way top force a recompile of included files? I'm forcing it by doing some arbitrary change in the master document (usually adding or deleting a character in a comment or note inset). Jürgen
Forcing LyX master document to reformat output?
Dear all, how can one force LyX to reformat the LaTeX (pdfLatex) output of a master document which contains only a few include statements? I am used to working with a top documents that simply lists, as includes, the various filenames of the single sections or chapters. All the editing os done in the included files. When I select the View Pdf option in the master document, however, LyX not always updates the pdf output to reflect the editing changes. Is there any way top force a recompile of included files? Thanks for the help, Stefano __ Stefano Franchi Department of Philosophy Ph: (64) 9 373-7599 x83940 University Of Auckland Fax: (64) 9 373-8768 Private Bag 92019 [EMAIL PROTECTED] Auckland New Zealand
Re: Forcing LyX master document to reformat output?
Stefano Franchi wrote: > When I select the View Pdf option in the > master document, however, LyX not always updates the pdf output to > reflect the editing changes. I see this as well (this is a bug). > Is there any way top force a recompile of > included files? I'm forcing it by doing some arbitrary change in the master document (usually adding or deleting a character in a comment or note inset). Jürgen
Re: Bibunits with a master document
[EMAIL PROTECTED] wrote: - should the \usepackage{bibunits} command be inserted in the master document preamble or in the included files preamble? In the master document. If you intend to compile your child documents separately, put it also there. - should the \bibliographyunit[\chapter] command be inserted as ERT at the beginning of the master document or in its preamble? At the beginning. - if I understand well, the following code (taken from the Wiki page) should be inserted in the preamble of the master document: \makeatletter [EMAIL PROTECTED]@bibunitauxcnt} \makeatother yes. Jürgen
Re: Bibunits with a master document
Hello, The wiki bibunits example page has a problem with the links , after some fiddling I managed to download the files from http://wiki.lyx.org/uploads/Examples/Bibunits/bibunits_KomaArticle.lyx http://wiki.lyx.org/uploads/Examples/Bibunits/refs.bib I don't seem to be able to get the example at http://wiki.lyx.org/pmwiki.php/Examples/Bibunits to work either. The reference under subsection Papers in the first section does not appear when compiling the document within lyx 1.3.6-1 for windows. export to latex and compiling as instructed in bibunits documentation works fine. Would be great if it worked from within lyx. The compilation of all the .aux files is tedious. Thanks for a great program jorgen [EMAIL PROTECTED] wrote: Hi I have a master lyx document containing a number of chapters (lyx files), inserted using include mode. Every chapter contains its own Bibtex Generated References. I would like to produce one references section for each chapter using the bibunits package. I am using Windows XP and Lyx 1.3.5 I have read the Wiki pages, searched the Lyx User mailing list and the bibunits package documentation and I still have some questions: - should the \usepackage{bibunits} command be inserted in the master document preamble or in the included files preamble? - should the \bibliographyunit[\chapter] command be inserted as ERT at the beginning of the master document or in its preamble? - if I understand well, the following code (taken from the Wiki page) should be inserted in the preamble of the master document: \makeatletter [EMAIL PROTECTED]@bibunitauxcnt} \makeatother Any help will be greatly appreciated thanks a lot Hassoun
Re: Bibunits with a master document
[EMAIL PROTECTED] wrote: - should the \usepackage{bibunits} command be inserted in the master document preamble or in the included files preamble? In the master document. If you intend to compile your child documents separately, put it also there. - should the \bibliographyunit[\chapter] command be inserted as ERT at the beginning of the master document or in its preamble? At the beginning. - if I understand well, the following code (taken from the Wiki page) should be inserted in the preamble of the master document: \makeatletter [EMAIL PROTECTED]@bibunitauxcnt} \makeatother yes. Jürgen
Re: Bibunits with a master document
Hello, The wiki bibunits example page has a problem with the links , after some fiddling I managed to download the files from http://wiki.lyx.org/uploads/Examples/Bibunits/bibunits_KomaArticle.lyx http://wiki.lyx.org/uploads/Examples/Bibunits/refs.bib I don't seem to be able to get the example at http://wiki.lyx.org/pmwiki.php/Examples/Bibunits to work either. The reference under subsection Papers in the first section does not appear when compiling the document within lyx 1.3.6-1 for windows. export to latex and compiling as instructed in bibunits documentation works fine. Would be great if it worked from within lyx. The compilation of all the .aux files is tedious. Thanks for a great program jorgen [EMAIL PROTECTED] wrote: Hi I have a master lyx document containing a number of chapters (lyx files), inserted using include mode. Every chapter contains its own Bibtex Generated References. I would like to produce one references section for each chapter using the bibunits package. I am using Windows XP and Lyx 1.3.5 I have read the Wiki pages, searched the Lyx User mailing list and the bibunits package documentation and I still have some questions: - should the \usepackage{bibunits} command be inserted in the master document preamble or in the included files preamble? - should the \bibliographyunit[\chapter] command be inserted as ERT at the beginning of the master document or in its preamble? - if I understand well, the following code (taken from the Wiki page) should be inserted in the preamble of the master document: \makeatletter [EMAIL PROTECTED]@bibunitauxcnt} \makeatother Any help will be greatly appreciated thanks a lot Hassoun
Re: Bibunits with a master document
[EMAIL PROTECTED] wrote: > - should the "\usepackage{bibunits}" command be inserted in the master > document preamble or in the included files preamble? In the master document. If you intend to compile your child documents separately, put it also there. > - should the "\bibliographyunit[\chapter]" command be inserted as ERT at > the beginning of the master document or in its preamble? At the beginning. > - if I understand well, the following code (taken from the Wiki page) > should be inserted in the preamble of the master document: > \makeatletter > [EMAIL PROTECTED]@bibunitauxcnt} > \makeatother yes. Jürgen
Re: Bibunits with a master document
Hello, The wiki bibunits example page has a problem with the links , after some fiddling I managed to download the files from http://wiki.lyx.org/uploads/Examples/Bibunits/bibunits_KomaArticle.lyx http://wiki.lyx.org/uploads/Examples/Bibunits/refs.bib I don't seem to be able to get the example at http://wiki.lyx.org/pmwiki.php/Examples/Bibunits to work either. The reference under subsection "Papers" in the first section does not appear when compiling the document within lyx 1.3.6-1 for windows. export to latex and compiling as instructed in bibunits documentation works fine. Would be great if it worked from within lyx. The compilation of all the .aux files is tedious. Thanks for a great program jorgen [EMAIL PROTECTED] wrote: Hi I have a master lyx document containing a number of chapters (lyx files), inserted using "include" mode. Every chapter contains its own "Bibtex Generated References". I would like to produce one references section for each chapter using the bibunits package. I am using Windows XP and Lyx 1.3.5 I have read the Wiki pages, searched the Lyx User mailing list and the bibunits package documentation and I still have some questions: - should the "\usepackage{bibunits}" command be inserted in the master document preamble or in the included files preamble? - should the "\bibliographyunit[\chapter]" command be inserted as ERT at the beginning of the master document or in its preamble? - if I understand well, the following code (taken from the Wiki page) should be inserted in the preamble of the master document: \makeatletter [EMAIL PROTECTED]@bibunitauxcnt} \makeatother Any help will be greatly appreciated thanks a lot Hassoun
Bibunits with a master document
Hi I have a master lyx document containing a number of chapters (lyx files), inserted using include mode. Every chapter contains its own Bibtex Generated References. I would like to produce one references section for each chapter using the bibunits package. I am using Windows XP and Lyx 1.3.5 I have read the Wiki pages, searched the Lyx User mailing list and the bibunits package documentation and I still have some questions: - should the \usepackage{bibunits} command be inserted in the master document preamble or in the included files preamble? - should the \bibliographyunit[\chapter] command be inserted as ERT at the beginning of the master document or in its preamble? - if I understand well, the following code (taken from the Wiki page) should be inserted in the preamble of the master document: \makeatletter [EMAIL PROTECTED]@bibunitauxcnt} \makeatother Any help will be greatly appreciated thanks a lot Hassoun
Bibunits with a master document
Hi I have a master lyx document containing a number of chapters (lyx files), inserted using include mode. Every chapter contains its own Bibtex Generated References. I would like to produce one references section for each chapter using the bibunits package. I am using Windows XP and Lyx 1.3.5 I have read the Wiki pages, searched the Lyx User mailing list and the bibunits package documentation and I still have some questions: - should the \usepackage{bibunits} command be inserted in the master document preamble or in the included files preamble? - should the \bibliographyunit[\chapter] command be inserted as ERT at the beginning of the master document or in its preamble? - if I understand well, the following code (taken from the Wiki page) should be inserted in the preamble of the master document: \makeatletter [EMAIL PROTECTED]@bibunitauxcnt} \makeatother Any help will be greatly appreciated thanks a lot Hassoun
Bibunits with a master document
Hi I have a master lyx document containing a number of chapters (lyx files), inserted using "include" mode. Every chapter contains its own "Bibtex Generated References". I would like to produce one references section for each chapter using the bibunits package. I am using Windows XP and Lyx 1.3.5 I have read the Wiki pages, searched the Lyx User mailing list and the bibunits package documentation and I still have some questions: - should the "\usepackage{bibunits}" command be inserted in the master document preamble or in the included files preamble? - should the "\bibliographyunit[\chapter]" command be inserted as ERT at the beginning of the master document or in its preamble? - if I understand well, the following code (taken from the Wiki page) should be inserted in the preamble of the master document: \makeatletter [EMAIL PROTECTED]@bibunitauxcnt} \makeatother Any help will be greatly appreciated thanks a lot Hassoun