From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83233 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Overriding pdfview Date: Thu, 27 Jun 2013 00:24:55 +0200 Message-ID: <51CB6A37.9030509@wxs.nl> References: <51CAF274.9050503@meahan.net> <51CB0614.5030208@meahan.net> <51CB4133.7060707@wxs.nl> <51CB5CC0.8090505@meahan.net> 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 1372285540 28294 80.91.229.3 (26 Jun 2013 22:25:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Jun 2013 22:25:40 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 27 00:25:40 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 1Ury9j-0006X1-Nj for gctc-ntg-context-518@m.gmane.org; Thu, 27 Jun 2013 00:25:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C80BB101F5; Thu, 27 Jun 2013 00:25:37 +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 EN+RfAt690tH; Thu, 27 Jun 2013 00:25:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 190D2101E5; Thu, 27 Jun 2013 00:25:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5CDB5101E5 for ; Thu, 27 Jun 2013 00:25:34 +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 uzd6PodxiL+a for ; Thu, 27 Jun 2013 00:25:33 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 0382D101E4 for ; Thu, 27 Jun 2013 00:25:22 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5QMPLKg006209 for ; Thu, 27 Jun 2013 00:25:21 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.104; Original-Received: from [10.100.1.104] (unverified [10.100.1.104]) by pragma-net.nl (SurgeMail 6.3c2) with ESMTP id 9176-1713362 for ; Thu, 27 Jun 2013 00:25:21 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 In-Reply-To: <51CB5CC0.8090505@meahan.net> X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=15; city=Zwolle; latitude=52.5058; longitude=6.0858; http://maps.google.com/maps?q=52.5058,6.0858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VJRapl01 - eebefb95e153 - 20130627 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:83233 Archived-At: On 6/26/2013 11:27 PM, Bill Meahan wrote: > 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. as mentioned in an earlier mail ... you can set it in a user properties file and the last settings loaded are taken (which happen to be user properties) > 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. in any editor, when one wants to run context, mtxrun --script context has to be configured and adding --autopdf=acrobat is then no big deal >>> 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. it has to do with the fact that only files opened with pdfopen.exe can be closed with pdfclose.exe .. both programs already have to jump through loops to get that done > 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. i suppose that summatrapdf can be put in the texmf-mswin/bin path .. after all. the portable version is not depending on other components btw, is nothing is present, context will still run ok with --autopdf ... okay one will need a printer then as said: acrobat just became too inconvenient for me to use in a fast edit/view cycle (pop ups, dialogs, conflicts between professional and reader, etc. makes me wonder where it's heading); i still use professional for proofing, inspection and presentations (when some javascript related features and/or layers and/or structure is needed). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________