Rene Rivera wrote:
> Joel de Guzman wrote:
>> David Abrahams wrote:
>>> on Wed Jul 11 2007, "John Maddock" <john-AT-johnmaddock.co.uk> wrote:
>>>
>>>> so it is possible to have only one version of an 
>>>> example, and to have it tested as well as in the docs, albeit not in the 
>>>> way 
>>>> you invision.
>>>>
>>>> It would still make a great feature though..
>>> Yeah.  Well it doesn't need to be a feature of quickbook... in fact it
>>> probably shouldn't be.  It should be a postprocessing step on the QB
>>> XML output.  We can use QB templates to generate special XML tags that
>>> enclose testing instructions.  Most of the infrastructure of LitRe
>>> could be reused.
> 
> Technically it would be possible to run Quickbook with an appropriate 
> template that generates source code directly skipping the need to use 
> XML. But this is closer to what Joel mentions than what Dave is 
> suggesting. The point being that both options are possible, and we 
> likely want to have both to allow for a range of lightweight to complex 
> process.

Yep.

>> Rene is working on the standard template stuff for qbk. I'll have
>> those templates in as soon as Rene's work gets merged into head.
>> Let's see how it goes.
> 
> It's getting there, going through all the output actions and turning 
> them into templates, and testing them is slow work :-( Although the code 
> that's currently checked in has a good portion implemented (as of 
> yesterday). I'd say 60% of the output in regular looking docs is 

60%! Cool!

> template driven now. I have the hard step of restructuring how lists are 
> processed next.

QBk Lists? Hmmm... maybe break it down to some low-level templates
for a) ordered list start/end b) unordered list start/end. c)
list items. Then have qbk generate the templates.

Ditto for tables.

Regards,
-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to