Changeset 7018
- Timestamp:
- 2004-03-11T12:25:02+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/pdftohtml.pl
r6362 r7018 147 147 my $line; 148 148 my $seen_textual_content=$allow_no_text; 149 while ($line=<INFILE>) { 149 # check for unicode byte-order marker at the start of the file 150 $line = <INFILE>; 151 $line =~ s#\376\377##g; 152 while ($line) { 150 153 $line =~ s#</b><b>##g; 151 154 $line =~ s#</i><i>##g; 152 155 $line =~ s#\\#\\\\#g; # until macro language parsing is fixed... 153 $line =~ s#\376\377##g;154 156 # check for any extracted text 155 157 if ($seen_textual_content == 0) { … … 186 188 187 189 print OUTFILE $line; 190 $line = <INFILE>; 188 191 } 189 192 close INFILE;
Note:
See TracChangeset
for help on using the changeset viewer.