From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83207 Path: news.gmane.org!not-for-mail From: luigi scarso Newsgroups: gmane.comp.tex.context Subject: Re: Overriding pdfview Date: Wed, 26 Jun 2013 16:20:41 +0200 Message-ID: References: <51CAF274.9050503@meahan.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1817296996==" X-Trace: ger.gmane.org 1372256461 18279 80.91.229.3 (26 Jun 2013 14:21:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Jun 2013 14:21:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 26 16:21:03 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Urqak-0000aM-CO for gctc-ntg-context-518@m.gmane.org; Wed, 26 Jun 2013 16:21:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 93F4210205; Wed, 26 Jun 2013 16:21:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lgSgzdkVa8vT; Wed, 26 Jun 2013 16:20:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 70277101E5; Wed, 26 Jun 2013 16:20:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B7F37101E5 for ; Wed, 26 Jun 2013 16:20:53 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id I9MookwaGyhi for ; Wed, 26 Jun 2013 16:20:52 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 646E1101E0 for ; Wed, 26 Jun 2013 16:20:42 +0200 (CEST) Original-Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::232]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5QEKfnU018979 for ; Wed, 26 Jun 2013 16:20:41 +0200 Original-Received: by mail-la0-f50.google.com with SMTP id dy20so13669978lab.9 for ; Wed, 26 Jun 2013 07:20:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=S4FPuIDIiCc/HdoMt+4J3GeW63dIolQofhsE0uZFnvw=; b=tzB8gJpKqvJ7BYFpSCNzGyogZTiQv8XPMvKkHf/tMLuv/SU6v9/vLh+LCwdDs+bvQ4 zdK9ukjjZa8bs5SBjkfjPhtue1l8GRSMPU+lqXzJo/Vp+OfYi7NsEl7/QljPuiF9D6cj zfBgRW32NWYOIh47AHrB03IJ378zlA3bl4qBXnXaGcGaDsYOZFHn50eu4g9jE4YTjlJu r9Oa0buHzqnBANlE2H8IDdj3jy1tmuOFQcOq1q/G9LXVS8tMNcZAV675JtN16OBtt3G2 8jWznlSnTs8k8/5OpgraT675a8DuJ9waEvOmqOlKkz6kAi/an+35L4hQJtqDDK5cV7az qBdQ== X-Received: by 10.152.42.171 with SMTP id p11mr1949569lal.79.1372256441340; Wed, 26 Jun 2013 07:20:41 -0700 (PDT) Original-Received: by 10.114.160.83 with HTTP; Wed, 26 Jun 2013 07:20:41 -0700 (PDT) In-Reply-To: <51CAF274.9050503@meahan.net> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4010:c03::232; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03JR2kF1y - 72dca711a85e - 20130626 X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83207 Archived-At: --===============1817296996== Content-Type: multipart/alternative; boundary=001a11c35656ba19d304e00f5926 --001a11c35656ba19d304e00f5926 Content-Type: text/plain; charset=UTF-8 On Wed, Jun 26, 2013 at 3:53 PM, Bill Meahan 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 --001a11c35656ba19d304e00f5926 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



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&qu= ot;?

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 n= o 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&#= 39;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 doe= sn't seem to fix the problem. I shouldn't have to edit system sourc= e 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-conte= xt/tex/context/base/l-pdfview.lua:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 ['sumatra']=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'start "test&q= uot; "c:/data/system/sumatrapdf/sumatrapdf.exe" -reuse-instance&#= 39;,
tex/texmf-context/tex/context/base/l-pdfview.lua:=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ['sumatra']=C2=A0=C2=A0=C2=A0=C2=A0 =3D 'sta= rt "test" "sumatrapdf.exe" -reuse-instance -bg-color 0x= CCCCCC',
tex/texmf-context/tex/context/base/l-pdfview.lua:=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ['sumatra'] =3D false,
tex/texmf-context/tex/context/base/l-pdfview.lua:=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ['sumatra'] =3D false,
tex/texmf-context/tex/= context/base/l-pdfview.lua:=C2=A0=C2=A0=C2=A0 pdfview.method =3D "suma= tra"
tex/texmf-context/tex/context/base/l-pdfview.lua:=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ['sumatra'] =3D 'wine "suma= trapdf.exe" -reuse-instance -bg-color 0xCCCCCC',
tex/texmf-context/tex/context/base/l-pdfview.lua:=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 ['sumatra'] =3D false,
tex/texmf-context/tex/= context/base/l-pdfview.lua:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ['= ;sumatra'] =3D false,
tex/texmf-context/tex/context/base/l-pdfview.l= ua:=C2=A0=C2=A0=C2=A0 pdfview.method =3D "sumatra"
tex/texmf-context/context/data/scite/scite-context.properties:=C2=A0=C2=A0= =C2=A0 name.flag.pdfopen=3D--autopdf=3Dsumatra

In l-pdfview.lua I ar= gue that
pdfview.method =3D "acrobat"
can help .
If you are using scite, then=C2=A0 the file is probably=C2=A0 tex/texmf-con= text/context/data/scite/scite-context.properties

--
luigi
--001a11c35656ba19d304e00f5926-- --===============1817296996== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1817296996==--