From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/117071 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Denis Maier via ntg-context Newsgroups: gmane.comp.tex.context Subject: Bug with \startnarrow? Date: Thu, 23 Feb 2023 10:14:05 +0000 Message-ID: <70dd20629e2f4dd0b14d87212615257d@unibe.ch> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3367025683683450424==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6458"; mail-complaints-to="usenet@ciao.gmane.io" Cc: denis.maier@unibe.ch To: Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 23 11:14:42 2023 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pV8ca-0001SL-4U for gctc-ntg-context-518@m.gmane-mx.org; Thu, 23 Feb 2023 11:14:40 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id DB9B0380613; Thu, 23 Feb 2023 11:14:12 +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 fBQqwTQWenQa; Thu, 23 Feb 2023 11:14:11 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 1EF55380528; Thu, 23 Feb 2023 11:14:11 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E8E9D3804E0 for ; Thu, 23 Feb 2023 11:14:08 +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 5D5B3v0U3_FJ for ; Thu, 23 Feb 2023 11:14:07 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=130.92.0.84; helo=mailhub-lb3.unibe.ch; envelope-from=denis.maier@unibe.ch; receiver= Original-Received: from mailhub-lb3.unibe.ch (mailhub-lb3.unibe.ch [130.92.0.84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3E3B43804DE for ; Thu, 23 Feb 2023 11:14:07 +0100 (CET) X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-02.campus.unibe.ch [130.92.13.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb3.unibe.ch (Postfix) with ESMTPS id C7CD95000E2 for ; Thu, 23 Feb 2023 11:14:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unibe.ch; s=mgwsel1; t=1677147245; bh=qWvURXfjJ4fs+9Lhj/EviPD6xiZlB9Zy9MI8zVr4b0I=; h=From:To:Subject:Date:From; b=nWBJisho2FWly+S0/8VQgjnaQSA5YP0z22/yG2sdw/lVX3QAPdacWX33pX3y/V0Ic X+IvA9aIVluew79duvDnxUfzOLKu83xXA3saSXtchU3cY7VX1j5Jr0LGl3gD3iaiH2 QlAdsvSwSXGKZ52Z+Qw77dCd8NrmSSxeGowk/btOFMQxYS6nGzXwdO6THaFnuSYEl8 OT1uNJ2wT9YIqU0C/53w4doovVDbDcWUvakfrJifVdLQAAXnDKIgKQyNhyvwFK9ran kQ054SWwMrc1ZS6XBeRVkvCE0xqwqPrv4R/xWvcbkPMuE2zy+oc5554xRL8pNlMm2f Q38MMry47/WfQ== Original-Received: from aai-mail-03.campus.unibe.ch (130.92.13.41) by AAI-EDGE-02.campus.unibe.ch (130.92.13.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P256) id 15.1.2507.21; Thu, 23 Feb 2023 11:13:59 +0100 Original-Received: from aai-mail-03.campus.unibe.ch (130.92.13.41) by aai-mail-03.campus.unibe.ch (130.92.13.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P256) id 15.1.2507.21; Thu, 23 Feb 2023 11:14:05 +0100 Original-Received: from aai-mail-03.campus.unibe.ch ([172.18.73.17]) by aai-mail-03.campus.unibe.ch ([172.18.73.17]) with mapi id 15.01.2507.021; Thu, 23 Feb 2023 11:14:05 +0100 Thread-Topic: Bug with \startnarrow? Thread-Index: AdlHbswnERVEsInZQY2U5EFY0exJGA== Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [172.18.72.2] X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:117071 Archived-At: --===============3367025683683450424== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_70dd20629e2f4dd0b14d87212615257dunibech_" --_000_70dd20629e2f4dd0b14d87212615257dunibech_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, While doing some more tests with my example from yesterday (tables in \star= tnarrow), I've realized that the example from the wiki doesn't seem to quit= e work as expected: %%%%%%%%%%%%%%%%%% \starttext Some text before \startnarrow[left=3D2cm,right=3D1cm,before=3D{\blank[2*line]},after=3D{\bla= nk[halfline]}] narrower text \stopnarrow some text after \stoptext %%%%%%%%%%%%%%%%%% Already here, the extra margins on both sides seem to be equal. Changing th= e size of the left extra margin has no effect at all. %%%%%%%%%%%%%%%%%% \starttext \startnarrow[left=3D10cm,right=3D2cm] \input ward \stopnarrow but: \setupnarrower[left=3D5cm, right=3D2cm] \startnarrower[left,right] \input ward \stopnarrower \stoptext %%%%%%%%%%%%%%%%%% Is this a bug or intended behaviour ? Best, Denis --_000_70dd20629e2f4dd0b14d87212615257dunibech_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

While doing some more tests with my example from yes= terday (tables in \startnarrow), I’ve realized that the example from = the wiki doesn’t seem to quite work as expected:

 

%%%%%%%%%%%%%%%%%%

\starttext

Some text before

\startnarrow[left=3D2cm,right=3D1cm,before=3D{\blank= [2*line]},after=3D{\blank[halfline]}]

narrower text

\stopnarrow

some text after

\stoptext

%%%%%%%%%%%%%%%%%%

 

Already here, the extra margins= on both sides seem to be equal. Changing the size of the left extra margin= has no effect at all.

 

%%%%%%%%%%%%%%%%%%

\starttext

\startnarrow[left=3D10cm,right=3D2cm]

\input ward

\stopnarrow

 

but:

 

\setupnarrower[left=3D5cm, right=3D2cm]

\startnarrower[left,right]

\input ward

\stopnarrower

\stoptext

%%%%%%%%%%%%%%%%%%

 

Is this a bug or intended behav= iour ?

 

Best,

Denis

--_000_70dd20629e2f4dd0b14d87212615257dunibech_-- --===============3367025683683450424== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============3367025683683450424==--