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)
On Wed, Aug 27, 2008 at 11:18 PM, Marcin Borkowski
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
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
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) <><
participants (2)
-
Marcin Borkowski
-
Wolfgang Schuster