Bug 19278 - thumbpdf fails
Summary: thumbpdf fails
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: tetex
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-10-17 17:36 UTC by Lindsay Todd
Modified: 2007-04-18 16:29 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-12-27 20:37:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Lindsay Todd 2000-10-17 17:36:17 UTC
The thumbpdf file, used to insert thumbnails into pdflatex documents, has
two problems.

First, a perl problem at line 23.  I'm not a perl expert, so there is
probably a better fix than this patch,
but it works for me:

*** /usr/bin/thumbpdf.OLD	Mon Oct  2 15:11:08 2000
--- /usr/bin/thumbpdf	Mon Oct  2 15:11:29 2000
***************
*** 20,26 ****
  # for installation purposes.
  #
  my $file        = "thumbpdf.pl";
! my $program     = uc($file =~ /^(\w+)/, $1);
  my $version     = "1.11";
  my $date        = "2000/01/19";
  my $author      = "Heiko Oberdiek";
--- 20,26 ----
  # for installation purposes.
  #
  my $file        = "thumbpdf.pl";
! my $program     = uc($file);
  my $version     = "1.11";
  my $date        = "2000/01/19";
  my $author      = "Heiko Oberdiek";


Second, pdftex was linked to the wrong version of PNG.  I see that others
have previously reported this problem.

Comment 1 Jeff Johnson 2000-12-27 20:37:10 UTC
Fixed in tetex-1.0.7-9.


Note You need to log in before you can comment on or make changes to this bug.