Boost logo

Boost :

Subject: Re: [boost] quickbook equivalent of <simplesect>?
From: Daniel James (dnljms_at_[hidden])
Date: 2014-06-10 11:24:08


On 10 June 2014 16:00, Peter Dimov <lists_at_[hidden]> wrote:
> Daniel James wrote:
>>
>> [template simplesect[title]
>> [block '''<simplesect><title>'''[title]'''</title>''']]
>>
>> [template endsimplesect[]
>> [block '''</simplesect>''']]
>>
>> [simplesect Authors]
>>
>> Content....
>>
>> [endsimplesect]
>
>
> Doesn't seem to work, unfortunately.

Sorry, you have to be using the '[quickbook 1.6]' tag in your docinfo,
core is currently using '[quickbook 1.5]'. I just tried changing it
and scoped_enum.qbk had an error, which can be fixed by putting
[quickbook 1.5] at the top of the file, so that quickbook will treat
it as a 1.5 file (1.6 is a bit stricter).

The reason for the error is a bit awkward, the documentation contains
what 1.5 interprets as a code block after a list, which is probably
meant to be a code block in a list, which 1.6 detects but can't deal
with. 1.7 will fix this, it should be released in boost 1.57.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk