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: Rasmus
Subject: Re: [AUCTeX-devel] [PATCH] Add support for SumatraPDF viewer
Date: Tue, 09 Feb 2016 11:56:33 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Mosè Giordano <address@hidden> writes:

> 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?

The computer that my workspace would like me to do my work on is outfitted
with a some version of windows.  It was possible to amend the PATH without
being an administrator, but as I recall I had to go through some hoops,
but maybe someone who’s well-versed in windows wouldn’t experience
difficulties.  However, in my experience, people who mostly work on
windows don’t know about the PATH.

>> 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?

It seems "start" is the magic command.  Which might make the patch
redundant in the first place.

Arash: Is your default viewer not SumatraPDF?  If it is, I guess should
already be used by start.

>> 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.

Amen.  I dump program to d:/nix/bin.  [What is up with drive letters
anyway!  Why is the physical layout exposed to me?]

Rasmus

-- 
One thing that is clear: it's all down hill from here 



reply via email to

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