$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] quickbook equivalent of <simplesect>?
From: Peter Dimov (lists_at_[hidden])
Date: 2014-06-10 10:33:26
Daniel James wrote:
> On 10 June 2014 15:07, Peter Dimov <lists_at_[hidden]> wrote:
> > Does Quickbook support <simplesect> or an equivalent? This is useful for
> > the 'Authors' sections in Core, which don't need to clutter the ToC.
>
> Not built in, but you can use templates:
>
> [template simplesect[title]
> [block '''<simplesect><title>'''[title]'''</title>''']]
>
> [template endsimplesect[]
> [block '''</simplesect>''']]
Very nice!
What are the best practices of defining templates in .qbk files that are
part of the combined documentation build? Are the templates local to their
file?