docbook-apps

  • 1.  glossterm bold

    Posted 02-25-2015 14:47
    Hello list,

    actual i'm trying to make (for fo output) all glossterms in
    glossary/glossentry/glossterm in bold.

    I tried out:

    <xsl:template match="glossterm">
    <fo:inline>
    <xsl:call-template name="inline.boldmonoseq"/>
    </fo:inline>
    </xsl:template>

    and

    <xsl:template match="glossterm">
    <fo:inline font-weight="bold">
    <xsl:call-template name="inline.charseq"/>
    </fo:inline>
    </xsl:template>

    But it looks like it doesn't matches while rendering.

    Maybe i miss anything?

    --
    Yours sincerly
    Sascha Manns
    ---------------------------------
    XCOM AG
    Qualitätsmanagement Banksystem Backend
    Rechnungswesen, Meldewesen, Steuern
    Rennweg 60
    Haus 2
    56626 Andernach

    Telefon +49 2632 9899-158
    Telefax +49 2632 9899-010
    Sascha.Manns@xcom.de
    http://www.xcom.de

    *** XCOM AG Legal Disclaimer ***

    Diese E-Mail einschliesslich ihrer Anhaenge ist vertraulich und ist allein für den Gebrauch durch den vorgesehenen Empfaenger bestimmt. Dritten ist das Lesen, Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir bitten, eine fehlgeleitete E-Mail unverzueglich vollstaendig zu loeschen und uns eine Nachricht zukommen zu lassen.

    This email may contain material that is confidential and for the sole use of the intended recipient. Any review, distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

    Hauptsitz: Allee 8, D-47877 Willich, USt-IdNr.: DE 812 885 664
    Kommunikation: Telefon +49 2154 9209-70, Telefax +49 2154 9209-900, www.xcom.de
    Handelsregister: Amtsgericht Krefeld, HRB 10340
    Vorstand: Dirk Franzmeyer, Marco Marty, Dirk Werner, Sascha Bochartz
    Vorsitzender des Aufsichtsrates: Stefan H. Tarach




  • 2.  Re: [docbook-apps] glossterm bold

    Posted 02-25-2015 14:54
    Hi Sascha,

    On Wed, 25 Feb 2015 15:47:26 +0100
    Sascha Manns <Sascha.Manns@xcom.de> wrote:

    > actual i'm trying to make (for fo output) all glossterms in
    > glossary/glossentry/glossterm in bold.
    >
    > I tried out:
    >
    > <xsl:template match="glossterm">
    > [...]
    > But it looks like it doesn't matches while rendering.
    >
    > Maybe i miss anything?

    Do you use a DocBook 5 document? Probably you miss the prefix in front
    of glossterm. :)


    --
    Gruß/Regards,
    Thomas Schraitle



  • 3.  Re: [docbook-apps] glossterm bold

    Posted 02-25-2015 14:55
    Hi Thomas,

    how does a valid prefix looks like?

    --
    Yours sincerly
    Sascha Manns
    ---------------------------------
    XCOM AG
    Qualitätsmanagement Banksystem Backend
    Rechnungswesen, Meldewesen, Steuern
    Rennweg 60
    Haus 2
    56626 Andernach

    Telefon +49 2632 9899-158
    Telefax +49 2632 9899-010
    Sascha.Manns@xcom.de
    http://www.xcom.de

    *** XCOM AG Legal Disclaimer ***

    Diese E-Mail einschliesslich ihrer Anhaenge ist vertraulich und ist allein für den Gebrauch durch den vorgesehenen Empfaenger bestimmt. Dritten ist das Lesen, Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir bitten, eine fehlgeleitete E-Mail unverzueglich vollstaendig zu loeschen und uns eine Nachricht zukommen zu lassen.

    This email may contain material that is confidential and for the sole use of the intended recipient. Any review, distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

    Hauptsitz: Allee 8, D-47877 Willich, USt-IdNr.: DE 812 885 664
    Kommunikation: Telefon +49 2154 9209-70, Telefax +49 2154 9209-900, www.xcom.de
    Handelsregister: Amtsgericht Krefeld, HRB 10340
    Vorstand: Dirk Franzmeyer, Marco Marty, Dirk Werner, Sascha Bochartz
    Vorsitzender des Aufsichtsrates: Stefan H. Tarach

    Am 25.02.2015 um 15:53 schrieb Thomas Schraitle:
    > Hi Sascha,
    >
    > On Wed, 25 Feb 2015 15:47:26 +0100
    > Sascha Manns <Sascha.Manns@xcom.de> wrote:
    >
    >> actual i'm trying to make (for fo output) all glossterms in
    >> glossary/glossentry/glossterm in bold.
    >>
    >> I tried out:
    >>
    >> <xsl:template match="glossterm">
    >> [...]
    >> But it looks like it doesn't matches while rendering.
    >>
    >> Maybe i miss anything?
    > Do you use a DocBook 5 document? Probably you miss the prefix in front
    > of glossterm. :)
    >
    >




  • 4.  Re: [docbook-apps] glossterm bold

    Posted 02-25-2015 15:09
    Hi Sascha,

    On Wed, 25 Feb 2015 15:55:16 +0100
    Sascha Manns <Sascha.Manns@xcom.de> wrote:

    > how does a valid prefix looks like?

    Declare the namespace it in your root element:

    <xsl:template version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:d="http://docbook.org/ns/docbook">

    Add the prefix "d" before your element as in "d:glossterm". Remember,
    you can choose whatever prefix you like ("d", "db", "docbook", ...).
    Usually it more convenient to have a short one. What you can't change is
    the namespace URI.

    Here is a complete example:

    http://doccookbook.sf.net/html/en/dbc.structure.section-to-sectX.html


    --
    Gruß/Regards,
    Thomas Schraitle