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 13345 invoked from network); 29 Oct 2023 10:47:37 -0000 Received: from cgl.ntg.nl (5.39.185.202) by inbox.vuxu.org with ESMTPUTF8; 29 Oct 2023 10:47:37 -0000 Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 0062E483636 for ; Sun, 29 Oct 2023 11:45:34 +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 PMIRsPsRXWja for ; Sun, 29 Oct 2023 11:45:33 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id B9A424836A4 for ; Sun, 29 Oct 2023 11:44:04 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 8D3914820D0 for ; Sun, 29 Oct 2023 11:43:17 +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 YcUBQKLng_0K for ; Sun, 29 Oct 2023 11:43:15 +0100 (CET) X-Greylist: delayed 364 seconds by postgrey-1.36 at cgl.ntg.nl; Sun, 29 Oct 2023 11:43:15 CET Received: from mailout01.t-online.de (mailout01.t-online.de [194.25.134.80]) (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 4CE34480FD2 for ; Sun, 29 Oct 2023 11:43:15 +0100 (CET) Received: from fwd75.aul.t-online.de (fwd75.aul.t-online.de [10.223.144.101]) by mailout01.t-online.de (Postfix) with SMTP id 80017E071 for ; Sun, 29 Oct 2023 11:37:06 +0100 (CET) Received: from [192.168.178.60] ([91.48.95.146]) by fwd75.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1qx3AH-1FHqG80; Sun, 29 Oct 2023 11:37:05 +0100 Message-ID: <0f95e9b8-b07c-4a3f-b96f-4c216cea52fa@t-online.de> Date: Sun, 29 Oct 2023 11:37:05 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: ntg-context@ntg.nl Content-Language: de-DE From: Thomas Meyer 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+wZdPv7g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58YF2c9BwGE/6iW6iL1sg3xPhOqU YUSpmeXhY1GA5gRaIk6w2IYAj8N1bzlBNMd3XwN7bnDwxLwprNYouBw7Azss1/+N222uiXA+ Kuoo+UnEccTBFBKFVlbNo/jyh8uR/oZb/+HYN+DeSH9SzaGQ7VPGEgphRusd5I4HTZp7+zSC YPHBeckIFFKn7hYickA5kyAriilpKBcU651jkN5/oUiPsDSvKYFpEJxkvIrp X-TOI-EXPURGATEID: 150726::1698575825-9A7FB9D6-5E6F7607/0/0 CLEAN NORMAL X-TOI-MSGID: ec07d24c-33e1-4864-98f1-df0442990e94 Message-ID-Hash: FXNUBMGJ6TSDZW6OLJIE45TPZFZD5FHW X-Message-ID-Hash: FXNUBMGJ6TSDZW6OLJIE45TPZFZD5FHW 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] 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="===============8709327801728253432==" This is a multi-part message in MIME format. --===============8709327801728253432== Content-Type: multipart/alternative; boundary="------------ToxuPLc8ssviYqHjyPHJ3ndv" Content-Language: de-DE This is a multi-part message in MIME format. --------------ToxuPLc8ssviYqHjyPHJ3ndv Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------ToxuPLc8ssviYqHjyPHJ3ndv Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit 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
--------------ToxuPLc8ssviYqHjyPHJ3ndv-- --===============8709327801728253432== 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 ___________________________________________________________________________________ --===============8709327801728253432==--