ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: Re: An Exam Preparation Issue (framedtext and overlap problem)
Date: Tue, 26 Oct 2010 19:41:19 +0200	[thread overview]
Message-ID: <E9E90172-E9C8-4F3E-8C9D-186B93552A3A@gmail.com> (raw)
In-Reply-To: <AANLkTin80QKhMySwsPLjUueUbzQ+ZZtKN4qXWxLs3sn2@mail.gmail.com>


Am 26.10.2010 um 09:48 schrieb Murat Demirten:

> Hi,
> 
> I'm so new in the Context's voodoo world and I'm trying to build an exam from a questions database.
> 
> A regular question has 5 options and only one correct answer.
> 
> I want to prepare a good looking pdf file, the most important requirement for the pdf is that, a question and all of its 5 options must be on the same page.
> 
> So I found the startframedtext command and start to work on it. Now I have 16 questions and their options in the tex file, but on the Page1 only questions 1-6 shown and question 6 divided. On the second page it continue from question 16 (7-15 doesn't shown).
> 
> I've no idea about this, if anyone can show me a way to found real problem I'll be very glad.

The odd behavior is caused by the „columns“ option in the itemize (which will never work for you in your file because you use it inside framedtext where columns are not possible). You can also see the effect in this far simpler example:

\starttext

\dorecurse{20}
  {\startframedtext
   \startcolumns
    text
   \stopcolumns
   \stopframedtext}

\stoptext 

Wolfgang


___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2010-10-26 17:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <AANLkTingFWoJRzxs7b19jUuxwHYTGezTg3CkR5URX_O4@mail.gmail.com>
2010-10-26  7:48 ` Murat Demirten
2010-10-26 17:41   ` Wolfgang Schuster [this message]
2010-10-26 17:54     ` Murat Demirten

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=E9E90172-E9C8-4F3E-8C9D-186B93552A3A@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).