This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[docbook-apps] Re: xml/groff: comments in text=>whitespace stripped?!


> * 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]