|
From: | Fabrice Popineau |
Subject: | Re: [AUCTeX-devel] [PATCH] Add support for SumatraPDF viewer |
Date: | Tue, 9 Feb 2016 11:37:34 +0100 |
Hi Fabrice,
2016-02-09 10:51 GMT+01:00 Fabrice Popineau <address@hidden>:
>
>
> 2016-02-09 10:14 GMT+01:00 Mosè Giordano <address@hidden>:
>>
>> Hi Arash and Rasmus,
>>
>> 2016-02-08 21:37 GMT+01:00 Arash Esbati <address@hidden>:
>> > 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.
>>
>> Patch applied, thanks!
>>
>> Rasmus, regarding the problem with PATH, what prevents you from adding
>> the path of Sumatra to your PATH environment variable? I don't see
>> how hard-coding a path in `TeX-view-program-list-builtin' would be a
>> better solution.
>>
>
> From experience, under Windows, the vast majority of users don't know how to
> change their PATH.
I see your point, but is it possible or usual to install a program
under a path different from the default one? Is it different for,
say, 32- or 64-bit programs?
> So either assume the installer did change their PATH for them or let them
> hardcode the SumatraPDF location
> into some emacs configuration file.
We have other default viewers for Windows, none of them has an
hard-coded path, how do they work, if they work at all?
> BTW, I do the later for myself.
> I hate to surcharge my PATH with too many locations. I overwrite my own
> default Windows PATH
> from emacs init.el with the minimum vital locations to run/work with emacs.
I see, but instead of adding directories to PATH you have to manually
specify paths to your programs anyway. Of course, the problem is not
you, but the way Windows works.
Bye,
Mosè
[Prev in Thread] | Current Thread | [Next in Thread] |