« Return to Thread: std.qbk

Re: std.qbk

by Joel de Guzman-2 :: Rate this Message:

Reply to Author | View in Thread

Paul A Bristow wrote:

> Before I do a lot of typing, I wanted to sure I am on the right track
> ;-)
>
> For a .qbk file contain common greek and math symbols
>
> templates are preferred
>
> [template alpha '''α'''] [template beta '''β'''] ...
>
> to macros
>
> [def __alpha '''α'''] [def __Alpha '''Α''']

Yes, unless others object. Templates are more powerful and
tend to clash less because of its explicit syntax.

> And how should I name, epecially to distiguish between upper and
> lower case
>
> [template GAMMA '''Γ''']
>
> or
>
> [template Gamma '''Γ''']
>
> So far I have called it squiggles.qbk but what would be the best
> name?
>
> glyphs.qbk?
>
> std.qbk?
>
> And what should it contain?
>
> http://www.htmlhelp.com/reference/html40/entities/symbols.html
>
> shows the main greek and math symbols.
>
> http://www.oreilly.com/catalog/docbook/chapter/book/iso-grk1.html
>
> is from the Docbook book which gives 'names to entities like alpha
> agr, Agr, bgr, ...
>
> as well as descriptions like Greek small letter alpha, ...
>
> http://www.oreilly.com/catalog/docbook/chapter/book/refchar.html
> gives the full sets of 'squiggles'.
>
> http://www.oreilly.com/catalog/docbook/chapter/book/iso-tech.html is
> a useful collection of technical symbols for math etc.
>
> Or are we in danger of inveenting the wheel here?

I think the templates should just forward to the DocBook counterparts
with exactly the same spellings.

> What else should std.qbk contain?

As Eric Niebler noted, the plan is to simplify quickbook through
templates. A significant chunk of Qbk can potentially be rewritten
as templates. I'd say that the squiggles are a good start; I think
it's a good idea to place them in std.qbk. Later, after I incorporate
explicit qualification and template imports, then we can add more
of Qbk into it.

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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-docs mailing list
Boost-docs@...
Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs

 « Return to Thread: std.qbk