[NTG-context] Defining new head grid problem

2011-03-19 Thread 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?

Thanks,
Bart


\setuplayout[grid=yes]

\definehead[paragraph][subsubsubject]
\setuphead[paragraph][
alternative=text,
style=bold]

\starttext
\paragraph{Text: } \input knuth
\stoptext
___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Defining new head grid problem

2011-03-19 Thread Wolfgang Schuster

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


___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Defining new head grid problem

2011-03-19 Thread Bart Wise
Wolfgang,

Works great.  Thanks!

Bart

On Sat, Mar 19, 2011 at 6:54 AM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 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



 ___
 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  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___

___
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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___