Hi Paul,

"Paul D. Nelson" <[email protected]> writes:

> To reproduce (with emacs -Q, latest AUCTeX), open this document:
>
> \documentclass{article}
> \usepackage{bookmark}
> \begin{document}
> Let \(x\).
> \end{document}
>
> Disable TeX-PDF-mode, then run M-x preview-buffer.  The preview fails to
> generate; in the output buffer, we see:
>
>   dvips: Could not find figure file _region_.out.ps; continuing.
>
> The issue seems to be that bookmark's bkm-dvips.def emits
> \special{PSfile=\jobname.out.ps}, but because prauctex.def uses
> \nofiles, that file is never created.  The attached patch suppresses
> that \special{...} while preview is active.  Any feedback welcome.

Thanks for the patch.  I don't have any comment on your suggestion, but
if you want, we could ask hyperref maintainers if they can give us a
hint about your suggestion.

WDYT?  Best, Arash



_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to