>>Date: Fri, 25 Aug 2006 16:37:02 -0400 >>From: Richard Heck <[EMAIL PROTECTED]> >>To: Chris Share <[EMAIL PROTECTED]> >>CC: lyx-users@lists.lyx.org >>Subject: Re: Abstract Page Numbering and Separate Chapter Numbering >> >>Chris Share wrote: [...] >>> 2. Each chapter title is in Chapter format however because they're >>> separate, each one is labelled "Chapter 1". Although this doesn't >>> affect the final document, I'd like to change it so that it matches >>> the actual chapter number. How can I do this? >>Maybe there's some secret formula for doing this, but I'm not sure it's >>possible, at least not without a lot more customizing of .layout files >>then you want to do.
Plain latex offers the \includeonly command to do this natively, that is \includeonly{chap3} ... \include{chap1} ... \include{chap2} ... \include{chap3} ... \include{chap4} ... Run once all needed passes with \includeonly commented out, then the next run with \includeonly uncommented will output a correctly numbered chapter 3. This seem quite difficult to port to LyX, and IMHO useless: multipart docs are quite nice in LyX as you can compile separately without editing (in plain latex, you would have to patch the preamble in each chapter file). You just need to be confident in the fact that the numbers will be all right when you will build the main document, in the same line as you are confident in TeX to compute a correct layout... -- Jean-Pierre