Changes

Jump to navigation Jump to search
no edit summary
<texcode>

\newcounter\Paracount
\setcounter\Paracount1

\def\Paragraphnumber%
{\increment\Paracount
\Paracount.~}

\def\startParagraphs%
{\par \begingroup \appendtoks \Paragraphnumber \to \everypar}

\def\stopParagraphs%
{\par \endgroup}

\starttext

Unnumbered text before.

\startParagraphs
This is the first numbered paragraph.

This is another paragraph. This is another
paragraph. This is another paragraph.
\stopParagraphs

Unnambered text after.
\stoptext
</texcode>
Anonymous user

Navigation menu