ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: PdfXChange Viewer (slightly related to "Overriding pdfview")
Date: Mon, 01 Jul 2013 10:54:11 +0200	[thread overview]
Message-ID: <51D143B3.7070001@wxs.nl> (raw)
In-Reply-To: <op.wzi6yvnfwshuv7@lpr>

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 [&param2=value [&...]"
>    /close[:save|discard|ask]
>
> /print[:[default=yes|no][&showui=yes|no][&printer=<printername>][&pages=<pagesrange>]]
>
>    /printto[:[default=yes|no][&showui=yes|no][&pages=<pagesrange>]]
> <printername>
>    /exportp <setting_file_name>
>    /importp <setting_file_name>
>    /RegServer
>    /UnregServer
>    /usep <setting_file_name>
> "

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
___________________________________________________________________________________

  reply	other threads:[~2013-07-01  8:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-01  6:57 Procházka Lukáš Ing. - Pontex s. r. o.
2013-07-01  8:54 ` Hans Hagen [this message]
2013-07-01  9:43   ` Procházka Lukáš Ing. - Pontex s. r. o.

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51D143B3.7070001@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).