Re: [Boost-docs] Quickbook blocks for concepts

Subject: Re: [Boost-docs] Quickbook blocks for concepts
From: Daniel James (daniel_james_at_[hidden])
Date: 2010-02-09 18:46:49


On 9 February 2010 17:13, John Maddock <john_at_[hidden]>
>
> BTW, we really need to get a std library of templates going with quickbook:
> Boost.Math already has all the HTML-4 entities ready to add (so [epsilon]
> for the Greek epsilon character for example), but I'm sure there are others
> we can pinch from other libraries.

It'd probably be better to use the UTF-8 characters rather than entities.

> Thinking about this some more, it would
> help a lot if we could have conditional templates, or at least a builtin [if
> ] rule, along with a list of variables in quickbook.  For starters I'd
> suggest a version number and a flag indicating what the output type is (HTML
> or DocBook).

FWIW, there already is an 'ifdef':

http://www.boost.org/doc/html/quickbook/syntax.html#quickbook.syntax.phrase.cond

It'd be possible to define a 'html' or 'boostbook' macro.

Daniel


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