wish list

Steven Champeon (schampeo@hesketh.com)
Fri, 28 Mar 1997 15:42:09 -0500


Message-Id: <3.0.1.32.19970328154209.008bf1a0@mail.imvi.com>
Date: Fri, 28 Mar 1997 15:42:09 -0500
To: Web Design <webdesign@list.webmonster.net>,
From: Steven Champeon <schampeo@hesketh.com>
Subject: wish list


I just realized what I really want. I want a PostScript-like
way to define shortcut tags. SGML has this, it's called entity
references and SHORTREFs. For example, I'm tagging some documents
and want some of the text to be displayed using Times at size 6.
I'd use the following markup:

<font face="Times" size=6>text</font>

Well, that can get pretty bulky after a while. What I'd like to
be able to do is something like this:

<!ENTITY "myf6" "<font face=Times size=6>">
<BODY ...>

...
%myf6; text </font>

or

#myf6; text </font>
...

</BODY>

I know that we should all being using style sheets in the future,
but I can't help but think that SHORTREFs or entity references
might be a more flexible solution until CSS supports nested styles,
or might be used in common with CSS to allow for complicated use
of CSS-defined styles.

Am I right out to lunch here, or would this be hard to implement?

Steve


--
Steven Champeon                  !        I'll sleep
Web Guru/Intranet Builder        !       when I'm dead.
schampeo@hesketh.com             !         - Zevon