From owner-freebsd-doc Fri Aug 25 3:10: 9 2000 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2711437B424 for ; Fri, 25 Aug 2000 03:10:08 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA39022; Fri, 25 Aug 2000 03:10:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 25 Aug 2000 03:10:08 -0700 (PDT) Message-Id: <200008251010.DAA39022@freefall.freebsd.org> To: freebsd-doc@freebsd.org Cc: From: Nik Clayton Subject: Re: docs/20028: ASCII docs should reflect tags in the source Reply-To: Nik Clayton Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR docs/20028; it has been noted by GNATS. From: Nik Clayton To: Brooks Davis Cc: freebsd-doc@freebsd.org, FreeBSD-gnats-submit@freebsd.org Subject: Re: docs/20028: ASCII docs should reflect 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 tags at all. > It parses them, but throws them out. This could be corrected if we > wanted to do so. What is supported is which maps to which > in turn maps to . I've generated a patch so blah 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 bold -> *bold* > and italics -> /italics/ or just what? My concern about Nik's > suggesion is that 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 to > and only dealing with in w3m. The stylesheets add a CLASS attribute with the name of the original DocBook element in some cases. For example; This was originally marked up with 'emphasis' 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