From: Hans Hagen Test <pragma@wxs.nl>
Subject: Re: saving cell content in macro
Date: Tue, 25 Oct 2005 01:27:02 +0200 [thread overview]
Message-ID: <435D6DC6.4050104@wxs.nl> (raw)
In-Reply-To: <Pine.LNX.4.58.0510131832500.3574@gaston.free.fr>
� wrote:
>Hello,
>how could I save the cell of a table in a macro?
>I tried the following, but it does not work:
>
>\starttext
>
>\def\StartScanning#1\StopScanning{\def\MyValue{#1}}
>
>\starttable[|b{\StartScanning}la{\StopScanning}|l|]
>\NC 123 \NC 456 \NC\AR
>\stoptable
>
>Test: \MyValue
>
>\stoptext
>
>TIA for any help, Peter
>
>
teh a/b keys are too tricky for this (preamble mess), so maybe do
something:
\starttext
\def\GC#1 {#1\gdef\MyValue{#1}}
\starttable[|l|l|]
\GC 123 \NC 456 \NC\AR
\stoptable
Test: \MyValue
\stoptext
prev parent reply other threads:[~2005-10-24 23:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-13 16:36 Peter Münster
2005-10-24 23:27 ` Hans Hagen Test [this message]
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=435D6DC6.4050104@wxs.nl \
--to=pragma@wxs.nl \
--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).