From: Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Subject: Re: Typearea module fails with “Missing number”
Date: Mon, 29 Aug 2022 23:30:56 +0200 [thread overview]
Message-ID: <8a6672fd-feda-c69d-57da-4170c50b53f6@gmail.com> (raw)
In-Reply-To: <20220829094938.162dedeb@homerow>
Marco Patzer via ntg-context schrieb am 29.08.2022 um 09:49:
> On Mon, 29 Aug 2022 09:30:34 +0200
> Marco Patzer via ntg-context <ntg-context@ntg.nl> wrote:
>
>> The typearea module fails on LMTX (runs ok with MkIV):
>>
>> tex error > tex error on line 89 in file
>> /usr/local/share/context-lmtx/tex/texmf-modules/tex/context/third/typearea/t-typearea.tex:
>> Missing number, treated as zero
> Sorry, forgot the MWE:
>
> \usemodule[typearea]
> \starttext\null\stoptext
To fix the module you have to change the line
\edef\Ratio{\withoutpt{\the\dimexpr2\paperheight/(\PageWidth/32768)\relax}}
with (remove one pair of curly braces)
\edef\Ratio{\withoutpt\the\dimexpr2\paperheight/(\PageWidth/32768)\relax}
Similar problems can happens with other modules because many of them are
outdated
and they should be either updated or removed (the files can still be
archived).
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2022-08-29 21:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-29 7:30 Marco Patzer via ntg-context
2022-08-29 7:49 ` Marco Patzer via ntg-context
2022-08-29 21:30 ` Wolfgang Schuster via ntg-context [this message]
2022-08-31 21:16 ` Peter Münster via ntg-context
2022-09-16 11:08 ` Wolfgang Schuster 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=8a6672fd-feda-c69d-57da-4170c50b53f6@gmail.com \
--to=ntg-context@ntg.nl \
--cc=wolfgang.schuster.lists@gmail.com \
/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).