| -----Original Message----- | From: [EMAIL PROTECTED] | [mailto:[EMAIL PROTECTED] On Behalf | Of Joel de Guzman | Sent: 16 November 2006 10:59 | To: [email protected] | Subject: Re: [Boost-docs] std.qbk | | Joel de Guzman wrote: | > John Maddock wrote: | >> Joel de Guzman wrote: | >>>> But the most annoying feature at present is that using symbol | >>>> templates like [alpha], any trailing spaces are ignored | and you must | >>>> write [alpha][space] to get a space before the next character. | >>> This one too. | >> How about: | >> | >> [template alpha '''α'''] [/ a Greek small letter alpha] | >> [template beta '''β'''] [/ ß Greek small letter beta] | >> [template super[x]'''<superscript>'''[x]'''</superscript>'''] | >> [template sub[x]'''<subscript>'''[x]'''</subscript>'''] | >> | >> This letter [alpha] should have a space either side of it. | >> | >> As should [alpha] + [beta]. | >> | >> These two should not [alpha][beta]. | >> | >> And neither should this [alpha][sub 1][super 2]. | >> | >> So a complex example is [alpha][super 2] + [beta][super | 3] which should have | >> spaces in the right places only! | > | > Alright. The first step is to correct the nullary templates: | > | > [template alpha[]'''α'''] | > [template beta[]'''β'''] | > | > See the section Nullary Templates for explanations. As for the | > trailing space, I'm investigating. | | Fixed. The no-space after the squiggle was an escape bug. | The space before the squiggle is as expected (as mentioned | above). Please change nullary templates to: | | [template name[]stuff] | | The space after the identifier in: | | [template name stuff] | | is significant and is considered as part of the body. | | Perhaps I should disallow the second form to make it clear? | Thoughts?
I would (have been) best, but it would involve quite a lot of re-working to put it right. The squiggles file HTML4_sybols.qbk can be done automatedly but other places would need tedious manual intervention. Overall I think you should. Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS [EMAIL PROTECTED] ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Boost-docs mailing list [email protected] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
