This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Re: xml/groff: comments in text=>whitespace stripped?!
- From: Sam Steingold <sds at gnu dot org>
- To: docbook-apps at lists dot oasis-open dot org
- Date: 06 Jun 2003 09:56:17 -0400
- Subject: [docbook-apps] Re: xml/groff: comments in text=>whitespace stripped?!
- Organization: disorganization
- References: <m3wug0un1x.fsf@loiso.podval.org> <20030605210107.A21680@sco.com>
- Reply-to: sds at gnu dot org
> * In message <20030605210107.A21680@sco.com>
> * On the subject of "Re: xml/groff: comments in text=>whitespace stripped?!"
> * Sent on Thu, 5 Jun 2003 21:01:07 -0700
> * Honorable Bob Stayton <bobs@sco.com> writes:
>
> The problem lies in the template that processes the simpara,
>
> <xsl:template match="para|simpara|remark" mode="list">
>
> in manpages/lists.xsl. It processes the simpara content
> into a variable:
>
> <xsl:variable name="foo">
> <xsl:apply-templates/>
> </xsl:variable>
>
> and then processes that variable with normalize-space($foo).
> That function eats the line feeds within the simpara.
I would argue that this is incorrect.
Since newline is syntactically significant in groff,
arbitrarily removing it is a bug.
> You are going to have to work around that function.
could you please be more specific?
How do I work around it?
--
Sam Steingold (http://www.podval.org/~sds) running RedHat9 GNU/Linux
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
Booze is the answer. I can't remember the question.
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org