Changeset 2575
- Timestamp:
- 2001-06-19T14:26:54+12:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/pdftohtml.pl
r2367 r2575 54 54 " -h : print this usage information\n", 55 55 " -p : exchange .pdf links by .html\n", 56 # these options now have no effect in gs-custom pdftohtml .bin56 # these options now have no effect in gs-custom pdftohtml 57 57 # " -c : generate complex HTML document\n", 58 58 # " -F : don't use frames in HTML document\n", … … 105 105 } 106 106 107 # Heuristical code removed due to pdftohtml .binbeing "fixed" to not107 # Heuristical code removed due to pdftohtml being "fixed" to not 108 108 # create bitmaps for each char in some pdfs. However, this means we 109 109 # now create .html files even if we can't extract any text. We should … … 112 112 113 113 # formulate the command 114 my $cmd = &util::filename_cat($ENV{'GSDLHOME'}, "bin", $ENV{'GSDLOS'}, "pdftohtml .bin");114 my $cmd = &util::filename_cat($ENV{'GSDLHOME'}, "bin", $ENV{'GSDLOS'}, "pdftohtml"); 115 115 116 116 # don't include path on windows (to avoid having to play about 117 117 # with quoting when GSDLHOME might contain spaces) but assume 118 # that the PATH is set up correctly - note also that on windows 119 # we use pdftohtml.exe not pdftohtml.bin 118 # that the PATH is set up correctly. 120 119 $cmd = "pdftohtml" if ($ENV{'GSDLOS'} =~ /^windows$/); 121 120
Note:
See TracChangeset
for help on using the changeset viewer.