Re: [docbook] How to decrease font in the code examples

2007-05-16 Thread Dave Pawson
Markus Innerebner wrote: Hello to everyone, I am trying to decrease the font size of the examples. para example titleMy First Example/title programlisting ![CDATA[ root child id=123/ /root ]] /programlisting /example

Re: [docbook] How to decrease font in the code examples

2007-05-16 Thread Markus Innerebner
Hi Use CSS (assuming html output). The output is pdf. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [docbook] How to decrease font in the code examples

2007-05-16 Thread Tom Van de Putte
Markus, What you need is to change the values in your xsl stylesheets. Information on how to do that within the docbook-xsl package can be found at http://docbook.sourceforge.net/release/xsl/current/doc/fo/index.html Hope this is helpfull, Tom Van de Putte. On 5/16/07, Markus Innerebner

Re: [docbook] How to decrease font in the code examples

2007-05-16 Thread Markus Innerebner
Hi Bob The attribute-set named 'monospace.verbatim.properties' lets you set properties on all programlisting elements. See this reference: http://www.sagehill.net/docbookxsl/ProgramListings.html#ReduceFontSize If you only want to change the size when a programlisting is within an

Re: [docbook] How to decrease font in the code examples

2007-05-16 Thread Markus Innerebner
Sorry for the bad code format. now I correct it. programlisting ![CDATA[ root?db-font-weight=bold? child id=123/ /root ]] /programlisting xsl:attribute-set name=monospace.verbatim.properties xsl:attribute name=font-weight xsl:choose xsl:when

Re: [docbook] How to decrease font in the code examples

2007-05-16 Thread Markus Innerebner
Bob Stayton wrote: Well, no. The processing instruction would be applied to the whole programlisting, because that is the level at which the attribute-set is applied. In any case, I believe any markup inside CDATA would not be recognized in an XPath select statement. If you want to

[docbook-apps] RE: [docbook] How to decrease font in the code examples

2007-05-16 Thread Mauritz Jeanson
-Original Message- From: Markus Innerebner Use CSS (assuming html output). The output is pdf. [moved to the docbook-apps list, which is more appropriate in this case] There is an attribute-set for example properties: