Bugs item #1281291, was opened at 2005-09-03 17:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1281291&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Rory Yorke (ryorke)
Assigned to: Nobody/Anonymous (nobody)
Summary: Erroneous \url command in python.sty

Initial Comment:
The \url and \ulink commands in texinputs/python.sty
produce erroneous PDF files. This can be fairly easily
tested using GhostScript (see the attached log file for
an example). 

The current Python 2.4.1 PDF docs (as downloadable from
www.python.org) have this error.

Although the error does not prevent correct rendering
in viewers such as gv, xpdf or acroread, the link is
absent.

The attached patch partially addresses this, by
changing the arguments to the \pdfstart command used.
The changes are taken straight from
texmf/tex/latex/hyperref/hpdftex.def; that file has the
following version header:

%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz,
%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $

I don't pretend to understand the TeX code, but it does
fix some of the problem.

Some URLs, like
http://sourceforge.net/bugs/?group_id=5470, are not
linked to correctly. That particular URL becomes

http://sourceforge.net/bugs/[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
PROTECTED]@skip%20id=5470

-- I guess that has something to do with the underscore.

The diff was generated relative to Python CVS head of 3
Sept 2005; the python.sty file had version 1.113.

The python executable used was 2.4.1, not CVS.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1281291&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to