CVSROOT:        /sources/groff
Module name:    groff
Changes by:     Eric S. Raymond <esr>   07/02/03 05:33:01

Modified files:
        src/preproc/eqn: special.cpp 

Log message:
        The -TMathML option for eqn.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/eqn/special.cpp?cvsroot=groff&r1=1.2&r2=1.3

Patches:
Index: special.cpp
===================================================================
RCS file: /sources/groff/groff/src/preproc/eqn/special.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- special.cpp 26 May 2005 21:02:00 -0000      1.2
+++ special.cpp 3 Feb 2007 05:33:01 -0000       1.3
@@ -104,7 +104,10 @@
 
 void special_box::output()
 {
+  if (output_format == troff)
   printf("\\*[" STRING_FORMAT "]", uid);
+  else if (output_format == mathml)
+    printf("<merror>eqn specials cannot be expressed in MathML</merror>");
 }
 
 void special_box::debug_print()


_______________________________________________
Groff-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to