Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2003 02:57:35 +0200
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        Murray Stokely <murray@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:  <20030819005734.GC1489@FreeBSD.org>
In-Reply-To: <20030818123221.C235@freebsdmall.com>
References:  <200308171355.h7HDt5ii082681@repoman.freebsd.org> <20030817140406.GB391@FreeBSD.org> <20030818123221.C235@freebsdmall.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--FsscpQKzF/jJk6ya
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2003.08.18 12:32:21 -0700, Murray Stokely wrote:
> On Sun, Aug 17, 2003 at 04:04:07PM +0200, Simon L. Nielsen wrote:
> > Of course this is not in each article for the Handbook, but first use in
> > each sect1, which will become first use in each HTML page when using
> > html-split mode.
>=20
> Can you add attributes to the later trademarks that are not the first
> in the article.  These commits add a LOT of unnecessary and
> distracting (TM) and (R) signs in non-HTML documents, such as PDFs,
> text files, or PalmPilot docs.
>=20
> If you add the attributes, I'll add stylesheet support to only render
> them for HTML output.  For the first use in the entire document, you
> shouldn't add the attribute.  (I think the 'role' attribute can be
> used for this purpose).

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'm not really sure if it can be made to work right, while not having a
too bad impact on "compile time", but I just want to try a bit.  If I
can't make it work, using role attribute is probably the best way to
handle this.

/me mumbles that it could have done in half an hour, if DSSSL had used a
sensible language. :-)

--=20
Simon L. Nielsen
FreeBSD Documentation Team

--FsscpQKzF/jJk6ya
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/QXX+h9pcDSc1mlERAinGAJ9eDlMJ0AUfuS3U1VBem4V9DBPCugCfaIKr
IeBRQmaVaHqqhW/uldq1UZI=
=MFAx
-----END PGP SIGNATURE-----

--FsscpQKzF/jJk6ya--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030819005734.GC1489>