[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Conflict between pst-pdf, hyperref, pdflatex and ps2pdf; workaround



Summary:  pst-pdf now conflicts with hyperref.  A workaround is known
and is referenced below.  Norbert's message Monday is noted but no
action is requested from him.

Details follow.

PROBLEM

During recent months, TeX Live's upstream (that is, Debian's
up-upstream) seems to have introduced a new conflict between the tools
and (La)TeX packages the subject line names.  The conflict seems likely
to affect any Debian Maintainer or user that needs to include PSTricks
graphics in a modern, full-featured PDF document with a LaTeX source.
Pst-pdf and hyperref no longer seem to play well together -- which is
regrettable since, as far as I know, the most typical use case of
pst-pdf (or auto-pst-pdf) in large, complex documents would involve
hyperref, for reasons that should be obvious to anyone to whom
these (La)TeX packages are familiar.

SOLUTION

The workaround is non-trivial.  If you need the workaround, then you
may consult debian/patches/patch2 in my Debian source package
derivations (0.57.20210107-n), n >= 2, now in sid -- or, if you prefer,
if you are a Debian Developer or otherwise have access to the private
telephone numbers at [https://db.debian.org/], can just phone me for
advice between 14:00 and 23:00 UTC.

If another, simpler workaround exists, I am unaware of it.

DISCUSSION

Why isn't the post you are reading a bug report?  Answer:  because the
workaround it presents does not sufficiently localize the bug; and
because, though the bug affects Debian Maintainers and users, I believe
that the bug is up-upstream's responsibility to address.  The post you
are reading is not to report or to fix a bug but merely to document
a workaround.

Norbert Preining writes:

> If you have some important updates that you want us (= Debian TeX Team)
> to get into TeX Live/Debian, please make sure that you upload them to
> CTAN as soon as possible.

Unless upstream is already working on it, the pst-pdf/hyperref trouble
this post discusses seems to touch too many parts of TeX Live to make a
rushed upstream fix advisable.  I suspect that we'll need to live with
the workaround during the next two years.  It is for Norbert and his
colleagues to decide, but I don't have a proper fix, nor enough
examples against which to test such a fix -- and am not even completely
sure that I have diagnosed the problem correctly.  All I have is a
workaround.  A proper fix might target Debian 12 bookworm in 2023 or,
perhaps, if deemed advisable (insofar as pst-pdf/hyperref is broken),
target a point release Debian 11.x before then.

Further, probably related information is found at
[https://lists.gnu.org/archive/html/bug-auctex/2020-11/msg00000.html].

I do not subscribe to the list.  Please copy me if you reply.

Thank you for your good work on TeX Live.

Attachment: signature.asc
Description: PGP signature


Reply to: