From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76948 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: problem with xtable Date: Sat, 16 Jun 2012 15:51:48 +0200 Message-ID: <022DF16C-AB67-4F81-AF28-C9B577A1A7EE@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: multipart/mixed; boundary="===============0409397215==" X-Trace: dough.gmane.org 1339854722 31910 80.91.229.3 (16 Jun 2012 13:52:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 16 Jun 2012 13:52:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 16 15:52:01 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SftPz-0008Be-1F for gctc-ntg-context-518@m.gmane.org; Sat, 16 Jun 2012 15:51:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6F730101E4; Sat, 16 Jun 2012 15:51:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id tN3t9SA3i2Vi; Sat, 16 Jun 2012 15:51:56 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D6CB8101E0; Sat, 16 Jun 2012 15:51:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6C6AD101E0 for ; Sat, 16 Jun 2012 15:51:55 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id OVg6N5jn-3VX for ; Sat, 16 Jun 2012 15:51:54 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 8AC02101DD for ; Sat, 16 Jun 2012 15:51:54 +0200 (CEST) Original-Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q5GDpr6l023664 for ; Sat, 16 Jun 2012 15:51:53 +0200 Original-Received: by wibhr14 with SMTP id hr14so330507wib.2 for ; Sat, 16 Jun 2012 06:51:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; bh=WUOVKgxygomHmwp66s0FQ8OptE2MWOk2ReY8DBM0eo0=; b=abDYBNzlw1nVp7tohJfR2nLwvXle7IdmiUOa3kuIVzTAwoFJuQiAaQpg0E/G46hH+5 qrmD14iX6zp4IdxMrVow3Mjawnf9XEnfZaTO53j+feXUx844E5rcB5LEYtHo9bdF3+j6 s7V/REQRA/cYTw7ny7niOre6ehCWnUjtWkbPSWTgQQ2P6u/xJ6AwCoi4ZaNaNiq1wHU7 zvz8pcgG3ege8XHhzWJ3g8SebNS29UEBtQ+aKjif5c75VJPswFv9aaPrws6lNKlLrVvg sMOV1Qb8d5abXhR7SgIgvEIjAtoPBBlqRSYPrWJP/2i+t8ob5Vj71nfnRv3lNOl+PArS +wJQ== Original-Received: by 10.180.8.41 with SMTP id o9mr11551405wia.0.1339854712976; Sat, 16 Jun 2012 06:51:52 -0700 (PDT) Original-Received: from [192.168.2.36] (p57AFB22C.dip.t-dialin.net. [87.175.178.44]) by mx.google.com with ESMTPS id et10sm10842684wib.2.2012.06.16.06.51.50 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 16 Jun 2012 06:51:52 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.179; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0THn1PR3G - 1ff83e6450fc - 20120616 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:76948 Archived-At: --===============0409397215== Content-Type: multipart/alternative; boundary="Apple-Mail=_97CD5EF7-1543-4EDE-AEB5-3173BAF42AD6" --Apple-Mail=_97CD5EF7-1543-4EDE-AEB5-3173BAF42AD6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Am 16.06.2012 um 12:24 schrieb Meer, H. van der: > Using \startxtable gives an error, whereas \startembeddedxtable does = not. What is the cause, what is the difference? That=92s a side effect of the implementation of the buffer mechanism = which is used by xtables, as a result of this you can=92t use buffer = environments in the argument of another command. > Error: Runaway argument? > \xmlflush {test::4}\stopxtable \endgroup=20 > \stoptext > ! File ended while scanning use of \buff_gobble. >=20 > Working: > \startxmlsetups xmlcommon:table=20 > \startembeddedxtable[ > \xmlflush{#1} > \stopembeddedxtable > \stopxmlsetups >=20 > Not working: > \startxmlsetups xmlcommon:table > \startxtable > \xmlflush{#1} > \stopxtable > \stopxmlsetups >=20 > Calling this with: > \usemodule[hvdm-xml] % contains simple definitions for =
through \startxcell etc. The version of your module on tlcontrib don=92t contain such = definitions. Wolfgang= --Apple-Mail=_97CD5EF7-1543-4EDE-AEB5-3173BAF42AD6 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
Using \startxtable gives an error, whereas \startembeddedxtable does = not. What is the cause, what is the difference?

That=92s a side effect = of the implementation of the buffer mechanism which is used by xtables, = as a result of this you can=92t use buffer environments in the argument = of another command.

Error: Runaway = argument?
\xmlflush {test::4}\stopxtable  \endgroup 
\stoptext
! File ended while scanning use of \buff_gobble.

Working:
\startxmlsetups xmlcommon:table 
\startembeddedxtable[
\xmlflush{#1}
\stopembeddedxtable
\stopxmlsetups

Not working:
\startxmlsetups xmlcommon:table