- Timestamp:
- 2018-06-28T17:44:55+12:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/gsConvert.pl
r32224 r32226 346 346 # Attempt conversion to TEXT 347 347 if (!$output_type || ($output_type =~ m/text/i)) { 348 if ($ENV{'GSDLOS'} =~ m/^windows$/i) { # we now have pdf to text support for windows by using xpdf tools 349 $success = &xpdf_to_text($dirname, $input_filename, $output_filestem); 350 } else { 351 $success = &pdf_to_text($dirname, $input_filename, $output_filestem); 352 } 348 $success = &xpdf_to_text($dirname, $input_filename, $output_filestem); 349 #if ($ENV{'GSDLOS'} =~ m/^windows$/i) { # we now have pdf to text support for windows by using xpdf tools 350 # $success = &xpdf_to_text($dirname, $input_filename, $output_filestem); 351 #} else { 352 # $success = &pdf_to_text($dirname, $input_filename, $output_filestem); 353 #} 353 354 if ($success) { 354 355 return "text";
Note:
See TracChangeset
for help on using the changeset viewer.