W3C home > Mailing lists > Public > www-math@w3.org > October 2008

annotated Bezier curve in transparent layer over TeX even in MSIE 6

From: Bill Corwin <billc@issi1.com>
Date: Fri, 3 Oct 2008 13:20:19 -0500
Message-ID: <C4C38C1BDCE7BA4FA7EB56AC86BB17910184EA@DELL2850.issi1.com>
To: <www-svg@e3.org>
Cc: <www-math@w3.org>

<title> Bezier curve with annotation in transparent layer over TeX
        even in MSIE 6 </title>


  wjagray.co.uk/maths/  ICT writing mathematics
Mauno Korpelainen
  http://moodle.org/mod/forum/discuss.php?d=130  61993 62002 99167
Jennifer Kyrnin webdesign.guide@about.com
    spacing                David Siegel
juanrgonzaleza  whatwg.org
www.quirksmode.org/contact.html  http://www.css-discuss.org/

It is possible to layer a .png made from an .svg with Inkscape,
without any editing, other than adjusting the number of pixels in the
exported bitmap, over another similar .png and over MathML
and jipsen TeX as shown in examples and sphere_1.xml and locals.html

However, the .svg produced by jipsen ASCIIsvg.js plotting JavaScript
will layer over and obscure the MathML and TeX, as in sphere.xml.

It is possible to use segments of cubic Bezier curves with the control
points used to match the slope of the adjacent segment and the curve,
making the jipsen ASCIIsvg.js plot circumventable, although with a lot
more work.  Labels at any angle and equations then can be applied to
the plot.  Any diagram or plot that I can think of can therefore be
rendered, albeit somewhat awkwardly at times.

The plugins, scripts, tools and   that are needed to accomplish this are

www.w3.org/Math/XSL/   pmathml.xsl (mathml.xsl ctop.xsl pmathmlcss.xsl)
http://math.chapman.edu/~jipsen/mathml/asciimath.html :  ASCIIsvg.js  ASCIIMathML.js  d.svg
   required to make .png from non opaque .svg readable by IE 6
http://downloads.sourceforge.net/inkscape/Inkscape-0.45.1-11.win32.exe or .7z

It appears that, as far as I can tell, that .png cannot layer over .svg
in the predominant browser in use today, MS Internet Explorer.  My friend,
Chris Hartung, tells me it would violate the Pauli exclusion principle
and Heisenberg uncertainty principle; however, he talks authoritatively
at length about things that he does not have a complete understanding.

In conclusion, TeX and MathML can coexist under a transparent .png layer,
but will be obscured by any .svg layer.  Also, the SHOW/HIDE and
UPDATE buttons and associated window appear unwanted when the
src="ASCIIsvg.js" script is used with a transparent .png .

Tex, MathML, .svg and .png can
coexist in a document without layers, but for legends at an angle and
TeX or MathML equations in a .svg or jipsen ASCIIsvg.js plot, it appears
the now predominate browser cannot perform.

Some combinations will work and others will not; when the Tex or
MathML equations are put in a table with a transparent graphical .png
layer over it the expression will be rendered properly with TeX and
..svg in the table or with MathML and .png but may not Tex with .png or
MathML with .svg .  Perhaps even now combinations can be found that will
be more useful.

The tools used to take up space to control the location of something are
indirect at the present.
David Siegel has a one pixel transparent .gif
I have an 80x80 transparent .png with miniscule specks in the corner:
t_8-trans.png and space_8-trans.png . <br>, &nbsp; are not supported in .xml

Presumably more advanced browsers will be developed to handle all
useful combinations.

Another option would be to use
http://www.adaptive-enterprises.com.au/~d/software/see/ to execute the
Jipsen JavaScript and intercept the .svg before the browser gets it, and
then editing more things into it and converting it to a non-opaque .png;
however, .see. may not yet be capable of this function.

Other browsers and newer versions will undoubtedly include the capabilities
that are provided now by third parties but for now the majority of browsers
and be made to render technical literature without and bit maps, proprietary
or captive formats, or monopolistic control of single sources with recurring
license fees, with much less that a gigabyte of software as with the
process which is now in the Inkscape menu.

I have a plugin detection page at
http://www.issi1.com/corwin/sniffers/detect_plugin. ml , links to examples at
MenuSVG.html and MenuMathML.html , and this page at combine.html
Received on Saturday, 4 October 2008 14:24:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:41 UTC