bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] [Markus Redeker <address@hidden>] Bug#715187: auctex: T


From: Tassilo Horn
Subject: Re: [Bug-AUCTeX] [Markus Redeker <address@hidden>] Bug#715187: auctex: TeX-doc function cannot handle compressed files
Date: Thu, 18 Jul 2013 14:48:09 +0200
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Markus Redeker <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]