And I found this, but where can i suppress the refnamdiv title "name"

- <xsl:template match="d:refnamediv">
- <xsl:choose>
- <xsl:when test="preceding-sibling::d:refnamediv">
- <!--  * No title on secondary refnamedivs!
  -->
- <!--  * Just put a single line break instead
  -->
  <xsl:text>.br</xsl:text>
  </xsl:when>
- <xsl:otherwise>
- <xsl:call-template name="make.subheading">
- <xsl:with-param name="title">
  <xsl:apply-templates select="." mode="subheading.markup" />
  </xsl:with-param>
  </xsl:call-template>
  </xsl:otherwise>
  </xsl:choose>
  <xsl:call-template name="mark.subheading" />
- <!--  * if we have multiple Refname instances, separate the names
  -->
- <!--  * with commas
  -->
- <xsl:for-each select="d:refname">
+ <xsl:if test="position()>1">
  <xsl:text>,</xsl:text>
  </xsl:if>
+ <xsl:call-template name="string.subst">
- <!--  * To create the name(s) for this man page, replace any
  -->
- <!--  * spaces in the refname(s) with underscores. This ensures
  -->
- <!--  * that tools like lexgrog(1) will be able to parse the name
  -->
- <!--  * (lexgrog won’t parse names that contain spaces).
  -->
  <xsl:with-param name="string" select="." />
  <xsl:with-param name="target" select="' '" />
  <xsl:with-param name="replacement" select="'_'" />
  </xsl:call-template>
  </xsl:for-each>
- <!--  * The man(7) man pages says:
  -->
- <!--  *
  -->
- <!--  *   The only required heading is NAME, which should be the
  -->
- <!--  *   first section and be followed on the next line by a one
  -->
- <!--  *   line description of the program:
  -->
- <!--  *
  -->
- <!--  *      .SH NAME chess \- the game of chess
  -->
- <!--  *
  -->
- <!--  *   It is extremely important that this format is followed,
  -->
- <!--  *   and that there is a backslash before the single dash
  -->
- <!--  *   which follows the command name.  This syntax is used by
  -->
- <!--  *   the makewhatis(8) program to create a database of short
  -->
- <!--  *   command descriptions for the whatis(1) and apropos(1)
  -->
- <!--  *   commands.
  -->
- <!--  *
  -->
- <xsl:if test="d:refpurpose/node()">
  <xsl:text>\-</xsl:text>
- <xsl:variable name="refpurpose">
  <xsl:apply-templates select="d:refpurpose/node()" />
  </xsl:variable>
  <xsl:value-of select="normalize-space($refpurpose)" />
  </xsl:if>
  <xsl:text></xsl:text>
  </xsl:template>


--
Gruß Lwam Berhane



punkt.de GmbH               TYPO3-Internet-Dienstleistungen-Beratung
Kaiserallee 13a             Tel.: 0721 9109-0  Fax: -100
76133 Karlsruhe             [email protected]    http://punkt.de/
AG Mannheim 108285          Gf: Jürgen Egeling

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to