Subject: Re: [Boost-docs] Quickbook - Spacing between text and code blocks
From: Joel de Guzman (joel_at_[hidden])
Date: 2007-08-17 10:59:30
John Maddock wrote:
> Joel de Guzman wrote:
>
>> Let's fix it. Could anyone point me to a page that exhibits the
>> behavior?
>
> Not really, but here's an observation:
>
> If the generated XML produces code listing that look like this:
>
> <programlisting>
> <phrase role="preprocessor">#define</phrase> <phrase
> role="identifier">BOOST_MATH_OVERFLOW_ERROR_POLICY</phrase> <phrase
> role="identifier">ignore_error</phrase>
> <phrase role="preprocessor">#define</phrase> <phrase
> role="identifier">BOOST_MATH_DISCRETE_QUANTILE_POLICY</phrase> <phrase
> role="identifier">real</phrase></programlisting>
>
> Then PDF generation puts an extra blank line at the start of every code
> block, where as if it's like this:
>
> <programlisting><phrase role="preprocessor">#define</phrase> <phrase
> role="identifier">BOOST_MATH_OVERFLOW_ERROR_POLICY</phrase> <phrase
> role="identifier">ignore_error</phrase>
> <phrase role="preprocessor">#define</phrase> <phrase
> role="identifier">BOOST_MATH_DISCRETE_QUANTILE_POLICY</phrase> <phrase
> role="identifier">real</phrase></programlisting>
>
> Then Voila! no more blank line :-)
>
> HTML generation seems not to care either way BTW.
>
> Can quickbook be adjusted to fix this?
Ok. I'll see what I can do. Thanks!
Regards,
-- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net
This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:40 UTC