Hi, I uploaded lmtx. There have been some additions to tabulate. \starttext % \showboxes % \showstruts \starttabulate[|w(top,3cm)|w(top,3cm)|] \NC test \NC test \par test \NC \NR \NC test \NC test \par test \NC \NR \stoptabulate \starttabulate[|w(top,packed,3cm)|w(top,packed,3cm)|] \NC test \NC test \par test \NC \NR \NC test \NC test \par test \NC \NR \stoptabulate \starttabulate[interlinespace=no,format={|w(bottom,3cm)|w(bottom,3cm)|}] \NC test \NC test \par test \NC \NR \NC test \NC test \par test \NC \NR \stoptabulate \starttabulate[format={|w(3cm)|w(3cm)|}] \NC \vtop{\strut test} \NC \vtop{\strut test\par \strut test} \NC \NR \NC \vtop{\strut test} \NC \vtop{\strut test\par \strut test} \NC \NR \stoptabulate \starttabulate[interlinespace=no,format={|w(3cm)|w(3cm)|}] \NC \vtop{\strut test} \NC \vtop{\strut test\par \strut test} \NC \NR \NC \vtop{\strut test} \NC \vtop{\strut test\par \strut test} \NC \NR \stoptabulate \starttabulate[interlinespace=no,format={|w(3cm)|w(3cm)|}] \NC \vbox{\strut test} \NC \vbox{\strut test\par \strut test} \NC \NR \NC \vbox{\strut test} \NC \vbox{\strut test\par \strut test} \NC \NR \stoptabulate \starttabulate[interlinespace=no,format={|w(3cm)|w(3cm)|}] \NC \vtop{\strut test} \NC \vbox{\strut test\par \strut test} \NC \NR \NC \vbox{\strut test} \NC \vtop{\strut test\par \strut test} \NC \NR \stoptabulate \stoptext This permits top and bottom alignments of text blobs without interrow spacing being disturbed. A bit more weird addition is the new \TM (move) option: \starttext \defineorientation[test][orientation=down,vertical=top] \startbuffer[b] \definetabulatemove[a][xoffset=40pt] \definetabulatemove[b][orientation=test,yoffset=depth] \starttabulate[|c|c|] \TM[a] \NC \darkred cell one \NC \darkgray cell one \NC \NR \TM[b] \NC \darkgreen cell one \NC \darkblue cell one \NC \NR \TM[a] \NC \darkred cell two \NC \darkgray cell two \NC \NR \TM[b] \NC \darkgreen cell two \NC \darkblue cell two \NC \NR \TM[a] \NC \darkred cell three \NC \darkgray cell three \NC \NR \TM[b] \NC \darkgreen cell three \NC \darkblue cell three \NC \NR \TM[a] \NC \darkred cell four \NC \darkgray cell four \NC \NR \TM[b] \NC \darkgreen cell four \NC \darkblue cell four \NC \NR \stoptabulate \stopbuffer \start \showmakeup[line] \showstruts \ruledvbox{\getbuffer[b]} \stop \start \showstruts \ruledvbox{\getbuffer[b]} \stop \start \ruledvbox{\getbuffer[b]} \stop \startbuffer[b] \definetabulatemove[a][xoffset=20pt] \starttabulate[|p|p|] \TM[a] \NC \darkred \samplefile{tufte} \NC \darkgray \samplefile{ward} \NC \NR \NC \darkgreen \samplefile{tufte} \NC \darkblue \samplefile{ward} \NC \NR \TM[a] \NC \darkred \samplefile{tufte} \NC \darkgray \samplefile{ward} \NC \NR \NC \darkgreen \samplefile{tufte} \NC \darkblue \samplefile{ward} \NC \NR \stoptabulate \stopbuffer \start \small \small \showmakeup[line] \showstruts \getbuffer[b] \stop \stoptext This uses some new low level alignment options that operate on rows as a whole. As usual, I have no clue what users will come up with but the idea is that these 'moves' are independent of the alignment so the in this case shifted columns actually keeps their alignment. (It is mostly about consistent support luametatex engine features but it might come in handy.) Some other 'new' things are too obscure to mention now, Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
i get an error running the sample code: \starttext \defineorientation[test][orientation=down,vertical=top] \startbuffer[b] \definetabulatemove[a][xoffset=40pt] \definetabulatemove[b][orientation=test,yoffset=depth] \starttabulate[|c|c|] \TM[a] \NC \darkred cell one \NC \darkgray cell one \NC \NR \TM[b] \NC \darkgreen cell one \NC \darkblue cell one \NC \NR \TM[a] \NC \darkred cell two \NC \darkgray cell two \NC \NR \TM[b] \NC \darkgreen cell two \NC \darkblue cell two \NC \NR \TM[a] \NC \darkred cell three \NC \darkgray cell three \NC \NR \TM[b] \NC \darkgreen cell three \NC \darkblue cell three \NC \NR \TM[a] \NC \darkred cell four \NC \darkgray cell four \NC \NR \TM[b] \NC \darkgreen cell four \NC \darkblue cell four \NC \NR \stoptabulate \stopbuffer \start \showmakeup[line] \showstruts \ruledvbox{\getbuffer[b]} \stop \start \showstruts \ruledvbox{\getbuffer[b]} \stop \start \ruledvbox{\getbuffer[b]} \stop \startbuffer[b] \definetabulatemove[a][xoffset=20pt] \starttabulate[|p|p|] \TM[a] \NC \darkred \samplefile{tufte} \NC \darkgray \samplefile{ward} \NC \NR \NC \darkgreen \samplefile{tufte} \NC \darkblue \samplefile{ward} \NC \NR \TM[a] \NC \darkred \samplefile{tufte} \NC \darkgray \samplefile{ward} \NC \NR \NC \darkgreen \samplefile{tufte} \NC \darkblue \samplefile{ward} \NC \NR \stoptabulate \stopbuffer \start \small \small \showmakeup[line] \showstruts \getbuffer[b] \stop \stoptext $ context context\ 17.tex resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog' resolvers | formats | executing runner 'run luametatex format': /home/vm/context/tex/texmf-linux-64/bin/luametatex --jobname="./context 17.tex" --fmt=/home/vm/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/home/vm/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./context 17.tex" --c:input="./context 17.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/home/vm/context/tex/texmf-linux-64/bin" Segmentation fault (core dumped)
the latest update broke my installation on linux. How can I revert to a working version? .F $ context context18.tex resolvers | globbing | confusing filename, name: 'CHANGELOG', lower: 'changelog', already: 'ChangeLog' resolvers | formats | executing runner 'run luametatex format': /home/vm/context/tex/texmf-linux-64/bin/luametatex --jobname="./context18.tex" --fmt=/home/vm/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/home/vm/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./context18.tex" --c:input="./context18.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/home/vm/context/tex/texmf-linux-64/bin" Segmentation fault (core dumped) mtx-context | fatal error: return code: 1
On 12/27/22 18:04, Hans Hagen via ntg-context wrote:
Hi,
I uploaded lmtx. There have been some additions to tabulate.
Hi Hans, many thanks for the new upload, but I’m afraid I get this error in LMTX (MkIV works fine): \starttext \null \stoptext resolvers | formats | executing runner 'run luametatex format': ~/context/tex/texmf-linux-64/bin/luametatex --jobname="./a.tex" --fmt=~/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=~/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./a.tex" --c:input="./a.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="~/context/tex/texmf-linux-64/bin" mtx-context | fatal error: return code: 1 I have erased and generated the cache with "mtxrun --generate". I don’t know what may be wrong here. Many thanks for your help, Pablo
On 12/27/2022 6:44 PM, Pablo Rodriguez via ntg-context wrote:
On 12/27/22 18:04, Hans Hagen via ntg-context wrote:
Hi,
I uploaded lmtx. There have been some additions to tabulate.
Hi Hans,
many thanks for the new upload, but I’m afraid I get this error in LMTX (MkIV works fine):
\starttext \null \stoptext
resolvers | formats | executing runner 'run luametatex format': ~/context/tex/texmf-linux-64/bin/luametatex --jobname="./a.tex" --fmt=~/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=~/context/tex/texmf-cache/luametatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui --c:currentrun=1 --c:fulljobname="./a.tex" --c:input="./a.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="~/context/tex/texmf-linux-64/bin" mtx-context | fatal error: return code: 1
I have erased and generated the cache with "mtxrun --generate".
I don’t know what may be wrong here. me neither so i need to check it
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 12/27/22 21:13, Hans Hagen via ntg-context wrote:
I don’t know what may be wrong here.
me neither so i need to check it
I’m afraid I’m getting the same error with newer upload (https://mailman.ntg.nl/pipermail/ntg-context/2022/107492.html). Pablo
On 12/27/2022 11:00 PM, Pablo Rodriguez via ntg-context wrote:
On 12/27/22 21:13, Hans Hagen via ntg-context wrote:
I don’t know what may be wrong here.
me neither so i need to check it
I’m afraid I’m getting the same error with newer upload (https://mailman.ntg.nl/pipermail/ntg-context/2022/107492.html). I think i figured out what the issue is. A bit tricky to figure out because my local gcc is newer than the one on the garden (and it actually also produces 10% smaller binaries).
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 27/12/2022 23:32, Hans Hagen via ntg-context wrote:
I think i figured out what the issue is. A bit tricky to figure out because my local gcc is newer than the one on the garden (and it actually also produces 10% smaller binaries).
lmtx context is working again, thanks !
participants (3)
-
Floris van Manen
-
Hans Hagen
-
Pablo Rodriguez