From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96867 Path: news.gmane.org!.POSTED!not-for-mail From: Rik Newsgroups: gmane.comp.tex.context Subject: Re: hsize changes unexpectedly Date: Sun, 20 Nov 2016 12:37:21 -0500 Message-ID: References: <00cd1fa5-9a49-ac35-b7cc-23c26d91d9f8@wxs.nl> <5831DA88.6060605@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1314458259976549509==" X-Trace: blaine.gmane.org 1479663476 2479 195.159.176.226 (20 Nov 2016 17:37:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 20 Nov 2016 17:37:56 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 20 18:37:51 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 blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c8W3r-0007e9-KN for gctc-ntg-context-518@m.gmane.org; Sun, 20 Nov 2016 18:37:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6E7A01EB41; Sun, 20 Nov 2016 18:37:39 +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 24vZfUwUoXk2; Sun, 20 Nov 2016 18:37:38 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id A704E1EB74; Sun, 20 Nov 2016 18:37:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 3ACB91EB72 for ; Sun, 20 Nov 2016 18:37:38 +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 nKvbo7NLb1kG for ; Sun, 20 Nov 2016 18:37:37 +0100 (CET) Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 1934D1EB41 for ; Sun, 20 Nov 2016 18:37:26 +0100 (CET) Original-Received: from [192.168.201.10] (cpe-24-194-22-135.nycap.res.rr.com [24.194.22.135]) by mailbackend.panix.com (Postfix) with ESMTPSA id D489913735 for ; Sun, 20 Nov 2016 12:37:23 -0500 (EST) In-Reply-To: <5831DA88.6060605@gmail.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:96867 Archived-At: This is a multi-part message in MIME format. --===============1314458259976549509== Content-Type: multipart/alternative; boundary="------------263497C4B5E0EDC284DED6C1" This is a multi-part message in MIME format. --------------263497C4B5E0EDC284DED6C1 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 2016-11-20 12:16, Wolfgang Schuster wrote: >> Rik Kabel >> 20. November 2016 um 17:49 >> >> Okay. >> >> What is the scope of local use? > It’s used to change the width of a \vbox. > > \starttext > > \ruledvbox\bgroup > \input ward > \egroup > > \ruledvbox\bgroup > \hsize.5\textwidth > \input ward > \egroup > > \stoptext > >> It is different from grouping (as demonstrated by placing the middle >> two lines above in braces). > Which example? > > Wolfgang Sorry, the example at the head of the thread. Originally: \starttext \hsize200pt \dorecurse{60}{\recurselevel: \the\hsize\ \the\textwidth\par} \stoptext And with the \hsize in a group : \starttext {\hsize200pt \dorecurse{60}{\recurselevel: \the\hsize\ \the\textwidth\par}} \stoptext I did not expect it to change the result, and it does not. So I was asking just what Hans meant by “local use.” -- Rik --------------263497C4B5E0EDC284DED6C1 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 2016-11-20 12:16, Wolfgang Schuster wrote:
20. November 2016 um 17:49

Okay.

What is the scope of local use?
It’s used to change the width of a \vbox.

\starttext

\ruledvbox\bgroup
    \input ward
\egroup

\ruledvbox\bgroup
    \hsize.5\textwidth
    \input ward
\egroup

\stoptext

It is different from grouping (as demonstrated by placing the middle two lines above in braces).
Which example?

Wolfgang

Sorry, the example at the head of the thread. Originally:
\starttext
   \hsize200pt
   \dorecurse{60}{\recurselevel: \the\hsize\ \the\textwidth\par}
 \stoptext

And with the \hsize in a group :
\starttext
   {\hsize200pt
   \dorecurse{60}{\recurselevel: \the\hsize\ \the\textwidth\par}}
 \stoptext

I did not expect it to change the result, and it does not. So I was asking just what Hans meant by “local use.”

--
Rik

  


--------------263497C4B5E0EDC284DED6C1--

--===============1314458259976549509==
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

--===============1314458259976549509==--