docbook-apps

  • 1.  font size of programlisting monospace text

    Posted 06-22-2007 12:57
    Hi there,



    I was trying to change the font size of programlisting text (formatting
    objects).



    I was trying:



    <xsl:attribute-set name="monospace.verbatim.properties">

    <xsl:attributes name="font-size">8pt</xsl:attributes>

    </xsl:attribute-set>



    But nothing changed.



    What is the easiest was?



    Thanks.

    Hinrich








  • 2.  Re: [docbook-apps] font size of programlisting monospace text

    Posted 06-22-2007 17:39
    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hinrich Aue wrote:
    > Hi there,
    >
    >
    >
    > I was trying to change the font size of programlisting text (formatting
    > objects).
    >
    >
    >
    > I was trying:
    >
    >
    >
    > <xsl:attribute-set name="monospace.verbatim.properties">
    >
    > <xsl:attributes name="font-size">8pt</xsl:attributes>
    >
    > </xsl:attribute-set>
    >
    >
    >
    > But nothing changed.
    >
    >
    >
    > What is the easiest was?
    >
    >
    >
    > Thanks.
    >
    > Hinrich
    >
    >
    >
    >
    >
    >
    You have a spelling error here:

    <xsl:attributes name="font-size">8pt</xsl:attributes>


    should be

    <xsl:attribute name="font-size">8pt</xsl:attribute>


    Best, Mads


    - --
    +---------------------------------+-------------------------+
    | Mads Ipsen | |
    | Product Support Specialist | phone: +45-35320630 |
    | Atomistix A/S | fax: +45-35320635 |
    | Juliane Maries Vej 30 | |
    | DK-2100 Copenhagen | mpi@atomistix.com |
    +---------------------------------+-------------------------+
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.3 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFGfAj7UiXEzEUa8LARAuq4AKDKuQykvUvTpb7Ky4WOA+dTaV1sBwCghSjc
    BJKsTeXHLNoTs5wnGWar31I=
    =Aj9A
    -----END PGP SIGNATURE-----



  • 3.  AW: [docbook-apps] font size of programlisting monospace text

    Posted 07-10-2007 08:40
    Thanks,

    that helped.
    But it seems like I cannot change the keep-together.

    I'm trying:

    <xsl:attribute-set name="monospace.verbatim.properties"
    use-attribute-sets="verbatim.properties">
    <xsl:attribute name="font-size">8pt</xsl:attribute>
    <xsl:attribute name="keep-together">auto</xsl:attribute>
    </xsl:attribute-set>

    But the programlisting is still overlapping and not breaking over several
    pages.

    I also tried to modify the line spacing, but fop gives an error.
    (<xsl:attribute name="line-spacing">1pt</xsl:attribute> )

    Is that the right attribute?

    Thanks,

    Hinrich
    -----Ursprüngliche Nachricht-----
    Von: Mads Ipsen [mailto:mpi@atomistix.com]
    Gesendet: Friday, June 22, 2007 7:39 PM
    An: Hinrich Aue
    Cc: docbook-apps@lists.oasis-open.org
    Betreff: Re: [docbook-apps] font size of programlisting monospace text

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hinrich Aue wrote:
    > Hi there,
    >
    >
    >
    > I was trying to change the font size of programlisting text (formatting
    > objects).
    >
    >
    >
    > I was trying:
    >
    >
    >
    > <xsl:attribute-set name="monospace.verbatim.properties">
    >
    > <xsl:attributes name="font-size">8pt</xsl:attributes>
    >
    > </xsl:attribute-set>
    >
    >
    >
    > But nothing changed.
    >
    >
    >
    > What is the easiest was?
    >
    >
    >
    > Thanks.
    >
    > Hinrich
    >
    >
    >
    >
    >
    >
    You have a spelling error here:

    <xsl:attributes name="font-size">8pt</xsl:attributes>


    should be

    <xsl:attribute name="font-size">8pt</xsl:attribute>


    Best, Mads


    - --
    +---------------------------------+-------------------------+
    | Mads Ipsen | |
    | Product Support Specialist | phone: +45-35320630 |
    | Atomistix A/S | fax: +45-35320635 |
    | Juliane Maries Vej 30 | |
    | DK-2100 Copenhagen | mpi@atomistix.com |
    +---------------------------------+-------------------------+
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.3 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFGfAj7UiXEzEUa8LARAuq4AKDKuQykvUvTpb7Ky4WOA+dTaV1sBwCghSjc
    BJKsTeXHLNoTs5wnGWar31I=
    =Aj9A
    -----END PGP SIGNATURE-----

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
    For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org