ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "\"Stefan Müller\"" <warrence.stm@gmx.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: xtables in custom macros
Date: Thu, 03 Nov 2011 23:01:43 +0100	[thread overview]
Message-ID: <20111103220143.44520@gmx.net> (raw)
In-Reply-To: <C0EA7DE6-5E85-4681-91EE-3EF50B1825C7@googlemail.com>

> Am 03.11.2011 um 20:37 schrieb Stefan Müller:
> 
> > Hi list,
> > 
> > I just played a bit with the nice new xtables.  It seems as if
> "\stopxtable" does not work if used inside a custom macro.  I get a "Runaway
> argument" error with the current standalone if I uncomment "\Doesnt" in the
> following example.
> > 
> > \define\Works{\startxtable \startxrow \startxcell works \stopxcell
> \stopxrow}
> > \define\Doesnt{\startxtable \startxrow \startxcell does not work
> \stopxcell \stopxrow \stopxtable}
> > 
> > \starttext
> > \Works \stopxtable
> > %\Doesnt
> > \stoptext
> > 
> > Did I miss something or is this a bug?
> 
> The stable environment stores the content in a buffer and you can’t
> put the start and stop commands of a buffer in different commands.
> 
> Wolfgang

I'm not sure if I understood correctly...  I don't want to put the start and stop commands in different commands.  In the example I want to have \startxtable and \stopxtable inside the same command ("\Doesnt"), i.e. I want a self-defined command that produces a complete xtable, not only the xrows.

Stefan
-- 


_______
ey, leute, ich hab so lange gebraucht um mir plan a auszudenken, fragt jetzt doch nicht auch 
noch nach plan b!

Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
___________________________________________________________________________________
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:[~2011-11-03 22:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-03 19:37 "Stefan Müller"
2011-11-03 19:44 ` Wolfgang Schuster
2011-11-03 22:01   ` "Stefan Müller" [this message]
2011-11-04  9:38     ` Hans Hagen
2011-11-04 10:11       ` Thomas A. Schmitz
2011-11-04 12:48         ` Hans Hagen
2011-11-04 21:44           ` Thomas A. Schmitz
2011-11-06  9:43             ` Thomas A. Schmitz
2011-11-04 17:18       ` "Stefan Müller"
2011-11-04 17:47         ` Hans Hagen

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=20111103220143.44520@gmx.net \
    --to=warrence.stm@gmx.de \
    --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).