ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: using the newcolumnsets module
       [not found] <mailman.52.1639067592.431.ntg-context@ntg.nl>
@ 2021-12-09 18:13 ` Jeong Dal via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: Jeong Dal via ntg-context @ 2021-12-09 18:13 UTC (permalink / raw)
  To: list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
	ntg-context@ntg.nl
  Cc: Jeong Dal

Dear Hans,

>> Documents/com~apple~CloudDocs/texMain/ColumnsetTest.tex''" terminated 
>> with exit code: 1.*
> no clue ... does lmtx also fail? is it an apple binary issue?

I am running LMTX now.
It opens and closes  "*-newcolumnsets.mkiv” files(we can find the lines in the log file).
I also tested the  files which had no problem a month ago, but got the same error message now.

I reinstalled context and test it. 
But the result is same.

I am going to test it more.

Thank you.

Best regards,

Dalyoung


___________________________________________________________________________________
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] 4+ messages in thread

* Re: using the newcolumnsets module
       [not found] <mailman.59.1639073629.431.ntg-context@ntg.nl>
  2021-12-09 19:17 ` Jeong Dal via ntg-context
@ 2021-12-09 19:52 ` Jeong Dal via ntg-context
  1 sibling, 0 replies; 4+ messages in thread
From: Jeong Dal via ntg-context @ 2021-12-09 19:52 UTC (permalink / raw)
  To: list ntg-context@ntg.nl ntg-context@ntg.nl ntg-context@ntg.nl
	ntg-context@ntg.nl
  Cc: Jeong Dal


Dear Hans, Bruce Horrocks,

I test the file using MacVim and confirm that it works fine.
Thus, something happened in my system or environment of vscode.
I may reinstall vscode.

Thank you.

Best regards,

Dalyoung
___________________________________________________________________________________
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] 4+ messages in thread

* Re: using the newcolumnsets module
       [not found] <mailman.59.1639073629.431.ntg-context@ntg.nl>
@ 2021-12-09 19:17 ` Jeong Dal via ntg-context
  2021-12-09 19:52 ` Jeong Dal via ntg-context
  1 sibling, 0 replies; 4+ messages in thread
From: Jeong Dal via ntg-context @ 2021-12-09 19:17 UTC (permalink / raw)
  To: ntg-context; +Cc: Jeong Dal


Dear Bruce Horrocks,

Thank you for your test.
I have moved the file to the local and run it. But the result is same.
However, since your try worked well, the problem is mine not LMTX.
I am using the editor “vscode”, and there may be something changed in my system recently.

I’ll try using other editors.
Thank you.

Best regards,

Dalyoung

> Message: 4
> Date: Thu, 9 Dec 2021 17:19:48 +0000
> From: Bruce Horrocks <ntg@scorecrow.com>

>> On 9 Dec 2021, at 16:32, Hans Hagen via ntg-context <ntg-context@ntg.nl> 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
>> 
> 
> 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
> 

___________________________________________________________________________________
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] 4+ messages in thread

* using the newcolumnsets module
       [not found] <mailman.1.1639047601.1568.ntg-context@ntg.nl>
@ 2021-12-09 12:27 ` Jeong Dal via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: Jeong Dal via ntg-context @ 2021-12-09 12:27 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: 4454 bytes --]


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.


[-- Attachment #1.2: Type: text/html, Size: 26613 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] 4+ messages in thread

end of thread, other threads:[~2021-12-09 19:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.52.1639067592.431.ntg-context@ntg.nl>
2021-12-09 18:13 ` using the newcolumnsets module Jeong Dal via ntg-context
     [not found] <mailman.59.1639073629.431.ntg-context@ntg.nl>
2021-12-09 19:17 ` Jeong Dal via ntg-context
2021-12-09 19:52 ` Jeong Dal via ntg-context
     [not found] <mailman.1.1639047601.1568.ntg-context@ntg.nl>
2021-12-09 12:27 ` 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).