Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 962c0a1a7c090461b11b26cc6a6b38bf > files > 50

yodl-1.31.18-8mdk.ppc.rpm

<! banner_id >


Before a counter can be used, it must be created with the macro
<code>NEWCOUNTER</code>. This macro expects one parameter list: the name of the
counter. The initial value of the counter is set to zero.

As for an example, let's say that our macro package should provide two
sectioning commands: <code>section</code> and <code>subsection</code>. The sections should be
numbered 1, 2, etc., and the subsections 1.1, 1.2, 1.3 etc.. Hence we'd need
two counters:

<pre>
NEWCOUNTER(sectcounter)
NEWCOUNTER(subsectcounter)
</pre>

<!--

if this file ./Documentation/footer.html.in is present, it is included

automatically by add-html-footer, and replaces the simple standard
footer substitutions:

 * index,
 * package name
 * package name
 * ENV:WEBMASTER,
 * ENV:WEBMASTER

-->

<hr>
Go <a href=>back</a> to index of Yodl.

<p>
Please send Yodl questions and comments to 

<a href="mailto:yodl@icce.rug.nl">
<em>yodl@icce.rug.nl</em></a>.
<p>

<!-- package Yodl Yodl -->

Please send comments on these web pages to 
<a href="mailto:(address unknown)"><em>(address unknown)</em></a>



<p>

Copyright (c) 1997, 1998, 1999 Karel Kubat and Jan Nieuwenhuizen.

<p>

Verbatim copying and distribution of this entire article is 
permitted in any medium, provided this notice is preserved.<p>

<hr><font size=-1>
This page was built from Yodl-1.31.18 by 
<address><br>Stew Benedict &lt<a href=\"mailto:(address unknown)\">(address unknown)</a>&gt,  Sat Jan 18 18:43:45 2003 EST.</address><p></font></BODY>
</html>