Hide Forgot
From code inspection it looks like Red Hat Enterprise Linux 6 is also affected by this bug. +++ This bug was initially created as a clone of Bug #675307 +++ Description of problem: ps2pdf does not produce working hyperlinks. Version-Release number of selected component (if applicable): banach-106% rpm -q ghostscript ghostscript-8.70-6.el5 ghostscript-8.70-6.el5 banach-107% gs GPL Ghostscript 8.70 (2009-07-31) Copyright (C) 2009 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. How reproducible: Every time. Steps to Reproduce: 1. Download http://www.math.purdue.edu/~lucier/bugzilla/13/test-pdf.ps 2. Run ps2pdf12 test-pdf.ps 3. Run evince test-pdf.pdf The hyperlinks don't work. Actual results: The file http://www.math.purdue.edu/~lucier/bugzilla/13/test-pdf.pdf is the output of ps2pdf test-pdf.ps Expected results: The file http://www.math.purdue.edu/~lucier/bugzilla/13/test-pdf2.pdf was produced by an earlier version of ghostscript from RHEL5: banach-131% gs ESP Ghostscript 815.02 (2006-04-19) Copyright (C) 2004 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. and the hyperlinks work. Additional info: This bug has been fixed for ghostscript 9: http://bugs.ghostscript.com/show_bug.cgi?id=691344 The patch is very short: http://ghostscript.com/pipermail/gs-cvs/2010-July/011359.html and it has been backported to Ubuntu without problems: https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/583990 This is the third ghostscript package (Ubuntu, RHEL5, Fink) where I hit this bug ;-). Brad --- Additional comment from twaugh on 2011-02-07 06:18:03 EST --- Thanks for reporting it. Sorry this one slipped through.
Hi Time I am just curious to know any hyperlinks in a ps file should be working by 'ps2pdf'? I tested other ps files but hyperlinks are not working when I view pdf with evince. Is there any rule to create a ps? The 'test-pdf.ps' has some magic in it?
Yes, it has magic in it: specifically it uses 'pdfmark'.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Previously, using the ps2pdf utility to convert a PostScript file to the PDF format caused the resulting document to be created without working hyperlinks. This update applies an upstream patch that resolves this issue, and ps2pdf now crates PDF files with correct hyperlinks.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0527.html