[TxMt] smart Latex typesetting

Jeroen van der Ham jeroen at je-ju.net
Thu May 18 20:51:53 UTC 2006


While TextMate may have a nice solution for this, there's also the LaTeX way of 
solving this.

Save the attached document as header.tex, adapt it to your needs and source that 
on the first line of each section.

And in your whole document use the following lines before you source the others.

\newcommand{\setflag}{\newif \ifwhole
\wholetrue}

If desired, you can also include a static chapter/section counter like so:
\setcounter{chapter}{1}

But then again, if you use latexmk.pl, you aren't gonna need that.

Jeroen.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: header.tex
URL: <http://lists.macromates.com/textmate/attachments/20060518/2bd36e43/attachment.tex>


More information about the textmate mailing list