OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Spurious (?) spaces after/before titles in chunked HTML prev/next navigation bar

It seems those space characters have been present since Norm Walsh wrote the original XSL stylesheets many years ago. Based on how they are used, I'm guessing they were intended as padding to prevent long content in different columns from abutting. That function would better be done using CSS padding properties in the table cells. I don't think you risk anything in removing those characters if you add such CSS.

Bob Stayton
Sagehill Enterprises

On 4/14/2015 12:45 PM, David Clunie wrote:

Someone noticed that in the chunked html output, there are spaces
after the title that is the previous link and before the title
that is the next link in the navfooter.

This seems to be a consequence of the (deliberate) insertion
of a non-breaking space character in the stylesheets.

See <xsl:template name="footer.navigation"/> in html/chunk-common.xsl
in docbook-xsl-ns-1.78.1.

The block <xsl:if test="$row2"/> does this, before or after the
insertion of the titles (call to <xsl:apply-templates select="$prev"

Since the entire template is riddled with insertions of &#160;, there
is presumably a good reason, and I am reluctant to mess with this
(e.g., just remove the <xsl:text>&#160;</xsl:text> before/after
the object.title.markup (or indeed after/before the prev and next in
row 1), without knowing why.


To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]