From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE, MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 14758 invoked from network); 29 Oct 2023 11:10:52 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 29 Oct 2023 11:10:52 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id B460C483703 for ; Sun, 29 Oct 2023 12:09:41 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cfETFOLFgCk3 for ; Sun, 29 Oct 2023 12:09:41 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id C98F948381E for ; Sun, 29 Oct 2023 12:08:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 688864835ED for ; Sun, 29 Oct 2023 12:07:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l7b8teYrLNTH for ; Sun, 29 Oct 2023 12:07:14 +0100 (CET) Received: from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id C1E574835EA for ; Sun, 29 Oct 2023 12:07:14 +0100 (CET) Received: from fwd86.aul.t-online.de (fwd86.aul.t-online.de [10.223.144.112]) by mailout08.t-online.de (Postfix) with SMTP id 093C7215F6 for ; Sun, 29 Oct 2023 12:07:11 +0100 (CET) Received: from [192.168.178.60] ([91.48.95.146]) by fwd86.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1qx3dO-0zNTpQ0; Sun, 29 Oct 2023 12:07:10 +0100 Message-ID: <97e6e5a9-c324-4695-9e4d-e7b47b17c9ea@t-online.de> Date: Sun, 29 Oct 2023 12:07:09 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: de-DE From: Thomas Meyer To: ntg-context@ntg.nl References: <0f95e9b8-b07c-4a3f-b96f-4c216cea52fa@t-online.de> Autocrypt: addr=thomasgmeyer@t-online.de; keydata= xsFNBGPqOQMBEADR9MbN06aQ90AeXfb5AsL9m/neBE0QAuCqMH8pwKWBaZiaj0VRS0vVnTEW M3FazzdzOAT5BJx3bnUHbS9k6rQ1zKxJ0ekDdLFUD+ARHfH8M4tEs/2WLfcW98/K5gEPwPdo mrkMlWan8wLQXTZDrStv7b1m2oYSaBra8R7ghd7z7rjOwy9YhufFAJ6LackE5YG/AyAKusAS MoPE6Lh6ZSCqO7zknDbAOEgZx9evVWV6u1vedI9vVQOxuJt6JZjBF7T9FoQbs6x9ro5LqPcI B21QY/XooQDTYZbZtNQbFEtQ8xnexLU2vzjxrdpE33Wfd/0J3ugTFiVGENNBEJhb0xdj/sho SxGSH6pAmjaJ9CZ2/qI/3btRuGJV/1hsG4IbgmxKKI+CWHfyeQopKo0YuykXlFz1V8cb3Mvi mOyDjwj2J78HIHsa9ntHoplJu0P2+l3RQJpTwzU337lgfoj/jofAcIWa9tvLBxpNS08FakjD H5dvRHHcy74dcC/o+J80F+bRhujXk9IS+Jx0xSiQSrnwxUZ6lplKV8j1y4vqaC/hHb6R6Nqn Sw/oNUEUnwdlX2/SZeVMgoSfDu7+uku2fkUI6Mhyctxbkc8Egktw+wZdPv7gP9p8ciU/4TLK TvYljgURZNF5u9N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qU YUSpmeXhY1GA5gRaIk6w2IYAj8N1bzlBNMd3XwN7bnDwxLwprNYouBw7Azss1/+N222uiXA+ Kuoo+UnEccTBFBKFVlbNo/jyh8uR/oZb/+HYN+DeSH9SzaGQ7VPGEgphRusd5I4HTZp7+zSC YPHBeckIFFKn7hYickA5kyAriilpKBcU651jkN5/oUiPsDSvKYFpEJxkvIrp In-Reply-To: <0f95e9b8-b07c-4a3f-b96f-4c216cea52fa@t-online.de> X-TOI-EXPURGATEID: 150726::1698577630-136DED75-3CD512B8/0/0 CLEAN NORMAL X-TOI-MSGID: 5b50628f-3492-4b91-8612-272459766664 Message-ID-Hash: WZG3KRUMDXRZNW2RJGGMINZ3YOUSXNXE X-Message-ID-Hash: WZG3KRUMDXRZNW2RJGGMINZ3YOUSXNXE X-MailFrom: thomasgmeyer@t-online.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: typearea List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============6845649902673357062==" This is a multi-part message in MIME format. --===============6845649902673357062== Content-Type: multipart/alternative; boundary="------------OOItU03h7zlMgg880fa0NS64" Content-Language: de-DE This is a multi-part message in MIME format. --------------OOItU03h7zlMgg880fa0NS64 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Oh, I found something about in the archive! Am 29.10.23 um 11:37 schrieb Thomas Meyer: > Hi, > I'm new to ConTeXt and try to use the module typearea > (https://modules.contextgarden.net/cgi-bin/module.cgi/action=find/name=typearea). > But the example doesn't work: > > \usemodule[typearea] > \setupTypeArea[bcor=0mm,alphabets=3.1] > \setuppagenumbering[alternative=doublesided] > \starttext > \dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page} > \stoptext > > I got: > > texmf-dist/tex/context/third/typearea/t-typearea.tex' > loading         > Something like KOMA-TypeArea > tex error       > tex error on line 89 in file > /usr/local/texlive/2023/texmf-dist/tex/context/third/typearea/t-typearea.tex: > Missing number, treated as zero > > > > > >     { > \TA@alphabets >      \par \PageWidth =\dimexpr \paperwidth -\TA@bcor \relax \par \edef > \Ratio {\withoutpt { >     \the \dimexpr 2\paperheight /(\PageWidth /32768)\relax }} \par > \setbox \scratchbox \hbox {\dorecurse {26}{\character \recurselevel }} > \Width =\dimexpr \TA@alphabet > >     \setupTypeArea[bcor=0pt,oneside=no,alphabets=2.6] > > 79          height=\the\Height, > 80          width=\the\Width, > 81          header=2\lineheight, > 82          headerdistance=\lineheight, > 83          footer=2\lineheight, > 84          footerdistance=3\lineheight, > 85          topspace=\Top] > 86     } > 87     \protect > 88 > 89 >>  \setupTypeArea[bcor=0pt,oneside=no,alphabets=2.6] > 90 > 91     \doifnotmode{demo}{\endinput} > 92 > 93     %D Usage example: > 94     \usemodule[typearea] > 95     \setupTypeArea[bcor=0mm,alphabets=3.1] > 96     \setuppagenumbering[alternative=doublesided] > 97     \starttext > 98 \dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page} > 99     \stoptext > A number should have been here; I inserted '0'. (If you can't figure > out why I > needed to see a number, look up 'weird error' in the index to The > TeXbook.) > mtx-context     | fatal error: return code: 1 > > > Line 89 in the module should be the problem. But how can I solve it? I > think some lines in the module should be commented out. (An example > directly in the module?) > > I thank you for any hint. > > Greetings > Thomas > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ --------------OOItU03h7zlMgg880fa0NS64 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit Oh, I found something about in the archive!

Am 29.10.23 um 11:37 schrieb Thomas Meyer:
Hi,
I'm new to ConTeXt and try to use the module typearea (https://modules.contextgarden.net/cgi-bin/module.cgi/action=find/name=typearea).
But the example doesn't work:

\usemodule[typearea]
\setupTypeArea[bcor=0mm,alphabets=3.1]
\setuppagenumbering[alternative=doublesided]
\starttext
\dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page}
\stoptext

I got:

texmf-dist/tex/context/third/typearea/t-typearea.tex'
loading         > Something like KOMA-TypeArea
tex error       > tex error on line 89 in file /usr/local/texlive/2023/texmf-dist/tex/context/third/typearea/t-typearea.tex: Missing number, treated as zero



<to be read again>
    
    {
<macro> \TA@alphabets
     \par \PageWidth =\dimexpr \paperwidth -\TA@bcor \relax \par \edef \Ratio {\withoutpt {
    \the \dimexpr 2\paperheight /(\PageWidth /32768)\relax }} \par \setbox \scratchbox \hbox {\dorecurse {26}{\character \recurselevel }} \Width =\dimexpr \TA@alphabet
<line 5.89>
    \setupTypeArea[bcor=0pt,oneside=no,alphabets=2.6]

79          height=\the\Height,
80          width=\the\Width,
81          header=2\lineheight,
82          headerdistance=\lineheight,
83          footer=2\lineheight,
84          footerdistance=3\lineheight,
85          topspace=\Top]
86     }
87     \protect
88     
89 >>  \setupTypeArea[bcor=0pt,oneside=no,alphabets=2.6]
90     
91     \doifnotmode{demo}{\endinput}
92     
93     %D Usage example:
94     \usemodule[typearea]
95     \setupTypeArea[bcor=0mm,alphabets=3.1]
96     \setuppagenumbering[alternative=doublesided]
97     \starttext
98     \dorecurse4{\framed[width=\textwidth,height=\textheight]{test}\page}
99     \stoptext
A number should have been here; I inserted '0'. (If you can't figure out why I
needed to see a number, look up 'weird error' in the index to The TeXbook.)
mtx-context     | fatal error: return code: 1


Line 89 in the module should be the problem. But how can I solve it? I think some lines in the module should be commented out. (An example directly in the module?)

I thank you for any hint.

Greetings
Thomas

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

--------------OOItU03h7zlMgg880fa0NS64-- --===============6845649902673357062== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============6845649902673357062==--