Idris Samawi Hamid wrote:
Hi Hans and gang,
For a future ConTeXt, would it be possible to add support for the --back option for pdfopen/pdfclose? See
http://magic.aladdin.cs.cmu.edu/2005/07/15/pdfopen-and-pdfclose/
This will allow you to automatically return to the page of the pdf you were working on at the moment you close it. There are some caveats for working with mutiple pdf's but it's a nice feature to have.
well, then make sure that the version in distributions support it
pdfopen --help Usage: pdfopen --file <filename> [--page <page>] Opens <filename> (at page <page> if available) in Acrobat or Acrobat Reader. pdfclose --file <filename> Closes <filename> in Acrobat or Acrobat Reader. pdfclose --all Closes all documents in Acrobat or Acrobat Reader. Beware: only documents opened by `pdfopen' can be closed by `pdfclose'.
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------