From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/114789 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?q?Heinrich_Pae=C3=9Fens_via_ntg-context?= Newsgroups: gmane.comp.tex.context Subject: context module t-account in LMTX Date: Tue, 26 Apr 2022 16:13:14 +0200 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Content-Type: multipart/mixed; boundary="===============2374503906442848083==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30442"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?utf-8?Q?Heinrich_Pae=C3=9Fens?= To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 26 16:20:55 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1njM3i-0007hu-7X for gctc-ntg-context-518@m.gmane-mx.org; Tue, 26 Apr 2022 16:20:54 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 11595289DE0; Tue, 26 Apr 2022 16:19:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2PcAMbVNkaL9; Tue, 26 Apr 2022 16:19:31 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CD0DD289C88; Tue, 26 Apr 2022 16:19:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D94D3289C88 for ; Tue, 26 Apr 2022 16:19:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h6au50IpXcvC for ; Tue, 26 Apr 2022 16:19:28 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=17.58.23.197; helo=mr85p00im-zteg06012001.me.com; envelope-from=paessens@me.com; receiver= X-Greylist: delayed 366 seconds by postgrey-1.36 at zapf.ntg.nl; Tue, 26 Apr 2022 16:19:28 CEST Original-Received: from mr85p00im-zteg06012001.me.com (mr85p00im-zteg06012001.me.com [17.58.23.197]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 90341289B86 for ; Tue, 26 Apr 2022 16:19:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1650982397; bh=qrk0CQWOXgNOL71PT9uWyMe/d8uRypDy5Pj0fcAoowg=; h=From:Content-Type:Mime-Version:Date:Subject:Message-Id:To; b=RhjEqhMEof3tlp3Yx0q7lJXaVqy5rBeMDTvDuUAoYDXlvr+aF7+TBGNf6VuH8LqES dUvFMlwqP6nZmXsdlqkwj6/gsas51Tuv1jfQ0wEv9LtLRBDZSkxBHSUmfqOdZHqAYD q6revRYcPiOYq7/83UG9Bmyd8eJ3xJ7A1dG+A+5J5JVTyblVQATMziBn/IMnW1X4rq JxT5Zag2vUmmrEIXgJ4mKCZq/sDPx+c033wJXmeVcJB89ypO0yZRKcS3ErD57IVH4D BFCYDEGqjMloIJAcQ1a7DXhsQI7pnSp3+7PefAVvSY/73uaFlujnCaSvhL1IOF2uMQ fTkY1klVVJZiQ== Original-Received: from smtpclient.apple (mr38p00im-dlb-asmtp-mailmevip.me.com [17.57.152.18]) by mr85p00im-zteg06012001.me.com (Postfix) with ESMTPSA id DE6322E97614; Tue, 26 Apr 2022 14:13:16 +0000 (UTC) X-Mao-Original-Outgoing-Id: 672675194.216727-1af790263231488bed8a182b2b514dd8 X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.138,18.0.572,17.0.605.474.0000000_definitions?= =?UTF-8?Q?=3D2020-02-14=5F11:2020-02-14=5F02,2020-02-14=5F11,2020-01-23?= =?UTF-8?Q?=5F02_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 adultscore=0 malwarescore=0 mlxlogscore=898 bulkscore=0 clxscore=1015 spamscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2204260090 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:114789 Archived-At: --===============2374503906442848083== Content-Type: multipart/alternative; boundary="Apple-Mail=_20DCEFF2-BD86-4682-AE5D-4B79B21F9644" --Apple-Mail=_20DCEFF2-BD86-4682-AE5D-4B79B21F9644 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi there I just tried to test the use of the t-account module, compiling with = LMTX, but no avail. What is wrong? Does the module need a fix for LMTX or is the fault on my = side (having no experience =E2=80=A6)? Many thanks for your support. Kind regards, Heinrich the example is in the file=20 tst-account.tex =E2=80=94=E2=80=94 % !TEX program =3D lmtx \usemodule[t-account] \environment TACCOUNT \startDEBITS \debit [Auto] {2000} \debit [Bus] {5000} \startCREDITS \credit [Bank] {1000} \credit [Kasse] {200} \credit [Kasse] {200} \stopCREDITS \stopACCOUNT =E2=80=94=E2=80=94 leads to error shown in the log: =E2=80=94=E2=80=94 resolvers | formats | executing runner 'run luametatex format': = /Users/hp/Library/context-osx-64/tex/texmf-osx-64/bin/luametatex = --jobname=3D"./tst-account.tex" = --fmt=3D/Users/hp/Library/context-osx-64/tex/texmf-cache/luametatex-cache/= context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt = --lua=3D/Users/hp/Library/context-osx-64/tex/texmf-cache/luametatex-cache/= context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui = --c:autopdf --c:currentrun=3D1 --c:directives=3D"system.showerror" = --c:fulljobname=3D"./tst-account.tex" --c:input=3D"./tst-account.tex" = --c:kindofrun=3D1 --c:maxnofruns=3D9 --c:purgeall = --c:texmfbinpath=3D"/Users/hp/Library/context-osx-64/tex/texmf-osx-64/bin"= system >=20 system > ConTeXt ver: 2022.04.15 20:20 LMTX fmt: 2022.4.17 = int: english/english system >=20 system > 'cont-new.mkxl' loaded open source > level 1, order 1, name = '/Users/hp/Library/context-osx-64/tex/texmf-context/tex/context/base/mkxl/= cont-new.mkxl' system > beware: some patches loaded from cont-new.mkiv close source > level 1, order 1, name = '/Users/hp/Library/context-osx-64/tex/texmf-context/tex/context/base/mkxl/= cont-new.mkxl' system > files > jobname './tst-account', input = './tst-account.tex', result './tst-account' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 1, order 2, name './tst-account.tex' modules > using user prefixed file 't-account' modules > 't-account' is loaded open source > level 2, order 3, name = '/Users/hp/Library/context-osx-64/tex/texmf-modules/tex/context/third/acco= unt/t-account.mkiv' close source > level 2, order 3, name = '/Users/hp/Library/context-osx-64/tex/texmf-modules/tex/context/third/acco= unt/t-account.mkiv' context report > file: tst-account-status.html mtx-context | fatal error: return code: 1 =E2=80=94=E2=80=94 and the -status.html says: =E2=80=94=E2=80=94 Error Undefined control sequence \startDEBITS File ./tst-account.tex Line 7 1 % !TEX program =3D lmtx 2 \usemodule[t-account] 3 \environment TACCOUNT 4 =20 5 \startACCOUNT[left=3DS,middle=3DBilanz,right=3DH] 6 =20 7 >> \startDEBITS 8 \debit [Auto] {2000} 9 \debit [Bus] {5000} 10 \stopDEBITS 11 =20 12 \startCREDITS 13 \credit [Bank] {1000} 14 \credit [Kasse] {200} 15 \credit [Kasse] {200} 16 \stopCREDITS 17 =20 =E2=80=94=E2=80=94 --Apple-Mail=_20DCEFF2-BD86-4682-AE5D-4B79B21F9644 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi = there

I just tried = to test the use of the t-account module, compiling = with LMTX, but no avail.

What is wrong? Does the module need a fix for LMTX or is the = fault on my side (having no experience =E2=80=A6)?

Many thanks for your = support. Kind regards,
Heinrich

the example is in the = file 
tst-account.tex

=E2=80=94=E2=80=94
% !TEX program =3D lmtx

\usemodule[t-account]
\environment TACCOUNT

\startDEBITS
\debit [Auto] = {2000}
\debit [Bus]  {5000}


\startCREDITS
\credit [Bank] = {1000}
\credit [Kasse] {200}
\credit [Kasse] = {200}
\stopCREDITS

\stopACCOUNT
=E2=80=94=E2=80=94


leads to error shown in the = log:
=E2=80=94=E2=80=94
resolvers       | = formats | executing runner 'run luametatex format': = /Users/hp/Library/context-osx-64/tex/texmf-osx-64/bin/luametatex = --jobname=3D"./tst-account.tex" = --fmt=3D/Users/hp/Library/context-osx-64/tex/texmf-cache/luametatex-cache/= context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt = --lua=3D/Users/hp/Library/context-osx-64/tex/texmf-cache/luametatex-cache/= context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui =  --c:autopdf --c:currentrun=3D1 --c:directives=3D"system.showerror" = --c:fulljobname=3D"./tst-account.tex" --c:input=3D"./tst-account.tex" = --c:kindofrun=3D1 --c:maxnofruns=3D9 --c:purgeall = --c:texmfbinpath=3D"/Users/hp/Library/context-osx-64/tex/texmf-osx-64/bin"=

system=          > 
system   =        > ConTeXt  ver: 2022.04.15 20:20 LMTX =  fmt: 2022.4.17  int: english/english
system       =    > 
system          > 'cont-new.mkxl' = loaded
open = source     > level 1, order 1, name = '/Users/hp/Library/context-osx-64/tex/texmf-context/tex/context/base/mkxl/= cont-new.mkxl'
system          > beware: some = patches loaded from cont-new.mkiv
close source    > level 1, order 1, = name = '/Users/hp/Library/context-osx-64/tex/texmf-context/tex/context/base/mkxl/= cont-new.mkxl'
system          > files > = jobname './tst-account', input './tst-account.tex', result = './tst-account'
fonts           > latin modern = fonts are not preloaded
languages       > language 'en' is = active
open = source     > level 1, order 2, name = './tst-account.tex'
modules         > using user prefixed = file 't-account'
modules         > 't-account' is = loaded
open = source     > level 2, order 3, name = '/Users/hp/Library/context-osx-64/tex/texmf-modules/tex/context/third/acco= unt/t-account.mkiv'
close source    > level 2, order 3, name = '/Users/hp/Library/context-osx-64/tex/texmf-modules/tex/context/third/acco= unt/t-account.mkiv'
context report  > file: = tst-account-status.html
mtx-context     | fatal error: return code: = 1
=E2=80=94=E2=80=94

and the -status.html = says:
=E2=80=94=E2=80=94
Error    Undefined control = sequence \startDEBITS
File    ./tst-account.tex
Line =    7

 1     % !TEX = program =3D lmtx
 2     \usemodule[t-account]
 3     = \environment TACCOUNT
 4     
 5     = \startACCOUNT[left=3DS,middle=3DBilanz,right=3DH]
 6   =   
 7 >>  \startDEBITS
 8     \debit = [Auto] {2000}
 9     \debit [Bus] =  {5000}
10 =     \stopDEBITS
11     
12     \startCREDITS
13     \credit [Bank] = {1000}
14   =   \credit [Kasse] {200}
15     \credit [Kasse] {200}
16     = \stopCREDITS
17 =               =  
=E2=80=94=E2=80=94



= --Apple-Mail=_20DCEFF2-BD86-4682-AE5D-4B79B21F9644-- --===============2374503906442848083== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2374503906442848083==--