Package Details: html2ps 1.0b7-8

Git Clone URL: https://aur.archlinux.org/html2ps.git (read-only, click to copy)
Package Base: html2ps
Description: An HTML to PostScript converter written in Perl.
Upstream URL: https://linux.die.net/man/1/html2ps
Licenses: GPL2
Submitter: severach
Maintainer: severach
Last Packager: severach
Votes: 1
Popularity: 0.32
First Submitted: 2019-04-06 15:58
Last Updated: 2020-05-24 20:48

Latest Comments

sgerwk commented on 2020-05-25 12:35

Thanks, works (almost) fine now.

I have the hyphenation file in /usr/share/texmf-dist/tex/generic/hyphen/hyphen.tex that is, with texmf-dist instead of texmf. I don't know if this is something specific with the way I installed archlinux.

sgerwk commented on 2020-05-15 10:00

Does not work for me - I get this error:

Unimplemented: POSIX::tmpnam(): use File::Temp instead at /usr/bin/html2ps line 498.

Fixed as suggested:

--- a/src/html2ps-1.0b7/html2ps 2020-05-14 18:50:29.237441617 +0200
+++ b/src/html2ps-1.0b7/html2ps 2020-05-15 11:05:13.434238273 +0200
@@ -487,6 +487,7 @@
 $giftopm="giftopnm" if($package{'netpbm'});
 $giftopm="giftoppm" if($package{'pbmplus'});

+use File::Temp qw/ :POSIX /;
 for(keys %option){eval "\$opt_$_='$option{$_}' if(!defined \$opt_$_)"};
 die $usage if $opt_h;
 die "$version\n" if $opt_v;
@@ -495,7 +496,7 @@
  if($opt_D && !$package{'Ghostscript'});
 die "Ghostscript is required to generate cross references\n"
  if($opt_R && !$package{'Ghostscript'});
-$tmpname=$posix?POSIX::tmpnam():"h2p_$$";
+$tmpname=$posix?tmpnam():"h2p_$$";
 ($scr=$tmpname)=~/\w+$/;
 $tempdir=$`;