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

Murray Stokely murray at FreeBSD.org
Mon Aug 18 20:34:56 PDT 2003


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


More information about the cvs-doc mailing list