docbook-apps

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

    Posted 07-11-2007 16:23
    Hi,
    Is your programlisting inside a formal object such as example or figure?
    If so, then the keep-together.within-page is being imposed there,
    overriding the one you might add for the programlisting inside it. If so,
    you could try adding the property to example.properties.

    I would also suggest using "keep-together.within-column" rather than
    "keep-together" as the property name, which is a shorthand for
    keep-together.within-line, keep-together.within-column, and
    keep-together.within-page. The keep-together.within-line might cause some
    problems.

    What version of the stylesheets are you using?

    Bob Stayton
    Sagehill Enterprises
    DocBook Consulting
    bobs@sagehill.net





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

    Posted 07-12-2007 08:42
    Thanks, modified keep-together.within-column to example.properties. works.

    But can I set the line spacing of the source code?
    I changed the font size to 8pt, but the lines of the text seem to have the
    same distance -> no space gained.

    Is there an attribute like line-spacing?

    Hinrich

    -----Ursprüngliche Nachricht-----
    Von: Bob Stayton [mailto:bobs@sagehill.net]
    Gesendet: Wednesday, July 11, 2007 6:23 PM
    An: Hinrich Aue; 'Mads Ipsen'
    Cc: docbook-apps@lists.oasis-open.org
    Betreff: Re: [docbook-apps] font size of programlisting monospace text

    Hi,
    Is your programlisting inside a formal object such as example or figure?
    If so, then the keep-together.within-page is being imposed there,
    overriding the one you might add for the programlisting inside it. If so,
    you could try adding the property to example.properties.

    I would also suggest using "keep-together.within-column" rather than
    "keep-together" as the property name, which is a shorthand for
    keep-together.within-line, keep-together.within-column, and
    keep-together.within-page. The keep-together.within-line might cause some
    problems.

    What version of the stylesheets are you using?

    Bob Stayton
    Sagehill Enterprises
    DocBook Consulting
    bobs@sagehill.net





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

    Posted 07-12-2007 13:07
    >


  • 4.  RE: [docbook-apps] font size of programlisting monospace text

    Posted 07-12-2007 15:45
    >


  • 5.  RE: [docbook-apps] font size of programlisting monospace text

    Posted 07-12-2007 16:46
    Is there any parameter other than 'normal'?

    What else is valid?

    Regards,

    Dean Nelson
    Enterprise Electronics Corp







  • 6.  RE: [docbook-apps] font size of programlisting monospace text

    Posted 07-12-2007 17:07
    >