From: Otared Kavian <otared@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: itemize in two columns and pagebreaks
Date: Sat, 30 Jun 2012 05:05:31 +0200 [thread overview]
Message-ID: <A383E2FC-9BC9-4986-8B36-A58028155256@gmail.com> (raw)
In-Reply-To: <20120630001628.567cb380@aga-netbook>
Hi Marcin,
I tested your file and noticed the issue you are reporting. In your case you can use \startsimplecolumns to get rid of the page break (however there is a small problem with the distance between the text and the items):
\startchapter[title={Nim-suma liczb całkowitych nieujemnych}]
\startexercises
\startitem
Przelicz następujące liczby w~zapisie dwójkowym na system
dziesiątkowy:
\startsimplecolumns
\startitemize[r][left=(,right=),stopper={}]
\startitem
\math{(101)_2}
\stopitem
\startitem
\math{(101011)_2}
\stopitem
\stopitemize
\stopsimplecolumns
\stopitem
\startitem
Przelicz następujące liczby na system dwójkowy:
\startsimplecolumns
\startitemize[r][left=(,right=),stopper={}]
\startitem
\math{10}
\stopitem
\startitem
\math{77}
\stopitem
\stopitemize
\stopsimplecolumns
\stopitem
\stopexercises
\stopchapter
Best regards: OK
On 30 juin 2012, at 00:16, Marcin Borkowski wrote:
> Dnia 2012-06-29, o godz. 23:30:13
> Marcin Borkowski <mbork@wmi.amu.edu.pl> napisał(a):
>
>> Hello,
>>
>> I encountered a weird problem with
>>
>> \startitemize[columns]
>>
>> Namely, sometimes ConTeXt (MkIV) puts a pagebreak before the
>> itemization. I tried to distill the problem to a minimal example,
>> until now without success, but I'll post a ME if I'm able to reproduce
>> a problem in a small file.
>
> OK, so I didn't succeed in isolating this problem. I attach the
> complete file (it's in Polish, sorry;)). The problem appears at page 3
> in the resulting pdf (line 141 of the source file).
>
>> Anybody encountered this, too? Are there any solutions/workarounds
>> known?
>
> I naively tried putting \page[no] in various places around the
> problematic line, but to no avail. Also, while trying to isolate the
> problem, for instance by removing things before the itemization, it
> turned out that it's difficult to reproduce it: often, everything is
> fine (at the beginning of the page as well as near the end).
>
> Any ideas?
>
> --
> Marcin Borkowski
> http://mbork.pl
> <itemize-columns-test.tex>___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2012-06-30 3:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-29 21:30 Marcin Borkowski
2012-06-29 22:16 ` Marcin Borkowski
2012-06-30 3:05 ` Otared Kavian [this message]
2012-06-30 4:53 ` Marcin Borkowski
2012-06-30 5:05 ` Otared Kavian
2012-06-30 9:47 ` Marcin Borkowski
2012-06-30 18:00 ` 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=A383E2FC-9BC9-4986-8B36-A58028155256@gmail.com \
--to=otared@gmail.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).