From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23004 invoked from network); 8 Jan 2024 22:20:05 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 8 Jan 2024 22:20:05 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id C499A48393D for ; Mon, 8 Jan 2024 23:18:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id krUD26boJ1QL for ; Mon, 8 Jan 2024 23:18:09 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 25A9A483C98 for ; Mon, 8 Jan 2024 23:17:14 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 7CC01481444 for ; Mon, 8 Jan 2024 23:16:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24zU1aaAoytx for ; Mon, 8 Jan 2024 23:16:28 +0100 (CET) Received: from ewsoutbound.kpnmail.nl (ewsoutbound.kpnmail.nl [195.121.94.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 516B7481433 for ; Mon, 8 Jan 2024 23:16:28 +0100 (CET) X-KPN-MessageId: 7bbef0bb-ae73-11ee-8347-005056ab378f Received: from smtp.kpnmail.nl (unknown [10.31.155.39]) by ewsoutbound.so.kpn.org (Halon) with ESMTPS id 7bbef0bb-ae73-11ee-8347-005056ab378f; Mon, 08 Jan 2024 23:15:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=xs4all01; h=content-type:from:to:subject:mime-version:date:message-id; bh=zKHOOY5EpgAN3EjywxdDClnXY55NHCueNJLnlYVJ2lw=; b=jguRjHLkilVkM8pz/tHatU1EDc//m4tg6tc5xSkXW/iuano/o0JG+ktfOwj1p+94fCOk0MxWZD0Yp qVCEWqsyhfk2Scx3P6RNzOn5j+eOEKjZbUQ2VJ2GfTpM+XHbQxJ3/9Cqu0x/gKf3Yoh3Vng1kDFprk StlaxWPILzYa2Hks9nxT9S+edOY8/omVGsNrsNbIhfIQ2X3xEWBN3R2qpLn0ewJR1z2kafTksZsW4X zVQLFYo3pMLwoKbxyrl1hm5Bc5Wh4Q9L3rjduMRNDPw/EmzhjLoajV4dW47jrtRjgwErYNtuinhzzU BWd1XWZ0wVk1gSw73fOlYqiZP1knCqg== X-KPN-MID: 33|G1SmW/nipr2w8GhKcWdJ/2cMtH2x1h1wp2bE1+lu3RN/7EEUxo+2wxs76VTHWzT lMap/+36ZzdpS8ZK/hc/Tei5spKB9y12UnvzKYd3oHMg= X-KPN-VerifiedSender: Yes X-CMASSUN: 33|lFd1Ae2q0uV4uIC+NR6Ct0UGZWa2uKiZO7wPpDWZBLu3zyrkuwKUAqR8ndGwtmz mrpa1ShHETy34xFjsbKpl+g== X-Originating-IP: 213.125.29.162 Received: from [10.100.1.105] (d57d1da2.static.ziggozakelijk.nl [213.125.29.162]) by smtp.xs4all.nl (Halon) with ESMTPSA id 912ca9e6-ae73-11ee-a7c4-005056ab7447; Mon, 08 Jan 2024 23:16:27 +0100 (CET) Message-ID: <783d0576-1441-4235-bdc7-f02432bec379@xs4all.nl> Date: Mon, 8 Jan 2024 23:16:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: ntg-context@ntg.nl References: <170475151639.1645.1665703741655488372@cgl.ntg.nl> From: Hans Hagen In-Reply-To: <170475151639.1645.1665703741655488372@cgl.ntg.nl> Message-ID-Hash: BE46O22QHIZNYR4KXE3X7PH66FK2VA35 X-Message-ID-Hash: BE46O22QHIZNYR4KXE3X7PH66FK2VA35 X-MailFrom: j.hagen@xs4all.nl X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: Why the way key-value argument is called affected the document's output? List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit On 1/8/2024 11:05 PM, 111414w@gmail.com wrote: > Hi, > > I was cleaning and formatting my context file and then when I compiled it, the output I got introduced extra vertical spacings at the section headings that weren't there in the previous compilations. I had to spend enormous amount of time trying to fix it so to emulate my previous outputs. Turns out the problem was how I called one of the key-value argument in the document. > > I really wanna know the reason why it did influenced the output? > > Provided below is the minimal source code (and it is producing different outputs, meaning the vertical spacings are not same, on my device running the version released in the September and also tested with the latest release.) > > > """ > %% differences in outputs, for how "grid=yes" is called. > > %% Type 1. > %\setuplayout[grid=yes] Here you set the grid variable to "yes". > %% Type 2. > %\setuplayout[ > %grid=yes > %] Here you set the grid variable to "yes " so a trailing space. > \setuphead[section][grid=low] %% needed to observe the output difference > \starttext > > \title{Alpha} > \subsection{Beta} > \input{knuth} > > \stoptext So this is ok: \setupfoo [a=A, b=B] \setupfoo [a=A, b=B, ] I'm not aware of funmdamental changes in the parse, apart from that in many setup commands one can now do this: \setupfoo [A=\this[works], B=\that[doestoo]] as nested brackets are handled. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________