ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Peter Münster" <pmlists@free.fr>
Subject: help needed with special macro
Date: Thu, 17 Feb 2005 17:45:48 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.58.0502171741340.20903@gaston.free.fr> (raw)

Hello,
could someone help me please with the following little macro?
Every line in the table should be different, but all are as the last one.
I've tried a lot with commands like \expanded{} or \expandafter etc, but
without results...
Perhaps the only solution is a temporary file?

\newcount\MyVersion
\def\MyMacro#1{%
  \getgparameters[XXX][#1]
  \global\advance\MyVersion by 1
  \bTR\bTD \the\MyVersion \eTD \bTD \XXXDate \eTD\eTR
}
\starttext
\bTABLE
\bTR \bTD Version \eTD \bTD Date \eTD \eTR
\MyMacro{Date=1.2.2005}
\MyMacro{Date=3.4.2005}
\MyMacro{Date=5.6.2005}
\eTABLE
\stoptext

TIA for any hint!
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

             reply	other threads:[~2005-02-17 16:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-17 16:45 Peter Münster [this message]
2005-02-17 17:30 ` Hans Hagen
2005-02-17 18:22   ` Peter Münster
2005-02-18  9:39     ` Hans Hagen
2005-02-18 18:52       ` Peter Münster
2005-02-18 23:45         ` looking for a grammar checker in linux/tex/context - or alternative Ciro A. Soto
2005-02-21 12:09         ` help needed with special macro Hans Hagen
2005-02-21 17:25           ` Peter Münster

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=Pine.LNX.4.58.0502171741340.20903@gaston.free.fr \
    --to=pmlists@free.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).