ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Jan Ulrich Hasecke via ntg-context <ntg-context@ntg.nl>
Subject: [NTG-context] Re: Unknown units es and dk
Date: Sat, 23 Mar 2024 14:27:30 +0100	[thread overview]
Message-ID: <917d9294-b73c-64a3-f444-55e61d42b249@gmail.com> (raw)
In-Reply-To: <5eccae57-6454-434a-8260-c2c2bd333cc1@mailbox.org>

Jan Ulrich Hasecke via ntg-context schrieb am 23.03.2024 um 13:57:
> I saw this in (the btw great) bachotex-stepbystep presentation
>
> \definepapersize
> [example]
> [width=8.5es,
> height=11es]
>
>
> \setuptextbackground
> [location=paragraph,
> backgroundcolor=MyColors:4,
> backgroundoffset=1dk,
> frame=off]
>
>
> The units "es" and "dk" are unknown to me.
> What does they mean?

Regarding the dk unit: https://tug.org/TUGboat/tb42-3/tb132hagen-dk.pdf


A quote from the Luametatex source regarding the es unit:

The Edith and Tove were introduced at BachoTeX 2023 and because the 
error message
was still in feet we decided to adapt it accordingly so now in addition 
it reports
different values, including Theodores little feet measured by Arthur as 
being roughly
five Ediths.


Here is the fitting error message when you pass a dimension too large 
for TeX:

Dimension too large", I can't work with sizes bigger than
about 19 feet (45 Theodores as of 2023), 575 centimeters,
Toves, 230 Ediths or 16383 points. Continue and I'll use
the largest value I can.


You should also take a look at the lowlevel register manual 
(lowlevel-registers.pdf)
which explains how you can define your own units.

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
___________________________________________________________________________________

  reply	other threads:[~2024-03-23 13:30 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-23 12:57 [NTG-context] " Jan Ulrich Hasecke via ntg-context
2024-03-23 13:27 ` Wolfgang Schuster [this message]
2024-03-23 18:05   ` [NTG-context] " Hans Hagen
2024-03-23 19:31     ` Hraban Ramm
2024-03-24  9:40       ` Hans Hagen
2024-03-24  8:29     ` Jan Ulrich Hasecke 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=917d9294-b73c-64a3-f444-55e61d42b249@gmail.com \
    --to=wolfgang.schuster.lists@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).