]> granicus.if.org Git - docbook-dsssl/commit
Changed handling of hanging indents for cmdsynopsis, funcsynopsis,
authorMichael Smith <xmldoc@users.sourceforge.net>
Thu, 27 Mar 2008 12:07:43 +0000 (12:07 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Thu, 27 Mar 2008 12:07:43 +0000 (12:07 +0000)
commit9c5e31cb83daa43852a6beec1f6777db8111fa3b
treef260272b353debc9bd8724cc308d5badb450d678
parentc99585a8f0d728d51cda16ce5bc72b9061c20a6a
Changed handling of hanging indents for cmdsynopsis, funcsynopsis,
and synopfragment such that they now look correct in non-TTY/PS
output. We now use the groff \w escape to hang by the actual width
-- in the current font -- of the command, funcdef, or
synopfragment references number (as opposed to hanging by the
number of characters). This rendering in TTY output remains the
same, since the width in monospaced TTY output is the same as the
number of characters.

Also, created new synopsis-block-start and synopsis-block-end
templates to use for cmdsynopsis and funcsynopsis instead of the
corresponding verbatim-* templates.

Along with those changes, also corrected a problem that caused the
content of synopfragment to be dropped, and made a
vertical-spacing change to adjust spacing around table titles and
among sibling synopfragment instances.
xsl/manpages/synop.xsl
xsl/manpages/table.xsl
xsl/manpages/utility.xsl