Subject: Re: [Boost-docs] [quickbook] a list inside a table
From: Jaroslav Gresula (jgresula.LEAVE-THIS-OUT_at_[hidden])
Date: 2008-08-01 06:18:44
Joel de Guzman wrote:
> Jaroslav Gresula wrote:
>> Hi,
>>
>> does quickbook allow placing a list inside a table or a variablelist?
>>
>> For instance the following does not work:
>>
>> [table
>> [[Heading1] [Heading2]]
>> [
>> [key]
>> [
>> * item 1
>> * item 2
>> ]
>> ]
>> ]
>
> Not at the moment, sorry. You can write a template for it
> that will accept the list. Example (untested):
>
> [template block[x]
> x
[x]
> ]
>
> Then:
>
> [table
> [[Heading1] [Heading2]]
> [
> [key]
> [
> block[
[block
> * item 1
> * item 2
> ]
> ]
> ]
> ]
>
> The list is a block markup and it requires the star/ampersand to start
> at the lever left.
>
> See if that works for you.
It does not work even after the minor fixes above. The 'block'
template does not expand to a list even if it is instantiated at the
global scope.
Changing block to
[template block
* item 1
* item 2
]
and instantiating it in a table cell works.
Thanks,
-- Jarda
This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:40 UTC