[NTG-context] context module t-account in LMTX

Heinrich Paeßens paessens at me.com
Tue Apr 26 16:13:14 CEST 2022


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 …)?

Many thanks for your support. Kind regards,
Heinrich

the example is in the file 
tst-account.tex

——
% !TEX program = 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
——


leads to error shown in the log:
——
resolvers       | formats | executing runner 'run luametatex format': /Users/hp/Library/context-osx-64/tex/texmf-osx-64/bin/luametatex --jobname="./tst-account.tex" --fmt=/Users/hp/Library/context-osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/Users/hp/Library/context-osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui  --c:autopdf --c:currentrun=1 --c:directives="system.showerror" --c:fulljobname="./tst-account.tex" --c:input="./tst-account.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:purgeall --c:texmfbinpath="/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/account/t-account.mkiv'
close source    > level 2, order 3, name '/Users/hp/Library/context-osx-64/tex/texmf-modules/tex/context/third/account/t-account.mkiv'
context report  > file: tst-account-status.html
mtx-context     | fatal error: return code: 1
——

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

 1     % !TEX program = lmtx
 2     \usemodule[t-account]
 3     \environment TACCOUNT
 4     
 5     \startACCOUNT[left=S,middle=Bilanz,right=H]
 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                
——



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220426/a654488b/attachment.htm>


More information about the ntg-context mailing list