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

Simon L. Nielsen simon at FreeBSD.org
Mon Aug 18 17:57:38 PDT 2003


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.
> 
> 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.
> 
> 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. :-)

-- 
Simon L. Nielsen
FreeBSD Documentation Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-doc/attachments/20030819/6a1f4bd7/attachment.bin


More information about the cvs-doc mailing list