ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rik Kabel <ConTeXt@rik.users.panix.com>
To: ntg-context@ntg.nl
Subject: [NTG-context] Re: new upload
Date: Tue, 4 Feb 2025 13:12:53 -0500	[thread overview]
Message-ID: <f32a065f-1dab-42f5-97f0-8975de7ad7eb@rik.users.panix.com> (raw)
In-Reply-To: <63efa3c9-1fe1-47ea-b076-e61222f4a8fc@xs4all.nl>


[-- Attachment #1.1: Type: text/plain, Size: 1450 bytes --]


On 2025-02-04 11:59, Hans Hagen wrote:
> Hi,
>
> NOTA BENE:
>
> The next upload is kind of special so best save the old tex tree if 
> you update.
>
Indeed. The following

    \normalizefontwidth \FontA {ABCDEF} {\textwidth} {SerifItalic}
    \starttext
       \FontA ABCDEF
    \stoptext

fails with:

    Tex error       > tex error on line 1 in file
    G:/Projects/Testing/bad.tex: Extra \else

    \endgroup \always \edef \normalizedfontsize {37.77924pt=\zeropoint
    \bodyfontsize

    <macro> \typo_normalizers_size
         #1#2->\dimexpr {#1\b_typo_normalizers }=\zeropoint
    \bodyfontsize \else
         \luaexpr {\number \dimexpr 10pt\relax *\number \dimexpr
    #2\relax /\number #1\b_typo_normalizers }\scaledpoint \fi \relax
    <macro> \typo_normalizers_font_at_size
         #1#2#3#4#5->\begingroup \setbox \b_typo_normalizers \hbox
    {\definedfont [#5 at 10pt]\settrialtypesetting #3}\normalexpanded
    {\endgroup \always \edef \noexpand \normalizedfontsize {\the
    \typo_normalizers_size {#1}{#4}
         }}\definefont [\strippedcsname #2]
    <line 3.1>
         \normalizefontwidth \FontA {ABCDEF} {\textwidth} {SerifItalic}

    1 >>  \normalizefontwidth \FontA {ABCDEF} {\textwidth} {SerifItalic}
    2     \starttext
    3       \FontA ABCDEF
    4     \stoptext
    5
    I'm ignoring this; it doesn't match any \if.

-- 
Rik




[-- Attachment #1.2: Type: text/html, Size: 2738 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
___________________________________________________________________________________

  reply	other threads:[~2025-02-04 18:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-04 16:59 [NTG-context] " Hans Hagen
2025-02-04 18:12 ` Rik Kabel [this message]
2025-02-04 20:12   ` [NTG-context] " Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2024-06-18 20:15 [NTG-context] " Hans Hagen
2024-06-19 16:55 ` [NTG-context] " Pablo Rodriguez via ntg-context
2023-09-04 17:22 [NTG-context] " Hans Hagen
2023-09-04 17:37 ` [NTG-context] " Pablo Rodriguez
2023-08-15 17:08 [NTG-context] " Hans Hagen
2023-08-15 19:27 ` [NTG-context] " Pablo Rodriguez
2023-08-15 20:16   ` Hans Hagen via ntg-context
2023-08-15 20:54     ` Pablo Rodriguez
2023-08-16  8:07       ` Hans Hagen via ntg-context
2023-08-16 17:46       ` Hans Hagen via ntg-context
2023-08-17 13:39         ` Pablo Rodriguez
2023-07-18 20:12 [NTG-context] " Hans Hagen
2023-07-18 21:53 ` [NTG-context] " Rik Kabel
2023-07-19  6:37   ` 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=f32a065f-1dab-42f5-97f0-8975de7ad7eb@rik.users.panix.com \
    --to=context@rik.users.panix.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).