[NTG-context] Re: \startcolumns and \startcolumnset

2024-02-09 Thread Jeong Dal via ntg-context
Dear Otared,

Thank you for testing.

I run the sample after changing the column command to ‘\startsimplecolumns … 
\stopsimplecolumns’.

I got the same result as  your output. And it is same as the result using 
\startcolumns … \stopcolumns.

If ‘\vfill’ works, then it is OK for me, but it isn’t.

It works under the command “\startcolumnset … \stopcolumnset”.
But there are another problem under the ‘columnist’ command.

I’ll read the manual of columnset carefully.

Best regards,

Dalyoung


> 2024. 2. 9. 오후 1:37, Otared Kavian  작성:
> 
> Dear Dalyoung,
> 
> Have you tried 
> \startsimplecolumns
> 
> \stopsimplecolumns
>  instead of the columnset mechanism?
> 
> In your example I put the above commands and I got the attached PDF: is this 
> what you want to obtain?
> 
> Best regards: Otared
> 
> 
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] Re: \startcolumns and \startcolumnset

2024-02-08 Thread Otared Kavian
Dear Dalyoung,Have you tried \startsimplecolumns\stopsimplecolumns instead of the columnset mechanism?In your example I put the above commands and I got the attached PDF: is this what you want to obtain?Best regards: Otared

columns-figures.pdf
Description: Adobe PDF document
On 9 Feb 2024, at 02:22, Jeong Dal via ntg-context <ntg-context@ntg.nl> wrote:Dear all,I have a little problem to use “columns” in the following example.If I use “\startcolumnset”, then I have the following problems:	1. The figures is aligned left even though I use \startplacefigure[].	2. In the second column, the first item located at the end of the page.However, \vfill works, so I managed the items evenly spaced vertically.If I use “\startcolumns”, then I have the following problems:	1. \vfill doesn’t works, but \blank[] works. So, it isn’t easy to locate the items evenly spaced vertically.Here are sample code and its outputs of two cases for comparison.Any suggestions are welcomed.Tomorrow is the New Years day in Lunar calendar.Happy new year, again.Best regards,Dalyoung%%%\startuseMPgraphic{mark}path p;p := unitsquare scaled 3cm;draw p;draw (point 0 of p)--(point 2 of p);draw (point 1 of p)--(point 3 of p);\stopuseMPgraphic\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;   draw topboundary OverlayBox leftenlarged 1mm rightenlarged 1mm;\stopuseMPgraphic\defineoverlay  [verticalrule]  [\useMPgraphic{verticalrule3}]\setuppagenumbering[state=stop]\setupexternalfigures[location={local,defalut}]\definecolumnset  [quiz]  [n=2,background=verticalrule]\setupbodyfont[bonum, rm, 11pt]\starttext %\startcolumns[n=2,background="">\startcolumnset[quiz]\startitemize[n]  \item Solve the following linear equations.  \startitemize[r]\item equation%\blank[3.5cm]\vfill\item equation%\blank[3.5cm]\vfill\item equation\blank[3.5cm]\item equation\blank[3.5cm]\item equation\blank[3.5cm]  \stopitemize  \hrule\column  \item Draw the graph of the following linear function.\startitemize[r]\item $2x +3y = 6$\startplacefigure[location={here,none},]\useMPgraphic{mark}\stopplacefigure  \item $y = 2x - 1$  \startplacefigure[location={here,none}]\useMPgraphic{mark}\stopplacefigure\stopitemize  \item Find the formula of the line 1:  \vfill  \item Find the formula of the line 2:  \vfill\stopitemize\stopcolumnset\stoptext%%___If your question is of interest to others as well, please add an entry to the Wiki!maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nlwebpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)archive  : https://github.com/contextgarden/contextwiki : https://wiki.contextgarden.net___
Otared Kaviane-mail: ota...@gmail.comPhone: +33 6 88 26 70 95

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] \startcolumns and \startcolumnset

2024-02-08 Thread Jeong Dal via ntg-context
Dear all,I have a little problem to use “columns” in the following example.If I use “\startcolumnset”, then I have the following problems:	1. The figures is aligned left even though I use \startplacefigure[].	2. In the second column, the first item located at the end of the page.However, \vfill works, so I managed the items evenly spaced vertically.If I use “\startcolumns”, then I have the following problems:	1. \vfill doesn’t works, but \blank[] works. So, it isn’t easy to locate the items evenly spaced vertically.Here are sample code and its outputs of two cases for comparison.Any suggestions are welcomed.Tomorrow is the New Years day in Lunar calendar.Happy new year, again.Best regards,Dalyoung%%%\startuseMPgraphic{mark}path p;p := unitsquare scaled 3cm;draw p;draw (point 0 of p)--(point 2 of p);draw (point 1 of p)--(point 3 of p);\stopuseMPgraphic\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;   draw topboundary OverlayBox leftenlarged 1mm rightenlarged 1mm;\stopuseMPgraphic\defineoverlay  [verticalrule]  [\useMPgraphic{verticalrule3}]\setuppagenumbering[state=stop]\setupexternalfigures[location={local,defalut}]\definecolumnset  [quiz]  [n=2,background=verticalrule]\setupbodyfont[bonum, rm, 11pt]\starttext %\startcolumns[n=2,background="">\startcolumnset[quiz]\startitemize[n]  \item Solve the following linear equations.  \startitemize[r]\item equation%\blank[3.5cm]\vfill\item equation%\blank[3.5cm]\vfill\item equation\blank[3.5cm]\item equation\blank[3.5cm]\item equation\blank[3.5cm]  \stopitemize  \hrule\column  \item Draw the graph of the following linear function.\startitemize[r]\item $2x +3y = 6$\startplacefigure[location={here,none},]\useMPgraphic{mark}\stopplacefigure  \item $y = 2x - 1$  \startplacefigure[location={here,none}]\useMPgraphic{mark}\stopplacefigure\stopitemize  \item Find the formula of the line 1:  \vfill  \item Find the formula of the line 2:  \vfill\stopitemize\stopcolumnset\stoptext%%

testColumns.pdf
Description: Adobe PDF document


testColumnset.pdf
Description: Adobe PDF document
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___


[NTG-context] \startcolumnset ... \stopcolumnset is working.

2022-09-14 Thread Jeong Dal via ntg-context
Dear all,

I didn’t test “\startcolumnset … \stopcolumnset” for some time, because I got 
error whenever I tested it under Mac OS Big Sur. 

However, two days ago, I tested it, and found that it was working.
I install updated version today and run a test file again.
Finally, I get an output without error!

I don't know what is happened, but it is a good news.

Here is a sample file which I simplified one that is given by one of the 
experts.
Someone may modify it better.

Thanks to ConTeXt team.

Best regards,

Dalyoung


\startuseMPgraphic{squareBox}
   draw topboundary OverlayBox leftenlarged 1mm rightenlarged 1mm;
   draw bottomboundary OverlayBox leftenlarged 1mm rightenlarged 1mm;
   draw rightboundary OverlayBox shifted (1mm,0); 
   draw leftboundary OverlayBox shifted (-1mm,0); 
\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. 12.}{Set Theory}{Final Exam}

\starttext

\startcolumnset[exam]

\startitemize[n]
  \item The first problem.
  \column

  \item The second problem.
  \column

  \item The third problem.
  \column
  \item The third problem.


\stopitemize
\stopcolumnset

\stoptext

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___


Re: [NTG-context] \startcolumnset ... \stopcolumnset fatal error: return code 11

2022-01-17 Thread Ben Moon via ntg-context
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
___


Re: [NTG-context] \startcolumnset ... \stopcolumnset fatal error: return code 11

2021-12-17 Thread John Kitzmiller via ntg-context
>
> Date: Fri, 17 Dec 2021 08:49:55 +0900
> From: Jeong Dal 
> 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
___
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
___


[NTG-context] \startcolumnset ... \stopcolumnset fatal error: return code 11

2021-12-16 Thread Jeong Dal via ntg-context
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.

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


Re: [NTG-context] balanced vertical spaces under \startcolumnset

2019-08-26 Thread Jeong Dal
Dear Sytse,

Thank you for your suggestion.

> 
> Maybe paragraphs work for you?
> (https://wiki.contextgarden.net/Columns)

I will check it. 

BTW, Use “\column” and don’t print a blank page is the simplest way.

Thank you again.

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
___


Re: [NTG-context] balanced vertical spaces under \startcolumnset

2019-08-24 Thread Sytse Knypstra
Maybe paragraphs work for you?
(https://wiki.contextgarden.net/Columns)

Sytse


> Op 22 augustus 2019 om 15:37 schreef Jeong Dal :
> 
> 
> Dear Sytse Knypstra,
> 
> Thank you for your reply.
> 
> I read the manual “Columns” as you suggested.
> The command \setupcolumnsetstart made a balanced output.
> But my problem is little different from it.
> 
> I want exam paper of two columns in a page and  in each column 
>  two problems located with the same space for solution.
> In general, it worked well, except the solution space of the last problem.
> Without \column, the heights of the two problems in the last column are 
> different.
> With \column, the heights are same, but it create another extra blank page.
> 
> It is not a big problem, but I wonder there is a solution.
> 
> Thank you for your concern.
> 
> Best regards,
> 
> Dalyoung
> 
> > 
> > \setuplayout[grid=yes]
> > \emptylines[...] % see the command \emptylines in ConTeXtgarden
> > \setupcolumnsetstart[...][...][...][...] % see the manual COLUMNS, page 9
> > \setupcolumnsetlines[...][...][...][...] % see the manual COLUMNS, page 9
> > %\showgrid % uncomment if you want to see the grid lines and line numbers
> > 
> > You find the manual COLUMNS under the heading 'Layout' on
> > https://wiki.contextgarden.net/Manuals.
> > 
> > With kind regards,
> > 
> > Sytse
> 
>
___
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
___


Re: [NTG-context] balanced vertical spaces under \startcolumnset

2019-08-22 Thread Jeong Dal
Dear Sytse Knypstra,

Thank you for your reply.

I read the manual “Columns” as you suggested.
The command \setupcolumnsetstart made a balanced output.
But my problem is little different from it.

I want exam paper of two columns in a page and  in each column 
 two problems located with the same space for solution.
In general, it worked well, except the solution space of the last problem.
Without \column, the heights of the two problems in the last column are 
different.
With \column, the heights are same, but it create another extra blank page.

It is not a big problem, but I wonder there is a solution.

Thank you for your concern.

Best regards,

Dalyoung

> 
> \setuplayout[grid=yes]
> \emptylines[...] % see the command \emptylines in ConTeXtgarden
> \setupcolumnsetstart[...][...][...][...] % see the manual COLUMNS, page 9
> \setupcolumnsetlines[...][...][...][...] % see the manual COLUMNS, page 9
> %\showgrid % uncomment if you want to see the grid lines and line numbers
> 
> You find the manual COLUMNS under the heading 'Layout' on
> https://wiki.contextgarden.net/Manuals.
> 
> With kind regards,
> 
> Sytse

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


Re: [NTG-context] balanced vertical spaces under \startcolumnset

2019-08-21 Thread Sytse Knypstra
Dear Jeong Dal,

I use the following functions to control the start and end of columns in a 
columnset:


\setuplayout[grid=yes]
\emptylines[...] % see the command \emptylines in ConTeXtgarden
\setupcolumnsetstart[...][...][...][...] % see the manual COLUMNS, page 9
\setupcolumnsetlines[...][...][...][...] % see the manual COLUMNS, page 9
%\showgrid % uncomment if you want to see the grid lines and line numbers

You find the manual COLUMNS under the heading 'Layout' on
https://wiki.contextgarden.net/Manuals.

With kind regards,

Sytse


> Op 20 augustus 2019 om 12:37 schreef Jeong Dal :
> 
> 
> Dear all,
> 
> I use the following code to make test.
> To make the same height blank spaces after the problems, I use \vfill before 
> \column.
> The problem is that the second \column creates extra blank page.
> But, without the second \column, the height of blank spaces of the second 
> column are different.
> 
> Is there a way to make the blank spaces height same while not to create a 
> blank page?
> 
> Thank you for reading.
> 
> Best regards,
> 
> Dalyoung
> 
> 
> \usetypescriptfile[type-siz]
> \usemodule[units]
> \setupbodyfont[10pt,rm]
> \definecolumnset
>  [exam]
>  [n=2]
> 
> \starttext
> 
> \startcolumnset[exam]
> 
> \startitemize[n]
> \item Answer to the questions:
>   \vfill
> 
>\item Answer to the questions:
>   \vfill
> 
> \column
> 
> \item Answer to the questions:
>   \vfill
> 
>\item Answer to the questions:
>   \vfill
> 
> %\column
> 
> \stopitemize
> \stopcolumnset
> 
> \stoptext
___
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
___


[NTG-context] balanced vertical spaces under \startcolumnset

2019-08-20 Thread Jeong Dal
Dear all,

I use the following code to make test.
To make the same height blank spaces after the problems, I use \vfill before 
\column.
The problem is that the second \column creates extra blank page.
But, without the second \column, the height of blank spaces of the second 
column are different.

Is there a way to make the blank spaces height same while not to create a blank 
page?

Thank you for reading.

Best regards,

Dalyoung


\usetypescriptfile[type-siz]
\usemodule[units]
\setupbodyfont[10pt,rm]
\definecolumnset
 [exam]
 [n=2]

\starttext

\startcolumnset[exam]

\startitemize[n]
\item Answer to the questions:
\vfill

   \item Answer to the questions:
\vfill

\column

\item Answer to the questions:
\vfill

   \item Answer to the questions:
\vfill

%\column

\stopitemize
\stopcolumnset

\stoptext

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


Re: [NTG-context] \startplacetable in \startcolumnset

2018-04-19 Thread Wolfgang Schuster

Hi Dalyoung,

setup-en.pdf lists only the options for the new columnset code but it 
uses the internal pagegrid commands.


I’m going to change this to have the commands with the columnset names 
in the next version.


Wolfgang

Jeong Dal 
19. April 2018 um 17:05
Hi,

I found \definecolumnset in the wiki not in the setup-en.pdf.
I’ll test it again.

Thank you for reading.

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
___


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

[NTG-context] \startplacetable in \startcolumnset

2018-04-19 Thread Jeong Dal
Hi,

I found \definecolumnset in the wiki not in the setup-en.pdf.
I’ll test it again.

Thank you for reading.

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
___

[NTG-context] \startplacetable in \startcolumnset

2018-04-19 Thread Jeong Dal
Hi,

I used the following exam format well which was set by the help of Wolfgang 
long time ago.

Recently I got a strange output when I used \startplacetable or \placetable in 
the \startcolumnset … \stopcolumnset.
There is a strange number first and table in the next column.
The output is OK if I comment out either \startcolumnset or \placetable.

Is “\definecolumnset, \startcolumnset” still a good command? I couldn’t find it 
in the list of commands.

Thank you for reading.

Best regards,

Dalyoung

%
\startuseMPgraphic{verticalrule}
  if CurrentColumn < NOfColumns :
draw leftboundary OverlayBox;%  shifted (-1mm,0);
draw rightboundary OverlayBox shifted (4mm,0);
draw rightboundary OverlayBox shifted (TextWidth+6mm,0);
draw bottomboundary OverlayBox shifted (1mm,0);
draw bottomboundary OverlayBox shifted (TextWidth+6mm,0);
setbounds currentpicture to OverlayBox enlarged 2.5mm;
  fi
\stopuseMPgraphic

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

\definecolumnset
  [exam]
  [n=2,
   background=verticalrule]

\starttext

\startcolumnset[exam]
\startcolumns[n=2, rule=on]
\startitemize[n]
\item Question 1.
Good
\vfill
\column
\item Question 2
%   \startplacetable[location=]
{\starttabulate[|c|c|c|]
\NC A   \NC B   \NC C \NC\NR
\NC A   \NC B   \NC C \NC\NR
\NC A   \NC B   \NC C \NC\NR
\stoptabulate}
%   \stopplacetable
\vfill
\stopitemize
\stopcolumns
\stopcolumnset
\stoptext

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