[achim@jander.de: Re: startcolumns: text runs into footer]
Hi all,
I’m just forwarding this to the ml as I can’t help any further
and I’d like to know the answer too.
@Achim: have you tried locally chopping off a line from the text
area with “\[start|stop]columns”? Something like this:
··8<·····························································
\newdimen\Reducedtextheight
\let\Reducedtextheight\makeupheight
\advance\Reducedtextheight-\baselineskip
\setuplayout[height=\Reducedtextheight]
··8<·····························································
Not a clean solution, but it might still get you what you want.
Philipp
----- Forwarded message from achim@jander.de -----
Date: Mon, 20 Dec 2010 09:12:37 +0100
From: achim@jander.de
To: Philipp Gesang
(1) Columnsets cause less trouble than the ordinary ?\[start|stop]columns?; (2) you have to define the vskips prior to using them with ?\setupwhitespace? or ?\blank?.
that takes me a bit further. But columnsets seem to have one great disadvantage regarding my project (as far as i could figure out): you have to manually balance the columns. Thats not practical within a 1200-pages book with a lot of balanced breaks. Another problem (but that may result of my missing knowledge): I could not get the columns to fill the page (now the contrary problem than before). I've tried setupalign[line] before as well as inside the columnset without any effort. Example below. Looking into spac-ver.mkiv did not really enlighten me (but i sure have to take a deeper look). Thanks again, Achim \showframe \definecolumnset[two][n=2] \newskip\Hugeskip \Hugeskip = 1em plus 4em minus 4em %that should be enough stretchability \definevspacingamount[Huge][\Hugeskip][\Hugeskip] % for \blank \definewhitespacemethod[Notsohuge]{\ctxparskip.5\Hugeskip} % for \setupwhitespace \setupalign[line] %does not work \starttext \startcolumnset[two] \setupalign[line] %does not work also %\setupwhitespace[Notsohuge, flexible] no effect \setupwhitespace[Notsohuge] %\setupwhitespace[flexible] no effect \dorecurse{10}{\input knuth} \stopcolumnset \stoptext ----- End forwarded message ----- -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
Am 20.12.2010 um 10:57 schrieb Philipp Gesang:
Hi all,
I’m just forwarding this to the ml as I can’t help any further and I’d like to know the answer too.
@Achim: have you tried locally chopping off a line from the text area with “\[start|stop]columns”? Something like this:
··8<·····························································
\newdimen\Reducedtextheight \let\Reducedtextheight\makeupheight \advance\Reducedtextheight-\baselineskip \setuplayout[height=\Reducedtextheight]
··8<·····························································
Not a clean solution, but it might still get you what you want.
\setuplayout[lines=40] Wolfgang
On 12/20/2010 11:07 AM, Wolfgang Schuster wrote:
Am 20.12.2010 um 10:57 schrieb Philipp Gesang:
Hi all,
I’m just forwarding this to the ml as I can’t help any further and I’d like to know the answer too.
@Achim: have you tried locally chopping off a line from the text area with “\[start|stop]columns”? Something like this:
··8<·····························································
\newdimen\Reducedtextheight \let\Reducedtextheight\makeupheight \advance\Reducedtextheight-\baselineskip \setuplayout[height=\Reducedtextheight]
··8<·····························································
Not a clean solution, but it might still get you what you want.
\setuplayout[lines=40]
And you need \setuplayout[grid=yes] % or grid=tolerant to get \setupalign[line] to work. Best wishes, Taco
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
\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
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 achim@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
: \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 ___________________________________________________________________________________
participants (4)
-
achim@jander.de
-
Philipp Gesang
-
Taco Hoekwater
-
Wolfgang Schuster