On Wed, Aug 23, 2000 at 06:28:35PM -0700, Brooks Davis wrote:
> I've looked into this a little today. It looks like creating a patch
> which accomplishes this is pretty easy, but there are a few hoops to
> jump though. First, w3m delibratly doesn't support <i> tags at all.
> It parses them, but throws them out. This could be corrected if we
> wanted to do so. What is supported is <strong> which maps to <em> which
> in turn maps to <b>. I've generated a patch so <b>blah</b> becomes
> *blah* when -dump is specified. There's a good chance this is the wrong
> way to do this, but it works for me. How would people suggest I
> proceed? Should I implement Nik's suggestion of <b>bold</b> -> *bold*
> and <i>italics</i> -> /italics/ or just what? My concern about Nik's
> suggesion is that <B> is used in a number of places including FAQ
> Query's which I think it will look silly. I'm kinda thinking the right
> thing to do may be to change the style sheets to translate <emphasis> to
> <em> and only dealing with <em> in w3m.
The stylesheets add a CLASS attribute with the name of the original DocBook
element in some cases. For example;
<i class="emphasis">This was originally marked up with 'emphasis'</i>
See if w3m can look for that instead.
Internet connection, $19.95 a month. Computer, $799.95. Modem, $149.95.
Telephone line, $24.95 a month. Software, free. USENET transmission,
hundreds if not thousands of dollars. Thinking before posting, priceless.
Somethings in life you can't buy. For everything else, there's MasterCard.
-- Graham Reed, in the Scary Devil Monastery
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message