ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Heinrich Paeßens via ntg-context" <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: "Heinrich Paeßens" <paessens@me.com>
Subject: context module t-account in LMTX
Date: Tue, 26 Apr 2022 16:13:14 +0200	[thread overview]
Message-ID: <E6B3EC2F-61C0-4E73-9A79-7F7A65E73516@me.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 3136 bytes --]

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




[-- Attachment #1.2: Type: text/html, Size: 7029 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2022-04-26 14:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-26 14:13 Heinrich Paeßens via ntg-context [this message]
2022-04-26 17:41 ` Wolfgang Schuster via ntg-context
2022-04-28 14:39   ` Heinrich Paeßens via ntg-context
2022-04-28 15:10     ` Wolfgang Schuster via ntg-context
2022-04-28 17:53       ` Heinrich Paeßens 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=E6B3EC2F-61C0-4E73-9A79-7F7A65E73516@me.com \
    --to=ntg-context@ntg.nl \
    --cc=paessens@me.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).