From owner-freebsd-doc Fri Aug 25 3: 2: 0 2000 Delivered-To: freebsd-doc@freebsd.org Received: from nothing-going-on.demon.co.uk (nothing-going-on.demon.co.uk [193.237.89.66]) by hub.freebsd.org (Postfix) with ESMTP id 2B9BE37B42C; Fri, 25 Aug 2000 03:01:46 -0700 (PDT) Received: (from nik@localhost) by nothing-going-on.demon.co.uk (8.11.0/8.11.0) id e7P8xKJ85512; Fri, 25 Aug 2000 09:59:20 +0100 (BST) (envelope-from nik) Date: Fri, 25 Aug 2000 09:59:15 +0100 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 Message-ID: <20000825095915.A85333@canyon.nothing-going-on.org> References: <200007190554.WAA12534@minya.sea.one-eyed-alien.net> <20000823182835.A25522@Odin.AC.HMC.Edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20000823182835.A25522@Odin.AC.HMC.Edu>; from brooks@one-eyed-alien.net on Wed, Aug 23, 2000 at 06:28:35PM -0700 Organization: FreeBSD Project Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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