W3C home > Mailing lists > Public > www-html-editor@w3.org > April to June 1997

WD-entities-961125

From: Jan Karrman <jan@tdb.uu.se>
Date: Mon, 21 Apr 1997 12:25:47 +0200 (MET DST)
To: www-html-editor@w3.org
Message-ID: <Pine.GSO.3.96.970421122335.10478C-100000@bellatrix.tdb.uu.se>
Hello!

This is a comment on the Working Draft "Additional named entities for
HTML" from 25-Nov-96 (http://www.w3.org/pub/WWW/TR/WD-entities-961125).

I am working on an HTML to PostScript converter - html2ps. Hopefully,
I will be able release a new version of this program next month. This
version will have support for the new entities that are defined in this
Working Draft.

When I implemented these new entities in my code, I noted a few errors
in the draft:

* A typo on line 319:

&lt;!ENTITY Iacute CDATA &quot;&4amp;#205;&quot; -- capital I, acute accent --&gt;

should be

&lt;!ENTITY Iacute CDATA &quot;&amp;#205;&quot; -- capital I, acute accent --&gt;

* Line 399:

&lt;!ENTITY fnof     CDATA &quot;&amp;#192;&quot;  -- latin small f with hook, =function, =florin, U0192 ISOtech --&gt;

must surely be:

&lt;!ENTITY fnof     CDATA &quot;&amp;#402;&quot;  -- latin small f with hook, =function, =florin, U0192 ISOtech --&gt;

* There are two different definitions of 'theta' on lines 436 and 455:

&lt;!ENTITY theta    CDATA &quot;&amp;#952;&quot; -- greek small letter theta,  U03B8 ISOgrk3 --&gt;
&lt;!ENTITY theta    CDATA &quot;&amp;#977;&quot; -- greek small letter theta symbol,  U03D1 NEW --&gt;

perhaps the second should have been called 'thetav'.

* Line 508:

&lt;!ENTITY sum      CDATA &quot;&amp;#8722;&quot; -- n-ary sumation, U2211 ISOamsb --&gt;

should be:

&lt;!ENTITY sum      CDATA &quot;&amp;#8721;&quot; -- n-ary sumation, U2211 ISOamsb --&gt;

* Lines 517-518:

&lt;!ENTITY and      CDATA &quot;&amp;#8869;&quot; -- logical and, =wedge, U2227 ISOtech --&gt;
&lt;!ENTITY or       CDATA &quot;&amp;#8870;&quot; -- logical or, =vee, U2228 ISOtech --&gt;

have numerical entities that do not match their Unicode numbers.
Since furthermore &#8869; is used for &perp;, I suppose the above
two lines should be:

&lt;!ENTITY and      CDATA &quot;&amp;#8743;&quot; -- logical and, =wedge, U2227 ISOtech --&gt;
&lt;!ENTITY or       CDATA &quot;&amp;#8744;&quot; -- logical or, =vee, U2228 ISOtech --&gt;

* Line 527:

&lt;!ENTITY asymp    CDATA &quot;&amp;#8773;&quot; -- almost equal to, =asymptotic to, U2248 ISOamsr --&gt;

has the same numerical entity as &cong;. To match its Unicode number
this should be:

&lt;!ENTITY asymp    CDATA &quot;&amp;#8776;&quot; -- almost equal to, =asymptotic to, U2248 ISOamsr --&gt;

---

Since my program produces postscript, it is of course easy to generate
the Adobe Symbol characters. There is one major problem (that I have
not yet solved), though: how to display the symbol characters within
preformatted text.

It is simple in postscript to change the font metrics to get a fixed
width font out of the Symbol font. But since some characters are quite
wide (for example horizontal arrows), one has to choose a very small
font size to avoid getting those characters overlapping the surrounding
characters. Using this font size other characters, such as Greek
letters, look ridiculously small. Another alternative is to scale
characters individually, but this is a bit messy. Have this problem
been discussed?

I have generated an HTML table with the entity definitions from the
Working Draft, and created a postscript file with html2ps. This might
be useful for you as an illustration of the entity definitions. You
can get the PS file from

  http://www.tdb.uu.se/~jan/demo/entities.ps

(Incidentally, this table illustrates the use of the proposed TABLE
element THEAD, to get a running table header for multipage tables.)

Note that I have not corrected any of the errors mentioned above, and
I may have misunderstood some definitions (e.g. &cong; and &asymp;).

If you think this may be of some use for you, I will be glad to reformat
the PS document if you prefer. My program is not yet in the shape to be
used by others, though.

Best regards,
Jan Karrman
Dept. of Scientific Computing
Uppsala University
Sweden
jan@tdb.uu.se
Received on Monday, 21 April 1997 06:25:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:42 GMT