David Abrahams wrote:
http://boost-consulting.com/boost/tools/quickbook/doc/html/quickbook/syntax.html
shows that underline formatting isn't working. BTW, when I was
reading the BoostBook and DocBook specifications, I couldn't find
direct style formatting elements such as "underline" and "italic;"
instead there were "semantic" things like "emphasis." (**) So what
BoostBook do these quickbook tags actually generate?
It generates <emphasis role="underline"> which gets translated into HTML
as <span class="underline">. But our CSS doesn't do anything with that.
We just need to add:
span.underline
{
text-decoration: underline;
}
This change has already been made in the QUICKBOOK_INCLUDE branch. Shall
I port it to MAIN in time for 1.33?
<aside>
The FOP generator seems to do the right thing with <emphasis
role="underline">, so things are underlined correctly in PDF. For some
reason, the HTML generator doesn't translate that into the correct HTML
tags to make underline work without the CSS hack. I don't know why.
</aside>
--
Eric Niebler
Boost Consulting
www.boost-consulting.com
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Boost-docs mailing list
[email protected]
Unsubscribe and other administrative requests:
https://lists.sourceforge.net/lists/listinfo/boost-docs