Tomas Hajny
Tue, 27 May 2008 22:32:46 -0700
On 28 May 08, at 9:08, Brian Havard wrote: > Tomas Hajny wrote: > > On 24 May 08, at 11:32, Brian Havard wrote: . . > > Very nice, thank you! One question - is there a way for having > > numbers in text (i.e. outside tags and entities) displayed the same > > way as letters? Obviously, text is just text, even if containing > > digits and whatever other characters; at least I personally don't see > > a reason for having numbers displayed differently in that part. I > > tried defining class "text" with colour bright cyan (i.e. the same > > the regular text has) and adding "number : text" after your original > > "number(tag) : number" line. I hoped that the general directive > > applies if there's no special state, but that additional line changed > > the colour for all numbers including those in tags, which is > > obviously not what I wanted. > > The "number" directive doesn't currently support a required state. I can > add that, but usually in HTML even numbers are quoted so the string > state takes over.
I'm not sure if I understand your point here. Let's take the following fragment of HTML code: <IMG SRC="filename" WIDTH=123 HEIGHT=456>Picture taken on 1 May 2008.<P>My e-mail: <A HREF="mailto:XHajT03@vol.cz">XHajT03@vol.cz</A> The current situation is: 1) Values for WIDTH and HEIGHT attributes are displayed as numbers (OK) 2) Numbers in date (1 May 2008) are emphasized (not OK from my point of view) 3) ASCII code in HREF attribute is part of string, i.e. not emphasized (possibly not ideal, but no big deal for me) 4) Number in ASCII code (entity) in the page text (not reference) displays emphasized (OK). I was referring to point number 2 in my original e-mail. Do I understand correctly that you refer to number 3 in your response? Would a potential change solving point number 2 make any difference for the other three points or some other scenario I didn't imagine (i.e. are you afraid of breaking something that works currently by trying to add solution for point number 2)? Tomas _______________________________________________ Fc mailing list Fc@silk.apana.org.au http://silk.apana.org.au/mailman/listinfo/fc Bug Tracker: http://bugs.silk.apana.org.au/