On 4/2/2025 10:47 AM, Keith McKay wrote:
I would think ConTeXt users in Greenland would prefer to Nuuk all US page sizes.

The TL installer coulds put this in cont-loc.mkxl

\unprotect

\appendtoks
\ifhasxtoks{in}{\layouttargetparameter\c!width\layouttargetparameter\c!height\layoutparameter\c!width\layoutparameter\c!height}\relax
        \writestatus{layout}{you're using an illegal or alien page size}%
    \fi
\to \everysetuplayout

\protect

because I assume it also adapts the layout

Keith

On Wed, 2 Apr 2025, 08:22 Hans Hagen via ntg-context, <ntg- cont...@ntg.nl <mailto:ntg-context@ntg.nl>> wrote:

    On 4/1/2025 11:52 PM, Bruce Horrocks wrote:
     >
     >> tariffs:
     >
     > Perhaps add a 5% orange tint to images printed on US Letter sized
    pages?

    ah, i forgot about colors indeed, mayeb even a linear shade from top to
    bottom

    and how about a unit

    \starttext

    \newdimension \tariff \tariff 1eu

    \newuserunit \tariff tr

    \framed[width=1.5tr]{who had thought}
    \framed[width=2.5tr]{or maybe we had thought}
    \framed[width=4.5tr]{and it looks like we need to think ahead}

    \stoptext


    -----------------------------------------------------------------
                                                Hans Hagen | PRAGMA ADE
    Ridder <https://www.google.com/maps/search/Ridder?
    entry=gmail&source=g>straat 27 | 8061 GH Hasselt | The Netherlands
             tel: 038 477 53 69 | www.pragma-ade.nl <http://www.pragma-
    ade.nl> | www.pragma-pod.nl <http://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 <mailto:ntg-context@ntg.nl> / https://
    mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl <https://
    mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl>
    webpage  : https://www.pragma-ade.nl <https://www.pragma-ade.nl> /
    https://context.aanhet.net <https://context.aanhet.net> (mirror)
    archive  : https://github.com/contextgarden/context <https://
    github.com/contextgarden/context>
    wiki     : https://wiki.contextgarden.net <https://
    wiki.contextgarden.net>
    
___________________________________________________________________________________


___________________________________________________________________________________
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
___________________________________________________________________________________


--

-----------------------------------------------------------------
                                          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://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 via email to