ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Heinrich Paeßens via ntg-context" <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: "Heinrich Paeßens" <paessens@me.com>
Subject: Re: context module t-account in LMTX
Date: Thu, 28 Apr 2022 16:39:10 +0200	[thread overview]
Message-ID: <467605D4-A5D6-41A5-84D9-091BE377BBA3@me.com> (raw)
In-Reply-To: <dc278457-bf92-4d34-7b5c-61118d4b31b5@gmail.com>


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

Many thanks Wolfgang, 

I can see the 'values' in a table like form, nothing but the values — how can I switch on the 'lines' of the table?

Best regards, 
Heinrich


I took your file t-taccount.mkxl
and
——
% !TEX program = lmtx
\usemodule[t][taccount]
\startTEXpage[offset=5pt]
\starttaccount[title=Bilanz,lefttext=Aktiva,righttext=Passiva]
    \startdebits
        \debit{Gebäude}  {1.800}
        \debit{Maschinen}{1.200}
        \debit{Fuhrpark}   {500}
        \debit{Rohstoffe}  {100}
        \debittotal      {3.600}
    \stopdebits
    \startcredits
        \credit{Eigenkapital}{1.400}
        \credit{Schulden}    {2.200}
        \credittotal         {3.600}
    \stopcredits
\stoptaccount
\stopTEXpage
——



the log
——
resolvers       | formats | executing runner 'run luametatex format': /Users/hp/Library/context-osx-64/tex/texmf-osx-64/bin/luametatex --jobname="./tst-taccount.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-taccount.tex" --c:input="./tst-taccount.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-taccount', input './tst-taccount.tex', result './tst-taccount'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 1, order 2, name './tst-taccount.tex'
modules         > 'taccount' is loaded
open source     > level 2, order 3, name 't-taccount.mkxl'
loading         > Context User Module / Miscellaneous
close source    > level 2, order 3, name 't-taccount.mkxl'
system          > auto \starttext ... \stoptext
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
backend         > xmp > using file '/Users/hp/Library/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 1, order 3, name './tst-taccount.tex'
mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /Users/hp/Library/context-osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.010 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 10 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 504 modules (0.406 sec), 98 tables (0.020 sec), 602 chunks (0.426 sec)
mkiv lua stats  > traced context: maxstack: 1627, freed: 0, unreachable: 1627
mkiv lua stats  > cleaned up reserved nodes: 72 nodes, 11 lists of 439
mkiv lua stats  > node memory usage: 15 attribute, 3 glue, 67 gluespec, 3 kern, 582 mathspec, 4 penalty, 2 temp
mkiv lua stats  > node list callback tasks: 12 unique task lists, 9 instances (re)created, 59 calls
mkiv lua stats  > used backend: pdf
mkiv lua stats  > jobdata time: 0.002 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: file: 390, saved: 270, direct: 2, function: 1102, value: 2, message: 0, bytecode: 602, late 0, total: 2368 (0 per page)
mkiv lua stats  > randomizer: initialized with value 0.56777543833852
mkiv lua stats  > loaded tex modules: 1 requested, all found (t-taccount)
mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf
mkiv lua stats  > font engine: otf 3.120, afm 1.513, tfm 1.000, 7 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.237 seconds 
mkiv lua stats  > font embedding time: 0.004 seconds, 1 fonts
mkiv lua stats  > result saved in file: tst-taccount.pdf, compresslevel 1, objectcompresslevel 3
mkiv lua stats  > positions: 4 collected, 0 deltas, 0 shared partials, 0 partial entries
mkiv lua stats  > used platform: osx-64, type: unix, binary subtree: texmf-osx-64
mkiv lua stats  > used engine: luametatex version: 2.0946, functionality level: 20220405, format id: 647, compiler: clang
mkiv lua stats  > tex properties: 740710 hash slots used of 2097152, 47886 control sequences, approximate memory usage: 38 MB
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 56 MB, ctx: 53 MB, max: 53 MB, symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.825 seconds, 1 processed pages, 1 shipped pages, 1.213 pages/second

resolvers       | formats | executing runner 'run luametatex format': /Users/hp/Library/context-osx-64/tex/texmf-osx-64/bin/luametatex --jobname="./tst-taccount.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=2 --c:directives="system.showerror" --c:fulljobname="./tst-taccount.tex" --c:input="./tst-taccount.tex" --c:kindofrun=2 --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-taccount', input './tst-taccount.tex', result './tst-taccount'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 1, order 2, name './tst-taccount.tex'
modules         > 'taccount' is loaded
open source     > level 2, order 3, name 't-taccount.mkxl'
loading         > Context User Module / Miscellaneous
close source    > level 2, order 3, name 't-taccount.mkxl'
system          > auto \starttext ... \stoptext
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
backend         > xmp > using file '/Users/hp/Library/context-osx-64/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 1, order 3, name './tst-taccount.tex'
mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /Users/hp/Library/context-osx-64/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.009 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 10 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 504 modules (0.387 sec), 98 tables (0.017 sec), 602 chunks (0.404 sec)
mkiv lua stats  > traced context: maxstack: 1627, freed: 0, unreachable: 1627
mkiv lua stats  > cleaned up reserved nodes: 72 nodes, 11 lists of 439
mkiv lua stats  > node memory usage: 15 attribute, 3 glue, 67 gluespec, 3 kern, 582 mathspec, 4 penalty, 2 temp
mkiv lua stats  > node list callback tasks: 12 unique task lists, 9 instances (re)created, 59 calls
mkiv lua stats  > used backend: pdf
mkiv lua stats  > jobdata time: 0.002 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks: file: 390, saved: 270, direct: 2, function: 1102, value: 2, message: 0, bytecode: 602, late 0, total: 2368 (2368 per page)
mkiv lua stats  > randomizer: resumed with value 0.56777543833852
mkiv lua stats  > loaded tex modules: 1 requested, all found (t-taccount)
mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > loaded fonts: 2 files: latinmodern-math.otf, lmroman12-regular.otf
mkiv lua stats  > font engine: otf 3.120, afm 1.513, tfm 1.000, 7 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 1.283 seconds 
mkiv lua stats  > font embedding time: 0.003 seconds, 1 fonts
mkiv lua stats  > result saved in file: tst-taccount.pdf, compresslevel 1, objectcompresslevel 3
mkiv lua stats  > positions: 4 collected, 0 deltas, 0 shared partials, 0 partial entries
mkiv lua stats  > used platform: osx-64, type: unix, binary subtree: texmf-osx-64
mkiv lua stats  > used engine: luametatex version: 2.0946, functionality level: 20220405, format id: 647, compiler: clang
mkiv lua stats  > tex properties: 740710 hash slots used of 2097152, 47885 control sequences, approximate memory usage: 38 MB
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 56 MB, ctx: 53 MB, max: 53 MB, symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.825 seconds, 1 processed pages, 1 shipped pages, 1.213 pages/second
mtx-context     | purged files: tst-taccount.log, tst-taccount.tuc
mtx-context     | pdfview methods: auto default okular pdfxcview sumatra, current method: sumatra (directives_pdfview_method)
pdfview         | command: wine "sumatrapdf.exe" -reuse-instance -bg-color 0xCCCCCC "tst-taccount.pdf" 1>/dev/null 2>/dev/null &
mtx-context     | pdfview overhead: 0.009 seconds
system          | total runtime: 1.711 seconds of 1.812 seconds
——





> On 26. Apr 2022, at 19:41, Wolfgang Schuster via ntg-context <ntg-context@ntg.nl> wrote:
> 
> Heinrich Paeßens via ntg-context schrieb am 26.04.2022 um 16:13:
>> 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 …)?
> 
> The module which can be downloaded from the modules section of the context wiki page is no longer supported.
> 
> I wrote a new version of the module a few years ago after I got a user request but I haven't put the new version on the wiki. To use the new version of the module you can download the file from my github site [1] and put it in the same folder as your document. There are examples how to use the module at the end of the file.
> 
> [1] https://github.com/wolfgangschuster/taccount/tree/master/files <https://github.com/wolfgangschuster/taccount/tree/master/files>
> 
> Wolfgang
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


[-- Attachment #1.2.1: Type: text/html, Size: 1917 bytes --]

[-- Attachment #1.2.2: tst-taccount.pdf --]
[-- Type: application/pdf, Size: 7488 bytes --]

[-- Attachment #1.2.3: Type: text/html, Size: 15458 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-28 14:39 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
2022-04-26 17:41 ` Wolfgang Schuster via ntg-context
2022-04-28 14:39   ` Heinrich Paeßens via ntg-context [this message]
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=467605D4-A5D6-41A5-84D9-091BE377BBA3@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).