[LON-CAPA-cvs] cvs: modules /TexConvert/ttmdynamic ttmfunc.c

albertel lon-capa-cvs@mail.lon-capa.org
Sat, 09 Nov 2002 21:57:02 -0000


albertel		Sat Nov  9 16:57:02 2002 EDT

  Modified files:              
    /modules/TexConvert/ttmdynamic	ttmfunc.c 
  Log:
  - seems to be a bug in ttm, it isn't generating XML, this seems to stop it from breaking things.
  
  
Index: modules/TexConvert/ttmdynamic/ttmfunc.c
diff -u modules/TexConvert/ttmdynamic/ttmfunc.c:1.9 modules/TexConvert/ttmdynamic/ttmfunc.c:1.10
--- modules/TexConvert/ttmdynamic/ttmfunc.c:1.9	Sat Nov  9 16:53:54 2002
+++ modules/TexConvert/ttmdynamic/ttmfunc.c	Sat Nov  9 16:57:01 2002
@@ -19,7 +19,7 @@
 /* A lexical scanner generated by flex */
 
 /* Scanner skeleton version:
- * $Header: /home/cvs/modules/TexConvert/ttmdynamic/ttmfunc.c,v 1.9 2002/11/09 21:53:54 albertel Exp $
+ * $Header: /home/cvs/modules/TexConvert/ttmdynamic/ttmfunc.c,v 1.10 2002/11/09 21:57:01 albertel Exp $
  */
 
 #define FLEX_SCANNER
@@ -26478,8 +26478,8 @@
   YY_BUFFER_STATE temp;
   int returnval=0;
   if(ttm_mathitalic){  /* Make italic the default.*/
-    strcpy(ttm_font_open[0],"<i>");
-    strcpy(ttm_font_close[0],"</i>");
+    strcpy(ttm_font_open[0]," ");
+    strcpy(ttm_font_close[0]," ");
     TTH_CCPY(ttm_fonto_def,ttm_font_open[0]);
     TTH_CCPY(ttm_fontc_def,ttm_font_close[0]);  
   }
@@ -26512,8 +26512,8 @@
   YY_BUFFER_STATE temp;
   int returnval=0;
   if(ttm_mathitalic){  /* Make italic the default.*/
-    strcpy(ttm_font_open[0],"<i>");
-    strcpy(ttm_font_close[0],"</i>");
+    strcpy(ttm_font_open[0]," ");
+    strcpy(ttm_font_close[0]," ");
     TTH_CCPY(ttm_fonto_def,ttm_font_open[0]);
     TTH_CCPY(ttm_fontc_def,ttm_font_close[0]);  
   }