Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1267 abstract/title not rendered

output: HTML
closed-fixed
XSL (1066)
5
2014-01-20
2012-11-26
Neil Mayhew
No

Sometime between 1.75.2 and 1.76.1 abstract/title stops being rendered in HTML. It appears in the @title of the div, but the <p> is empty:

<p class="title"><strong></strong></p>

I am using xsltproc and the Ubuntu docbook-xsl package, but I get the same results using docbook.xsl directly from the web site, eg:

xsltproc -o Test.html http://docbook.sourceforge.net/release/xsl/1.77.1/xhtml/docbook.xsl Test.xml

I don't get the issue with:

xsltproc -o Test.html http://docbook.sourceforge.net/release/xsl/1.75.2/xhtml/docbook.xsl Test.xml

There are no messages.

Discussion

  • Neil Mayhew
    Neil Mayhew
    2012-11-26

    Test document demonstrating abstract/title problem

     
    Attachments
  • Robert Stayton
    Robert Stayton
    2012-11-26

    A fix for this issue has been added to the current codebase.
    Please test the fix with the latest snapshot from:

    http://docbook.sourceforge.net/snapshots/

     
  • Robert Stayton
    Robert Stayton
    2012-11-26

    Thanks for pointing out this problem. It is fixed in SVN. Until a new release comes out, you can patch your customization layer by downloading the latest snapshot build, and copying the template with match="abstract" from html/block.xsl to your customization layer.

     
  • Robert Stayton
    Robert Stayton
    2012-11-26

    • assigned_to: nobody --> bobstayton
    • status: open --> pending-fixed
     
  • Neil Mayhew
    Neil Mayhew
    2012-11-26

    Awesome! Did as you suggest and confirmed that this fixes the problem on my system. Thanks so much for fixing this so quickly. Just what I needed.

     
  • Robert Stayton
    Robert Stayton
    2014-01-20

    • Status: pending-fixed --> closed-fixed