From: Michael Smith Date: Tue, 5 Jul 2005 03:51:11 +0000 (+0000) Subject: Added man.subheading.divider.enabled flag and tweaked doc for X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=320647beb8bf84d22c200c01c5e5c4c797237d93;p=docbook-dsssl Added man.subheading.divider.enabled flag and tweaked doc for man.subheading.divider --- diff --git a/xsl/manpages/param.ent b/xsl/manpages/param.ent index a26f5bb72..a4986b06a 100644 --- a/xsl/manpages/param.ent +++ b/xsl/manpages/param.ent @@ -9,4 +9,5 @@ + diff --git a/xsl/manpages/param.xweb b/xsl/manpages/param.xweb index ab6abe18c..7dbf9b744 100644 --- a/xsl/manpages/param.xweb +++ b/xsl/manpages/param.xweb @@ -36,6 +36,7 @@ &man.output.quietly; &man.output.encoding; &man.string.subst.map; +&man.subheading.divider.enabled; &man.subheading.divider; &man.th.title.max.length; @@ -80,6 +81,7 @@ + diff --git a/xsl/params/man.subheading.divider.enabled.xml b/xsl/params/man.subheading.divider.enabled.xml new file mode 100644 index 000000000..c30c93927 --- /dev/null +++ b/xsl/params/man.subheading.divider.enabled.xml @@ -0,0 +1,32 @@ + + +man.subheading.divider.enabled +string + + +man.subheading.divider.enabled +Add divider comment to roff source before/after subheadings? + + + + +0 + + + +Description + +If the value of the +man.subheading.divider.enabled parameter is +non-zero, the contents of the +man.subheading.divider parameter are used to +add a "divider" before and after subheadings in the roff +output. The divider is not visisble in the +rendered man page; it is added as a comment, in the source, +simply for the purpose of increasing reability of the source. + +If man.subheading.divider.enabled is zero +(the default), the subheading divider is suppressed. + + + diff --git a/xsl/params/man.subheading.divider.xml b/xsl/params/man.subheading.divider.xml index cd6f99a48..fed4c63cd 100644 --- a/xsl/params/man.subheading.divider.xml +++ b/xsl/params/man.subheading.divider.xml @@ -5,7 +5,7 @@ man.subheading.divider -Divider comment added to roff source before/after subheadings +Specifies string to use as divider comment before/after subheadings @@ -18,15 +18,16 @@ Description If the value of the -man.subheading.divider parameter is non-empty, -the contents are used to add a "divider" before and after subheadings -in the roff output. The divider is not visisble -in the rendered man page; it is added as a comment, in the -source, simply for the purpose of increasing reability of the -source. +man.subheading.divider.enabled parameter is +non-zero, the contents of the +man.subheading.divider parameter are used to +add a "divider" before and after subheadings in the roff +output. The divider is not visisble in the +rendered man page; it is added as a comment, in the source, +simply for the purpose of increasing reability of the source. -If man.subheading.divider is empty, the -subheading divider is suppressed. +If man.subheading.divider.enabled is zero +(the default), the subheading divider is suppressed.