OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: AW: [docbook-apps] font size of programlisting monospace text


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


----- Original Message ----- 
From: "Hinrich Aue" <hinrich.aue@lci-software.com>
To: "'Mads Ipsen'" <mpi@atomistix.com>
Cc: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, July 10, 2007 1:39 AM
Subject: AW: [docbook-apps] font size of programlisting monospace text


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


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





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



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]