ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* startcolumns: text runs into footer
@ 2010-12-19 12:09 Achim Jander
  2010-12-19 19:33 ` Philipp Gesang
  0 siblings, 1 reply; 2+ messages in thread
From: Achim Jander @ 2010-12-19 12:09 UTC (permalink / raw)
  To: ntg-context

Hi at all,
now I've run into the next problem: Trying to set text in 2 columns. 
Even in the simples case:

\showframe

\starttext

\startcolumns

\dorecurse{20}{\input knuth}

\stopcolumns

\stoptext


The text goes ca 1 line into the footer-region. I played around with 
various settings (blank, align=yes, setupwhitespace etc), but can not 
figure out
how to keep the text in the main area only.
Another related question: for which purpose is the columns setting in 
setuplayout? It doesnt seem to affect the output?
And still another question: how can i fine-control the amount of 
whitespace, especially the strechability and shrinkability?
is \setupwhitespace[2pt plus 2pt minus 2pt] the right way? And how is 
the equivalent syntax for \blank?

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: startcolumns: text runs into footer
  2010-12-19 12:09 startcolumns: text runs into footer Achim Jander
@ 2010-12-19 19:33 ` Philipp Gesang
  0 siblings, 0 replies; 2+ messages in thread
From: Philipp Gesang @ 2010-12-19 19:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2495 bytes --]

Hi Achim!

On 2010-12-19 <13:09:51>, Achim Jander wrote:
> Hi at all,
> now I've run into the next problem: Trying to set text in 2 columns.
> Even in the simples case:
> 
> \showframe
> 
> \starttext
> 
> \startcolumns
> 
> \dorecurse{20}{\input knuth}
> 
> \stopcolumns
> 
> \stoptext
> 
> 
> The text goes ca 1 line into the footer-region. I played around with
> various settings (blank, align=yes, setupwhitespace etc), but can
> not figure out
> how to keep the text in the main area only.
> Another related question: for which purpose is the columns setting
> in setuplayout? It doesnt seem to affect the output?
> And still another question: how can i fine-control the amount of
> whitespace, especially the strechability and shrinkability?
> is \setupwhitespace[2pt plus 2pt minus 2pt] the right way? And how
> is the equivalent syntax for \blank?

(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”.

···8<····························································

\showframe
\definecolumnset[two][n=2]

\newskip\Hugeskip
\Hugeskip = 4em plus 4em minus 4em

\definevspacingamount[Huge][\Hugeskip][\Hugeskip]           % for \blank
\definewhitespacemethod[Notsohuge]{\ctxparskip.5\Hugeskip}  % for \setupwhitespace

\starttext

\startcolumnset[two]

\dorecurse{10}{\input knuth \blank[Huge]}

\setupwhitespace[Notsohuge]
\dorecurse{10}{\input knuth}

\stopcolumnset

\stoptext

···8<····························································

Further answers reside inside spac-ver.mkiv.

Regards, Philipp




> 
> 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
> ___________________________________________________________________________________

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-19 19:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-19 12:09 startcolumns: text runs into footer Achim Jander
2010-12-19 19:33 ` Philipp Gesang

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).