Re: RE two PREs

Dave_Raggett <dsr@hplb.hpl.hp.com>
From: Dave_Raggett <dsr@hplb.hpl.hp.com>
Message-id: <9306251045.AA14172@manuel.hpl.hp.com>
Subject: Re: RE two PREs
To: kchang@ncsa.uiuc.edu
Date: Fri, 25 Jun 93 11:45:50 BST
Cc: www-talk@nxoc01.cern.ch
Mailer: Elm [revision: 66.36.1.1]
Ken,

Following Marc Andreessen's lead, I have added some rendering hints
to the P tag, along with two new tags: BR (line break) and SP (unbreakable
space). These will give you the control you need, e.g.

<P INDENT>
National Center for Supercomputing Applications<BR>
405 E. Springfield Avenue<BR>
Champaign, Illinois 61820<BR>

gives:
        National Center for Supercomputing Applications
        405 E. Springfield Avenue
        Champaign, Illinois 61820

The EMPH tag has been likewise extended to include rendering hints:

<!ELEMENT EMPH - - (%text;)*>
<!ATTLIST EMPH
    type    CDATA   #IMPLIED    -- logical category e.g. CITE --
    b       (b)     #IMPLIED    -- render in bold font --
    i       (i)     #IMPLIED    -- render in italic font --
    u       (u)     #IMPLIED    -- underline text --
    tt      (tt)    #IMPLIED    -- render in typewriter font --
    vp      (vp)    #IMPLIED    -- render in variable pitch font --
    sup     (sup)   #IMPLIED    -- superscript --
    sub     (sub)   #IMPLIED    -- subscript --
    index   CDATA   #IMPLIED    -- entries for index compilation -->

This allows you to switch fonts by <EMPH VP>variable pitch</EMPH>, even
within PRE elements.

My real concern now is the bias to West European languages. Latin-1 is
inadequate for other areas of the world. Unicode (16 bit fonts) helps
but doesn't address non-extant languages such as old english.

Cheers, 

Dave Raggett