[OS X TeX] off topic, breaking up pdf files.

Ross Moore ross at ics.mq.edu.au
Sun Oct 27 06:06:23 CET 2002



> Hi again
> 
> I guess the other way to go (ignoring your request not to mess with the
> tex code!) is to do something like

Yes; this is the kind of thing to do.
Rather than repeated comment/uncomment of the \includeonly
commands, take multiple copies of this base file.
Do the comment/uncomment exactly once.
Then construct a Makefile to make it easier to run the resulting
 .tex  files as separate jobs.

You don't need a front-end like TeXshop for this.
If far easier to use the Unix command-line.


Cheers

	Ross


> \documentclass{amsbook}
> 
> \input{macros}
> 
> %
> % Comment out the chapters you don't want to include.
> %
> %\include{title}
> %\includeonly{bundlegerbes}
> %\includeonly{deligne}
> %\includeonly{qft}
> %\includeonly{ktheory}
> %\includeonly{monopoles}
> %\includeonly{world_sheets}
> %\includeonly{index}
> %\includeonly{twgerbes}
> %\includeonly{refs}
> 
> 
> \begin{document}
> 
> 
> \include{title}
> 
> \include{bundlegerbes}
> \include{deligne}
> \include{qft}
> \include{ktheory}
> \include{monopoles}
> \include{world_sheets}
> \include{index}
> \include{twogerbes}
> \include{refs}
> 
> \end{document}
> 
> 
> in each of the documents bundlegerbes.tex etc you have the tex code 
> for that chapter or whatever section it is.  If you run it a couple 
> of times
> to set up all the cross-referencing and then uncomment one of the
> includeonly lines it will run just that chapter but preserve all
> numbering.  If you go this route remember to set the project root
> in texshop as per the doc's. This makes things easier.
> 
> Michael
> -- 
> _________________________________________________________
> Assoc/Prof Michael Murray
> School of Pure Mathematics         Fax: 61+ 8 8303 3696
> University of Adelaide             Phone: 61+ 8 8303 4174
> Australia  5005      Email: mmurray at maths.adelaide.edu.au
> Home Page: http://www.maths.adelaide.edu.au/pure/mmurray
> PGP public key:
> http://www.maths.adelaide.edu.au/pure/mmurray/pgp.txt
> University of Adelaide CRICOS # 00123M
> ________________________________________________________
> 
> 
> 
> 
> 
> 
> -----------------------------------------------------
> Mac TeX info, resources, and news can be found at:
> <http://www.esm.psu.edu/mac-tex/>
> -----------------------------------------------------
> List archives can be found at:
> <http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/>
> Threaded list archives can be found at:
> <http://www.masda.vxu.se/~pku/MacOSX_TeX/>
> -----------------------------------------------------
> See message headers for list info.
> -----------------------------------------------------
> 


-----------------------------------------------------
Mac TeX info, resources, and news can be found at:
<http://www.esm.psu.edu/mac-tex/>
-----------------------------------------------------
List archives can be found at:
<http://www.esm.psu.edu/mac-tex/MacOSX-TeX-Digests/>
Threaded list archives can be found at:
<http://www.masda.vxu.se/~pku/MacOSX_TeX/>
-----------------------------------------------------
See message headers for list info.
-----------------------------------------------------




More information about the macostex-archives mailing list