[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 21:54:00 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90

Hi Mosè,

Mosè Giordano <address@hidden> writes:

> 2016-02-09 10:51 GMT+01:00 Fabrice Popineau <address@hidden>:
>> 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?

Yes, it is possible, and as a matter of fact, it is mandatory now and
then.  The basic idea is that 32-bit programs go under:

    C:\Program Files (x86)\

and 64-bit programs under:

    C:\Program Files\

Now the fun part begins: Programs are not allowed to write into
sub-directories and therefore they are forwarded to:

    C:\Users\<USERNAME>\AppData\Local\VirtualStore\Program Files (x86)

For me, it never worked reliably for the Linux ported programs I use.
So I gave up on it and install programs not developed for Win outside
those directories.  Mixing 32- and 64-bit programs is not a problem.

> 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

(defvar TeX-view-program-list-builtin
   ((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)

Best, Arash

reply via email to

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