[pdftex] (no subject)
Gerree Pecht
gerree at Math.Princeton.EDU
Wed Dec 8 20:48:02 CET 2004
Hi!
What about using a root file to store the chapters?
Give EACH CHAPTER its on .tex name Chapter 1.tex, etc.
The root file contains the preamble, any/all definitions, packages, etc.
that you are using along with the 5 files ....
I use this when I'm typesetting slides using the SliTeX program ...
in the directory where the ``book'' is housed ...
make a file called
BookChaptersRoot.tex
This is where your preamble is also housed!
now ....
list the chapter files as such
\input{Chapter1.tex}
\input{Chapter2.tex}
\input{Chapter3.tex}
\input{Chapter4.tex}
\input{Chapter5.tex}
If you wish only to run off one chapter ... comment out the rest
or if you wish to run one or more at random ... comment out the
chapters you do not wish to run throught latex and view ....
Now ... at the top of your chapter files ... each file ... should
just contain the direct info ... (remember now that all your commands,
line length, special font packages, etc. are housed in the ROOT file.
You MUST run the ROOT file in order to VIEW the CHAPTER(S).
Also... if you have any pics (include the graphics package or pic package)
Let me know if I can be of help to you ... I do BOOKS!
G. :-)
On Wed, 8 Dec 2004, John Culleton wrote:
> On Wednesday 08 December 2004 12:03, ³Â Ö®³õ wrote:
> > How can I do this:
> >
> > I want to generate a book which has 300 pages, but it is too big. Suppose
> > that there are 5 chapters in the book, page 1 to 50 is chapter 1, page 51
> > to 100 is chapter 2, page 101 to 210 is chapter 3, page 211 to 356 is
> > chapter 4 and page 357 to 300 is chapter 5. Can I use some packages to
> > pdfLaTeX my tex file into 5 pdf files, the pdf files' names are xxx001.pdf,
> > xxx051.pdf, xxx101.pdf, xxx211.pdf and xxx357.pdf.
> >
> >
> There are ways to include pdf files in a pdf(la)tex run. But I am curious why
> you feel the need to break up the run. AFAIK TeX in all flavors can handle
> books with thousands of pages. And good editors, such as Vim, are similarly
> not restricted. Worst case you could bring in each chapter with an \input
> statement.
>
> If you need to break up the file after typesetting for ease in transport I
> suggest converting to PostScript (pdf2ps) and then using psselect to pick off
> ranges of pages. Then you could convert the segments back to pdf format with
> ps2pdf. I use the PostScript utilities that come with Ghostscript and with
> Psutil all the time.
>
>
--
Gerree P. Pecht
Princeton University Mathematics Department
(609) 258-3011
More information about the pdftex
mailing list