Douglas Gregor wrote: > On Dec 28, 2004, at 4:36 PM, David Abrahams wrote: > >> In our book Aleksey and I routinely boldify the crucial parts of code >> examples. I can always use <emphasis role="strong"> but it might be >> better if bold were the default formatting for emphasis in code >> examples, particularly since I commonly use <replaceable> text in >> examples that is formatted in italics. > > We can add a <bold> element to use in place of <emphasis role="bold">, > but I'd rather not change the default behavior of emphasis in all code > listings because it may be used for other purposes that should not be > bold (e.g., comments).
We ought to have something that automatically formats emphasis as italic when used within a comment, and as bold elsewhere. That said, I'd very much appreciate having <bold> (or even <b>) because it's shorter. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Boost-docs mailing list [email protected] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
