|
Boost : |
Subject: [boost] [quickbook] Question about macros and templates
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2010-07-08 14:34:49
Hi,
I'm writing docs in quickbook and stumbled upon a problem. I have this
document structure:
main.qbk
[include a.qbk]
[include b.qbk]
[include c.qbk]
[include x.qbk]
[include y.qbk]
[include z.qbk]
[xinclude r.xml]
In files a, b and c I define macros that would unfold into headerref,
classref, etc. for the items described in the auto-generated r.xml
Reference. I want to use these macros in x, y and z, both in text and
code samples.
The problem is that, it seems, quickbook doesn't unfold these macros in
x, y and z. My guess is that the scope of the macros is limited to the
files they are defined in. Is that true?
I tried to do the same with templates. It seems that templates are
visible in x, y and z, but still are not unfolded in code samples. Is
there a way around this problem?
Thanks.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk