docbook-apps

  • 1.  Suppress Refentry title "Name"

    Posted 12-15-2010 15:25
    Hello guys! I have a very urgent subject!
    I want to suppres word "Name" above the name of the refentrytitle.
    Is this gentext?

    Best regards, Lwam
    --
    Gruß Lwam Berhane



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



  • 2.  Re: [docbook-apps] Suppress Refentry title "Name"

    Posted 12-15-2010 15:37
    My Stylesheet looks like this:


    <xsl:param name="refentry.generate.name" select="0"></xsl:param>
    <xsl:param name="refentry.generate.title" select="1"></xsl:param>
    <xsl:attribute-set name="refentry.title.properties">
    <xsl:attribute name="font-family">Share-Regular</xsl:attribute>
    <xsl:attribute name="font-size">12pt</xsl:attribute>
    <xsl:attribute name="space-before.minimum">3em</xsl:attribute>
    <xsl:attribute name="space-before.optimum">3em</xsl:attribute>
    <xsl:attribute name="space-before.maximum">3em</xsl:attribute>
    <xsl:attribute name="space-after.minimum">1em</xsl:attribute>
    <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
    <xsl:attribute name="space-after.maximum">1em</xsl:attribute>
    </xsl:attribute-set>

    Thanks in advance, Lwam
    --
    Gruß Lwam Berhane



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



  • 3.  Re: [docbook-apps] Suppress Refentry title "Name"

    Posted 12-15-2010 16:08
    Sorry I its not "Name" from the refentrytitle, its from the refnamediv!


    Am 15.12.2010 16:36, schrieb Lwam Berhane:
    > My Stylesheet looks like this:
    >
    >
    > <xsl:param name="refentry.generate.name" select="0"></xsl:param>
    > <xsl:param name="refentry.generate.title" select="1"></xsl:param>
    > <xsl:attribute-set name="refentry.title.properties">
    > <xsl:attribute name="font-family">Share-Regular</xsl:attribute>
    > <xsl:attribute name="font-size">12pt</xsl:attribute>
    > <xsl:attribute name="space-before.minimum">3em</xsl:attribute>
    > <xsl:attribute name="space-before.optimum">3em</xsl:attribute>
    > <xsl:attribute name="space-before.maximum">3em</xsl:attribute>
    > <xsl:attribute name="space-after.minimum">1em</xsl:attribute>
    > <xsl:attribute name="space-after.optimum">1em</xsl:attribute>
    > <xsl:attribute name="space-after.maximum">1em</xsl:attribute>
    > </xsl:attribute-set>
    >
    > Thanks in advance, Lwam


    --
    Gruß Lwam Berhane



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



  • 4.  Re: [docbook-apps] Suppress Refentry title "Name"

    Posted 12-15-2010 16:14
    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">
    -
    -
    <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" />
    -
    -
    - <xsl:for-each select="d:refname">
    + <xsl:if test="position()>1">
    <xsl:text>,</xsl:text>
    </xsl:if>
    + <xsl:call-template name="string.subst">
    -
    -
    -
    -
    <xsl:with-param name="string" select="." />
    <xsl:with-param name="target" select="' '" />
    <xsl:with-param name="replacement" select="'_'" />
    </xsl:call-template>
    </xsl:for-each>
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - <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 info@punkt.de http://punkt.de/
    AG Mannheim 108285 Gf: Jürgen Egeling