W3C home > Mailing lists > Public > www-math@w3.org > April 2002

Re: pmathmlcss.xsl != readable???

From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 11 Apr 2002 08:31:15 +0100
Message-Id: <200204110731.IAA24596@penguin.nag.co.uk>
To: jimbofc@yahoo.com
CC: www-math@w3.org

> Is there a version of the XSL style sheets which are readable? 

No, sorry (honestly, that's the only version there is).
I accept the internal documentation of teh javascript bits especially is
not ideal (or even existing in many cases).

 <blockquote>
 function mrowStretch (opid,opt,ope,opm,opb)
 </blockquote>

 ...what in the world do the variables "opid", "opt", "ope", "opm" and
 "opb" represent 

opid is the id of the (html <span> containing) the operator, The function
uses this id to access that part of the DOM tree and replaces a span
containing a single ( by an inline table containing a made up delimiter.

opt ope opm opb are the top, extender, middle and bottom respectively of
the made up bracket. the top and bottom of the brackets are the relevant
curved section, the extender is a vertical line segment that is repeated
in as many rows as needed, and the middle part is the same as the
extender in all cases except for {} where the middle has the { but with
straight top and bottom to join up with the extender. (All these parts
are available in the symbol font). (They were not in unicode until
recently and so actually I abuse an IE bug by accessing them in "latin
1" position using the symbol font.

David


_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
Received on Thursday, 11 April 2002 03:31:52 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:51 GMT