Re: [docbook-apps] Reducing the top-margin and botton margin in programlisting

2012-06-26 Thread Lars Vogel
Hello Bob, thanks a bunch for clarifying my misunderstanding. I adjusted my regular expression which I use in my Ant script to strip out trailing spaces to delete also the line break. For reference here is the Apache Ant regular expression I use: !-- Remove the indentation in

Re: [docbook-apps] Reducing the top-margin and botton margin in programlisting

2012-06-25 Thread Bob Stayton
Hi Lars, Indeed, those attributes in 'verbatim.properties' control the space of the block relative to the text before and after. Regarding the space in the color block, do you have a line break at the beginning of your programlisting? That is, does it start like this: programlisting

Re: [docbook-apps] Reducing the top-margin and botton margin in programlisting

2012-06-18 Thread Bob Stayton
That spacing is set with these attributes in the 'verbatim.properties' attribute-set, which is used by the 'monospace.verbatim.properties' attribute-set: xsl:attribute name=space-before.minimum0.8em/xsl:attribute xsl:attribute name=space-before.optimum1em/xsl:attribute xsl:attribute

[docbook-apps] Reducing the top-margin and botton margin in programlisting

2012-06-15 Thread Lars Vogel
Hello, I my PDF output I would like to reduce the top and botton margin which is added to a programlisting section. Attached a screenshot of the current output, the highlighted area is included in the output. Any suggestions how to do this? Best regards, Lars -- Lars http://www.vogella.comĀ -