[NTG-context] Defining new head & grid problem

Wolfgang Schuster schuster.wolfgang at googlemail.com
Sat Mar 19 13:54:57 CET 2011


Am 19.03.2011 um 12:57 schrieb Bart Wise:

> The code below prints out the word "Text:" in bold and then follows with the text.  However, if I turn the grid on (as is coded below), the first line of the paragraph is printed, followed by a blank line, followed by the remaining text.  The blank line after the first line should not be there.  If I don't use the grid, I don't get the extra blank line.
> 
> Is something broken (I'm using the latest beta), or am I doing something wrong?

\setuplayout[grid=yes]

\definehead[paragraph][subsubsubject]

\setuphead
  [paragraph]
  [strut=no,
   textcommand=\groupedcommand{}{:},
   alternative=text,
   style=bold]

\starttext
\paragraph{Text} \input knuth
\stoptext

Wolfgang




More information about the ntg-context mailing list