[OS X TeX] Outlining ersatz

William F. Adams wadams at atlis.com
Tue Dec 28 15:34:50 EST 2004


On Dec 26, 2004, at 7:40 PM, Alain Schremmer wrote:

> But, if so, I would of course appreciate any hint about how to proceed 
> and/or where to learn what I surely need to.

A person should _never_ type a number which a computer can calculate 
for them.

Far better to set up:

%%%% mybook.tex %%%
\documentclass{memoir}
%this is the main file w/ the compleat preamble &c.
%
%
%\includeonly{frontmatter}
%\includeonly{introduction}
%\includeonly{beginnings}
%\includeonly{thoughts}
%\includeonly{conclusion}
%\includeonly{appendices}
%
%
\begin{document}
\frontmatter
\include{frontmatter}
\mainmatter
\include{introduction}
\include{beginnings}
\include{thoughts}
\include{conclusion}
\appendix
\include{appendices}
\end{document}

and keep each chapter in its own file (so one would need files 
frontmatter.tex, introduction.tex, &c.).

If you really must, you can use \input{sectionfoo} for sections in each 
chapter.

To work on a specific chapter then one need merely uncomment one of the 
\includeonly lines (or you can have just one and retype the one you 
need when you need it --- I'm lazy). I then make a folder which has 
aliases for each of the afore-mentioned files w/ comments and sorted on 
comments so that they appear in the correct order and use that as a 
palette-like window to access the desired file by double-clicking.

Or you could use LyX which'll manage this sort of thing pretty 
automatically, or you could get an editor which supports ``folding'' 
which is probably closer to what you wanted originally. Is there a good 
one for Mac OS X which is free? I've tried Leo (Literate Editor with 
Outlines) but it didn't work well in Windows.... (but what does).

William

-- 
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list