ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* definewhitespace
@ 2007-10-05  0:32 frantisek holop
  2007-10-05  8:09 ` setupwhitespace (was: definewhitespace) frantisek holop
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: frantisek holop @ 2007-10-05  0:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users

hi there,

i am in 2 column mode and i can't seem to make
setupwhitespace work.

i would like to put some really small whitespace between paragpraphs.

so for it's 1 or 0.  either a fixed amont of space, or none.

the docs say:

\setupwhitespace[...]
...   none small medium big line fixed fix dimension


but the source defines these in cont-spa.tex:

\definewhitespacemethod [\v!fix]      {}
\definewhitespacemethod [\v!fixed]    {\witruimteflexibelfalse}
\definewhitespacemethod [\v!flexible] {\witruimteflexibeltrue}
\definewhitespacemethod [\v!line]     {\ctxparskip  \baselineskip}
\definewhitespacemethod [\v!halfline] {\ctxparskip.5\baselineskip}
\definewhitespacemethod [\v!none]     {\ctxparskip  \zeropoint}
\definewhitespacemethod [\v!big]      {\ctxparskip  \bigskipamount}
\definewhitespacemethod [\v!medium]   {\ctxparskip  \medskipamount}
\definewhitespacemethod [\v!small]    {\ctxparskip  \smallskipamount}

is flexible for the dimension mode?

what do fix and fixed mean?
(halfline is undocumented?)

does `dimension' mean i can simply give it a tex dimension?
e.g.
\setupwhitespace[4pt]
?

thanks for helping out a tired texer :D

-f
-- 
forecast for tonight: dark all night.
___________________________________________________________________________________
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] 4+ messages in thread

* Re: setupwhitespace (was: definewhitespace)
  2007-10-05  0:32 definewhitespace frantisek holop
@ 2007-10-05  8:09 ` frantisek holop
  2007-10-05  9:48 ` definewhitespace Wolfgang Schuster
  2007-10-05 11:17 ` definewhitespace Wolfgang Schuster
  2 siblings, 0 replies; 4+ messages in thread
From: frantisek holop @ 2007-10-05  8:09 UTC (permalink / raw)
  To: mailing list for ConTeXt users

sorry, the subject should have setupwhitespace, not define

-f
-- 
this message written by sandy.  a highly trained dolphin.
___________________________________________________________________________________
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] 4+ messages in thread

* Re: definewhitespace
  2007-10-05  0:32 definewhitespace frantisek holop
  2007-10-05  8:09 ` setupwhitespace (was: definewhitespace) frantisek holop
@ 2007-10-05  9:48 ` Wolfgang Schuster
  2007-10-05 11:17 ` definewhitespace Wolfgang Schuster
  2 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2007-10-05  9:48 UTC (permalink / raw)
  To: ntg-context

On Fri, 5 Oct 2007 02:32:58 +0200
frantisek holop <minusf@obiit.org> wrote:

> hi there,
> 
> i am in 2 column mode and i can't seem to make
> setupwhitespace work.
> 
> i would like to put some really small whitespace between paragpraphs.
> 
> so for it's 1 or 0.  either a fixed amont of space, or none.
> 
> the docs say:
> 
> \setupwhitespace[...]
> ...   none small medium big line fixed fix dimension
> 
> 
> but the source defines these in cont-spa.tex:
> 
> \definewhitespacemethod [\v!fix]      {}
> \definewhitespacemethod [\v!fixed]    {\witruimteflexibelfalse}
> \definewhitespacemethod [\v!flexible] {\witruimteflexibeltrue}
> \definewhitespacemethod [\v!line]     {\ctxparskip  \baselineskip}
> \definewhitespacemethod [\v!halfline] {\ctxparskip.5\baselineskip}
> \definewhitespacemethod [\v!none]     {\ctxparskip  \zeropoint}
> \definewhitespacemethod [\v!big]      {\ctxparskip  \bigskipamount}
> \definewhitespacemethod [\v!medium]   {\ctxparskip  \medskipamount}
> \definewhitespacemethod [\v!small]    {\ctxparskip  \smallskipamount}
> 
> is flexible for the dimension mode?
> 
> what do fix and fixed mean?
> (halfline is undocumented?)
> 
> does `dimension' mean i can simply give it a tex dimension?
> e.g.
> \setupwhitespace[4pt]
> ?
> 
> thanks for helping out a tired texer :D

Hi,

ConTeXt sets parskip in columns always to one full line and ignores
half lines or any other value but you trick ConTeXt and set the white
again inside of multicolumns.

\starttext
\setupwhitespace[...] % global value
your text
\startcolumns
\setupwhitespace[...] % local value
text in columns
\stopcolumns
more text
\stoptext

You can not only use dimension for \setuwhitespace, you can also use
skip values like \setupwhitespace[3pt plus 2pt minus 1pt].

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] 4+ messages in thread

* Re: definewhitespace
  2007-10-05  0:32 definewhitespace frantisek holop
  2007-10-05  8:09 ` setupwhitespace (was: definewhitespace) frantisek holop
  2007-10-05  9:48 ` definewhitespace Wolfgang Schuster
@ 2007-10-05 11:17 ` Wolfgang Schuster
  2 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Schuster @ 2007-10-05 11:17 UTC (permalink / raw)
  To: ntg-context

On Fri, 5 Oct 2007 02:32:58 +0200
frantisek holop <minusf@obiit.org> wrote:

> hi there,
> 
> i am in 2 column mode and i can't seem to make
> setupwhitespace work.
> 
> i would like to put some really small whitespace between paragpraphs.
> 
> so for it's 1 or 0.  either a fixed amont of space, or none.
> 
> the docs say:
> 
> \setupwhitespace[...]
> ...   none small medium big line fixed fix dimension
> 
> 
> but the source defines these in cont-spa.tex:
> 
> \definewhitespacemethod [\v!fix]      {}
> \definewhitespacemethod [\v!fixed]    {\witruimteflexibelfalse}
> \definewhitespacemethod [\v!flexible] {\witruimteflexibeltrue}
> \definewhitespacemethod [\v!line]     {\ctxparskip  \baselineskip}
> \definewhitespacemethod [\v!halfline] {\ctxparskip.5\baselineskip}
> \definewhitespacemethod [\v!none]     {\ctxparskip  \zeropoint}
> \definewhitespacemethod [\v!big]      {\ctxparskip  \bigskipamount}
> \definewhitespacemethod [\v!medium]   {\ctxparskip  \medskipamount}
> \definewhitespacemethod [\v!small]    {\ctxparskip  \smallskipamount}
> 
> is flexible for the dimension mode?
> 
> what do fix and fixed mean?
> (halfline is undocumented?)
> 
> does `dimension' mean i can simply give it a tex dimension?
> e.g.
> \setupwhitespace[4pt]
> ?
> 
> thanks for helping out a tired texer :D

Hi,

ConTeXt sets parskip in columns always to one full line and ignores
half lines or any other value but you trick ConTeXt and set the white
again inside of multicolumns.

\starttext
\setupwhitespace[...] % global value
your text
\startcolumns
\setupwhitespace[...] % local value
text in columns
\stopcolumns
more text
\stoptext

You can not only use dimension for \setuwhitespace, you can also use
skip values like \setupwhitespace[3pt plus 2pt minus 1pt].

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] 4+ messages in thread

end of thread, other threads:[~2007-10-05 11:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-05  0:32 definewhitespace frantisek holop
2007-10-05  8:09 ` setupwhitespace (was: definewhitespace) frantisek holop
2007-10-05  9:48 ` definewhitespace Wolfgang Schuster
2007-10-05 11:17 ` definewhitespace Wolfgang Schuster

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