Date: Mon, 18 Aug 2003 20:34:53 -0700 From: Murray Stokely <murray@FreeBSD.org> To: "Simon L. Nielsen" <simon@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 Message-ID: <20030818203453.R235@freebsdmall.com> In-Reply-To: <20030819005734.GC1489@FreeBSD.org>; from simon@FreeBSD.org on Tue, Aug 19, 2003 at 02:57:35AM %2B0200 References: <200308171355.h7HDt5ii082681@repoman.freebsd.org> <20030817140406.GB391@FreeBSD.org> <20030818123221.C235@freebsdmall.com> <20030819005734.GC1489@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030818203453.R235>