ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: luigi scarso <luigi.scarso@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Overriding pdfview
Date: Wed, 26 Jun 2013 18:11:48 +0200	[thread overview]
Message-ID: <CAG5iGsDbfGQnqfiegdd9QSg5CyDQPHF76ujTs4ZEJOuDi6Eqqg@mail.gmail.com> (raw)
In-Reply-To: <51CB0614.5030208@meahan.net>


[-- Attachment #1.1: Type: text/plain, Size: 2827 bytes --]

On Wed, Jun 26, 2013 at 5:17 PM, Bill Meahan <subscribed_lists@meahan.net>wrote:

>  On 6/26/2013 10:20 AM, luigi scarso wrote:
>
>
>
>
> On Wed, Jun 26, 2013 at 3:53 PM, Bill Meahan <subscribed_lists@meahan.net>wrote:
>
>>
>> How does one override the default pdf viewer for MKIV Standalone on
>> Windows 7-64 so --autopdf starts Acrobat Reader instead of "sumatrapdf.exe"?
>>
>> I don't have "sumatra" and do not wish to install it just to satisfy this
>> one application. WTH is it anyway? (I know what it is, it's a rhetorical
>> question). Making some obscure pdf viewer the default with no clear way to
>> change it is not a good idea. For Windows, the vast majority of people have
>> Acrobat Reader which is very often preinstalled. For Linux, it's less clear
>> what the default should be but {xpdf |evince|acroread} are quite common.
>> Can't speak to OSX as I've never used it but I'd bet a coffee Acrobat
>> Reader is (or can be) there, too.
>>
>> I have searched through the source and tried editing l-pdf.lua but that
>> doesn't seem to fix the problem. I shouldn't have to edit system source in
>> any event.
>>
>> Mark me frustrated.
>>
>>  I don't see l-pdf.lua in my standalone .
>
>  TYPO: It's l-pdfview.lua sometimes my memory....
>
> From my standalone (updated yesterday)
>
> ..[snip]..
> if os.type == "windows" then
>
>     opencalls = {
>         ['default']     = "pdfopen --rxi --file",
>         ['acrobat']     = "pdfopen --rxi --file",
>         ['fullacrobat'] = "pdfopen --axi --file",
>         ['okular']      = 'start "test"
> "c:/data/system/kde/bin/okular.exe" --unique', -- todo!
>
>         ['sumatra']     = 'start "test"
> "c:/data/system/sumatrapdf/sumatrapdf.exe" -reuse-instance',
>         ['okular']      = 'start "test" "okular.exe" --unique',
>
>         ['sumatra']     = 'start "test" "sumatrapdf.exe" -reuse-instance
> -bg-color 0xCCCCCC',
>     }
>     closecalls= {
>         ['default'] = "pdfclose --file",
>         ['acrobat'] = "pdfclose --file",
>         ['okular']  = false,
>         ['sumatra'] = false,
>     }
>     allcalls = {
>         ['default'] = "pdfclose --all",
>         ['acrobat'] = "pdfclose --all",
>         ['okular']  = false,
>         ['sumatra'] = false,
>     }
>
>     pdfview.method = "acrobat" -- no longer useful due to green pop up
> line and clasing reader/full
>     pdfview.method = "sumatra"   <===========================
>
>     runner = function(cmd)
>         os.execute(cmd) -- .. " > /null"
>     end
>
> else
>  ..[snip]..
>
> Although I first discovered this when trying to use SciTE, it does the
> same thing if invoked from the command line. The pdf viewer does not appear
> in any of the SciTE *.properties files.
>

maybe
context --autopdf=acrobat <yourfile.tex>
context --autopdf=fullacrobat <yourfile.tex>


-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 5193 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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-06-26 16:11 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-26 13:53 Bill Meahan
2013-06-26 14:20 ` luigi scarso
2013-06-26 15:17   ` Bill Meahan
2013-06-26 16:11     ` luigi scarso [this message]
2013-06-26 19:29       ` Hans Hagen
2013-06-26 20:22         ` luigi scarso
2013-06-26 20:36           ` Siep Kroonenberg
2013-06-26 21:09             ` luigi scarso
2013-06-26 20:50           ` Philipp Gesang
2013-06-26 20:58             ` Hans Hagen
2013-06-26 21:16               ` luigi scarso
2013-06-26 21:34               ` Philipp Gesang
2013-06-27 15:15             ` Sietse Brouwer
2013-06-27 15:44               ` Mica Semrick
2013-06-27 17:25               ` Aditya Mahajan
2013-06-27 19:39                 ` Arthur Reutenauer
2013-06-27 18:18               ` Hans Hagen
2013-06-26 21:27         ` Bill Meahan
2013-06-26 22:24           ` Hans Hagen
2013-06-26 23:02             ` Bill Meahan
2013-06-27  7:21               ` luigi scarso
2013-06-27  2:21         ` hwitloc
2013-06-27  7:35           ` luigi scarso
2013-06-27  8:13             ` Hans Hagen
     [not found] <mailman.1497.1372359752.2084.ntg-context@ntg.nl>
2013-06-27 19:43 ` Pavneet Arora
2013-06-27 22:44   ` luigi scarso
2013-06-27 23:46     ` Sietse Brouwer
2013-06-27 23:53       ` Gareth Jones
2013-06-28  8:56         ` Keith J. Schultz
2013-06-28 10:34           ` Hans Hagen
2013-06-28 13:16             ` Keith J. Schultz
2013-07-01  2:31           ` David Rogers
2013-06-28  8:28       ` Hans Hagen
2013-06-28  2:29     ` Arthur Reutenauer
2013-06-28  6:23       ` luigi scarso
2013-06-28  8:29 Keith J. Schultz

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=CAG5iGsDbfGQnqfiegdd9QSg5CyDQPHF76ujTs4ZEJOuDi6Eqqg@mail.gmail.com \
    --to=luigi.scarso@gmail.com \
    --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).