* Itemize not breaking across pages?
@ 2011-03-10 7:10 Alasdair McAndrew
2011-03-10 10:01 ` Hans Hagen
0 siblings, 1 reply; 5+ messages in thread
From: Alasdair McAndrew @ 2011-03-10 7:10 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 311 bytes --]
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.
How can I encourage automatic page-breaks?
Thanks,
Alasdair
[-- Attachment #1.2: Type: text/html, Size: 337 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Itemize not breaking across pages?
2011-03-10 7:10 Itemize not breaking across pages? Alasdair McAndrew
@ 2011-03-10 10:01 ` Hans Hagen
2011-03-11 3:07 ` Alasdair McAndrew
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2011-03-10 10:01 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Itemize not breaking across pages?
2011-03-10 10:01 ` Hans Hagen
@ 2011-03-11 3:07 ` Alasdair McAndrew
2011-03-11 19:05 ` Wolfgang Schuster
0 siblings, 1 reply; 5+ messages in thread
From: Alasdair McAndrew @ 2011-03-11 3:07 UTC (permalink / raw)
To: Hans Hagen, ntg-context
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Itemize not breaking across pages?
2011-03-11 3:07 ` Alasdair McAndrew
@ 2011-03-11 19:05 ` Wolfgang Schuster
2011-03-11 22:15 ` Alasdair McAndrew
0 siblings, 1 reply; 5+ messages in thread
From: Wolfgang Schuster @ 2011-03-11 19:05 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 11.03.2011 um 04:07 schrieb Alasdair McAndrew:
> The trouble arises when I put my tables into narrower, framedtext so as to be able to force proper indentation:
Use tabulate.
\starttext
\startitemize[n]
\dorecurse{20}
{\item This is a test
\starttabulate[|*{8}{l|}]
\NC (a) \NC Problem 1
\NC (b) \NC Problem 2
\NC (c) \NC Problem 3
\NC (d) \NC Problem 4 \NC\NR
\TB[3mm]
\NC (e) \NC Problem 5
\NC (f) \NC Problem 6
\NC (g) \NC Problem 7
\NC (h) \NC Problem 8 \NC\NR
\stoptabulate}
\stopitemize
\page
\startitemize[n]
\dorecurse{20}
{\startitem Some text
\startitemize[a,columns,four,unpacked][left=(,right=),stopper=]
\dorecurse{8}{\startitem Problem \recurselevel \stopitem}
\stopitemize
\stopitem}
\stopitemize
\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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Itemize not breaking across pages?
2011-03-11 19:05 ` Wolfgang Schuster
@ 2011-03-11 22:15 ` Alasdair McAndrew
0 siblings, 0 replies; 5+ messages in thread
From: Alasdair McAndrew @ 2011-03-11 22:15 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1731 bytes --]
Thank you - that works fine; especially the first, in which the problems
read in order across, rather than down in columns.
cheers,
Alasdair
On Sat, Mar 12, 2011 at 6:05 AM, Wolfgang Schuster <
schuster.wolfgang@googlemail.com> wrote:
>
> Am 11.03.2011 um 04:07 schrieb Alasdair McAndrew:
>
> > The trouble arises when I put my tables into narrower, framedtext so as
> to be able to force proper indentation:
>
> Use tabulate.
>
> \starttext
>
> \startitemize[n]
> \dorecurse{20}
> {\item This is a test
> \starttabulate[|*{8}{l|}]
> \NC (a) \NC Problem 1
> \NC (b) \NC Problem 2
> \NC (c) \NC Problem 3
> \NC (d) \NC Problem 4 \NC\NR
> \TB[3mm]
> \NC (e) \NC Problem 5
> \NC (f) \NC Problem 6
> \NC (g) \NC Problem 7
> \NC (h) \NC Problem 8 \NC\NR
> \stoptabulate}
> \stopitemize
>
> \page
>
> \startitemize[n]
> \dorecurse{20}
> {\startitem Some text
> \startitemize[a,columns,four,unpacked][left=(,right=),stopper=]
> \dorecurse{8}{\startitem Problem \recurselevel \stopitem}
> \stopitemize
> \stopitem}
> \stopitemize
>
> \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
>
> ___________________________________________________________________________________
>
--
Blog: http://amca01.wordpress.com
Web: http://bit.ly/Alasdair
Facebook: http://www.facebook.com/alasdair.mcandrew
[-- Attachment #1.2: Type: text/html, Size: 2780 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-03-11 22:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-10 7:10 Itemize not breaking across pages? Alasdair McAndrew
2011-03-10 10:01 ` Hans Hagen
2011-03-11 3:07 ` Alasdair McAndrew
2011-03-11 19:05 ` Wolfgang Schuster
2011-03-11 22:15 ` Alasdair McAndrew
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).