David Abrahams wrote: > "John Maddock" <[EMAIL PROTECTED]> writes: > >> So.... I'm hoping that this can be solved by changing the >> pretty-printing code, but I have suspicions that the problems may >> run deeper. > > In ReST they have a "breaking non-space." That is, if you > backslash-escape a space character, you get something that can > separate tokens without generating any space in the output: > > x\ super(2) > > In quickbook maybe that should be: > > x[]super(2) > > Although I think I might prefer: > > x!super(2) > > An exclamation point with no whitespace on either side is sufficiently > rare, I think.
That would do it, but note that we already have a poor-man's version of this using an empty comment: x[/]super(2) But you still get the extra whitespace :-( Even this: x'''<superscript>2</superscript>''' has extra whitespace inserted! John. _______________________________________________ Boost-docs mailing list [email protected] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
