Boost logo

Boost :

Subject: Re: [boost] [quickbook] Using .. for content in templates
From: Daniel James (dnljms_at_[hidden])
Date: 2013-01-24 13:46:01


On 24 January 2013 17:15, Andreas Pokorny <andreas.pokorny_at_[hidden]> wrote:
> Hi
>
> 2013/1/24 Daniel James <dnljms_at_[hidden]>:
>> On 24 January 2013 15:15, Andreas Pokorny <andreas.pokorny_at_[hidden]> wrote:
>> Which is horrible - but it works (although it won't if you turn off
>> pretty printing). Also, since quickbook 1.5, if the .. is inside
>> square brackets it will be ignored, but I can't think of any
>> appropriate tag to use (a template won't work).
>
> I tried to split it up into two templates, but then quickbook stumbles
> over the opening [ in CDATA on the first template, and the same
> happens with ] in the second template.
> It seems to match try to match [] within ''''. I gues this is the
> same issue as with .. within '''

Yes. The attached patch is a quick attempt at fixing both issues for
quickbook 1.6.




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