Hi again,
I played around a litte, and i'm coming nearer to the result i desire.
The example:
\showframe
\setuptolerance[horizontal, verytolerant]
\definewhitespacemethod[Test]{\ctxparskip 0pt plus4pt minus0pt}
\setupalign[line]
%\setuplayout[grid=yes]
\setuplayout[lines=41]
%\showgrid
\starttext
\startcolumns[n=2, align=yes, balance=yes]
\clubpenalty10000
\widowpenalty10000
\setupwhitespace[Test, flexible]
%\setuplayout[grid=tolerant]
\dorecurse{10}{\input knuth}
\stopcolumns
\stoptext
is a big step in the right direction. Pages 1 & 2 are perfect now, but
I wonder,
why on page 3 there is such a big space in the right column. (the space is
needed to adjust the columns, but they are not really exact adjusted??)
Are there any ideas for improvement?
Thanks,
Achim
Zitat von ac...@jander.de:
Hi at all,
thank you for the replies. Im still not fully happy, but i get ahead.
\setuplayout[lines=40] seems to do the job and holds the text inside
the area.
Zitat von Taco Hoekwater <t...@elvenkind.com>:
\setuplayout[lines=40]
And you need
\setuplayout[grid=yes] % or grid=tolerant
to get \setupalign[line] to work.
With grid=yes or grid=tolerant the spacing between the paragraphs goes to one
full line. Thats too much. What i want to achieve is to have each
column spaced
to the full height, but i need no grid inbetween. I only want to have
the first
and last line one the same height, and the paragraphs been spaced in the
smallest possible amount.
\showframe
\setuptolerance[horizontal, verytolerant]
\newskip\Hugeskip
%\Hugeskip = 1em plus 8em minus 1em
\Hugeskip = 4pt plus 16pt minus 0pt
\definevspacingamount[Huge][\Hugeskip][\Hugeskip] % for \blank
\definewhitespacemethod[Notsohuge]{\ctxparskip.5\Hugeskip} % for
\setupwhitespace
\setupalign[line]
\setuplayout[grid=tolerant]
\setuplayout[lines=41]
%\showgrid
\starttext
\startcolumns[n=2, align=yes]
\clubpenalty10000
\widowpenalty10000
\setupwhitespace[Notsohuge]
%\setuplayout[grid=tolerant]
\dorecurse{10}{\input knuth}
\stopcolumns
\stoptext
Thanks,
Achim
___________________________________________________________________________________
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
___________________________________________________________________________________