From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91601 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: embeddedxtable Date: Mon, 25 May 2015 12:55:56 +0200 Message-ID: <9DA24D57-7683-48E1-862C-450D3CC4E1BB@gmail.com> References: <9527BE42-D3DE-4097-819D-692A094F270A@uva.nl> <839037E1-7F7B-4633-A1C4-7B67436EDCD9@uva.nl> <63FDF106-1AE7-4F27-9198-97AD3976602D@uva.nl> <0D7ACAF3-3C6F-4FAD-BB61-4CC74397AEC5@uva.nl> <16315B5D-F25C-4703-83EE-4A3E1C2A762D@uva.nl> <81F6CB25-5CDC-404F-BEC1-38E82499C1D4@uva.nl> <9B18EC0F-CCBF-483F-875E-5F097EBD8908@uva.nl> <6B34903A-A803-4592-91BC-23CD84E80CE7@gmail.com> <43EA352E-AA79-454C-A7DE-3BF9D680EA35@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/mixed; boundary="===============2057637188==" X-Trace: ger.gmane.org 1432551415 22635 80.91.229.3 (25 May 2015 10:56:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 May 2015 10:56:55 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 25 12:56:43 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ywq3m-0004Cm-M8 for gctc-ntg-context-518@m.gmane.org; Mon, 25 May 2015 12:56:42 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D78BE101FA for ; Mon, 25 May 2015 12:56:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id B14r5DjtaBIJ for ; Mon, 25 May 2015 12:56:40 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7160510232 for ; Mon, 25 May 2015 12:56:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7EB77101FA for ; Mon, 25 May 2015 12:56:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZvFJqawiYd02 for ; Mon, 25 May 2015 12:56:03 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 55E47101E8 for ; Mon, 25 May 2015 12:56:03 +0200 (CEST) Original-Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t4PAu2cD026649 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 25 May 2015 12:56:02 +0200 Original-Received: by wizk4 with SMTP id k4so44685099wiz.1 for ; Mon, 25 May 2015 03:56:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :to:in-reply-to; bh=EjFhKtr2POIaAtAcGjfJSFxKSQ4l3aAhOkDIp9oeT44=; b=VmVbuwsokSsOe2lYtJ/jY40NhUgQxMYR6pkixAC2ak0jj3Snxj9llq1BhAoq+1UE/Y MLltABAWCSTubqsvmqqrgT+ZGJlMkTiK58nlv8aJVm+ZjXSptJ9NOj1IIOGz7KzAnH0V 2bq4ZdyeGeAX2J/0u4ri+xGl5o3sWs8enHDuxlhMoycPhkEhCSJI0PJBkvyDEpQTBQwT q4Mimj0Tb+5gxVzFv9BnV54X5YzIYE9G4J49WwWf8OlgAs4PlXRrv2FnDrgxIBfwJx8b RQh6eK2RKzrKIICHwBYFrYxPJdAzP32kAGxV7VphVHOfN/sAbivjjtGdWc5/uBFpeRcR eczQ== X-Received: by 10.180.20.115 with SMTP id m19mr30811055wie.11.1432551362049; Mon, 25 May 2015 03:56:02 -0700 (PDT) Original-Received: from keima.localdomain (x2f2ad87.dyn.telefonica.de. [2.242.173.135]) by mx.google.com with ESMTPSA id xy5sm16180028wjc.35.2015.05.25.03.56.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 May 2015 03:56:01 -0700 (PDT) In-Reply-To: <43EA352E-AA79-454C-A7DE-3BF9D680EA35@uva.nl> X-Mailer: Apple Mail (2.2098) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2a00:1450:400c:c05::230; country=BE; region=Brussels Capital; city=Brussels; latitude=50.8466; longitude=4.3528; http://maps.google.com/maps?q=50.8466,4.3528&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03OwaU2mR - 50dbbb713ff3 - 20150525 (trained as not-spam) Received-SPF: pass (filter3-ams.mf.surf.net: domain of schuster.wolfgang@gmail.com designates 2a00:1450:400c:c05::230 as permitted sender) receiver=filter3-ams.mf.surf.net; client-ip=2a00:1450:400c:c05::230; envelope-from=; helo=mail-wi0-x230.google.com; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:91601 Archived-At: --===============2057637188== Content-Type: multipart/alternative; boundary="Apple-Mail=_1CB4FAF2-5C0B-4C81-A550-4B6B601D72E8" --Apple-Mail=_1CB4FAF2-5C0B-4C81-A550-4B6B601D72E8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 25.05.2015 um 10:35 schrieb Meer, H. van der : >=20 >=20 >> On 24 May 2015, at 22:53, Wolfgang Schuster = > = wrote: >>=20 >>=20 >> The spaces in the output are produced by the spaces between the tags = (\xmlstrip doesn=E2=80=99t seem to work) >> and you have to use a combination of \removeunwantedspaces and = \ignorespaces to remove them. >>=20 >=20 > It is a pity if \xmlstrip does not work. It is of course fairly = essential that the whitespace between the tags can be ignored. I = sincerely hope this will be looked into. Or could this be a special = effect related to either the use of a buffer as source or to the = embeddedxtable structure? >=20 > However, it doesn't seem the whole story. I removed all whitespace = between the tags and the \unskip's from the code. In the result below = you can see that removing the whitespace between the tags removes most = of the spurious spaces, but not all of them. Another picture has the =3D = embedded before the \xmlflush in \startrow and shows that still spurious = space is injected. To me it looks if every row gets an extra space: = three of them before the table and the last one after the table (but = here I am guessing). I removed the =E2=80=9Ctbody=E2=80=9D tag from my example which adds = another space. Wolfgang --Apple-Mail=_1CB4FAF2-5C0B-4C81-A550-4B6B601D72E8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Am 25.05.2015 um 10:35 schrieb Meer, H. van der <H.vanderMeer@uva.nl>:


On 24 May 2015, at 22:53, Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:


The spaces in the output are produced by the spaces between the tags = (\xmlstrip doesn=E2=80=99t seem to = work)
and you have to use a combination of \removeunwantedspaces and = \ignorespaces to remove them.


It is a pity if \xmlstrip does not work. It is of course = fairly essential that the whitespace between the tags can be ignored. I = sincerely hope this will be looked into. Or could this be a special = effect related to either the use of a buffer as source or to the embeddedxtable structure?

However, it doesn't seem the whole story. I removed all = whitespace between the tags and the \unskip's from the code. In the = result below you can see that removing the whitespace between the tags = removes most of the spurious spaces, but not all of them. Another picture has the =3D embedded before the \xmlflush in = \startrow and shows that still spurious space is injected. To me it = looks if every row gets an extra space: three of them before the table = and the last one after the table (but here I am guessing).

I removed the = =E2=80=9Ctbody=E2=80=9D tag from my example which adds another = space.

Wolfgang

= --Apple-Mail=_1CB4FAF2-5C0B-4C81-A550-4B6B601D72E8-- --===============2057637188== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============2057637188==--