[NTG-context] \blank shrinks when forced; why \blank[line,disable] and \blank[line]\blank[disable] are different?

mf massifr at fastwebnet.it
Sun Apr 8 00:15:49 CEST 2018


Hello list,
i'm trying to understand the \blank command.
The following example leaves a blank line between the two lines of
text.

\showgrid
\starttext
A line.\par
\blank[line]
Another line.\par
\stoptext

When you add "force" to the blank, the vertical space between the two
lines shrinks. You can also add "fixed", but nothing changes.

\showgrid
\starttext
A line.\par
\blank[line,force]
Another line.\par
\stoptext

Wolfgang asked about this in 2015(https://www.mail-archive.com/ntg-cont
ext at ntg.nl/msg77729.html), but i could not find any answer on the
mailing list.

The next doubt is about the "disable" option.
In the following example, \blank[2*line] wins over \blank[line] because
it's bigger, and you get a vertical space of 2 lines between the 2
lines of text.

\showgrid
\starttext
A line.\par
\blank[line]\blank[2*line]
Another line.\par
\stoptext

Then add "disable" to the first blank to cancel the next one:

\showgrid
\starttext
A line.\par
\blank[line,disable]\blank[2*line]
Another line.\par
\stoptext

I expected a vertical space of 1 line, instead there's none.
Why?

Conversely, this disables the second \blank, as you would expect:

\showgrid
\starttext
A line.\par
\blank[line]\blank[disable]\blank[2*line]
Another line.\par
\stoptext

Best greetings,
Massimiliano


More information about the ntg-context mailing list