Markus Redeker <[email protected]> writes:

Hi Markus,

> I do not know whether that helps you, but on my system there are _two_
> files 'scrguide.pdf',

I've found out what I have to do, and now I know what causes the
problem.  It's not AUCTeX's fault.  Try "texdoc pgfmanual" in a
terminal, it will fail the very same way.

Texdoc can be configured to unzip zipped files automatically.  It then
simply unzips them to /tmp, then calls the viewer, and when the viewer
returns, it deletes the unzipped version from /tmp again.

Now the problem is that texdoc seems to use `xdg-open' for opening
files.  On the one hand, that's a good thing cause xdg-open will fire up
whatever program you've associated with the given file type in KDE or
GNOME or whatever.  But on the other hand, xdg-open simply spawns the
appropriate program and then returns immediately.  Because it returns,
texdoc deletes the temporary unzipped file, cause it thinks you've quit
your viewer.  But in fact, the file is deleted before evince started.

Long story short: Explicitly assign evince as pdf viewer in some config
file returned by `texdoc --files'.

  viewer_pdf = evince

Bye,
Tassilo

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

Reply via email to