From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/93615 Path: news.gmane.org!not-for-mail From: "Meer, Hans van der" Newsgroups: gmane.comp.tex.context Subject: box'es do not spread out Date: Fri, 5 Feb 2016 19:34:52 +0000 Message-ID: <68007A53-9BE0-4BEE-A6B9-BCAFAEDC70EE@uva.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4392922641641611761==" X-Trace: ger.gmane.org 1454700942 7529 80.91.229.3 (5 Feb 2016 19:35:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2016 19:35:42 +0000 (UTC) To: NTG ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 05 20:35:31 2016 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 plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aRmAD-0005Ox-2T for gctc-ntg-context-518@m.gmane.org; Fri, 05 Feb 2016 20:35:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0A47D6868; Fri, 5 Feb 2016 20:35:06 +0100 (CET) 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 p7Chu3M62R1i; Fri, 5 Feb 2016 20:35:05 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 620396869; Fri, 5 Feb 2016 20:35:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 95CD26869 for ; Fri, 5 Feb 2016 20:35:04 +0100 (CET) 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 Hx1bnpW60EqR for ; Fri, 5 Feb 2016 20:35:03 +0100 (CET) Original-Received: from HUB01.uva.nl (hub01.uva.nl [146.50.108.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 84E6E6868 for ; Fri, 5 Feb 2016 20:34:53 +0100 (CET) Original-Received: from MBX02.uva.nl ([169.254.2.235]) by HUB01.uva.nl ([2002:9232:6737::9232:6737]) with mapi id 14.03.0266.001; Fri, 5 Feb 2016 20:34:53 +0100 Thread-Topic: box'es do not spread out Thread-Index: AQHRYExIU6SiR74r0UawxD7ooDwaFw== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [84.106.134.200] x-endpointsecurity-0xde81-ev: v:6.2.7.710, d:out, a:y, w:t, t:16, sv:1454685070, ts:1454700893 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:93615 Archived-At: --===============4392922641641611761== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_68007A539BE04BEEA6B9BCAFAEDC70EEuvanl_" --_000_68007A539BE04BEEA6B9BCAFAEDC70EEuvanl_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I am struggling with the following problem: Collect a number of boxes with: \global\setbox\placexcontent=3D\hbox{% \box\placexcontent % collection of previous boxes \box\placexbox % next box affixed to previous onse \hskip\placexdistanceskip % spearation, replacing by \hfill does not solve = problem }% Thus the incoming \placexbox'es are strung together separated by a skip. Later they are typeset centered as a whole with: \hbox to\textwidth{% % will be wider than the sum of the original box colle= ction \hss \box\placexcontent % or \unhbox, doesn't look different \unskip % unskip removes the last (extra) \hskip \hss % should succumb to \hskip 0pt plus1fill }% The problem is the following: (1) \placexdistanceskip=3D10pt boxes are separated neatly (2) \placexdistanceskip=3D0pt plus1fill BOXES DO NOT SPREAD OUT AS I EXPECT= ED THEM TO DO The flexible component does sadly not carry over to the final box, apparent= ly. Clearly my misunderstanding of working with boxes. Can this be solved easily? Hans van der Meer --_000_68007A539BE04BEEA6B9BCAFAEDC70EEuvanl_ Content-Type: text/html; charset="us-ascii" Content-ID: <46BE0B5F6585E9419A401E520350C611@uva.nl> Content-Transfer-Encoding: quoted-printable I am struggling with the following proble= m:

Collect a number of boxes= with:
\global\setbox\placexcontent=3D\hbox= {%
\box\placexcontent % collection of previous boxes
\box\placexbox % next box affixed to previous onse
\hskip\placexdistanceskip % spearation, replacing by \hfill does not solve problem
}%
Thus the incoming \placex= box'es are strung together separated by a skip.
Later they are typeset ce= ntered as a whole with:
\hbox to\textwidth{% % will be wider than the sum of the original box collection
\hss
= \box\placexcontent % or \unhbox, doesn't look different
\unskip % unskip removes the last (extra) \hskip
\hss % should succumb to \hskip 0pt plus1fill
}%

The problem is the follow= ing:
(1) \placexdistanceskip= =3D10pt boxes are separated neatly
(2) \placexdistanceskip=3D0pt plus1fill= BOXES DO NOT SPREAD= OUT AS I EXPECTED THEM TO DO
The flexible component do= es sadly not carry over to the final box, apparently.

Clearly my= misunderstanding of working with boxes.
Can this b= e solved easily?

Hans van der Meer




--_000_68007A539BE04BEEA6B9BCAFAEDC70EEuvanl_-- --===============4392922641641611761== 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= --===============4392922641641611761==--