ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <dwarnold45@cox.net>
Subject: Unexplained blank page when using textblocks
Date: Tue, 21 Mar 2006 12:46:09 -0800	[thread overview]
Message-ID: <B13F2E69-DCE5-4C14-9B94-551159AA04CC@cox.net> (raw)

All,

I am using:

tmp $ texexec --version

TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005

                texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005
                texutil : TeXUtil 9.0.1 - ConTeXt / PRAGMA ADE 1992-2006
                    tex : pdfeTeX, 3.141592-1.30.4-2.2 (Web2C 7.5.5)
                context : ver: 2006.03.20 10:19
                cont-en : ver: 2006.03.20 10:19  fmt: 2006.3.21  mes:  
english
                cont-nl : ver: 2006.03.20 10:19  fmt: 2006.3.21  mes:  
dutch

         total run time : 3 seconds

I get a blank page 2 (except for subsection title) for the following  
source. Thought you'd like to be aware of this.

%output=pdf

\starttext

\setupindenting[medium,yes]

\setupwhitespace[medium]

\setupcolumns
   [verytolerant,distance=4em]

\setupcolors[state=start]

\defineenumeration[question]
\setupenumerations
   [question]
   [location=inleft,
    text={\color[blue]\bgroup},
    stopper={.\egroup},
    way=bysection,
    sectionnumber=no]

\defineenumeration[answer]
\setupenumerations
   [answer]
   [location=inleft,
    text={\color[blue]\bgroup},
    stopper={.\egroup},
    way=bysection,
    sectionnumber=no]

\defineblock[question,answer]
\hideblocks[answer]

\chapter{First Chapter}

\dorecurse{1}{\input tufte\par}

\section{First Section}

\dorecurse{2}{\input tufte\par}

\subsection{Exercises}

\startcolumns[n=2]

\beginquestion
\startquestion[ex:1]
   What is the square root of $\pi$?
\stopquestion
\endquestion

\beginanswer
\startanswer
   $\sqrt\pi$
\stopanswer
\endanswer

\beginquestion
\startquestion
     In exercise~\in[ex:1], we found $\sqrt{\pi}$. What is the square  
root of $\pi$?
\stopquestion
\endquestion

\beginanswer
\startanswer
   $\sqrt{\pi}$
\stopanswer
\endanswer

\beginquestion
\startquestion
   What is the square root of $\pi$?
\stopquestion
\endquestion

\beginanswer
\startanswer
   $\sqrt{\pi}$
\stopanswer
\endanswer

\beginquestion
\startquestion
   What is the square root of $\pi$?
\stopquestion
\endquestion

\beginanswer
\startanswer
   $\sqrt{\pi}$
\stopanswer
\endanswer

\stopcolumns

\subsection{Answers}

\startcolumns[n=2]

\selectblocks[answer][criterium=section]

\stopcolumns

\section{Second Section}

\dorecurse{2}{\input tufte\par}

\subsection{Exercises}

\startcolumns[n=2]

\beginquestion
\startquestion
   What is the square root of $2\pi$?
\stopquestion
\endquestion

\beginanswer
\startanswer
   $\sqrt{2\pi}$
\stopanswer
\endanswer

\beginquestion
\startquestion
   What is the square root of $2\pi$?
\stopquestion
\endquestion

\beginanswer
\startanswer
   $\sqrt{2\pi}$
\stopanswer
\endanswer

\beginquestion
\startquestion
   What is the square root of $2\pi$?
\stopquestion
\endquestion

\beginanswer
\startanswer
   $\sqrt{2\pi}$
\stopanswer
\endanswer

\beginquestion
\startquestion
   What is the square root of $2\pi$?
\stopquestion
\endquestion

\beginanswer
\startanswer
   $\sqrt{2\pi}$
\stopanswer
\endanswer

\stopcolumns

\subsection{Answers}

\startcolumns[n=2]

\selectblocks[answer][criterium=section]

\stopcolumns

\section{Third Section}

\dorecurse{2}{\input tufte\par}

\subsection{Exercises}

\startcolumns[n=2]

\beginquestion
\startquestion
   What is the square root of $3\pi$?
\stopquestion
\endquestion

\beginanswer
\startanswer
   $\sqrt{3\pi}$
\stopanswer
\endanswer

\beginquestion
\startquestion
   What is the square root of $3\pi$?
\stopquestion
\endquestion

\beginanswer
\startanswer
   $\sqrt{3\pi}$
\stopanswer
\endanswer

\beginquestion
\startquestion
   What is the square root of $3\pi$?
\stopquestion
\endquestion

\beginanswer
\startanswer
   $\sqrt{3\pi}$
\stopanswer
\endanswer

\beginquestion
\startquestion
   What is the square root of $3\pi$?
\stopquestion
\endquestion

\beginanswer
\startanswer
   $\sqrt{3\pi}$
\stopanswer
\endanswer

\stopcolumns

\subsection{Answers}

\startcolumns[n=2]

\selectblocks[answer][criterium=section]

\stopcolumns

\section{Appendix}

\setupenumerations[answer][sectionnumber=yes]

\startcolumns[n=2]

\selectblocks[answer][criterium=chapter]

\stopcolumns



\stoptext

                 reply	other threads:[~2006-03-21 20:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=B13F2E69-DCE5-4C14-9B94-551159AA04CC@cox.net \
    --to=dwarnold45@cox.net \
    --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).