- Timestamp:
- 2018-06-27T16:50:52+12:00 (6 years ago)
- Location:
- main/trunk/greenstone2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/gsConvert.pl
r32221 r32223 324 324 # Attempt conversion to HTML 325 325 # Uses the old pdftohtml that doesn't work for newer PDF versions 326 #if ($output_type =~ m/^html/i) {327 if (!$output_type || ($output_type =~ m/^html/i)) {326 if ($output_type =~ m/^html/i) { 327 #if (!$output_type || ($output_type =~ m/^html/i)) { 328 328 $success = &pdf_to_html($dirname, $input_filename, $output_filestem); 329 329 if ($success) { … … 335 335 # will be the new default for PDFs when output_type for PDF docs is not specified 336 336 # (once our use of xpdftools' pdftohtml has been implemented on win and mac). 337 if ($output_type =~ m/paged_html/i) {338 #if (!$output_type || ($output_type =~ m/paged_html/i)) {337 #if ($output_type =~ m/paged_html/i) { 338 if (!$output_type || ($output_type =~ m/paged_html/i)) { 339 339 $success = &xpdf_to_html($dirname, $input_filename, $output_filestem); 340 340 if ($success) { -
main/trunk/greenstone2/perllib/plugins/PDFPlugin.pm
r32222 r32223 156 156 elsif ($self->{'convert_to'} eq "auto") { 157 157 # choose html ?? is this the best option 158 $self->{'convert_to'} = " html";158 $self->{'convert_to'} = "paged_html"; 159 159 } 160 160 if ($self->{'use_realistic_book'}) {
Note:
See TracChangeset
for help on using the changeset viewer.