[BACK]Return to oxgentexi.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / util

Diff for /OpenXM/src/util/oxgentexi.c between version 1.9 and 1.10

version 1.9, 2005/05/04 10:32:36 version 1.10, 2005/05/04 22:02:08
Line 1 
Line 1 
 /*  $OpenXM: OpenXM/src/util/oxgentexi.c,v 1.8 2005/04/14 02:21:49 takayama Exp $ */  /*  $OpenXM: OpenXM/src/util/oxgentexi.c,v 1.9 2005/05/04 10:32:36 takayama Exp $ */
   
 #include <stdio.h>  #include <stdio.h>
 int Debug = 0;  int Debug = 0;
Line 485  printTexi(FILE *fp, struct item *it) {
Line 485  printTexi(FILE *fp, struct item *it) {
   
 printTexi_common(FILE *fp,struct item *it) {  printTexi_common(FILE *fp,struct item *it) {
   int i;    int i;
   if (it->description != NULL) {    if ((it->shortDescription != NULL) || (it->refc >0)
     fprintf(fp,"%s\n\n",it->description);        || (it->examplec > 0)) {
       if (it->description != NULL) {
         fprintf(fp,"\nDescription:");
         fprintf(fp,"@quotation\n%s\n@end quotation\n\n",it->description);
       }
     }else {
       if (it->description != NULL) {
         fprintf(fp,"%s\n\n",it->description);
       }
   }    }
   
   if (it->algorithm != NULL) {    if (it->algorithm != NULL) {

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

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