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]

XSL: fix extra space in biblioentry copyright


I'm using DocBook XML 4.0 with version 1.13 of the XSL DocBook Stylesheets.

I have a bibliography with the following entry:

  <biblioentry>
    ...
    <copyright>
      <year>1999</year>
    </copyright>
    ...
  </biblioentry>

This generates the following HTML:

  <span class="copyright">Copyright &copy; 1999 .</span>

The holder element is optional, so I'd like to remove the extra space when
it is not present.  Here's a fix to html/biblio.xsl:

335c335
<     <xsl:call-template name="gentext.space"/>
---
>     <!-- *jcw, 6/6/00: fix extra space -->
349a350,351
>   <!-- *jcw+1, 6/6/00: fix extra space -->
>   <xsl:call-template name="gentext.space"/>

This fix, if you find it acceptable, should be ported to fo/biblio.xsl,
html/titlepage.xsl, and fo/titlepage.xsl as well.
--
Jon Willeke, Quality Engineer
InterSystems Corp.
One Memorial Drive, Cambridge, MA 02142

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