Boost logo

Boost :

Subject: Re: [boost] [quickbook] template vs block vs phrase issues
From: Daniel James (dnljms_at_[hidden])
Date: 2012-12-09 17:26:18


On 9 December 2012 22:15, Daniel James <dnljms_at_[hidden]> wrote:
>
> 1.6 is stricter about square brackets, and a little different to 1.5,
> so it might be tricky to convert a 1.5 document as is. One thing it
> can do is include quickbook 1.5 files from quickbook 1.6 files, so you
> can define the template in a quickbook 1.6 file, and then use it in
> quickbook 1.5.

Oh, it turns out you can include a quickbook 1.6 file from a 1.5 file.
Just create a 1.6 file for the template, and use '[include file.qbk]'
to include the templates in your file:

[quickbook 1.6]

[template desc[x1 x2]
[block '''<description>''']
[x2]
[block '''</description>''']
]


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