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><RIGHT|LEFT> 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 <adit...@umich.edu>
> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
> Subject: Re: [NTG-context] Overriding pdfview
> Message-ID:
>       <alpine.LNX.2.02.1306271320220.24744@ybpnyubfg.ybpnyqbznva>
> 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
___________________________________________________________________________________

Reply via email to