From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: columns/blank=
Date: Sun, 1 Jul 2007 14:13:32 +0200 [thread overview]
Message-ID: <20070701141332.1882f92a.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <m13b0azllk.fsf@levana.de>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2007-07-01 12:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-29 18:01 columns/blank= Patrick Gundlach
2007-07-01 12:13 ` Wolfgang Schuster [this message]
2007-07-01 18:08 ` columns/blank= Patrick Gundlach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070701141332.1882f92a.schuster.wolfgang@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).