From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83251 Path: news.gmane.org!not-for-mail From: Pavneet Arora Newsgroups: gmane.comp.tex.context Subject: Re: Overriding pdfview Date: Thu, 27 Jun 2013 15:43:31 -0400 Message-ID: <20130627194330.GB30604@darjiling> References: Reply-To: Pavneet Arora , 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 1372362234 20688 80.91.229.3 (27 Jun 2013 19:43:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 19:43:54 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Jun 27 21:43:56 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 1UsI6l-0003mE-Dv for gctc-ntg-context-518@m.gmane.org; Thu, 27 Jun 2013 21:43:55 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BFF3E101F7; Thu, 27 Jun 2013 21:43:54 +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 aVqNVAVRRw2p; Thu, 27 Jun 2013 21:43:52 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 7D9A1101E6; Thu, 27 Jun 2013 21:43:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 09447101E6 for ; Thu, 27 Jun 2013 21:43:51 +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 xb6Oot5+UV9H for ; Thu, 27 Jun 2013 21:43:49 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 63472101E5 for ; Thu, 27 Jun 2013 21:43:39 +0200 (CEST) Original-Received: from charkha.pavastupa.com (teresa.yourinstantserver.com [173.230.253.20] (may be forged)) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5RJhbUO015302 for ; Thu, 27 Jun 2013 21:43:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by charkha.pavastupa.com (Postfix) with ESMTP id 7E31186C288 for ; Thu, 27 Jun 2013 15:46:46 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at charkha.pavastupa.com Original-Received: from charkha.pavastupa.com ([127.0.0.1]) by localhost (charkha.pavastupa.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ohSlSwNsgniJ for ; Thu, 27 Jun 2013 15:46:43 -0400 (EDT) Original-Received: from pavastupa.com (unknown [69.158.119.69]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: pavneet_arora@pavastupa.com) by charkha.pavastupa.com (Postfix) with ESMTPSA id F12F186C283 for ; Thu, 27 Jun 2013 15:46:42 -0400 (EDT) Content-Disposition: inline In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=173.230.253.20; country=US; region=MI; city=Dearborn; postalcode=48124; latitude=42.3027; longitude=-83.2456; metrocode=505; areacode=313; http://maps.google.com/maps?q=42.3027,-83.2456&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJRvHBlG - 1442b4da832e - 20130627 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:83251 Archived-At: Exactly what I was thinking: pavneet@darjiling:~$ more .mailcap application/pdf; evince %s I like evince because it also doesn't lock the PDF file, and auto-refreshes the view when updated. It also has/can have a space efficient toolbar structure, which works great on my little netbook: Asus EEE 701 running Bodhi Linux off an SD card---my favourite writing environment by far. So no wrapper needed except for first invocation which puts evince in the background. My own work environment is a bit like an old-school IDE: - tmux with side-by-side panes for vim editing and document compilation. - different tmux "windows" for different documents being worked on. - evince on one of the adjacent workspace to preview. to quickly switch back and forth from edit-compile to test workspaces. > Date: Thu, 27 Jun 2013 13:25:06 -0400 (EDT) > From: Aditya Mahajan > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] Overriding pdfview > Message-ID: > > Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed > > Or, simple read the mailcap preference or use a program such as > run-mailcap or see which choose the viewer based on mailcap > preferences. > > I am half joking here; don't go down this route. One can simply leave it > to the user to write a wrapper to context that calls the PDF viewer when > context is finished. > > Aditya -- ---- Pavneet Arora m: 647.406.6843 Waroc Informatik t: 416.937.9276 ___________________________________________________________________________________ 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 ___________________________________________________________________________________