ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \definemeasure / \dimexpr
@ 2022-11-03 20:32 Henning Hraban Ramm via ntg-context
  2022-11-03 20:51 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 9+ messages in thread
From: Henning Hraban Ramm via ntg-context @ 2022-11-03 20:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Henning Hraban Ramm

I’m constantly struggling with dimension calculations. Is there anything 
I can read about the possibilities and limitations?

e.g. with
\definemeasure[PageWidth][132mm]
none of the following works:
\definemeasure[FlapWidth][0.8 * \measure{PageWidth}]
\definemeasure[FlapWidth][.8\measure{PageWidth}]
\definemeasure[FlapWidth][\measure{PageWidth} * 0.8]
\definemeasure[FlapWidth][\measure{PageWidth}*8/10]
\definemeasure[FlapWidth][8\measure{PageWidth}/10]

Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-11-13 14:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-03 20:32 \definemeasure / \dimexpr Henning Hraban Ramm via ntg-context
2022-11-03 20:51 ` Hans Hagen via ntg-context
2022-11-03 21:43   ` Henning Hraban Ramm via ntg-context
2022-11-04 10:37     ` Henning Hraban Ramm via ntg-context
2022-11-04 10:52       ` Herbert Voss via ntg-context
2022-11-04 11:09         ` Henning Hraban Ramm via ntg-context
2022-11-13 10:37           ` Henning Hraban Ramm via ntg-context
2022-11-13 12:17             ` Wolfgang Schuster via ntg-context
2022-11-13 14:31               ` Henning Hraban Ramm via ntg-context

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).