From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83231 Path: news.gmane.org!not-for-mail From: Bill Meahan Newsgroups: gmane.comp.tex.context Subject: Re: Overriding pdfview Date: Wed, 26 Jun 2013 17:27:28 -0400 Message-ID: <51CB5CC0.8090505@meahan.net> References: <51CAF274.9050503@meahan.net> <51CB0614.5030208@meahan.net> <51CB4133.7060707@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1372282071 26052 80.91.229.3 (26 Jun 2013 21:27:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Jun 2013 21:27:51 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 26 23:27:53 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 1UrxFn-0004uF-Cs for gctc-ntg-context-518@m.gmane.org; Wed, 26 Jun 2013 23:27:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 65AED101F5; Wed, 26 Jun 2013 23:27:50 +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 oU1WAEyCHibU; Wed, 26 Jun 2013 23:27:48 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 793F2101E8; Wed, 26 Jun 2013 23:27:48 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 23EA6101E8 for ; Wed, 26 Jun 2013 23:27:47 +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 mcFcGnJFxHp2 for ; Wed, 26 Jun 2013 23:27:46 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 334B4101E5 for ; Wed, 26 Jun 2013 23:27:35 +0200 (CEST) Original-Received: from mail16c40.carrierzone.com (mail71c40.carrierzone.com [209.235.156.211]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5QLRWfB016197 for ; Wed, 26 Jun 2013 23:27:34 +0200 X-Authenticated-User: subscribed_lists.meahan.net Original-Received: from [192.168.1.114] (d27-96-221-12.nap.wideopenwest.com [96.27.12.221]) (authenticated bits=0) by mail16c40.carrierzone.com (8.13.6/8.13.1) with ESMTP id r5QLRTd8011822 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 26 Jun 2013 21:27:30 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 In-Reply-To: <51CB4133.7060707@wxs.nl> X-CSC: 0 X-CHA: v=2.0 cv=VfxAyiV9 c=1 sm=1 a=gQI4EhXLwm578WU9SoM/2Q==:17 a=WIJ4OnAGe2cA:10 a=5gaxmJSfiX8A:10 a=Olzf91-8vUEA:10 a=8nJEP1OIZ-IA:10 a=wBJZxVaMAAAA:8 a=nfIsEgzAeWUA:10 a=4v30oV6ZJRXWkDAxjgUA:9 a=wPNLvfGTeEIA:10 a=ht1ogVWT63RPZc1I:21 a=yIy_vdNx0eBUXmr-:21 a=gQI4EhXLwm578WU9SoM/2Q==:117 X-CTCH-RefID: str=0001.0A020202.51CB5CC3.0033, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown X-CTCH-Score: 0.000 X-CTCH-Rules: X-CTCH-Flags: 0 X-CTCH-ScoreCust: 0.000 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.235.156.211; country=US; region=FL; city=Fort Lauderdale; postalcode=33301; latitude=26.1209; longitude=-80.1273; metrocode=528; areacode=954; http://maps.google.com/maps?q=26.1209,-80.1273&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QJR9rxd8 - 4b616721b8e2 - 20130626 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:83231 Archived-At: On 6/26/2013 3:29 PM, Hans Hagen wrote: ............[snip]................... > > - on none of my window boxes acrobat was preinstalled > - there is no robust way to start acrobat > - pdfopen has to be adapted to major updates of acrobat > - there is (at least on my machine) a potential clash between reader > and professional > - acrobat occasionally tends to block > - the latest version of acrobat has funny popups when opening docs > > while sumatrapdf > > - is pretty fast > - has matured quite well > - remembers the current page > - renders quite ok > - even supports some basic interactivity > - (has an ugly yellow pop up windows but those can nowadays be recolored) > - can be installed as portable application > - works ok wine/linux (in fact has my preference now when on linux) > sumatrapdf may be the best PDF viewer ever invented. As a lawyer might say, "I'll stipulate that." If someone who wants to use ConTeXt has never heard of it and has to use a search engine to even know what it is, however, it's not a great default to have on a *public* distribution. Similar arguments could be made for Calibre (which I use). > so, enough reasons for me to have changed the defaults (esp because > one can always set different defaults) > That was my original question: how do I change the default without hand-editing a file in the base distribution? That's not only bad practice, it's liable to get overwritten on the "next" update. Does one use texmf.cnf or something else with a very recent MKIV? >> Although I first discovered this when trying to use SciTE, it does >> the same thing if invoked from the command line. The pdf viewer does >> not appear in any of the SciTE *.properties files. I haven't settled on SciTE as the editor I want to use but a SciTE-only workaround misses the point. >> >> >> maybe >> context --autopdf=acrobat >> context --autopdf=fullacrobat > When run from the cmd.exe command line, acrobat _does_ get launched _but_ it gets launched before ConTeXt has created the pdf file then hangs so the only way to exit is a Ctrl-C in the cmd.exe window. Simply closing acrobat simply causes acrobat to launch again. A better solution would be to assume the person installing ConTeXt does not have a PDF reader *at all* and include some minimal self-contained reader (no dll's needed) in the distribution itself, the way rsync is included. I really don't care which one, as long as there is *something* present. MuPDF might be a good choice but I'm quite sure everyone on the list has a favorite they would like to see as the "included" viewer for one reason or another. As long as ConTeXt is guaranteed to find it, it is a good default. ___________________________________________________________________________________ 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 ___________________________________________________________________________________