Dear all, I made an exam form by the help of the experts in this list. However, it was not working after recent update. Here is a code which I made for the test. If I use “\startcolumns \stopcolumns”, then it has no problem. But using “\startcolumnset[exam] … \stopcolumnset” produces error message “return code 11”. It loads “m-newcolumnset.tex” without problem. What is the cause of this error? Thank you for reading. Best regards, Dalyoung %%%%%%%% \startuseMPgraphic{verticalrule0} if CurrentColumn < NOfColumns : draw rightboundary OverlayBox shifted (4mm,0); setbounds currentpicture to OverlayBox enlarged 2.5mm; fi; \stopuseMPgraphic \startuseMPgraphic{squareBox} draw topboundary OverlayBox leftenlarged 1mm rightenlarged 1mm; draw rightboundary OverlayBox shifted (1mm,0); %if CurrentColumn = 1: shifted(-2mm,0) fi ; draw leftboundary OverlayBox shifted (-1mm,0); %if CurrentColumn = 2: shifted(2mm,0) fi ; draw bottomboundary OverlayBox leftenlarged 1mm rightenlarged 1mm; \stopuseMPgraphic \defineoverlay [headerBox] [\useMPgraphic{squareBox}] \startuseMPgraphic{verticalrule3} draw rightboundary OverlayBox shifted (1mm,0); %if CurrentColumn = 1: shifted(-2mm,0) fi ; draw leftboundary OverlayBox shifted (-1mm,0); %if CurrentColumn = 2: shifted(2mm,0) fi ; draw bottomboundary OverlayBox leftenlarged 1mm rightenlarged 1mm; \stopuseMPgraphic \defineoverlay [verticalrule] [\useMPgraphic{verticalrule3}] \definecolumnset [exam] [n=2, background=verticalrule] \setuplayout[width=19cm, height=26cm, header=1cm, footer=.5cm,backspace=1cm] \setupheader[before=\vfil, after=\vfil] \setupbackgrounds[header][text][frame=off, background=headerBox, align=lohi]%topframe= \setupbackgrounds[footer][text][frame=off, background=screen] \define[3]\headTitle{\setupheadertexts[][\bf #1 \hfill #2 \hfill #3 \hfill ID: \hskip 2cm Name: \hskip 2cm]} \setupmathematics[autopunctuation=no, integral=nolimits] \setupbodyfont[rm,10pt] \setuppagenumbering[location=footer] \setupcolors[state=start] %\setupexternalfigure[directory={/Users/graph/Documents/figures,}] \headTitle{2021. 12. 9.}{Set Theory}{Final Exam} \usemodule[newcolumnsets] \starttext \startcolumns[rule=on,n=2,leftframe=on] %\startcolumnset[exam] \startitemize[n] \item The first problem. \vfill \column \item The second problem. \vfill \column \item The third problem. \vfill \column \stopitemize %\stopcolumnset \stopcolumns \stoptext error messages: system > ConTeXt ver: 2021.11.30 19:49 LMTX fmt: 2021.12.1 int: english/english system > system > 'cont-new.mkxl' loaded open source > level 1, order 1, name '/Users/graph/ConTeXtL/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/graph/ConTeXtL/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl' system > files > jobname '/Users/graph/Library/Mobile Documents/com~apple~CloudDocs/texMain/ColumnsetTest', input '/Users/graph/Library/Mobile Documents/com~apple~CloudDocs/texMain/ColumnsetTest.tex', result '/Users/graph/Library/Mobile Documents/com~apple~CloudDocs/texMain/ColumnsetTest' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 1, order 2, name '/Users/graph/Library/Mobile Documents/com~apple~CloudDocs/texMain/ColumnsetTest.tex' fonts > preloading latin modern fonts (third stage) fonts > 'fallback modern-designsize rm 10pt' is loaded colors > 'rgb' color space is supported colors > 'cmyk' color space is supported modules > 'newcolumnsets' is loaded open source > level 2, order 3, name '/Users/graph/ConTeXtL/tex/texmf-context/tex/context/base/mkiv/m-newcolumnsets.mkiv' close source > level 2, order 3, name '/Users/graph/ConTeXtL/tex/texmf-context/tex/context/base/mkiv/m-newcolumnsets.mkiv' mtx-context | fatal error: return code: 11 The terminal process "zsh '-c', 'export PATH=~/ConTeXtL/tex/texmf-osx-64/bin:$PATH;mtxrun --autogenerate --script context --autopdf --purge '/Users/graph/Library/Mobile Documents/com~apple~CloudDocs/texMain/ColumnsetTest.tex''" terminated with exit code: 1.
On 12/9/2021 1:27 PM, Jeong Dal via ntg-context wrote:
error messages:
Documents/com~apple~CloudDocs/texMain/ColumnsetTest.tex', result '/Users/graph/Library/Mobile
Documents/com~apple~CloudDocs/texMain/ColumnsetTest.tex''" terminated with exit code: 1.* no clue ... does lmtx also fail? is it an apple binary issue?
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 9 Dec 2021, at 16:32, Hans Hagen via ntg-context
wrote: On 12/9/2021 1:27 PM, Jeong Dal via ntg-context wrote:
error messages:
Documents/com~apple~CloudDocs/texMain/ColumnsetTest.tex', result '/Users/graph/Library/Mobile
Documents/com~apple~CloudDocs/texMain/ColumnsetTest.tex''" terminated with exit code: 1.* no clue ... does lmtx also fail? is it an apple binary issue?
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 -----------------------------------------------------------------
It works fine for me under macOS Monterey and LMTX version: mtx-context | current version: 2021.12.03 15:20 Dalyoung: the error line that Hans quoted implies that your .tex file is on your iCloud drive. Try moving it to a local, hard drive. — Bruce Horrocks Hampshire, UK
participants (3)
-
Bruce Horrocks
-
Hans Hagen
-
Jeong Dal