* Re: \setups and \defineXML...
[not found] <000c01c0fdbd$b56deba0$467587d9@tigger>
@ 2001-06-26 7:57 ` Hans Hagen
0 siblings, 0 replies; only message in thread
From: Hans Hagen @ 2001-06-26 7:57 UTC (permalink / raw)
Cc: ntg-context
At 10:27 PM 6/25/01 +0100, Christopher Tipper wrote:
>\defineXMLenvironment [copyright]
> {\bgroup
> \defineXMLpush[year]
> \defineXMLpush[owner]}
> {\expanded%
> {\eCopyright{\XMLpop{year}}{\XMLpop{owner}}}
> \egroup}
the problem is that you use a group. A dirty trick is
\expanded
{\egroup
\noexpand\eCopyright{...}{...}}
or you can save the data, using \xdef\CopyrightYear{\XMLpush{year}} and use
the var later on or even in de macro def, kind of
\def\CopyrightYear{\currentdate[year]}
\def\eCopyright%
{.....\CopyrightYear}
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-06-26 7:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <000c01c0fdbd$b56deba0$467587d9@tigger>
2001-06-26 7:57 ` \setups and \defineXML Hans Hagen
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).