Re: Troubles with quickbook templates
Daniel James <[email protected]> Sat, 15 Nov 2014 10:56:34 +0000
| Newsgroups | gmane.comp.lib.boost.documentation |
|---|---|
| Message-ID | <CAHOE3yfJBUHDe7GCgmjeeU3OcwZoO0Oej+D2Ko+FD0g9hDh+vw@mail.gmail.com> |
On 15 November 2014 07:49, Gennadiy Rozental <[email protected]> wrote: > Daniel James <dnljms <at> gmail.com> writes: > >> My memory is a little rusty as I haven't touched quickbook for a >> while, but I think that you'll be able to do the import and id in >> quickbook 1.7 (which I'm going to try to finalize for this release, > > Where can I get one? QuickBook dev branch? That's the language version not the software version, you can put [quickbook 1.7] in your docinfo block. > Why can't I call imported code snippets? You can only call them directly, not by using the returned value from a template. > I can't use the same name in > multiple files. I am going to use this template lots of times per page > and these names lead to conflict (I checked). The attached files work with stable quickbook. _______________________________________________ Boost-docs mailing list [email protected] http://lists.boost.org/mailman/listinfo.cgi/boost-docs
a.cpp
(text/x-c++src, 26 B)
//[ foo
int foo1() {}
//]
a.qbk
(application/octet-stream, 104 B) - not displayed
b.cpp
(text/x-c++src, 26 B)
//[ foo
int foo2() {}
//]