… | |
… | |
130 | FILE * f; |
130 | FILE * f; |
131 | struct stat fbuf; |
131 | struct stat fbuf; |
132 | |
132 | |
133 | const char *inputfilename = ""; |
133 | const char *inputfilename = ""; |
134 | const char *outputfilename = ""; |
134 | const char *outputfilename = ""; |
135 | char *type = strdup("HTML3"); |
135 | char *type = strdup("HTML4"); |
136 | encoding encoding_type=ENCODING_UTF8; |
136 | encoding encoding_type=ENCODING_UTF8; |
137 | psiconv_list outputlist; |
137 | psiconv_list outputlist; |
138 | |
138 | |
139 | int c,i,res; |
139 | int c,i,res; |
140 | psiconv_buffer buf; |
140 | psiconv_buffer buf; |
… | |
… | |
148 | fputs("Out of memory error",stderr); |
148 | fputs("Out of memory error",stderr); |
149 | exit(1); |
149 | exit(1); |
150 | } |
150 | } |
151 | |
151 | |
152 | init_txt(); |
152 | init_txt(); |
|
|
153 | init_image(); |
|
|
154 | init_html(); |
153 | #if 0 |
155 | #if 0 |
154 | init_html(); |
|
|
155 | init_html4(); |
156 | init_html4(); |
156 | init_latex(); |
157 | init_latex(); |
157 | init_rtf(); |
158 | init_rtf(); |
158 | init_image(); |
|
|
159 | #endif |
159 | #endif |
160 | |
160 | |
161 | while(1) { |
161 | while(1) { |
162 | c = getopt_long(argc,argv,short_options, long_options, &option_index); |
162 | c = getopt_long(argc,argv,short_options, long_options, &option_index); |
163 | if (c == -1) |
163 | if (c == -1) |