On Wed, Jun 26, 2013 at 3:53 PM, Bill Meahan <subscribed_lists@meahan.net> wrote:

How does one override the default pdf viewer for MKIV Standalone on Windows 7-64 so --autopdf starts Acrobat Reader instead of "sumatrapdf.exe"?

I don't have "sumatra" and do not wish to install it just to satisfy this one application. WTH is it anyway? (I know what it is, it's a rhetorical question). Making some obscure pdf viewer the default with no clear way to change it is not a good idea. For Windows, the vast majority of people have Acrobat Reader which is very often preinstalled. For Linux, it's less clear what the default should be but {xpdf |evince|acroread} are quite common. Can't speak to OSX as I've never used it but I'd bet a coffee Acrobat Reader is (or can be) there, too.

I have searched through the source and tried editing l-pdf.lua but that doesn't seem to fix the problem. I shouldn't have to edit system source in any event.

Mark me frustrated.

I don't see l-pdf.lua in my standalone .

I don't use sumatra under linux but I see this
tex/texmf-context/tex/context/base/l-pdfview.lua:        ['sumatra']     = 'start "test" "c:/data/system/sumatrapdf/sumatrapdf.exe" -reuse-instance',
tex/texmf-context/tex/context/base/l-pdfview.lua:        ['sumatra']     = 'start "test" "sumatrapdf.exe" -reuse-instance -bg-color 0xCCCCCC',
tex/texmf-context/tex/context/base/l-pdfview.lua:        ['sumatra'] = false,
tex/texmf-context/tex/context/base/l-pdfview.lua:        ['sumatra'] = false,
tex/texmf-context/tex/context/base/l-pdfview.lua:    pdfview.method = "sumatra"
tex/texmf-context/tex/context/base/l-pdfview.lua:        ['sumatra'] = 'wine "sumatrapdf.exe" -reuse-instance -bg-color 0xCCCCCC',
tex/texmf-context/tex/context/base/l-pdfview.lua:        ['sumatra'] = false,
tex/texmf-context/tex/context/base/l-pdfview.lua:        ['sumatra'] = false,
tex/texmf-context/tex/context/base/l-pdfview.lua:    pdfview.method = "sumatra"
tex/texmf-context/context/data/scite/scite-context.properties:    name.flag.pdfopen=--autopdf=sumatra

In l-pdfview.lua I argue that
pdfview.method = "acrobat"
can help .
If you are using scite, then  the file is probably  tex/texmf-context/context/data/scite/scite-context.properties

--
luigi