From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83282 Path: news.gmane.org!not-for-mail From: David Rogers Newsgroups: gmane.comp.tex.context Subject: Re: Overriding pdfview Date: Sun, 30 Jun 2013 19:31:23 -0700 Message-ID: <86wqpbj9j8.fsf@gmail.com> References: <20130627194330.GB30604@darjiling> <9CE78377-14C1-481D-8BB7-50F0A9DBB417@web.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1372645906 23142 80.91.229.3 (1 Jul 2013 02:31:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jul 2013 02:31:46 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Jul 01 04:31:47 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 1UtTu7-0007TX-4g for gctc-ntg-context-518@m.gmane.org; Mon, 01 Jul 2013 04:31:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 973BC101E5; Mon, 1 Jul 2013 04:31:45 +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 VVdzrU3DDu2k; Mon, 1 Jul 2013 04:31:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0D209101E6; Mon, 1 Jul 2013 04:31:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7164A101E6 for ; Mon, 1 Jul 2013 04:31:40 +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 tAx3DMPiEeQv for ; Mon, 1 Jul 2013 04:31:38 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id EA0A7101E5 for ; Mon, 1 Jul 2013 04:31:27 +0200 (CEST) Original-Received: from mail-pb0-x230.google.com (mail-pb0-x230.google.com [IPv6:2607:f8b0:400e:c01::230]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r612VQv8031782 for ; Mon, 1 Jul 2013 04:31:27 +0200 Original-Received: by mail-pb0-f48.google.com with SMTP id ma3so4245985pbc.35 for ; Sun, 30 Jun 2013 19:31:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=IjVphjEKFs9kr0bbd3uwXoOlRVhtywO4FB5kjPhxYkg=; b=qBH++5LitSDxSjvgHv0RUHpGnrH0TArWb7NqhWsM9L85GeTvnZ18BqcBZ5rF3baiu7 ZXRuLZKV6gcH16ZUOj6Q5dVLekBfnm6ZrUCmyOEBf2Tp8Tuy93SftrTWQeu4947wgQqZ Zw2wKnQpVyWfgcf+Q718x0xoUdcqbbVHL5xycJFAz3BbdtrTWh3Geygz6jW1k5SxCeE/ Bbea3LUggirpagm8EUOwPBFuCf0xQN2puzoNLY4NRb9GlH4rND86x8afw8wrPBWhNotR 9ylt4vLCvKTrJZw0gZp+muLJjTOv78gk88d5kRljwzrhYIugJiiwrX8tSEAavyJFk+Ei wyCw== X-Received: by 10.66.166.232 with SMTP id zj8mr21796597pab.139.1372645885981; Sun, 30 Jun 2013 19:31:25 -0700 (PDT) Original-Received: from blackbox (d75-157-16-2.bchsia.telus.net. [75.157.16.2]) by mx.google.com with ESMTPSA id 4sm4355487pbw.32.2013.06.30.19.31.23 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 30 Jun 2013 19:31:24 -0700 (PDT) In-Reply-To: <9CE78377-14C1-481D-8BB7-50F0A9DBB417@web.de> (Keith J. Schultz's message of "Fri, 28 Jun 2013 10:56:39 +0200") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (berkeley-unix) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2607:f8b0:400e:c01::230; country=US X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01JSOvrdv - 23722bc4e347 - 20130701 (trained as not-spam) 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:83282 Archived-At: "Keith J. Schultz" writes: > Hi All, > > I would agree that the users default should be respected. > > I will have to contradict my last post them. > > My suggestion them is to use a system variable such as > ConTeXtViewer. This variable would contain the program to be called. > If it is not set or empty context simply finishes up what ever it is doing > and exits. > > It would not be two hard for a user to set this variable. Everybody gets what they > want. It is not intrusive. It survives updates. Only needs to be done once. > > Now, if anybody wants to us the current method and furture versions he can > or set up he wants. Windows, Mac, and Linux and other Unix-like systems all have such a system variable already, in their respective graphical desktop software. There is absolutely no need, and hardly any purpose either, in creating another setting - in fact it would only create further confusion. The respective already-existing settings for each OS were already mentioned earlier in this thread; all that's required for ConTeXt is to read the system setting that already exists and use it. If the user's default turns out to be not set, ConTeXt could do any combination of [complain] [open the user's system preferences for editing] [use its own default PDF software] [whatever else Hans et al have up their collective sleeve]. This means ConTeXt needs a small-but-cumbersome list of all the places to look where the user may have set their preferred PDF viewer, but that's just the price of being cross-platform. Anyone working with PDF is running a graphical desktop, right? I can see that people may prefer to work in terminal emulators as a matter of comfort/utility/familiarity, but is there anyone using ConTeXt and (on Linux or other Unix-like system) not running X11? (I think it's almost perfectly safe to assume that no Windows ConTeXt users are running straight DOS without a GUI...) -- David ___________________________________________________________________________________ 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 ___________________________________________________________________________________