From owner-cvs-all@FreeBSD.ORG Mon Aug 18 20:34:55 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64CF637B401; Mon, 18 Aug 2003 20:34:55 -0700 (PDT) Received: from builder.freebsdmall.com (builder.freebsdmall.com [65.86.180.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60F9243F93; Mon, 18 Aug 2003 20:34:54 -0700 (PDT) (envelope-from murray@builder.freebsdmall.com) Received: (from root@localhost) by builder.freebsdmall.com (8.12.9/8.11.6) id h7J3YsWH005934; Mon, 18 Aug 2003 20:34:54 -0700 (PDT) (envelope-from murray) Date: Mon, 18 Aug 2003 20:34:53 -0700 From: Murray Stokely To: "Simon L. Nielsen" Message-ID: <20030818203453.R235@freebsdmall.com> References: <200308171355.h7HDt5ii082681@repoman.freebsd.org> <20030817140406.GB391@FreeBSD.org> <20030818123221.C235@freebsdmall.com> <20030819005734.GC1489@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030819005734.GC1489@FreeBSD.org>; from simon@FreeBSD.org on Tue, Aug 19, 2003 at 02:57:35AM +0200 X-GPG-Key-ID: 1024D/0E451F7D X-GPG-Key-Fingerprint: E2CA 411D DD44 53FD BB4B 3CB5 B4D7 10A2 0E45 1F7D cc: doc-committers@FreeBSD.org cc: cvs-doc@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: doc/en_US.ISO8859-1/books/handbook book.sgml doc/en_US.ISO8859-1/books/handbook/introduction chapter.sgml doc/en_US.ISO8859-1/books/handbook/install chapter.sgml doc/share/sgml trademarks.ent X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2003 03:34:56 -0000 On Tue, Aug 19, 2003 at 02:57:35AM +0200, Simon L. Nielsen wrote: > I'm trying to make the stylesheet do this automatically without the need > for an role attribute (which is the way it should really work IMO), but > it's a bit more tricky than I thought. I though I could just make a > list of trademarks that have been shown with trademark symbol, but it > doesn't seem that DSSSL allow global/persistent variables, so for each > trademark I have to go back and check if the current trademark have been > shown with a trademark symbol before. I only considered that for half a second before deciding it would be a very silly things to waste tens of hours of my time on. ;) If you really want to do this then check out the way that footnotes and ulinks are counted inside chapters in Norm's stylesheets. There may be some code you can use there, but I definitely think a simple attribute is the way to go for now. > /me mumbles that it could have done in half an hour, if DSSSL had used a > sensible language. :-) You could probably add a pre-processing step in XSLT to add the attributes automatically. - Murray