Hello,

the following document works fine with older latex but fails with 
latex 2020-10-01 when compile with latex-dvips-ps2pdf:

\documentclass{article}

\usepackage [active,tightpage]{preview}
\usepackage{hyperref}

\makeatletter
%\ifPreview
% \let\Hy@FirstPageHook\relax
% \let\Hy@EveryPageAnchor\relax
%\fi
\makeatother

\begin {document}
\showoutput
\begin {preview}
abc
\end {preview}
\end {document}

latex + dvips compiles fine, but ps2pdf errors:
Error: /typecheck in --div--
Operand stack:
   1   0   0.0016874   -0.000881703   a   65781.8
   

The problem is the postscript code inserted by hyperref with the two
commands in the commented part of the example: due to the changes in
the latex shipout code, the code is inserted even if preview is
active and ghostscript doesn't like it. 

For now it if probably easiest to disable the hooks as shown,
but the code in hyperref will at some time switch to the new latex 
hooks and then perhaps some other solution is needed. 

-- 
Mit freundlichen Grüßen
Ulrike Fischer




_______________________________________________
bug-auctex mailing list
bug-auctex@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to