From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/98762 Path: news.gmane.org!.POSTED!not-for-mail From: Mathias Schickel Newsgroups: gmane.comp.tex.context Subject: Re: \setupcombinations and the after-key Date: Wed, 9 Aug 2017 23:31:02 +0200 Message-ID: <5CEAFEB3-283C-4D58-9150-D361AC8DCCB3@fa.uni-tuebingen.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Content-Type: multipart/mixed; boundary="===============8837270018153023470==" X-Trace: blaine.gmane.org 1502314314 16730 195.159.176.226 (9 Aug 2017 21:31:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 9 Aug 2017 21:31:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 09 23:31:46 2017 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dfYZk-0003Sq-2L for gctc-ntg-context-518@m.gmane.org; Wed, 09 Aug 2017 23:31:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A20EB10511C; Wed, 9 Aug 2017 23:31:17 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EAHyBaLSvh-B; Wed, 9 Aug 2017 23:31:16 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id DB6C510512A; Wed, 9 Aug 2017 23:31:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 24B2410512A for ; Wed, 9 Aug 2017 23:31:16 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hjvwpGFjk7hp for ; Wed, 9 Aug 2017 23:31:14 +0200 (CEST) Original-Received: from mx04.uni-tuebingen.de (mx04.uni-tuebingen.de [134.2.5.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 349B610511C for ; Wed, 9 Aug 2017 23:31:03 +0200 (CEST) Original-Received: from math.uni-tuebingen.de (kyle.am10.uni-tuebingen.de [134.2.182.22]) by mx04.uni-tuebingen.de (Postfix) with ESMTPS id 4D50846BA6 for ; Wed, 9 Aug 2017 23:31:03 +0200 (CEST) Original-Received: from mathiass-mbp.fritz.box (aftr-185-17-206-56.dynamic.mnet-online.de [185.17.206.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: msch) by math.uni-tuebingen.de (Postfix) with ESMTPSA id 239501E003B for ; Wed, 9 Aug 2017 23:31:03 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.3273) 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:98762 Archived-At: --===============8837270018153023470== Content-Type: multipart/alternative; boundary="Apple-Mail=_768FF085-B4B3-49EA-87E1-F04974CC00F5" --Apple-Mail=_768FF085-B4B3-49EA-87E1-F04974CC00F5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 09.08.2017 um 21:18 schrieb Pablo Rodriguez : >=20 > On 08/09/2017 07:50 PM, Mathias Schickel wrote: >> Dear List, >>=20 >> it seems that the after key of the \setupcombinations-command is > broken. I am not able to get zero space between the cells. I have > attached a minimal example. Changing the after command does not have = any > effect at all. >=20 > Matthias, >=20 > inbetween is the key, after is relative to the combination, not to the > individual frames (or combined elements). >=20 > BTW, A4 is the default. No need to set it up. >=20 > In this sense, I think there is no need to set width and height in the > layout. Unless I miss something, the paper size sets both dimensions. >=20 > \setuplayout > [backspace=3D0pt, > topspace=3D0pt, > width=3Dmiddle, > height=3Dmiddle, > location=3Dmiddle, > header=3D0pt, > footer=3D0pt] > \setupcombinations[distance=3D0mm, inbetween=3D] > \starttext > \startcombination[2*2]% > {{\framed[width=3D.5\textwidth, > height=3D.5\textheight]{1}}} > {{\framed[width=3D.5\textwidth, > height=3D.5\textheight]{2}}} > {{\framed[width=3D.5\textwidth, > height=3D.5\textheight]{3}}} > {{\framed[width=3D.5\textwidth, > height=3D.5\textheight]{4}}} > \stopcombination > \stoptext >=20 > Just in case it helps, >=20 Hi Pablo, thank you a lot! This was really helpful. Maybe the garden page should = be altered then. If you have a look at http://wiki.contextgarden.net/Command/setupcombinations = you get the impression that =E2=80=9Eafter=E2=80=9C is the key I was = looking for because the page says: Suppressing both the horizontal and vertical gap between cells: \setupcombinations[distance=3D0mm,after=3D] a 10mm horizontal and vertical gap between cells: \setupcombinations[distance=3D10mm,after=3D{\blank[10mm]}] Best, and thanks again, Mathias > Pablo > --=20 > http://www.ousia.tk > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > maillist : ntg-context@ntg.nl / = http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > = __________________________________________________________________________= _________ --Apple-Mail=_768FF085-B4B3-49EA-87E1-F04974CC00F5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
Am 09.08.2017 um 21:18 schrieb Pablo Rodriguez <oinos@gmx.es>:

On = 08/09/2017 07:50 PM, Mathias Schickel wrote:
Dear List,

it = seems that the after key of the \setupcombinations-command is
broken. I am not able to get zero space between = the cells. I have
attached a minimal example. Changing the = after command does not have any
effect at all.

Matthias,

inbetween= is the key, after is relative to the combination, not to the
individual frames (or combined elements).

BTW, A4 is the default. No need to set it up.
In this sense, I think there is no need to set width and = height in the
layout. Unless I miss something, the paper = size sets both dimensions.

=    \setuplayout
=      [backspace=3D0pt,
=        topspace=3D0pt,
=           width=3Dmiddle= ,
=          height=3Dmiddle,
=        location=3Dmiddle,
=          header=3D0pt,
=          footer=3D0pt]
   \setupcombinations[distance=3D0mm, = inbetween=3D]
   \starttext
=    \startcombination[2*2]%
=    {{\framed[width=3D.5\textwidth,
=            height=3D= .5\textheight]{1}}}
=    {{\framed[width=3D.5\textwidth,
=            height=3D= .5\textheight]{2}}}
=    {{\framed[width=3D.5\textwidth,
=            height=3D= .5\textheight]{3}}}
=    {{\framed[width=3D.5\textwidth,
=            height=3D= .5\textheight]{4}}}
   \stopcombination
   \stoptext

Just = in case it helps,


Hi = Pablo,

thank you a lot! This was = really helpful. Maybe the garden page should be altered then. If you = have a look at

http://wiki.contextgarden.net/Command/setupcombinations

you get the impression that =E2=80=9Eafte= r=E2=80=9C is the key I was looking for because the page = says:

  • Suppressing = both the horizontal and vertical gap between cells:
\setupcombinations[distance=3D0mm,after=3D]
  • a 10mm = horizontal and vertical gap between cells:
\setupcombinations[distance=3D10mm,after=3D{\blank[10mm]}]

Best, and thanks again,
Mathias


Pablo
--
http://www.ousia.tk
_______________________________________________________________= ____________________
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://context.aanhet.net
archive  : = https://bitbucket.org/phg/context-mirror/commits/
wiki =     : http://contextgarden.net
_______________________________________________________________= ____________________

= --Apple-Mail=_768FF085-B4B3-49EA-87E1-F04974CC00F5-- --===============8837270018153023470== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8837270018153023470==--