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, even after removing the {\noindenting} environment. Christopher --------------------------------o00o-------------------------------- “Since light travels faster than sound, isn’t that why some people appear bright until you hear them speak” — Steve Wright
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
Hi Taco, I've found the miscreant. In my stylesheet I have \def\eDroppedCaps {\DroppedCaps {} {ptmr8r} {2.2\baselineskip} {2pt} {\baselineskip} {2}} and in my XML I have: \defineXMLcommand [dropped-caps] \eDroppedCaps and for some reason this screws up all paragraph indenting. Has this changed recently, because it used to work? Christopher On 14 Jan 2006, at 23:09, Taco Hoekwater wrote:
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.
--------------------------------o00o-------------------------------- “Since light travels faster than sound, isn’t that why some people appear bright until you hear them speak” — Steve Wright
Christopher G D Tipper wrote:
Hi Taco,
I've found the miscreant. In my stylesheet I have \def\eDroppedCaps {\DroppedCaps {} {ptmr8r} {2.2\baselineskip} {2pt} {\baselineskip} {2}}
and in my XML I have: \defineXMLcommand [dropped-caps] \eDroppedCaps
and for some reason this screws up all paragraph indenting. Has this changed recently, because it used to work?
well, indenting has been extended (and a bit fixed) Hans
Hans Hagen wrote:
Christopher G D Tipper wrote:
Hi Taco,
I've found the miscreant. In my stylesheet I have \def\eDroppedCaps {\DroppedCaps {} {ptmr8r} {2.2\baselineskip} {2pt} {\baselineskip} {2}}
and in my XML I have: \defineXMLcommand [dropped-caps] \eDroppedCaps
and for some reason this screws up all paragraph indenting. Has this changed recently, because it used to work?
well, indenting has been extended (and a bit fixed)
My guess is this patch to supp-fun is needed (untested): \def\DroppedCaps#1#2#3#4#5#6#7% does not yet handle accented chars {\convertargument #7\to\asciia \convertcommand \DroppedString\to\asciib \ExpandBothAfter\doifinstringelse\asciia\asciib - {\noindenting + {\noindentation \dontleavehmode %\ifhmode\hskip-\parindent\fi % sensitive for context mechanism Cheers, Taco
participants (3)
-
Christopher G D Tipper
-
Hans Hagen
-
Taco Hoekwater