RE: [docbook-apps] font size of programlisting monospace text
-Original Message- From: Hinrich Aue 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? http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#line-height /MJ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [docbook-apps] font size of programlisting monospace text
-Original Message- From: Mauritz Jeanson Is there an attribute like line-spacing? http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#line-height There is even a DocBook parameter for this property: http://docbook.sourceforge.net/release/xsl/current/doc/fo/line-height.html /MJ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [docbook-apps] font size of programlisting monospace text
Is there any parameter other than 'normal'? What else is valid? Regards, Dean Nelson Enterprise Electronics Corp -Original Message- From: Mauritz Jeanson [mailto:[EMAIL PROTECTED] Sent: Thursday, July 12, 2007 10:45 AM To: 'Hinrich Aue' Cc: docbook-apps@lists.oasis-open.org Subject: RE: [docbook-apps] font size of programlisting monospace text -Original Message- From: Mauritz Jeanson Is there an attribute like line-spacing? http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#line-height There is even a DocBook parameter for this property: http://docbook.sourceforge.net/release/xsl/current/doc/fo/line-height.ht ml /MJ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [docbook-apps] font size of programlisting monospace text
-Original Message- From: Nelson, Dean Is there any parameter other than 'normal'? What else is valid? Valid values are given by the specification: http://www.w3.org/TR/2001/REC-xsl-20011015/slice7.html#line-height Some usage examples can be found here: http://www.renderx.com/featurestest.html (scroll down to Text Block Attributes - Line Height) /MJ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 [EMAIL PROTECTED] - Original Message - From: Hinrich Aue [EMAIL PROTECTED] To: 'Mads Ipsen' [EMAIL PROTECTED] 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-size8pt/xsl:attribute xsl:attribute name=keep-togetherauto/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-spacing1pt/xsl:attribute ) Is that the right attribute? Thanks, Hinrich -Ursprüngliche Nachricht- Von: Mads Ipsen [mailto:[EMAIL PROTECTED] 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-size8pt/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-size8pt/xsl:attributes should be xsl:attribute name=font-size8pt/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 | [EMAIL PROTECTED] | +-+-+ -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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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-size8pt/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-size8pt/xsl:attributes should be xsl:attribute name=font-size8pt/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 | [EMAIL PROTECTED] | +-+-+ -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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]