From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/89078 Path: news.gmane.org!not-for-mail From: Bryor Snefjella Newsgroups: gmane.comp.tex.context Subject: \placetable whitespace problem in columnset Date: Fri, 31 Oct 2014 15:31:41 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1260133323==" X-Trace: ger.gmane.org 1415001166 15240 80.91.229.3 (3 Nov 2014 07:52:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2014 07:52:46 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 03 08:52:40 2014 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 1XlCRM-0004pA-BB for gctc-ntg-context-518@m.gmane.org; Mon, 03 Nov 2014 08:52:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 963A21022C for ; Mon, 3 Nov 2014 08:52:39 +0100 (CET) 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 t0d7aLSA17_A for ; Mon, 3 Nov 2014 08:52:38 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 779F810236 for ; Mon, 3 Nov 2014 08:52:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D02F3101E8 for ; Fri, 31 Oct 2014 20:31:44 +0100 (CET) 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 s6bcntKYFTC6 for ; Fri, 31 Oct 2014 20:31:44 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 0F99D101E4 for ; Fri, 31 Oct 2014 20:31:44 +0100 (CET) Original-Received: from mail-qa0-x242.google.com (mail-qa0-x242.google.com [IPv6:2607:f8b0:400d:c00::242]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s9VJVTSw030541 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Fri, 31 Oct 2014 20:31:30 +0100 Original-Received: by mail-qa0-f66.google.com with SMTP id bm13so1014411qab.1 for ; Fri, 31 Oct 2014 12:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=TQBqSuMORSWcFBbLewubDfWqUrtlVgdUjegsu9HdmYQ=; b=NcqprBEmPdbgZuP+Nbi6NXEaPo68LUIZsVii1spwKnSmWD0zWZer6QATbaxBistv16 o9rxAvIW99UusCq10r7Vghim2HLY/31kKgDaA2LkWcyzJNnBH1Dx8A2DWOMKcTVbZ+Ia uZonO2eu448d7f3flpdNQS0O/rIqUPddZxLauYLSYOSbqCvt9oZnolndNQzOoy0zd7np fQZ1HxQCcTzL8m/Nsi8pr8Vz9GnyZgU8O2rw/chkJy73NRl+BTAveRtr1u+Lmg0VzUDq BPv/UT0BxZJrQQYAO22+CHQuDW9/JPPejCpSxbbMbC0TWhu9qqYtk+/4EoGxZeFcCqDt 6+8Q== X-Received: by 10.224.75.197 with SMTP id z5mr779112qaj.2.1414783901743; Fri, 31 Oct 2014 12:31:41 -0700 (PDT) Original-Received: by 10.140.37.101 with HTTP; Fri, 31 Oct 2014 12:31:41 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400d:c00::242; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07N9Tvuzi - 9a9634ff7afd - 20141031 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-Mailman-Approved-At: Mon, 03 Nov 2014 08:52:09 +0100 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:89078 Archived-At: --===============1260133323== Content-Type: multipart/alternative; boundary=001a11c2fe6ee5bf130506bd0b34 --001a11c2fe6ee5bf130506bd0b34 Content-Type: text/plain; charset=UTF-8 I have a document using columnsets to place tables near an entry in a long list of sorts. The problem is that wherever I issue a \placetable \placefigure etc command, I get unwanted extra whitespace between entries where the command is issued. I have tried changing the parameters in \setupfloats, but haven't found a setting that works. I'm using the context version distributed with the latest texlive. You can see the extra whitespace between entry Q and R in this example. \definecolumnset[TwoColumns][n=2,distance=0.04\makeupwidth] \setupindenting[yes, small] \setupfloats[before=,after=] \definedescription [MyEntry][alternative=serried,width=fit,before=\indentation,indenting=yes] \unexpanded\def\MyCommand#1#2#3% {\startMyEntry{\bi#2:}#3\stopMyEntry} \definesorting[My][Mys] \starttext \startcolumnset[TwoColumns] \definecolumnsethsize{TwoColumns}{1}{1}\One \startbuffer \placetable[lrtb][tab:mytable]{My Table}{ \bTABLE[option=stretch,textwidth=\One,align=middle] \bTR\bTH Foo \eTH\bTH Bar \eTH\eTR \bTR\bTD Bar \eTD\bTD Foo \eTD\eTR \bTR\bTD Foo \eTD\bTD Bar \eTD\eTR \eTABLE} \stopbuffer \My[Q]{\input knuth\getbuffer} \My[R]{\input knuth} \My[C]{\input knuth} \My[A]{\input knuth} \placelistofsorts[My][criterium=all,command=\MyCommand] \stopcolumnset \stoptext --001a11c2fe6ee5bf130506bd0b34 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I have a document using columnsets to place tables ne= ar an entry in a long list of sorts. The problem is that wherever I issue a= \placetable \placefigure etc command, I get unwanted extra whitespace betw= een entries where the command is issued. I have tried changing the paramete= rs in \setupfloats, but haven't found a setting that works.

I'm using the context version distributed with the latest texliv= e.

You can see the extra whitespace between entry Q= and R in this example.

\definecolumnset[TwoColumns][n=3D2,dist= ance=3D0.04\makeupwidth]

\setupindenting[yes, small]


\setupfloats[before=3D,after=3D]


\definedescription

[MyEntry][alternative=3Dserried,wi= dth=3Dfit,before=3D\indentation,indenting=3Dyes]

\unexpanded\def\MyCommand#1#2#3%

{\startMyEntry{\bi#2:}#3\stopMyEn= try}


\definesorting[My][Mys]




\starttext

\startcolumnset[TwoColumns]


\definecolumnsethsize{TwoColumns}{1= }{1}\One


\startbuffer

\placetable[lrtb][tab:mytable]{My T= able}{

\bTABLE[option=3Dstretch,textwidth= =3D\One,align=3Dmiddle]

\bTR\bTH Foo \eTH\bTH Bar \eTH\eTR=

\bTR\bTD Bar \eTD\bTD Foo \eTD\eTR<= /p>

\bTR\bTD Foo \eTD\bTD Bar \eTD\eTR=

\eTABLE}

\stopbuffer




\My[Q]{\input knuth\getbuffer}

\My[R]{\input knuth}

\My[C]{\input knuth}

\My[A]{\input knuth}


\placelistofsorts[My][criterium=3Da= ll,command=3D\MyCommand]


\stopcolumnset

\stoptext

--001a11c2fe6ee5bf130506bd0b34-- --===============1260133323== 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= --===============1260133323==--