[prev in list] [next in list] [prev in thread] [next in thread]
List: lon-capa-cvs
Subject: [LON-CAPA-cvs] cvs: modules /TexConvert/tthperl tthperl.c
From: albertel <lon-capa-cvs () mail ! lon-capa ! org>
Date: 2003-02-28 21:03:58
Message-ID: cvsalbertel1046466238 () cvsserver
[Download RAW message or body]
albertel Fri Feb 28 16:03:58 2003 EDT
Modified files:
/modules/TexConvert/tthperl tthperl.c
Log:
- turn mathitalic off (or on)
-i0 off
-i1 on
Index: modules/TexConvert/tthperl/tthperl.c
diff -u modules/TexConvert/tthperl/tthperl.c:1.6 modules/TexConvert/tthperl/tthperl.c:1.7
--- modules/TexConvert/tthperl/tthperl.c:1.6 Thu Feb 27 15:31:25 2003
+++ modules/TexConvert/tthperl/tthperl.c Fri Feb 28 16:03:57 2003
@@ -90,7 +90,13 @@
case 'f': sscanf(cur+2,"%d",&tth_flev0);
/*add_error("Fraction level %d\n",tth_flev0);*/break;
case 'g': tth_fontguess=0;break;
- case 'I': case 'i': tth_mathitalic=1;break;
+ case 'I': case 'i':
+ if (cur[2]) {
+ sscanf(cur+2,"%d",&tth_mathitalic);
+ } else {
+ tth_mathitalic=1;
+ }
+ break;
/*case 'k': strcpy(tth_latex_file,argv[i]+2);break;*/
case 'L': case 'l':{
/*strcpy(tth_latex_file,argv[i]+2);*/
@@ -152,7 +158,13 @@
case 'f': sscanf(cur+2,"%d",&ttm_flev0);
/*add_error("Fraction level %d\n",ttm_flev0);*/break;
case 'g': ttm_fontguess=0;break;
- case 'I': case 'i': ttm_mathitalic=1;break;
+ case 'I': case 'i':
+ if (cur[2]) {
+ sscanf(cur+2,"%d",&ttm_mathitalic);
+ } else {
+ ttm_mathitalic=1;
+ }
+ break;
/*case 'k': strcpy(ttm_latex_file,argv[i]+2);break;*/
case 'L': case 'l':{
/*strcpy(ttm_latex_file,argv[i]+2);*/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic