Opened 15 years ago

Last modified 9 years ago

#1204 new Feature Requests

Non-breaking-space?

Reported by: Joel de Guzman Owned by: Daniel James
Milestone: To Be Determined Component: quickbook
Version: Boost 1.34.1 Severity: Cosmetic
Keywords: Cc:

Description (last modified by René Rivera)

Joel:

I think we should take advantage of macros as much as possible before considering any syntax addition. nbsp can definitely be a macro, FWIW, e.g.:

[def _nbsp_ [''' ''']]

Rene:

Won't that break in most situations? Specifically because it won't have spaces around it to differentiate it from the context:

[^-f_nbsp_/Jambase/]

Dave:

At my urging, docutils ended up with a "breaking non-space". That is, if you escape a regular space it just separates docutils tokens with no other significance. Thus:

[^-f\ _nbsp_\ /Jambase/]

Change History (2)

comment:1 by René Rivera, 15 years ago

Description: modified (diff)

comment:2 by Joel de Guzman, 9 years ago

Owner: changed from Joel de Guzman to Daniel James
Note: See TracTickets for help on using tickets.