From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113685 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jeong Dal via ntg-context Newsgroups: gmane.comp.tex.context Subject: using the newcolumnsets module Date: Thu, 9 Dec 2021 21:27:57 +0900 Message-ID: <59F448EF-B6E8-46D4-B462-EEA96DA55A30@me.com> References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Content-Type: multipart/mixed; boundary="===============8646347424976479239==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7188"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Jeong Dal To: "list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 09 13:37:34 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mvIg2-0001bD-Rb for gctc-ntg-context-518@m.gmane-mx.org; Thu, 09 Dec 2021 13:37:34 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 4706A2A1EC8; Thu, 9 Dec 2021 13:36:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b2yGX6FD43bO; Thu, 9 Dec 2021 13:36:53 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id BACB62A1E5D; Thu, 9 Dec 2021 13:36:53 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 8C3252A1E56 for ; Thu, 9 Dec 2021 13:36:52 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id isBv3Ucvv8v1 for ; Thu, 9 Dec 2021 13:36:51 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=17.58.6.54; helo=pv50p00im-tydg10021701.me.com; envelope-from=haksan@me.com; receiver= X-Greylist: delayed 519 seconds by postgrey-1.36 at zapf.ntg.nl; Thu, 09 Dec 2021 13:36:50 CET Original-Received: from pv50p00im-tydg10021701.me.com (pv50p00im-tydg10021701.me.com [17.58.6.54]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id DF8EB2A18BC for ; Thu, 9 Dec 2021 13:36:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1639052889; bh=WsoQnFUwXOViad8crpLTnpGm9vhhEMfWVqZGJ6OJeYE=; h=From:Content-Type:Mime-Version:Subject:Date:To:Message-Id; b=hRxzi0+nbwGupLBetw5Xn5zXobFoH/aV+o5xI8lXX81s1NDRAcLT5xEddHM1sO9qK 34YuM1GGwFpfj3fK4ncDij5Pda1PNpLok8Io0aUr37Ml2bzktoOOEplkjv9bBtp6f9 X2P4gbAde/pA6Nbr8+pElY3c+/4F8y5M1upVQT92NwpQ4AiEGSvIWfweLuIgkKFcl6 YiCf6CQcS7VoABu2DEaqaMDwG0nj1SnyRqrz7wxlsx19OBmFwqrKVDXzfZ6RDR377X Ds3ADQ3ATxFwyAou4XCPYqwvyzEVZnxHamy3jK/g07r8K2yTHduXbybqK5oGneuqsT EgnvD+ygHJiQQ== Original-Received: from smtpclient.apple (unknown [211.109.237.32]) by pv50p00im-tydg10021701.me.com (Postfix) with ESMTPSA id D37ED840743 for ; Thu, 9 Dec 2021 12:28:02 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3654.100.0.2.22) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.425, 18.0.790 definitions=2021-12-08_08:2021-12-08, 2021-12-08 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2112090069 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:113685 Archived-At: --===============8646347424976479239== Content-Type: multipart/alternative; boundary="Apple-Mail=_F5226E8A-B408-4644-A350-51D94644B184" --Apple-Mail=_F5226E8A-B408-4644-A350-51D94644B184 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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 =E2=80=9C\startcolumns \stopcolumns=E2=80=9D, then it has no = problem. But using =E2=80=9C\startcolumnset[exam] =E2=80=A6 \stopcolumnset=E2=80=9D= produces error message =E2=80=9Creturn code 11=E2=80=9D. It loads =E2=80=9Cm-newcolumnset.tex=E2=80=9D 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 =3D = 1: shifted(-2mm,0) fi ; draw leftboundary OverlayBox shifted (-1mm,0); %if CurrentColumn =3D = 2: shifted(2mm,0) fi ; =20 draw bottomboundary OverlayBox leftenlarged 1mm rightenlarged 1mm; \stopuseMPgraphic \defineoverlay [headerBox] [\useMPgraphic{squareBox}] \startuseMPgraphic{verticalrule3} draw rightboundary OverlayBox shifted (1mm,0); %if CurrentColumn =3D = 1: shifted(-2mm,0) fi ; draw leftboundary OverlayBox shifted (-1mm,0); %if CurrentColumn =3D = 2: shifted(2mm,0) fi ; =20 draw bottomboundary OverlayBox leftenlarged 1mm rightenlarged 1mm; \stopuseMPgraphic \defineoverlay [verticalrule] [\useMPgraphic{verticalrule3}] \definecolumnset [exam] [n=3D2, background=3Dverticalrule] \setuplayout[width=3D19cm, height=3D26cm, header=3D1cm, = footer=3D.5cm,backspace=3D1cm] \setupheader[before=3D\vfil, after=3D\vfil] \setupbackgrounds[header][text][frame=3Doff, background=3DheaderBox, = align=3Dlohi]%topframe=3D \setupbackgrounds[footer][text][frame=3Doff, background=3Dscreen] \define[3]\headTitle{\setupheadertexts[][\bf #1 \hfill #2 \hfill #3 = \hfill ID: \hskip 2cm Name: \hskip 2cm]} \setupmathematics[autopunctuation=3Dno, integral=3Dnolimits] \setupbodyfont[rm,10pt] \setuppagenumbering[location=3Dfooter] \setupcolors[state=3Dstart] %\setupexternalfigure[directory=3D{/Users/graph/Documents/figures,}] \headTitle{2021. 12. 9.}{Set Theory}{Final Exam} \usemodule[newcolumnsets] \starttext \startcolumns[rule=3Don,n=3D2,leftframe=3Don] %\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 >=20 system > 'cont-new.mkxl' loaded open source > level 1, order 1, name = '/Users/graph/ConTeXtL/tex/texmf-context/tex/context/base/mkxl/cont-new.mk= xl' 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.mk= xl' 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-newcolumn= sets.mkiv' close source > level 2, order 3, name = '/Users/graph/ConTeXtL/tex/texmf-context/tex/context/base/mkiv/m-newcolumn= sets.mkiv' mtx-context | fatal error: return code: 11 The terminal process "zsh '-c', 'export = PATH=3D~/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. --Apple-Mail=_F5226E8A-B408-4644-A350-51D94644B184 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
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 =E2=80=9C\startcolumns = \stopcolumns=E2=80=9D, then it has no problem.
But using = =E2=80=9C\startcolumnset[exam] =E2=80=A6 \stopcolumnset=E2=80=9D = produces error message =E2=80=9Creturn code 11=E2=80=9D.
It = loads =E2=80=9Cm-newcolumnset.tex=E2=80=9D 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 =3D 1: = shifted(-2mm,0) fi ;
draw leftboundary OverlayBox = shifted (-1mm,0); = %if CurrentColumn =3D 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 =3D 1: = shifted(-2mm,0) fi ;
draw leftboundary OverlayBox = shifted (-1mm,0); = %if CurrentColumn =3D 2: = shifted(2mm,0) fi ;
draw bottomboundary OverlayBox = leftenlarged 1mm rightenlarged 1mm;
\stopuseMPgraphic

\defineoverlay
[verticalrule]
[\useMPgraphic{verticalrule3}]

\definecolumnset
= [exam]
[n=3D2,
background=3Dverticalrule]


\setuplayout[width=3D19cm, height=3D26cm, header=3D1cm, footer=3D.5cm,backspace=3D1cm]
\setupheader[before=3D\vfil, after=3D\vfil]
\setupbackgrounds[header][text][frame=3Doff, background=3DheaderBox, align=3Dlohi]%topframe=3D
\setupbackgrounds[footer][text][frame=3Doff, background=3Dscreen]

\define[3]\headTitle{\setupheadertexts[][\bf= #1 \hfill = #2 \hfill = #3 \hfill ID: = \hskip 2cm Name: \hskip 2cm]}

\setupmathematics[autopunctuation=3Dno, integral=3Dnolimits]

\setupbodyfont[rm,10pt]
\setuppagenumbering[location=3Dfooter]
\setupcolors[state=3Dstart]
%\setupexternalfigure[directory=3D{/Users/graph/Documents/figures,}]

\headTitle{2021. 12. 9.}{Set Theory}{Final Exam}

\usemodule[newcolumnsets]

\starttext

\startcolumns[rule=3Don,n=3D2,leftframe=3Don]
%\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 >=20 system > 'cont-new.mkxl' loaded open source > level 1, order 1, name = '/Users/graph/ConTeXtL/tex/texmf-context/tex/context/base/mkxl/cont-new.mk= xl' 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.mk= xl' 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-newcolumn= sets.mkiv' close source > level 2, order 3, name = '/Users/graph/ConTeXtL/tex/texmf-context/tex/context/base/mkiv/m-newcolumn= sets.mkiv' mtx-context | fatal error: return code: 11 The terminal process "zsh '-c', 'export = PATH=3D~/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.

= --Apple-Mail=_F5226E8A-B408-4644-A350-51D94644B184-- --===============8646347424976479239== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============8646347424976479239==--