Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1233 extra vertical space after synopsis in man page output

output: manpages
closed-fixed
XSL (1066)
5
2012-11-07
2012-03-28
Peter Eisentraut
No

A synopsis element in a reference page (other than in the refsynopsisdiv) appears to create two blank lines after it, instead of one.

Discussion

  • What I meant to say was, process the attached document using

    xsltproc xsltproc .../docbook-xsl/manpages/docbook.xsl docbook-manpage-synopsis-whitespace-test.xml

    the output looks like

    ...
    foo is usually called like this

    foo | bar

    and that's about it.

    If I use, say, programlisting instead of synopsis, I only get one blank line afterwards.

     
  • Robert Stayton
    Robert Stayton
    2012-10-22

    • assigned_to: nobody --> bobstayton
    • status: open --> pending-fixed
     
  • Robert Stayton
    Robert Stayton
    2012-10-22

    I located the source of the extra line break in manpages/utility.xsl and fixed it.

     
  • Robert Stayton
    Robert Stayton
    2012-10-22

    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/

     
  • looks good

     
    • status: pending-fixed --> open-fixed
     
  • Robert Stayton
    Robert Stayton
    2012-11-07

    • status: open-fixed --> closed-fixed