Re: [NTG-context] PdfXChange Viewer (slightly related to "Overriding pdfview")

2013-07-01 Thread Procházka Lukáš Ing . - Pontex s . r . o .

On Mon, 01 Jul 2013 10:54:11 +0200, Hans Hagen  wrote:


you can add this to l-pdfview.lua (opencalls windows section):

 ['pdfxcview']   = [[start "test" pdfxcview.exe /A
"nolock=yes=OpenParameters" "%filename%"]],


if you have a texmfcnf.lua file in your local tree you can add a
directive there, otherwise you can make such a file with:

return {
 type= "configuration",
 content = {
 directives = {
 ["pdfview.method"] = "pdfxcview",
 },

 },
}

assuming of course that you have that viewer someplace in your path


PdfXChange is normally here:

"c:\Program Files\Tracker Software\PDF Viewer\PDFXCview.exe"

or

"%ProgramFiles%\Tracker Software\PDF Viewer\PDFXCview.exe"

I guess the snippet might become a part of the standard ConTeXt Suite.

Lukas



Hans



--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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
___

Re: [NTG-context] PdfXChange Viewer (slightly related to "Overriding pdfview")

2013-07-01 Thread Hans Hagen

On 7/1/2013 8:57 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

Hello,

as I saw many pdf viewers being supported by "--autopdf=...", there is
one more (my favourite; Windows) - basic version is free but powerful,
fast, keeps last view for each document; allows auto-reopen lately
opened docs; enables copy-to-clipboard (text/image); annotations; allows
simply open the document with all other installed pdf viewers;
bookmarks; page thums; layers; attached files; many printing opts
including n x m pages per sheet; ...

http://www.tracker-software.com/product/pdf-xchange-viewer

It might be good to support this viewer, too, for completeness.

Command line options (copied form the manual):

"
Command Line option
The PDF-XChange Viewer may be started with a PDF file or URL name as the
first item on the command line. This facilitates starting the
Viewer in File Associations or using Windows ShellExecute.
The form of the command line for using this option is:

PDFXCview.exe [command] [filename1] [[filename2] [… [filenameN]]]
Where command can be one of the following commands:
   /A "param=value [¶m2=value [&...]"
   /close[:save|discard|ask]

/print[:[default=yes|no][&showui=yes|no][&printer=][&pages=]]

   /printto[:[default=yes|no][&showui=yes|no][&pages=]]

   /exportp 
   /importp 
   /RegServer
   /UnregServer
   /usep 
"


you can add this to l-pdfview.lua (opencalls windows section):

['pdfxcview']   = [[start "test" pdfxcview.exe /A 
"nolock=yes=OpenParameters" "%filename%"]],



if you have a texmfcnf.lua file in your local tree you can ass a 
directive there, otherwise you can make such a file with:


return {
type= "configuration",
content = {
directives = {
["pdfview.method"] = "pdfxcview",
},

},
}

assuming of course that you have that viewer someplace in your path

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
-
___
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
___

[NTG-context] PdfXChange Viewer (slightly related to "Overriding pdfview")

2013-06-30 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

as I saw many pdf viewers being supported by "--autopdf=...", there is one more 
(my favourite; Windows) - basic version is free but powerful, fast, keeps last view for 
each document; allows auto-reopen lately opened docs; enables copy-to-clipboard 
(text/image); annotations; allows simply open the document with all other installed pdf 
viewers; bookmarks; page thums; layers; attached files; many printing opts including n x 
m pages per sheet; ...

http://www.tracker-software.com/product/pdf-xchange-viewer

It might be good to support this viewer, too, for completeness.

Command line options (copied form the manual):

"
Command Line option
The PDF-XChange Viewer may be started with a PDF file or URL name as the first 
item on the command line. This facilitates starting the
Viewer in File Associations or using Windows ShellExecute.
The form of the command line for using this option is:

PDFXCview.exe [command] [filename1] [[filename2] [… [filenameN]]]
Where command can be one of the following commands:
  /A "param=value [¶m2=value [&...]"
  /close[:save|discard|ask]
  
/print[:[default=yes|no][&showui=yes|no][&printer=][&pages=]]
  /printto[:[default=yes|no][&showui=yes|no][&pages=]] 
  /exportp 
  /importp 
  /RegServer
  /UnregServer
  /usep 
"

Best regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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
___