Diff for /capa/capa51/pProj/qzparse.c between versions 1.1 and 1.2

version 1.1, 1999/09/28 21:26:20 version 1.2, 1999/10/14 19:01:38
Line 49  print_header(int mode,FILE *o_fp,int sec Line 49  print_header(int mode,FILE *o_fp,int sec
   extern  char      *StartText_p;    extern  char      *StartText_p;
   int capaid = capa_PIN(stu_num,set,0);    int capaid = capa_PIN(stu_num,set,0);
   
   switch(mode) {  
     case TeX_MODE:  
           fprintf(o_fp, "Section %d  {\\Large %s}\\hspace*{1in}",sec,stu_nam);  
           fprintf(o_fp, "{\\large %s}, CAPAID: %d, set %d",stu_num, capaid, set);  
           fprintf(o_fp, "\n\\begin{enumerate}\n");  
           break;  
     case ASCII_MODE:  
           fprintf(o_fp, "Section %d   %s    ", sec,stu_nam);   
   fprintf(o_fp, "%s, CAPAID: %d set %d\n\n",stu_num, capaid, set);  
   break;  
     case HTML_MODE:   
           fprintf(o_fp, "<H2>Section %d  %s,  ", sec,stu_nam);   
   fprintf(o_fp, "%s, CAPAID:%d set %d</H2>\n", stu_num,capaid,set);  
   fprintf(o_fp, "<OL>\n");  
   break;  
   }  
   if( StartText_p != NULL ) {    if( StartText_p != NULL ) {
      fprintf(o_fp, "%s", StartText_p);       fprintf(o_fp, "%s", StartText_p);
   }    }
   
     switch(mode) {
     case TeX_MODE:
       if (StartText_p == NULL ) {
         fprintf(o_fp, "Section %d  {\\Large %s}\\hspace*{1in}",sec,stu_nam);
         fprintf(o_fp, "{\\large %s}, CAPAID: %d, set %d",stu_num, capaid, set);
       }
       fprintf(o_fp, "\n\\begin{enumerate}\n");
       break;
     case ASCII_MODE:
       fprintf(o_fp, "Section %d   %s    ", sec,stu_nam); 
       fprintf(o_fp, "%s, CAPAID: %d set %d\n\n",stu_num, capaid, set);
       break;
     case HTML_MODE: 
       fprintf(o_fp, "<H2>Section %d  %s,  ", sec,stu_nam); 
       fprintf(o_fp, "%s, CAPAID:%d set %d</H2>\n", stu_num,capaid,set);
       fprintf(o_fp, "<OL>\n");
       break;
     }
 }  }
   
 void  void

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>