From: Hans van der Meer via ntg-context <ntg-context@ntg.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Cc: Hans van der Meer <havdmeer@ziggo.nl>
Subject: [NTG-context] dimen 100.0pt not 100.0pt?
Date: Mon, 10 Jun 2024 15:46:40 +0200 [thread overview]
Message-ID: <9A5FEABB-7506-4C51-98B4-7CDBE32FCCC2@ziggo.nl> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 476 bytes --]
The I do not understand. I am testing if a dimension set can be checked against the expected value.
It looks like 100.0pt is not really 100.0pt. Why? And how can I do this test properly with true as result?
\scratchdimen=100pt\relax
\iftok{\the\scratchdimen}{100.0pt}true\else false\fi

printing \the\scratchdimen results in 100.0pt
while \meaning\scratchdimen results in: constant dimension 100.0pt
yours sincerely
dr. Hans van der Meer
[-- Attachment #1.2.1: Type: text/html, Size: 1513 bytes --]
[-- Attachment #1.2.2: Screenshot 2024-06-10 at 15.37.32.png --]
[-- Type: image/png, Size: 41959 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
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 reply other threads:[~2024-06-10 13:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-10 13:46 Hans van der Meer via ntg-context [this message]
2024-06-10 13:58 ` [NTG-context] " Wolfgang Schuster
2024-06-10 14:38 ` Hans Hagen via ntg-context
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=9A5FEABB-7506-4C51-98B4-7CDBE32FCCC2@ziggo.nl \
--to=ntg-context@ntg.nl \
--cc=havdmeer@ziggo.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).