<xsl:param name="man.manifest.enabled" select="0"/>
<xsl:param name="man.manifest.filename">MAN.MANIFEST</xsl:param>
<xsl:param name="man.segtitle.suppress" select="0"/>
- <xsl:param name="man.indentation.default.adjust" select="0"/>
- <xsl:param name="man.indentation.default.value">3n</xsl:param>
- <xsl:param name="man.indentation.lists.adjust" select="1"/>
- <xsl:param name="man.indentation.lists.value">3n</xsl:param>
- <xsl:param name="man.indentation.authors.adjust" select="1"/>
- <xsl:param name="man.indentation.authors.value">3n</xsl:param>
- <xsl:param name="man.indentation.verbatims.adjust" select="1"/>
- <xsl:param name="man.indentation.verbatims.value">3n</xsl:param>
+ <xsl:param name="man.indent.authors.section" select="1"/>
+ <xsl:param name="man.indent.headings" select="0"/>
+ <xsl:param name="man.indent.lists" select="1"/>
+ <xsl:param name="man.indent.verbatims" select="1"/>
+ <xsl:param name="man.indent.width">3n</xsl:param>
<xsl:param name="man.funcprototype.font">BI</xsl:param>
<xsl:param name="man.funcsynopsisinfo.font">B</xsl:param>
<xsl:param name="man.table.headings.font">B</xsl:param>
<xsl:variable name="authors-indent">
<xsl:choose>
- <xsl:when test="not($man.indentation.authors.adjust = 0)">
- <xsl:value-of select="$man.indentation.authors.value"/>
+ <xsl:when test="not($man.indent.authors.section = 0)">
+ <xsl:value-of select="$man.indent.width"/>
</xsl:when>
- <xsl:when test="not($man.indentation.default.adjust = 0)">
- <!-- * "zq" is the name of a register we set for preserving the -->
- <!-- * original default indent value when -->
- <!-- * $man.indentation.default.adjust is non-zero; -->
+ <xsl:when test="not($man.indent.headings = 0)">
+ <!-- * "zq" is the name of a register we set for -->
+ <!-- * preserving the original default indent value -->
+ <!-- * when $man.indent.headings is non-zero; -->
<!-- * "u" is a roff unit specifier -->
<xsl:text>\n(zqu</xsl:text>
</xsl:when>
<xsl:variable name="list-indent">
<xsl:choose>
- <xsl:when test="not($man.indentation.lists.adjust = 0)">
- <xsl:value-of select="$man.indentation.lists.value"/>
+ <xsl:when test="not($man.indent.lists = 0)">
+ <xsl:value-of select="$man.indent.width"/>
</xsl:when>
- <xsl:when test="not($man.indentation.default.adjust = 0)">
- <!-- * "zq" is the name of a register we set for preserving the -->
- <!-- * original default indent value when -->
- <!-- * $man.indentation.default.adjust is non-zero; -->
+ <xsl:when test="not($man.indent.headings = 0)">
+ <!-- * "zq" is the name of a register we set for -->
+ <!-- * preserving the original default indent value -->
+ <!-- * when $man.indent.headings is non-zero; -->
<!-- * "u" is a roff unit specifier -->
<xsl:text>\n(zqu</xsl:text>
</xsl:when>
<xsl:text> (adjust text to left margin only) </xsl:text>
<xsl:text>.ad l </xsl:text>
</xsl:if>
- <xsl:if test="$man.indentation.default.adjust != 0">
+ <xsl:if test="not($man.indent.headings = 0)">
<xsl:text>.\" store initial "default indentation value" </xsl:text>
<xsl:text>.nr zq \n(IN </xsl:text>
<xsl:text>.\" adjust default indentation </xsl:text>
<xsl:text>.nr IN </xsl:text>
- <xsl:value-of select="$man.indentation.default.value"/>
+ <xsl:value-of select="$man.indent.width"/>
<xsl:text> </xsl:text>
<xsl:text>.\" adjust indentation of SS headings </xsl:text>
<xsl:text>.nr SN \n(IN </xsl:text>
<xsl:choose>
<!-- * If default-indentation adjustment is on, then indent the -->
<!-- * child content of this Refsect2 -->
- <xsl:when test="$man.indentation.default.adjust != 0">
+ <xsl:when test="not($man.indent.headings = 0)">
<xsl:text>.RS </xsl:text>
<xsl:apply-templates/>
<xsl:text>.RE </xsl:text>
<xsl:choose>
<!-- * If default-indentation adjustment is on, then indent the -->
<!-- * child content of this Refsect3 or Refsection. -->
- <xsl:when test="$man.indentation.default.adjust != 0">
+ <xsl:when test="not($man.indent.headings != 0)">
<xsl:call-template name="nested-section-title"/>
<xsl:text>.RS </xsl:text>
<xsl:apply-templates/>
|title)[1]"/>
</xsl:variable>
<xsl:variable name="indent-width">
- <xsl:if test="$man.indentation.default.adjust != 0">
+ <xsl:if test="not($man.indent.headings = 0)">
<!-- * If default-indentation adjustment is on, then indent the -->
<!-- * child content of this Refsect3 or Refsection. -->
<xsl:text>(\n(SNu) </xsl:text>