|
View:
New views
17 Messages
—
Rating Filter:
Alert me
|
|
|
std.qbkBefore 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 '''Α'''] 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? What else should std.qbk contain? Suggestions? Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@... ------------------------------------------------------------------------- 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 |
||||||||
|
|
Re: std.qbkPaul 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 |
||||||||
|
|
Re: std.qbk| -----Original Message----- | From: boost-docs-bounces@... | [mailto:boost-docs-bounces@...] On Behalf | Of Joel de Guzman | Sent: 30 October 2006 13:42 | To: boost-docs@... | Subject: Re: [Boost-docs] std.qbk | | > And how should I name, epecially to distiguish between upper and | > lower case | > 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. I also note http://www.w3.org/TR/2001/REC-MathML2-20010221/byalpha.html Characters Ordered by MathML Names Chapter 6: Entities, Characters and Fonts All, by codes aacute, U000E1, =small a, acute accent, [LATIN SMALL LETTER A WITH ACUTE] Aacute, U000C1, =capital A, acute accent, [LATIN CAPITAL LETTER A WITH ACUTE] abreve, U00103, =small a, breve, [LATIN SMALL LETTER A WITH BREVE] Abreve, U00102, =capital A, breve, [LATIN CAPITAL LETTER A WITH BREVE] ac, U0290F, most positive, [RIGHTWARDS TRIPLE DASH ARROW] acd, U0223F, ac current, [SINE WAVE] acE, U029DB, most positive, two lines below, [MOST POSITIVE, TWO LINES BELOW] ... agrave, U000E0, =small a, grave accent, [LATIN SMALL LETTER A WITH GRAVE] Agrave, U000C0, =capital A, grave accent, [LATIN CAPITAL LETTER A WITH GRAVE] aleph, U02135, /aleph aleph, Hebrew, [ALEF SYMBOL] alpha, U003B1, /alpha small alpha, Greek, [GREEK SMALL LETTER ALPHA] Is this a better source of names than docBook? I personally find the docBook name 'agr' less intuitive than MathML 'alpha'. [template floor[x]'''⌊'''[x]'''⌋'''] [floor [lambda]] - give the math floor half bracketing the greek lambda thus ⌊λ⌋ Nice. Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@... PS (But I note a space introduced before the lambda in the whole line from [mode][floor ([lambda]) or [floor [lambda]]] mode floor ( λ) or ⌊λ⌋. Another 'feature'? ------------------------------------------------------------------------- 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 |
||||||||
|
|
Re: std.qbkPaul A Bristow wrote:
> > I also note > > http://www.w3.org/TR/2001/REC-MathML2-20010221/byalpha.html > > Characters Ordered by MathML Names > > Chapter 6: Entities, Characters and Fonts > All, by codes > > aacute, U000E1, =small a, acute accent, [LATIN SMALL LETTER A WITH ACUTE] > Aacute, U000C1, =capital A, acute accent, [LATIN CAPITAL LETTER A WITH ACUTE] > abreve, U00103, =small a, breve, [LATIN SMALL LETTER A WITH BREVE] > Abreve, U00102, =capital A, breve, [LATIN CAPITAL LETTER A WITH BREVE] > ac, U0290F, most positive, [RIGHTWARDS TRIPLE DASH ARROW] > acd, U0223F, ac current, [SINE WAVE] > acE, U029DB, most positive, two lines below, [MOST POSITIVE, TWO LINES BELOW] > ... > > agrave, U000E0, =small a, grave accent, [LATIN SMALL LETTER A WITH GRAVE] > Agrave, U000C0, =capital A, grave accent, [LATIN CAPITAL LETTER A WITH GRAVE] > aleph, U02135, /aleph aleph, Hebrew, [ALEF SYMBOL] > > alpha, U003B1, /alpha small alpha, Greek, [GREEK SMALL LETTER ALPHA] > > Is this a better source of names than docBook? > > I personally find the docBook name 'agr' less intuitive than MathML 'alpha'. > > [template floor[x]'''⌊'''[x]'''⌋'''] > > [floor [lambda]] - give the math floor half bracketing the greek lambda thus > > ⌊λ⌋ > > Nice. Nice! Well, I'm no expert here, so I'll just trust your judgement :) > PS (But I note a space introduced before the lambda in the whole line from > > [mode][floor ([lambda]) or [floor [lambda]]] > > mode floor ( λ) or ⌊λ⌋. > > Another 'feature'? :) White space handling is tricky business. I'll try to find some time to fix those 'features'. Do you have a qbk file I can play with? 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 |
||||||||
|
|
Re: std.qbkPaul A Bristow wrote:
> Is this a better source of names than docBook? Is there any source better than The Source? <http://www.unicode.org/charts/> -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo ------------------------------------------------------------------------- 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 |
||||||||
|
|
Re: std.qbk| -----Original Message----- | From: boost-docs-bounces@... | [mailto:boost-docs-bounces@...] On Behalf | Of Joel de Guzman | Sent: 31 October 2006 12:34 | To: boost-docs@... | Subject: Re: [Boost-docs] std.qbk Investigating http://www.w3.org/TR/2001/REC-MathML2-20010221/overview.html | and doing a bit of processing of | > http://www.w3.org/TR/2001/REC-MathML2-20010221/byalpha.html I have produced a file of templates for all the squiggles in the above list. It turns out that there are over 2000 of them! It starts off [/ Collection of Math and Greek symbols used by MathML] [/http://www.w3.org/TR/2001/REC-MathML2-20010221/] [/http://www.w3.org/TR/2001/REC-MathML2-20010221/chapter6.html#chars_intro] [/@http://www.w3.org/TR/2001/REC-MathML2-20010221/byalpha.html] [template aacute '''á'''] [/ =small a, acute accent, LATIN SMALL LETTER A WITH ACUTE] [template Aacute '''Á'''] [/ =capital A, acute accent, LATIN CAPITAL LETTER A WITH ACUTE] [template abreve '''ă'''] [/ =small a breve, LATIN SMALL LETTER A WITH BREVE] and goes on a long way ;-) In my file symbols.qbk, not attached but I can send to anyone who wants it. I've tested all the symbols thus: [aacute] [Aacute] ... and the attached list test.html. Viewing this shows that a good proportion (though not all) are rendered as Unicode symbols by Firefox 2.0. But a LOT less by IE6. (Can't try IE7 yet - still on Windows 2000). | > I personally find the docBook name 'agr' less intuitive | than MathML 'alpha'. So I am not sure what to do about this now. I don't fancy producing a subset that both IE6 and Firefox do. The number of chars seems a bit 'Over The Top'? But it's about all the symbols a mathematician could ever want ;-) Might take longer to process? Back to DocBook? Suggestions? Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@...
------------------------------------------------------------------------- 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 |
||||||||
|
|
Re: std.qbkPaul A Bristow wrote:
>> Investigating >> >> http://www.w3.org/TR/2001/REC-MathML2-20010221/overview.html | >> >> and doing a bit of processing of >> >>> > http://www.w3.org/TR/2001/REC-MathML2-20010221/byalpha.html >> >> I have produced a file of templates for all the squiggles in the >> above list. >> >> It turns out that there are over 2000 of them! >> >> It starts off >> >> [/ Collection of Math and Greek symbols used by MathML] >> >> [/http://www.w3.org/TR/2001/REC-MathML2-20010221/] >> [/http://www.w3.org/TR/2001/REC-MathML2-20010221/chapter6.html#chars_intro] >> [/@http://www.w3.org/TR/2001/REC-MathML2-20010221/byalpha.html] >> >> [template aacute '''á'''] [/ =small a, >> acute accent, LATIN SMALL LETTER A WITH ACUTE] [template Aacute >> '''Á'''] [/ =capital A, acute accent, LATIN CAPITAL LETTER A >> WITH ACUTE] [template abreve '''ă'''] [/ >> =small a breve, LATIN SMALL LETTER A WITH BREVE] >> >> and goes on a long way ;-) >> >> In my file symbols.qbk, not attached but I can send to anyone who >> wants it. >> >> I've tested all the symbols thus: >> >> [aacute] >> [Aacute] ... >> >> and the attached list test.html. Viewing this shows that a good >> proportion (though not all) are rendered as Unicode symbols by >> Firefox 2.0. But a LOT less by IE6. (Can't try IE7 yet - still on >> Windows 2000). Does this not depend on the font used by the browser? You may also need to install the extra MathML/Mathematica/TeX fonts from http://web.mit.edu/is/topics/webpublishing/mathml/fonts-win.html to see more. >>> > I personally find the docBook name 'agr' less intuitive >>> than MathML 'alpha'. >> >> So I am not sure what to do about this now. >> >> I don't fancy producing a subset that both IE6 and Firefox do. >> >> The number of chars seems a bit 'Over The Top'? >> But it's about all the symbols a mathematician could ever want ;-) >> >> Might take longer to process? It's impressive, but I don't actually see the symbols we need immediately in the html you posted: the Greek alphabet! There are actually two ways to approach this: the "standard" modern Greek letters, which I believe are supported by just about every browser on every platform, and the mathematically styled Greek letters http://www.w3.org/TR/2001/REC-MathML2-20010221/1D7.html which I suspect will be less well supported. Don't forget also that whoever puts together a std.qbk has to be able to document it so that folks can actually find the character that they want! So how about we have: * The regular modern Greek letters, named [alpha] etc for lower case and [BETA] etc for upper case. * The basic comparison operators (less than equal to etc), when I tested these for the current Boost.Math documentation they seemed well supported on current browsers. * Any other special cases: floor/ceil operators etc. All of these should be extractable from the Unicode data tables BTW. How does this sound? John. ------------------------------------------------------------------------- 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 |
||||||||
|
|
Re: std.qbkJohn Maddock wrote:
> It's impressive, but I don't actually see the symbols we need immediately in > the html you posted: the Greek alphabet! There are actually two ways to > approach this: the "standard" modern Greek letters, which I believe are > supported by just about every browser on every platform, and the > mathematically styled Greek letters > http://www.w3.org/TR/2001/REC-MathML2-20010221/1D7.html which I suspect will > be less well supported. > > Don't forget also that whoever puts together a std.qbk has to be able to > document it so that folks can actually find the character that they want! > > So how about we have: > > * The regular modern Greek letters, named [alpha] etc for lower case and > [BETA] etc for upper case. > * The basic comparison operators (less than equal to etc), when I tested > these for the current Boost.Math documentation they seemed well supported on > current browsers. > * Any other special cases: floor/ceil operators etc. > > All of these should be extractable from the Unicode data tables BTW. > > How does this sound? Sounds pretty good to me. 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 |
||||||||
|
|
Re: std.qbk| -----Original Message----- | From: boost-docs-bounces@... | [mailto:boost-docs-bounces@...] On Behalf | Of Paul A Bristow | Sent: 31 October 2006 17:36 | To: 'Boost documentation format, structure, and processing | discussion' | Subject: Re: [Boost-docs] std.qbk I have investiaged the symbols options further: John Maddock and I conclude that he was right all along ;-) The HTML4 list of about 130 symbols is the most practical use, mainly because IE6 and 7 browsers do not display many more than this. Firefox 2. is by far the best for showing the squiggles so necessary for mathematicians to express themselves fully, and elegantly. I have prepared a page or two of jotting for those who are interested, and a handful of files that may be useful. HTML4_symbols.qbk will be most widely useful. I suggest that a std.qbk should include this file, and perhaps other generally useful items, defs and templates, etc too. Perhaps it is premature to produce this just yet? Meanwhile, can you suggest (preferably politely) where I should put my files: QuickBookSymbols 516,206 File Folder 12-11-2006 11:05:03 HTML4_symbols.xls 29,696 Microsoft Excel Worksheet 31-10-2006 22:50:01 MathML_symbols.qbk 227,123 QBK File 01-11-2006 15:46:22 MathML_symbols.txt 184,263 Text Document 31-10-2006 14:40:40 quickBook SYmbols.txt 5,151 Text Document 12-11-2006 16:27:25 squiggles.qbk 1,632 QBK File 12-11-2006 10:42:02 test_HTML4_symbols.html 3,234 HTML File 31-10-2006 23:01:12 Test_HTML4_symbols.qbk 1,409 QBK File 12-11-2006 10:24:20 test_MathML_symbols.html 28,819 HTML File 31-10-2006 17:21:01 test_MathML_symbols.qbk 26,635 QBK File 01-11-2006 15:52:15 Perhaps as a zip? HTML4_symbols.qbk 8,244 QBK File 12-11-2006 16:36:10 is the most useful and should be easy to find and use. Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@... ------------------------------------------------------------------------- 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 |
||||||||
|
|
Re: std.qbkPaul A Bristow wrote:
> > PS (But I note a space introduced before the lambda in the whole line from > > [mode][floor ([lambda]) or [floor [lambda]]] > > mode floor ( λ) or ⌊λ⌋. Could you please isolate this problem in a few lines of qbk please? > 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. Thanks! Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net ------------------------------------------------------------------------- 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 Boost-docs@... Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs |
||||||||
|
|
Re: std.qbkJoel 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! HTH, John. ------------------------------------------------------------------------- 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 Boost-docs@... Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs |
||||||||
|
|
Re: std.qbkJohn 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. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net ------------------------------------------------------------------------- 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 Boost-docs@... Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs |
||||||||
|
|
Re: std.qbk| -----Original Message----- | From: boost-docs-bounces@... | [mailto:boost-docs-bounces@...] On Behalf | Of Joel de Guzman | Sent: 16 November 2006 06:05 | To: boost-docs@... | Subject: Re: [Boost-docs] std.qbk | | Paul A Bristow 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. | Could you please isolate this problem in a few lines of qbk please? with templates: [template lambda '''λ'''] [/ ? Greek small letter lambda] [template space''' '''] If I write [lambda] is the greek l ? then it comes out WITHOUT a space after the greek lambda symbol thus ?is the greek letter l I need to write [lambda][space] is the greek l to get what I want: ? is the greek letter l HTH Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@... ------------------------------------------------------------------------- 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 Boost-docs@... Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs |
||||||||
|
|
Re: std.qbkJoel 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? Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net ------------------------------------------------------------------------- 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 Boost-docs@... Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs |
||||||||
|
|
Re: std.qbk| -----Original Message----- | From: boost-docs-bounces@... | [mailto:boost-docs-bounces@...] On Behalf | Of Joel de Guzman | Sent: 16 November 2006 10:59 | To: boost-docs@... | 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 pbristow@... ------------------------------------------------------------------------- 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 Boost-docs@... Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs |
||||||||
|
|
Re: std.qbkPaul A Bristow wrote:
> > | 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. Isn't that easy to grep? > Overall I think you should. I'll leave it there, for now. Regards, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net ------------------------------------------------------------------------- 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 Boost-docs@... Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs |
||||||||
|
|
Re: std.qbk| -----Original Message----- | From: boost-docs-bounces@... | [mailto:boost-docs-bounces@...] On Behalf | Of Joel de Guzman | Sent: 16 November 2006 12:04 | To: boost-docs@... | Subject: Re: [Boost-docs] std.qbk | | Paul A Bristow wrote: | > | > | 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. | | Isn't that easy to grep? Probably. | > Overall I think you should. | | I'll leave it there, for now. OK, but I'll put changing them all onto my TODO list. Another thing that that has buged me a bit is how to drive this thing from Windows. (Don't tell me I shouldn't start from here ;-) I have created a ddesktop shortcut to a batch file that run bjam --v2 > mydoc.log and I get in mydoc.log this I:\boost-sandbox\libs\math_functions\doc>bjam --v2 warning: Python location is not configured warning: the Boost.Python library won't be built Building Boost.Regex with the optional Unicode/ICU support disabled. Please refer to the Boost.Regex documentation for more information (and if you don't know what ICU is then you probably don't need it). ...found 66 targets... but the other stuff appears in a DOS window, including all the error messages. How do I get this into a file (apart from a copy and paste) and most important, how do I check that there are no errors or wrnings in any of the files processed? (There are more than fit on the screen) Yours fumblingly Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@... ------------------------------------------------------------------------- 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 Boost-docs@... Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs |
| Free embeddable forum powered by Nabble | Forum Help |