ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* columns/blank=
@ 2007-06-29 18:01 Patrick Gundlach
  2007-07-01 12:13 ` columns/blank= Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Patrick Gundlach @ 2007-06-29 18:01 UTC (permalink / raw)
  To: ntg-context

Hi,

what is the rationale behind

       \setupblank[\@@klblank]%
       \ifdim\ctxparskip>\zeropoint\relax
         \setupwhitespace[\@@klblank]%
       \fi

in page-mul.tex (columns)? It seems to me that blank=line inside a
startcolumn does not work if ctxparskip = 0pt, which is the default.
So when I'd like to have setupwhitespace[line] to get paragraphs
separated by blank lines inside a column, I have to do this some other
way?!?

Patrick
___________________________________________________________________________________
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] 3+ messages in thread

* Re: columns/blank=
  2007-06-29 18:01 columns/blank= Patrick Gundlach
@ 2007-07-01 12:13 ` Wolfgang Schuster
  2007-07-01 18:08   ` columns/blank= Patrick Gundlach
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2007-07-01 12:13 UTC (permalink / raw)
  To: ntg-context

On Fri, 29 Jun 2007 20:01:11 +0200
Patrick Gundlach <patrick@gundla.ch> wrote:

> Hi,
> 
> what is the rationale behind
> 
>        \setupblank[\@@klblank]%
>        \ifdim\ctxparskip>\zeropoint\relax
>          \setupwhitespace[\@@klblank]%
>        \fi
> 
> in page-mul.tex (columns)? It seems to me that blank=line inside a
> startcolumn does not work if ctxparskip = 0pt, which is the default.
> So when I'd like to have setupwhitespace[line] to get paragraphs
> separated by blank lines inside a column, I have to do this some other
> way?!?
> 
> Patrick

Hi Patrick,

both setups are indpendent from the other one, they use only the same
value inside columns.

1. \setupblank[\@@klblank]%

   use the value from \setupcolumns[blank=..] for every simple blank
   command inside columns. The default value for blank is line and
   this value is used. You can use other value like small, big or
   dimen without problems with a complex blank.
   
   simple blank: \blank
   complex blank: \blank[small|dimen|...]

2. \ifdim\ctxparskip>\zeropoint\relax
     \setupwhitespace[\@@klblank]%
   \fi

   look if the user has set parskip, if the answer is yes overwrite the
   global value from the user and use the local value for columns.
   The local comes also from the columns key \setupcolumns[blank=...]

   You can change the parskip value inside columns either with
   \setupcolumns[blank=...] or you write \setupwhitespace[...] after
   \startcolumns.


A testfile would also help, you see I set parskip to ConTeXts small
value but I get a line in columns.

\showgrid
\setupwhitespace[small]

\starttext

\startcolumns
\input knuth

\input knuth
\blank
\input knuth
\stopcolumns

text\par
text

\stoptext


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

* Re: columns/blank=
  2007-07-01 12:13 ` columns/blank= Wolfgang Schuster
@ 2007-07-01 18:08   ` Patrick Gundlach
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick Gundlach @ 2007-07-01 18:08 UTC (permalink / raw)
  To: ntg-context

Hello Wolfgang,

probably I didn't understand your answer correctly. I was wondering
_why_ the ctxparskip has to be > 0pt for setupwhitespace to take
effect.

Patrick

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

end of thread, other threads:[~2007-07-01 18:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-29 18:01 columns/blank= Patrick Gundlach
2007-07-01 12:13 ` columns/blank= Wolfgang Schuster
2007-07-01 18:08   ` columns/blank= Patrick Gundlach

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