[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
RE: Styles (was Re: Xy Win/macros, etc.)
- Subject: RE: Styles (was Re: Xy Win/macros, etc.)
- From: "Harrison, Shawn" Shawn_Harrison@xxxxxxxx
- Date: Thu, 22 Jul 1999 15:51:50 -0500
Eric -
You've done some good thinking about how to handle the anomalies of
styles. And thanks for bringing up the issue. Using markup to define the
structure of a document rather than the appearance has a lot of
advantages (hence the popularity of XML and SGML).
I have a different approach that may solve some of the problems you're
having. It would work this way.
For each style definition, define a corresponding "end of style" style,
which turns off the features turned on in the style. For instance, if you
define , then also create a style . If style SUB
turns on Bold using , then XSUB or _SUB can turn off the Bold
using . Similarly, I realize this has some limitations in
XyWrite, because not all formatting commands are subject to the
additive/subtractive approach. But you might be able to set up a
stylesheet that allows you to changing the appearance of the text without
changing the coding.
I haven't implemented this, but it might be worth a try.
Shawn
==========================
shawn_harrison@xxxxxxxx
==========================