Re: [Boost-docs] Quickbook block element

Subject: Re: [Boost-docs] Quickbook block element
From: John Maddock (boost.regex_at_[hidden])
Date: 2011-10-21 15:40:11


> This is something I've implemented but not checked in yet which is a
> little relevant to recent discussions. Currently when you might try to
> write something like this:
>
> [template chapter[title] '''<chapter><title>'''[title]'''</title>''']
> [template chapterend '''</chapter>''']
>
> [chapter Just an example]
>
> Chapter content.
>
> [chapterend]
>
> It doesn't work because escaped docbook is considered to be a phrase
> element. Phrase elements are wrapped in a paragraph resulting in
> invalid xml such as:

Nod. I hit this when writing auto-index and had to strip any enclosing
paragraph outside the <index/> element.

How about a "block-template" as well as a "template" ?

I.e. templates are always expanded as phrases, and block-templates as
blocks?

Just a thought, John.


This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC