ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alasdair McAndrew <amca01@gmail.com>
To: Hans Hagen <pragma@wxs.nl>, ntg-context@ntg.nl
Subject: Re: Itemize not breaking across pages?
Date: Fri, 11 Mar 2011 14:07:47 +1100	[thread overview]
Message-ID: <AANLkTim7yenVQgMyQYfvj1V-84F3xbDQsseb_Ohk5uTe@mail.gmail.com> (raw)
In-Reply-To: <4D78A17C.6010205@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 2099 bytes --]

The trouble arises when I put my tables into narrower, framedtext so as to
be able to force proper indentation:

\starttext

\startitemize[n]
\dorecurse{20}{\item This is a test

\startnarrower[left]
    \startframedtext[frame=off,offset=overlay]
\starttables[|l|l|l|l|l|l|l|l|]
      \NC (a) \NC Problem 1
      \NC (b) \NC Problem 2
      \NC (c) \NC Problem 3
      \NC (d) \NC Problem 4 \NC\NR
      \noalign{\blank[3mm]}
      \NC (e) \NC Problem 5
      \NC (f) \NC Problem 6
      \NC (g) \NC Problem 7
      \NC (h) \NC Problem 8 \NC\NR
    \stoptables
 \stopframedtext
    \stopnarrower}

\stopitemize

\stoptext

On the other hand, the file:

\starttext

\startitemize[n]
\dorecurse{20}{\item This is a test

\starttables[|l|l|l|l|l|l|l|l|]
      \NC (a) \NC Problem 1
      \NC (b) \NC Problem 2
      \NC (c) \NC Problem 3
      \NC (d) \NC Problem 4 \NC\NR
      \noalign{\blank[3mm]}
      \NC (e) \NC Problem 5
      \NC (f) \NC Problem 6
      \NC (g) \NC Problem 7
      \NC (h) \NC Problem 8 \NC\NR
    \stoptables}

\stopitemize

\stoptext

breaks across pages properly, but the tables aren't properly aligned at the
left.

cheers,
Alasdair


On Thu, Mar 10, 2011 at 9:01 PM, Hans Hagen <pragma@wxs.nl> wrote:

> On 10-3-2011 8:10, Alasdair McAndrew wrote:
>
>> I am setting up notes and exercises for my students.  Each set of
>> exercises
>> is in an itemize environment, and each \item consists of a table of
>> problems.  The trouble is, the itemize doesn't break across pages - I have
>> to put manual page breaks in.
>>
>
> small example needed
>
> -----------------------------------------------------------------
>                                          Hans Hagen | PRAGMA ADE
>              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                             | www.pragma-pod.nl
> -----------------------------------------------------------------
>



-- 
Blog: http://amca01.wordpress.com
Web:  http://bit.ly/Alasdair
Facebook: http://www.facebook.com/alasdair.mcandrew

[-- Attachment #1.2: Type: text/html, Size: 3044 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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:[~2011-03-11  3:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-10  7:10 Alasdair McAndrew
2011-03-10 10:01 ` Hans Hagen
2011-03-11  3:07   ` Alasdair McAndrew [this message]
2011-03-11 19:05     ` Wolfgang Schuster
2011-03-11 22:15       ` Alasdair McAndrew

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=AANLkTim7yenVQgMyQYfvj1V-84F3xbDQsseb_Ohk5uTe@mail.gmail.com \
    --to=amca01@gmail.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).