Boost logo

Boost :

Subject: Re: [boost] [quickbook] Lists with paragraphs
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-10-19 04:23:30

> Is there any way to specify a list with paragraphs embedded in each list
> item, such as a final result of:
> 1. Some data here.
> Some more data here.
> Maybe some code here.
> 2. Other data here
> More code here.
> In other words I can normally do this with lists by not separating lines
> which form individual paragraphs, but I want the spacing and paragraphs
> for each list item.

You can either use [br], which works but results in copious warnings from
quickbook, or you can define template that wraps each paragraph in
<para>...</para> docbook markup:

[template para[text] '''<para>'''[text]'''</para>''']

Then wrap each paragraph in the list in [para ...] blocks.

HTH, John.

Boost list run by bdawes at, gregod at, cpdaniel at, john at