ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jeong Dal <haksan@me.com>
To: ntg-context@ntg.nl
Subject: \startplacetable in \startcolumnset
Date: Thu, 19 Apr 2018 23:56:31 +0900	[thread overview]
Message-ID: <BF59A367-797E-4D0D-BD05-2C11D40EB4D6@me.com> (raw)
In-Reply-To: <mailman.927.1524123443.1980.ntg-context@ntg.nl>

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
___________________________________________________________________________________

       reply	other threads:[~2018-04-19 14:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.927.1524123443.1980.ntg-context@ntg.nl>
2018-04-19 14:56 ` Jeong Dal [this message]
2018-04-19 15:05 ` Jeong Dal
2018-04-19 21:07   ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BF59A367-797E-4D0D-BD05-2C11D40EB4D6@me.com \
    --to=haksan@me.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).