Boost logo

Boost Users :

Subject: Re: [Boost-users] [Quickbook 1.4] template for link to issue ?
From: Daniel James (dnljms_at_[hidden])
Date: 2010-12-06 07:12:45


On 6 December 2010 08:39, Martin Moene
<m.j.moene_at_[hidden]> wrote:
>
> I tried (several variations of) a macro like:
>   [template issue[key]
>      [@https://host.domain/issues/view.php?id=[key] #[key]]
>   ]
>
> Using:
>   * \[[issue 121]\] Text...

There's no support for templates or macros inside urls. So the only
way to implement this is to write a template that uses escaped
boostbook. See the attached file for an example. You need to be
careful when using the template as it will interpret the argument as
quickbook, should be fine if you're just using numbers.

By the way, you might notice that I implemented the template as a
single line, this is because quickbook interprets a template body that
starts with a newline as a block.

Daniel




Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net