[postgis-commits] svn - r2906 - in trunk/doc: . html/images

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Fri Aug 1 08:12:21 PDT 2008


Author: kneufeld
Date: 2008-08-01 08:12:20 -0700 (Fri, 01 Aug 2008)
New Revision: 2906

Added:
   trunk/doc/html/images/st_crosses-math.gif
   trunk/doc/html/images/st_touches-math.gif
Modified:
   trunk/doc/reference_new.xml
Log:
Reverted html markup for mathematical expressions in ST_Touches and ST_Crosses to a gif image.  It seems unicode markup does not work well for both IE and Firefox.  The next best thing to do is to get MathML markup working.

Added: trunk/doc/html/images/st_crosses-math.gif
===================================================================
(Binary files differ)


Property changes on: trunk/doc/html/images/st_crosses-math.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: trunk/doc/html/images/st_touches-math.gif
===================================================================
(Binary files differ)


Property changes on: trunk/doc/html/images/st_touches-math.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: trunk/doc/reference_new.xml
===================================================================
--- trunk/doc/reference_new.xml	2008-08-01 04:42:51 UTC (rev 2905)
+++ trunk/doc/reference_new.xml	2008-08-01 15:12:20 UTC (rev 2906)
@@ -2898,11 +2898,17 @@
 
       <para>In mathematical terms, this is expressed as:</para>
 
-      <para>
-        <equation>a.Crosses(b) &hArr; (dim(I(a) &cap; I(b)) &lt; max(dim(I(a)),dim(I(b))) 
-        &and; (a &cup; b &ne; a) &and; (a &cup; b &ne; b)</equation>
-      </para>
+      <remark>TODO: Insert appropriate MathML markup here or use a gif.  
+      Simple HTML markup does not work well in both IE and Firefox.</remark>
       
+      <informalfigure>
+        <mediaobject>
+          <imageobject>
+            <imagedata fileref="images/st_crosses-math.gif" />
+          </imageobject>
+        </mediaobject>
+      </informalfigure>
+      
       <para>The DE-9IM Intersection Matrix for the two geometries is:</para>
 
       <itemizedlist>
@@ -3706,9 +3712,16 @@
 
         <para>In mathematical terms, this predicate is expressed as:</para>
         
-        <para>
-          <equation>a.Touches(b) &hArr; (I(a) &cap; I(b) = &empty;) &and; (a &cap; b &ne; &empty;)</equation>
-        </para>
+        <remark>TODO: Insert appropriate MathML markup here or use a gif.  
+        Simple HTML markup does not work well in both IE and Firefox.</remark>
+      
+        <informalfigure>
+          <mediaobject>
+            <imageobject>
+              <imagedata fileref="images/st_touches-math.gif" />
+            </imageobject>
+          </mediaobject>
+        </informalfigure>
         
         <para>The allowable DE-9IM Intersection Matrices for the two geometries are:</para>
         



More information about the postgis-commits mailing list