Hello,

I try to create a \section-like command in that respect that following empty
lines are ignored. How do I have to change \SectionLike in the following example
to achieve that?

Yours,
Karsten

\setupindenting[medium]
\indenting[yes,next]
\setuphead[section][after={}]
\def\SectionLike#1{\blank\par {\bf #1}\par\noindent\ignorespaces}

\starttext
\section{A Text}
No empty line

Second Paragraph

\section{Another Text}

With an empty line

Second Paragraph

\SectionLike{A Text}
No empty line

Second Paragraph

\SectionLike{Another Text}

with an empty line

Second Paragraph
\stoptext
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to