[NTG-context] paragraph enumeration

Adam Lindsay atl at comp.lancs.ac.uk
Wed Apr 27 23:19:04 CEST 2005


Taco Hoekwater said this at Tue, 26 Apr 2005 12:42:05 +0200:

>piskala upendran wrote:
>> The paragraph enumeration is useful for only for
>
>You mean that hack with \startParagraphs I posted a week
>or so ago on this list?

I'm seeing this thread, and think about \setupparagraphnumbering. It
doesn't have the configuration options that allow the numbers to be set
in the text, but it strikes me as a good departure. You don't have to
turn it off for headings, either:

\starttext
\showframe
\setupcolors[state=start]
\setupparagraphnumbering[state=start,style=italic,distance=0pt]
%\startlinenumbering
\section{bloo}
\input knuth 
\section{blah}
\input knuth \par 
\setupparagraphnumbering[state=stop]
\input tufte \par
\setupparagraphnumbering[state=start,color=red]
\dorecurse{4}{\input tufte \par}
\stoptext

 
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl at comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the ntg-context mailing list