[Top][All Lists]

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

Re: [AUCTeX-devel] [PATCH] Add support for SumatraPDF viewer

From: Arash Esbati
Subject: Re: [AUCTeX-devel] [PATCH] Add support for SumatraPDF viewer
Date: Tue, 09 Feb 2016 22:32:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90

Hi Mosè,

Mosè Giordano <address@hidden> writes:

> 2016-02-09 21:54 GMT+01:00 Arash Esbati <address@hidden>:
>> Hi Mosè,
>> Mosè Giordano <address@hidden> writes:
>>> We have other default viewers for Windows, none of them has an
>>> hard-coded path, how do they work, if they work at all?
>> Within AUCTeX?  Which one do you mean?  I see none, or am I missing
>> something?
>> (defvar TeX-view-program-list-builtin
>>   (cond
>>    ((eq system-type 'windows-nt)
>>     '(("Yap" ("yap -1" (mode-io-correlate " -s %n%b") " %o") "yap")
>>       ("dvips and start" "dvips %d -o && start \"\" %f" "dvips")
>>       ("start" "start \"\" %o")))
>>     ((eq system-type 'darwin)
>>       ...
> Yes, exactly, and I don't see absolute paths here.  So, apart from
> "start" that isn't a real binary, how do they work?  Are placed in a
> PATH directory or what?

I've never really used it, so I did it right now: If
`TeX-view-program-list' and `TeX-view-program-selection' are not set,
AUCTeX offers the following upon `C-c C-c (View): RET'

   start "" file.pdf

I think the idea is that the user includes a name in "" in Mini-buffer
(I said AcroRd32) and AUCTeX literally starts it.

Best, Arash

reply via email to

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