version 1.9, 2005/05/04 10:32:36 |
version 1.11, 2005/06/15 02:38:01 |
|
|
/* $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.10 2005/05/04 22:02:08 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:\n"); |
|
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) { |