Christopher G D Tipper wrote:
Ok, after taking deep breath I'll try this issue again. I got indenting
to work after putting \noindenting inside its own environment.
However, the following code block stopped working recently and I don't
know why:
\defineXMLenvironment[body]
{\bgroup
\rm\setupwhitespace[none]
\setupindenting[small,yes]
\startcolumns[rule=on,n=2,tolerance=strict]
{\noindenting} }
{\stopcolumns
\egroup}
It just doesn't indent anything,
That's odd, because it looks fine to me.
I've created a test file with this appended to your definition:
\defineXMLenvironment[p]{}{\par}
\starttext
\startXMLdata
<body>
<p>text</p>
<p>text</p>
<p>text</p>
</body>
\stopXMLdata
\stoptext
And it nicely indents the second and third paragraph.
I would use
\noindentation }
instead of
{\noindening} }
but both possibilities work out fine here.
Cheers, Taco
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context