ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] new units
@ 2023-05-04  8:01 Hans Hagen via ntg-context
  2023-05-06 16:45 ` Alan Braslau via ntg-context
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Hans Hagen via ntg-context @ 2023-05-04  8:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

Hi,

We now officially have three new units. These were officially introducd 
at the 2023 BachoTeX meeting in a presentation where the chair of the 
four person strong team also did the final live callibration (using the 
edithorial callibration instrument made for that purpose). An upcoming 
article in TB will explain the details of the process and also a careful 
mathematical annalysis of how we reached the right value with a high 
precission. The actual implementation is the most boring part.

\starttext

\startTEXpage[offset=1ts]
     Hello World!

     \the\dimexpr 1ts

     \the\dimexpr 1es

     \the\dimexpr 1eu

     \eufactor20

     \the\dimexpr 1eu
\stopTEXpage

\stoptext

The es (Edith) unit replaces the inch, and the ts (Tove) is one tenths 
of than (just like we have cm and mm). The eu (European Unit) is an 
adaptive one that defaults to 10 ts == 1es and can be multiplied by 
setting the \eufactor (default 10) which makes it possible to define 
layouts that easilly scale to different output media (important for the 
mobile phone / table generation).

This means that MWE that use inches will likely no longer be considered 
valid and probably will be dealt with slower (or just ignored).

These units can be used in the current upload. In a next upload the "19 
feet max" message that tex issues when reaching a maximum will be 
adapted to a more realistic variant. (Actually, because tex has no foot 
unit, we could as well replace that with a more impressive little feet 
unit but we forgot to measure the smallest foot present which i guess 
was about 3 es so the limit is then some 75 bare theodores.)

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://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] 23+ messages in thread
* Re: [NTG-context] new units
@ 2023-05-07  0:10 skyhorse--- via ntg-context
  2023-05-07  2:43 ` Michael Urban via ntg-context
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: skyhorse--- via ntg-context @ 2023-05-07  0:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: skyhorse



Hans Hagen via ntg-context <ntg-context@ntg.nl> wrote:
>......
> Oh, so a bug, I'll fix the message. Not really a unit but then, feet
> is also not one.
>

That is incorrect.  Feet is an establish and proper unit of measurement, which consists of 12 inches.  It is used by, at least, several hundred million people.  It can be said that the ability to grok and manipulate fractions has many benefits, which the metric system sorely lacks.

Cheers
___________________________________________________________________________________
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] 23+ messages in thread

end of thread, other threads:[~2023-05-07 16:01 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-04  8:01 [NTG-context] new units Hans Hagen via ntg-context
2023-05-06 16:45 ` Alan Braslau via ntg-context
2023-05-06 19:40   ` Hans Hagen via ntg-context
2023-05-06 21:53 ` Arthur Rosendahl via ntg-context
2023-05-06 23:29   ` Hans Hagen via ntg-context
2023-05-07  9:10 ` Henning Hraban Ramm via ntg-context
2023-05-07  9:29   ` Mojca Miklavec via ntg-context
2023-05-07 10:04     ` Hans Hagen via ntg-context
2023-05-07 10:06     ` Hans Hagen via ntg-context
2023-05-07  9:45   ` Hans Hagen via ntg-context
2023-05-07 10:09     ` Henning Hraban Ramm via ntg-context
2023-05-07 10:29       ` Hans Hagen via ntg-context
2023-05-07 15:56         ` Henning Hraban Ramm via ntg-context
2023-05-07 14:56       ` Hans Hagen via ntg-context
2023-05-07 12:00     ` Bruce Horrocks via ntg-context
2023-05-07 13:07       ` Hans Hagen via ntg-context
2023-05-07 15:58       ` Alan Braslau via ntg-context
2023-05-07  0:10 skyhorse--- via ntg-context
2023-05-07  2:43 ` Michael Urban via ntg-context
2023-05-07  6:09   ` Mikael Sundqvist via ntg-context
2023-05-07  8:15   ` Hans Hagen via ntg-context
2023-05-07  2:51 ` Alan Braslau via ntg-context
2023-05-07  8:22 ` Hans Hagen 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).