David Abrahams <[EMAIL PROTECTED]> writes: > 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.
Is that doable? > That said, I'd very > much appreciate having <bold> (or even <b>) because it's shorter. What about that? -- Dave Abrahams Boost Consulting www.boost-consulting.com ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Boost-docs mailing list [email protected] Unsubscribe and other administrative requests: https://lists.sourceforge.net/lists/listinfo/boost-docs
