On 6/28/2013 10:56 AM, Keith J. Schultz wrote:
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.
in that case it would be a directive in texmfcnf.lua (probably in the texmflocal instance) but when unset there still will be the default no one is forced to use --autopdf and if someone doesn't want to pop up a browser one can simply nto use --autopdf keep in mind that when a user uses --autopdf he/she probably knows what is needed can can as well pass some extra info
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.
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 -----------------------------------------------------------------