Re: [Boost-docs] Troubles with quickbook templates

Subject: Re: [Boost-docs] Troubles with quickbook templates
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2014-11-15 07:49:56

Daniel James <dnljms <at>> 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? In general who is supporting
this tool these days?

> you can use it now, but it might change a little). You won't be able
> to call the imported code snippets as you do, but IIRC the imported
> template names will be scoped by the template body, so you might be
> able to just use the same names in all examples. I'll have look later.

Why can't I call imported code snippets? 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).

This is the version of template I'd like touse:

[template bt_example[name descr]

[h5 [descr] example]

[/import ../examples/[name].cpp]
[/import ../examples/[name].output]
] [/ end template definition]

How realistic to expect this to work?


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