Changeset 29101
- Timestamp:
- 2014-06-19T10:40:17+12:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/PDFPlugin.pm
r24476 r29101 100 100 { 'name' => "description_tags", 101 101 'desc' => "{HTMLPlugin.description_tags}", 102 'type' => "flag" } 102 'type' => "flag" }, 103 { 'name' => "use_realistic_book", 104 'desc' => "{HTMLPlugin.tidy_html}", 105 'type' => "flag"} 103 106 ]; 104 107 … … 149 152 # choose html ?? is this the best option 150 153 $self->{'convert_to'} = "html"; 154 } 155 if ($self->{'use_realistic_book'}) { 156 if ($self->{'convert_to'} ne "html") { 157 print STDERR "PDFs will be converted to HTML for realistic book functionality\n"; 158 $self->{'convert_to'} = "html"; 159 } 151 160 } 152 161 # set convert_to_plugin and convert_to_ext … … 189 198 $self->{'description_tags'} = 1; 190 199 push(@$specific_options, "-description_tags"); 200 } 201 if ($self->{'use_realistic_book'}) { 202 push(@$specific_options, "-use_realistic_book"); 191 203 } 192 204 }
Note:
See TracChangeset
for help on using the changeset viewer.