Fwd: [NTG-context] Pagenumbers and labels

Idris Samawi Hamid ishamid at colostate.edu
Tue Jan 17 00:53:16 CET 2006


On Mon, 16 Jan 2006 11:14:20 -0700, Taco Hoekwater <taco at elvenkind.com>  
wrote:

> Idris Samawi Hamid wrote:
>> Dear cabal,
>>  Got no answer yet, resending-)
>
> It sounds to me like you only need the 'appearance' of
> Parts to be present, instead of the 'actual' divisions.
>
> If so, you could consider defining your own '\part' macro that
> does a \writetolist. You can do that with something as simple as
> this:
>
>    \newcount\mypart
>    \def\part#1{\page[right] \advance\mypart 1
>       \expanded{\writetolist[part]{\the\mypart}{#1}}}

Thank you for the tip. I really need to practice low-level TeX coding  
more, ConTeXt has made me lazy...

Are there any manuals for with clear examples explaining the proper use of  
\expanded, \unexpanded, etc.?

:-)))

All the best
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the ntg-context mailing list