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.
<CTRL><ALT>
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