auctex-devel
[Top][All Lists]
Advanced

[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: Mon, 08 Feb 2016 22:15:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90

Rasmus <address@hidden> writes:

> Arash Esbati <address@hidden> writes:
>
>> Hi all,
>>
>> following Mosè adding support for Zathura, it occured to me that on
>> Windows, SumatraPDF is missing.  Please find attached a patch adding
>> support for this viewer.
>
> Your patch assumes that SumatraPDF is in the PATH which might or might not
> be OK.

True, but I think for `TeX-view-program-list-builtin' it is the only way
to assume that the binary is in the PATH.

> When I have to work on win. I typically download the exe without
> installing it.

You can use `TeX-view-program-list' if you don't have SumatraPDF in the
PATH and hardcode the path to the binary, e.g.:

(setq TeX-view-program-list
      '(("SumatraPDF"
         ("\"C:/Program Files (x86)/SumatraPDF/SumatraPDF.exe\" -reuse-instance 
%o"
          ...

Best, Arash




reply via email to

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