--- psiconv/trunk/program/psiconv/psiconv.c 2000/12/15 17:17:45 66 +++ psiconv/trunk/program/psiconv/psiconv.c 2001/02/16 18:49:14 109 @@ -116,6 +116,7 @@ init_txt(); init_html(); init_html4(); + init_latex(); init_rtf(); init_image(); @@ -163,9 +164,8 @@ } else f = stdin; - buf = psiconv_list_new(sizeof(psiconv_u8)); - while (! feof(f)) - psiconv_list_fread(buf,1024,f); + buf = psiconv_buffer_new(); + psiconv_buffer_fread_all(buf,f); if (strlen(inputfilename) != 0) if (fclose(f)) {