El sáb, 15-03-2008 a las 15:17 -0400, rgheck escribió:
> Steve Litt wrote:
> > On Saturday 15 March 2008 07:31, Miguel Daniel Rodríguez Magarzo wrote:
> >   
> >> Hi here
> >>
> >> I'm working (as usually...) in a new LyX document (a new file) at a
> >> book-style. I need that the chapter number does not start with the
> >> _one_, but the five instead, though this is a new file but it belongs to
> >> a a set of large chapters, so I decided to make a new file for each one.
> >> The thing is that the page number should start with the "1" into each
> >> file (or chapter).
> >>
> >>     
> If these are chapters of a larger book, then you want to create a 
> "master document" that includes all of the chapters as "child" 
> documents. To create the master, just make a new file, and put your 
> title, author, etc, info here. Then do: Insert>File>Child Document, and 
> Include each of the chapters.
> 
> The chapter numbers will look wrong when you edit the child documents 
> individually, but they will be right when you compile the whole master 
> document.
> 
> To reset the page number, just put:
>     \setcounter{page}{1}
> in ERT (Insert>TeX Code) immediately after each Chapter heading. Or 
> better, look into the chappg package, which you can find on ctan.org if 
> it isn't already available in your TeX distribution.
> 
> rh
> 

Thank you very much for your rich suggestions. I've sorted out the
problem thanks to them. 
        * Concerning to child documents, I'll have to consider seriously that
option when I have definitively finished to rewrite and update this
subject I'm working at the moment. Now the main thing was to print this
chapter indeed. Besides, there is currently a previous chapter that is
not concluded yet. 
        * I've put that code with ERT just after the title of the chapter, then
I saw with "view dvi" and yes! ...working. Then I just had to add a set
of "false" chapters (1, 2, 3, 4) just before the beginning of the real
chapter (5), and then printing. I know this is not much elegant, but
it's OK for now, until I have the whole set of chapters (units) of the
"book" (subject); after that, in several weeks I'll probably do what you
suggest, a "master document". 
        * In respect to the chappg packages... yes, I've checked it and they
are already installed. My knowledge about LaTeX is about close to
"zero", so let's things stay as it for now, if the above is covering my
necessities rightly. 

Thanks again, rh. 

Daniel
--
What about not forgetting my own old (very old...!!) websites? ... even
if they aren't written in a kind language, but just HTML, my first...
HTML. I'm talking about this (only Spanish version):
http://ploughingthemetal.galeon.com 

Reply via email to