auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Merge pdfclose into auctex workflow


From: José Carlos Santos
Subject: Re: [AUCTeX] Merge pdfclose into auctex workflow
Date: Sat, 23 Aug 2008 10:59:54 +0100
User-agent: Thunderbird 2.0.0.14 (Windows/20080421)

On 23-08-2008 10:55, Ralf Angeli wrote:

I know I can use TeX-output-view-style to customize the view
procedure, but how can I insert command "pdfclose" before the standard
compiling procedure with minimal change of the original ones?

You could write an expander for `TeX-command-list' which expands to
`pdfclose' plus arguments when `TeX-PDF-mode' is active and stick that
into the respective `TeX-command-list' entry or add it to
`LaTeX-command-style'.  Problem is that `pdfclose' will be called
everytime you compile a file in PDF mode, even though the viewer might
not be open.

An alternative would be to use a better viewer which does not lock the
file.  Doesn't the Sumatra PDF viewer do that?  (The downside of the
latter is that it does on online update check which cannot be disabled.)

Of course, there is also the Ghostscript + GSView possibility, which
does not have that problem. Another possibility is the Foxit Reader.

Best regards,

Jose Carlos Santos




reply via email to

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