* Numbered Paragraphs
@ 2002-04-28 8:40 Nigel King
2002-05-09 19:06 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Nigel King @ 2002-04-28 8:40 UTC (permalink / raw)
All,
UK Government documents tend to each paragraph numbered for future
reference. I can number each one by using
\defineenumeration[Point][location=inmargin,way=bysubsection,text=,headstyle
=normal]
and then in each paragraph inserting somewhere \Point somewhere once.
Is there a more convenient way that either automatically numbers the default
paragraph mechanism or a \startnumbering...\stopnumbering type of command
that works across multiple paragraphs?
Another very minor point, the inmargin command right justifies the numbers
is there a left justified inmargin version?
TIA
--
Nigel
PS. I feel I have finally broken through with ConTeXt. It has taken some
time though.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Numbered Paragraphs
2002-04-28 8:40 Numbered Paragraphs Nigel King
@ 2002-05-09 19:06 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2002-05-09 19:06 UTC (permalink / raw)
Cc: ntg-context
At 09:40 AM 4/28/2002 +0100, you wrote:
>All,
>UK Government documents tend to each paragraph numbered for future
>reference. I can number each one by using
>
>\defineenumeration[Point][location=inmargin,way=bysubsection,text=,headstyle
>=normal]
>
>and then in each paragraph inserting somewhere \Point somewhere once.
\setupparagraphnumbering[state=start]
>Another very minor point, the inmargin command right justifies the numbers
>is there a left justified inmargin version?
\starttext
\showframe
\setuplayout[margin=2cm,backspace=3cm,margindistance=.5cm]
\setupinmargin[left][align=right]
\setupparagraphnumbering[state=start,distance=0pt]
\inmargin{test} \dorecurse{10}{\input tufte \par}
\stoptext
BTW, There is a more generic paragraph hook but that one is not yet documented
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-09 19:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-28 8:40 Numbered Paragraphs Nigel King
2002-05-09 19:06 ` Hans Hagen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).