# Hyperref and Pgfpages Resize

when I use pgfpages to resize my document all my hyperref links got displaced.

I need to scale my A4 document to 240mm x 170mm. But I want to keep all my bookmarks and document metadata.

Got anyone a solution or workaround?

Thanks!

Here is my MWE, note the cyan colored box, which is the actual clickable link to the website.

\documentclass[12pt, a4paper, oneside]{book}
\usepackage{pgfpages}
\pgfpagesuselayout{resize to}[physical paper height=240mm, physical paper width=170mm]

\usepackage[
]{hyperref}
\usepackage{lipsum}

\begin{document}
\lipsum[2]\bigbreak
\url{https://tex.stackexchange.com}
\end{document}

• well theoretically it is imho possible to calculate correct annotation coordinates. Pratically it is difficult. – Ulrike Fischer Apr 30 at 19:39