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
___