ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: ntg-context@ntg.nl
Subject: Re: \recurselevel inside \bTABLE\eTABLE
Date: Sun, 17 Mar 2013 13:21:59 +0100	[thread overview]
Message-ID: <20130317132159.3110459e@iram-hb-003386.extra.cea.fr> (raw)
In-Reply-To: <FA25EFE8-8F19-42CF-BD71-3FCAFD6D3553@boede.nl>

On Sun, 17 Mar 2013 13:00:22 +0100
Willi Egger <context@boede.nl> wrote:

> Dear all,
> 
> I should prepare a form with a table. The table rows should be
> numbered. 
> 
> How can I get get this done by using \recurselevel.
> In the attached minimal example all rows are numbered with 0.
> 
> \starttext
> \subject{bTABLE--eTABLE: recurse creates rows}
> \bTABLE
> 	\dorecurse{3}
> 		{\bTR
> 			\bTD \recurselevel \eTD
> 		\eTR}
> \eTABLE
> 
> 
> What do i do wrongly here? 

\starttext
\subject{bTABLE--eTABLE: recurse creates rows}
\bTABLE
	\dorecurse{3}
		{\bTR
			\bTD #1 \eTD
		\eTR}
\eTABLE
\stoptext

Alan
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-03-17 12:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-17 12:00 Willi Egger
2013-03-17 12:21 ` Alan BRASLAU [this message]
2013-03-17 21:17 ` Wolfgang Schuster
2013-03-17 21:38   ` Aditya Mahajan
2013-03-17 21:49     ` Willi Egger
2013-03-17 21:52     ` Hans Hagen
2013-03-17 21:58       ` Willi Egger
2013-03-19  7:23         ` Wolfgang Schuster
2013-03-22 21:12           ` Willi Egger
2013-03-17 22:15   ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130317132159.3110459e@iram-hb-003386.extra.cea.fr \
    --to=alan.braslau@cea.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).