Date: Fri, 25 Aug 2000 03:10:08 -0700 (PDT) From: Nik Clayton <nik@freebsd.org> To: freebsd-doc@freebsd.org Subject: Re: docs/20028: ASCII docs should reflect <emphasis> tags in the source Message-ID: <200008251010.DAA39022@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR docs/20028; it has been noted by GNATS.
From: Nik Clayton <nik@freebsd.org>
To: Brooks Davis <brooks@one-eyed-alien.net>
Cc: freebsd-doc@freebsd.org, FreeBSD-gnats-submit@freebsd.org
Subject: Re: docs/20028: ASCII docs should reflect <emphasis> tags in the source
Date: Fri, 25 Aug 2000 09:59:15 +0100
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.
N
--
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008251010.DAA39022>
