ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: \startcolumnset ... \stopcolumnset fatal error: return code 11
@ 2022-01-17 17:09 Ben Moon via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Ben Moon via ntg-context @ 2022-01-17 17:09 UTC (permalink / raw)
  To: ntg-context; +Cc: Ben Moon

I too get an error trying to run John’s code and my own (I found this after that wouldn’t work) on macOS. My error code is 1 rather than 11.

system          > ConTeXt  ver: 2022.01.15 17:32 LMTX  fmt: 2022.1.17  int: English/english

mtx-context     | fatal error: return code: 1

Ben


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: \startcolumnset ... \stopcolumnset fatal error: return code 11
       [not found] <mailman.114.1639698602.1172.ntg-context@ntg.nl>
@ 2021-12-17 13:33 ` John Kitzmiller via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: John Kitzmiller via ntg-context @ 2021-12-17 13:33 UTC (permalink / raw)
  To: ntg-context; +Cc: John Kitzmiller


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

>
> Date: Fri, 17 Dec 2021 08:49:55 +0900
> From: Jeong Dal <haksan@me.com>
> Subject: [NTG-context] \startcolumnset ... \stopcolumnset fatal error:
>         return code 11
>
> I have used newcolumnset module to make a test sheet. It was made by the
> help of experts in the list.
> It worked fine a month ago and also worked via TeXlive 2021.
> But I got error using the recent version.
> Thanks Nicola and John for testing.
>
> I have listed it before and tried to find out the cause.
> I have test the following file in the editors,  vscode, vim, atom and even
> in the terminal.
> It might be an apple binary problem as Hans suspected.
> I’d like to know that it is the only problem for Mac users.
>
> Here is the code and the part of error message:
> It was tested in vscode, vim and terminal too.
>
> I am using Mac OSX,
> ConTeXt  ver: 2021.12.03 15:20 LMTX  fmt: 2021.12.9  int: english/english
>
> Thank you for reading.
> Best regards,
>
> Dalyoung
>

I confirm Dalyoung's problem with \columnsets on Mac OSX with current lmtx.

The following MnWE worked on July 2021 versions of lmtx, but does not work
with December versions (gives Fatal Error 11)

\definecolumnset[example][n=2]
  \starttext
     \startcolumnset[example]
       \dorecurse{20}{\input bryson}
     \stopcolumnset
  \stoptext


system          > ConTeXt  ver: 2021.12.14 19:19 LMTX  fmt: 2021.12.16  int:
english/english


mtx-context     | fatal error: return code: 11


HTH,

John

[-- Attachment #1.2: Type: text/html, Size: 5271 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* \startcolumnset ... \stopcolumnset fatal error: return code 11
       [not found] <mailman.1.1639652401.30458.ntg-context@ntg.nl>
@ 2021-12-16 23:49 ` Jeong Dal via ntg-context
  0 siblings, 0 replies; 3+ messages in thread
From: Jeong Dal via ntg-context @ 2021-12-16 23:49 UTC (permalink / raw)
  To: list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
	ntg-context@ntg.nl
  Cc: Jeong Dal


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

Hi,

I have used newcolumnset module to make a test sheet. It was made by the help of experts in the list.
It worked fine a month ago and also worked via TeXlive 2021.
But I got error using the recent version.
Thanks Nicola and John for testing.

I have listed it before and tried to find out the cause.
I have test the following file in the editors,  vscode, vim, atom and even in the terminal.
It might be an apple binary problem as Hans suspected.
I’d like to know that it is the only problem for Mac users.

Here is the code and the part of error message:
It was tested in vscode, vim and terminal too.

I am using Mac OSX, 
ConTeXt  ver: 2021.12.03 15:20 LMTX  fmt: 2021.12.9  int: english/english

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


%%%%%%%%%%
…
open source     > level 2, order 3, name ‘/Users/graph/ConTeXtLM/tex/texmf-context/tex/context/base/mkiv/m-newcolumnsets.mkiv'
close source    > level 2, order 3, name '/Users/graph/ConTeXtLM/tex/texmf-context/tex/context/base/mkiv/m-newcolumnsets.mkiv'
mtx-context     | fatal error: return code: 11
The terminal process "zsh '-c', 'mtxrun --autogenerate --script context --autopdf --purge '/Users/graph/Library/Mobile Documents/com~apple~CloudDocs/texMain/ColumnsetTest.tex''" terminated with exit code: 1.


[-- Attachment #1.2: Type: text/html, Size: 25742 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-01-17 17:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-17 17:09 \startcolumnset ... \stopcolumnset fatal error: return code 11 Ben Moon via ntg-context
     [not found] <mailman.114.1639698602.1172.ntg-context@ntg.nl>
2021-12-17 13:33 ` John Kitzmiller via ntg-context
     [not found] <mailman.1.1639652401.30458.ntg-context@ntg.nl>
2021-12-16 23:49 ` Jeong Dal via ntg-context

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).