* Problems with itemization, continued
@ 2008-08-27 21:18 Marcin Borkowski
2008-08-28 6:56 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Marcin Borkowski @ 2008-08-27 21:18 UTC (permalink / raw)
To: Mailing list for ConTeXt users
Hi, it's me again...
I managed to finish my first "serious" ConTeXt project (in fact, it was
a two-page math test for my wife, who teaches maths;)).
But I encountered quite a few problems with itemizations. To sum it up,
I've prepared a minimal sample file illustrating them. Here it is:
========= cut here =========
\def\testitemize#1#2#3{{\bf #1}\par
\startitemize #2
\item plplplpl
\item plplplpl
\startitemize #3
\item plplplpl
\item plplplpl
\item plplplpl
\item plplplpl
\item plplplpl
\stopitemize
\item plplplpl
\stopitemize
{\bf Blah, blah.}
\page}
\starttext
\testitemize{Default values. Works fine.}
{}{}
\testitemize{Different numbering. Results in overfull hboxes---???}
{}{[a][left=(,right=),stopper=]}
\testitemize{Outer one packed. Inner one gets also packed---is this
ok???}
{[packed]}{}
\testitemize{Inner one packed. Works fine.}
{}{[packed]}
\testitemize{Both packed. Works fine.}
{[packed]}{[packed]}
\testitemize{Inner one joinedup. Works as packed---???}
{}{[joinedup]}
\testitemize{Inner one packed and joinedup. Works as packed---???}
{}{[packed,joinedup]}
\testitemize{Outer one joinedup. Does this imply packed?}
{[joinedup]}{}
\testitemize{Inner one twocolumn. Why is this packed, too?}
{}{[columns]}
\testitemize{Inner one 2-col and joinedup. What about the space
{\em after} the inner one?}
{}{[joinedup,columns]}
\testitemize{Outer one twocolumn. packed implied???}
{[columns]}{}
\testitemize{Outer one 2-col. and joinedup. packed implied (?), apart
from that fine.}
{[joinedup,columns]}{}
\stoptext
========= cut here =========
Most cases are wrong (or at least strange)---each page with at least one
question mark is something I can't understand.
Which ones are bugs and which ones are features? What to do to overcome
these problems?
Also, I've noticed that the [intro] option does not _prohibit_ page
break---is that ok? The manual (or wiki, I can't remember) says it
_discourages_ it---but shouldn't it prohibit it completely?
And one more: what is the difference between \page[yes] and
\page[makeup]? I didn't notice any.
Hope you don't get fed up with me, folks... I promise to put some
answers on the wiki soon (during the next few days). Maybe I'll even
post a complete working file as a sample... I hope that all my
questions (and your answers;)) will lead to a better typesetting tool...
Greets
--
Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl)
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems with itemization, continued
2008-08-27 21:18 Problems with itemization, continued Marcin Borkowski
@ 2008-08-28 6:56 ` Wolfgang Schuster
2008-08-28 7:33 ` Marcin Borkowski
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2008-08-28 6:56 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, Aug 27, 2008 at 11:18 PM, Marcin Borkowski
<mbork@atos.wmid.amu.edu.pl> wrote:
> Hi, it's me again...
>
> I managed to finish my first "serious" ConTeXt project (in fact, it was
> a two-page math test for my wife, who teaches maths;)).
>
> But I encountered quite a few problems with itemizations. To sum it up,
> I've prepared a minimal sample file illustrating them. Here it is:
>
> ========= cut here =========
> \def\testitemize#1#2#3{{\bf #1}\par
> \startitemize #2
> \item plplplpl
> \item plplplpl
> \startitemize #3
> \item plplplpl
> \item plplplpl
> \item plplplpl
> \item plplplpl
> \item plplplpl
> \stopitemize
> \item plplplpl
> \stopitemize
> {\bf Blah, blah.}
> \page}
>
> \starttext
>
> \testitemize{Default values. Works fine.}
> {}{}
>
> \testitemize{Different numbering. Results in overfull hboxes---???}
> {}{[a][left=(,right=),stopper=]}
Use [a,broad][...] or [a][width=...,...] for the inner list.
> \testitemize{Outer one packed. Inner one gets also packed---is this
> ok???}
> {[packed]}{}
Yes but you could use [unpacked] for the inner list.
> \testitemize{Inner one packed. Works fine.}
> {}{[packed]}
>
> \testitemize{Both packed. Works fine.}
> {[packed]}{[packed]}
>
> \testitemize{Inner one joinedup. Works as packed---???}
> {}{[joinedup]}
>
> \testitemize{Inner one packed and joinedup. Works as packed---???}
> {}{[packed,joinedup]}
>
> \testitemize{Outer one joinedup. Does this imply packed?}
> {[joinedup]}{}
>
> \testitemize{Inner one twocolumn. Why is this packed, too?}
> {}{[columns]}
>
> \testitemize{Inner one 2-col and joinedup. What about the space
> {\em after} the inner one?}
> {}{[joinedup,columns]}
>
> \testitemize{Outer one twocolumn. packed implied???}
> {[columns]}{}
>
> \testitemize{Outer one 2-col. and joinedup. packed implied (?), apart
> from that fine.}
> {[joinedup,columns]}{}
>
> \stoptext
> ========= cut here =========
>
> Most cases are wrong (or at least strange)---each page with at least one
> question mark is something I can't understand.
>
> Which ones are bugs and which ones are features? What to do to overcome
> these problems?
>
> Also, I've noticed that the [intro] option does not _prohibit_ page
> break---is that ok? The manual (or wiki, I can't remember) says it
> _discourages_ it---but shouldn't it prohibit it completely?
>
> And one more: what is the difference between \page[yes] and
> \page[makeup]? I didn't notice any.
>
> Hope you don't get fed up with me, folks... I promise to put some
> answers on the wiki soon (during the next few days). Maybe I'll even
> post a complete working file as a sample... I hope that all my
> questions (and your answers;)) will lead to a better typesetting tool...
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems with itemization, continued
2008-08-28 6:56 ` Wolfgang Schuster
@ 2008-08-28 7:33 ` Marcin Borkowski
0 siblings, 0 replies; 3+ messages in thread
From: Marcin Borkowski @ 2008-08-28 7:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dnia Thu, Aug 28, 2008 at 08:56:54AM +0200, Wolfgang Schuster napisał(a):
> On Wed, Aug 27, 2008 at 11:18 PM, Marcin Borkowski
> <mbork@atos.wmid.amu.edu.pl> wrote:
> > Hi, it's me again...
> >
> > I managed to finish my first "serious" ConTeXt project (in fact, it was
> > a two-page math test for my wife, who teaches maths;)).
> >
> > But I encountered quite a few problems with itemizations. To sum it up,
> > I've prepared a minimal sample file illustrating them. Here it is:
> >
> > ========= cut here =========
> > \def\testitemize#1#2#3{{\bf #1}\par
> > \startitemize #2
> > \item plplplpl
> > \item plplplpl
> > \startitemize #3
> > \item plplplpl
> > \item plplplpl
> > \item plplplpl
> > \item plplplpl
> > \item plplplpl
> > \stopitemize
> > \item plplplpl
> > \stopitemize
> > {\bf Blah, blah.}
> > \page}
> >
> > \starttext
> >
> \testitemize{Different numbering. Results in overfull hboxes---???}
> > {}{[a][left=(,right=),stopper=]}
>
> Use [a,broad][...] or [a][width=...,...] for the inner list.
Thanks, it works - but still, for me it's a workaround; what if I don't
want it to be broad or to fiddle with widths (I didn't check the "width"
idea, I guess it's about explicitly giving the width of the "(a)" etc.;
but even without broad/width I'd expect it to work.)
(Not that I'm unhappy with ConTeXt in general, but as a user I'd like it
to be as good and usable as possible...)
>
> > \testitemize{Outer one packed. Inner one gets also packed---is this
> > ok???}
> > {[packed]}{}
>
> Yes but you could use [unpacked] for the inner list.
Thanks, it also works. It isn't documented anywhere, I'm afraid - I'll
try to post this to the wiki.
The other ones are still mysterious to me.
Greets
--
Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl)
<><
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-08-28 7:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-27 21:18 Problems with itemization, continued Marcin Borkowski
2008-08-28 6:56 ` Wolfgang Schuster
2008-08-28 7:33 ` Marcin Borkowski
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).