From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Ali Ali <111414w@gmail.com>
Subject: [NTG-context] Re: Why the way key-value argument is called affected the document's output?
Date: Mon, 8 Jan 2024 23:40:57 +0100 [thread overview]
Message-ID: <0fba109b-1a62-c840-1ca8-679a3b28b476@gmail.com> (raw)
In-Reply-To: <170475322027.1644.12481884490527051243@cgl.ntg.nl>
Ali Ali schrieb am 08.01.2024 um 23:33:
> So is
> "\setuplayout[grid=yes]"
> AND
> "\setuplayout[
> grid=yes
> ]"
> not same?
>
> I mean, we are initializing "grid" to "yes" in both cases.
No, in the first case you end the value of the grid-key with ] which
results in "yes" as argument but in the second case you have a linebreak
before ] which adds a space to the argument which results in "yes "
(with a trailing space) as argument.
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2024-01-08 22:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-08 22:05 [NTG-context] " 111414w
2024-01-08 22:16 ` [NTG-context] " Hans Hagen
2024-01-08 22:33 ` Ali Ali
2024-01-08 22:40 ` Wolfgang Schuster [this message]
2024-01-08 22:53 ` Ali Ali
2024-01-13 16:39 ` Wolfgang Schuster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0fba109b-1a62-c840-1ca8-679a3b28b476@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=111414w@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).