ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Wolfgang Werners-Lucchini <wwl@musensturm.de>
Subject: Re: AcroRd32 Runtime Error
Date: Wed, 05 Oct 2011 09:36:25 +0200	[thread overview]
Message-ID: <4E8C08F9.9030003@wxs.nl> (raw)
In-Reply-To: <4E8BB612.17808.109BDF7@wwl.musensturm.de>

On 5-10-2011 01:42, Wolfgang Werners-Lucchini wrote:
> Hallo,
>
>> see l-pdfview.lua ... the clal on windows is: pdfopen --ax --file
>>
>> anyhow, unfortunately the pdfopen/close programs are not consistent
>> with
>> respect to dealing with commandline options on different platforms
>> (and
>> also not downward compatible) which in fact renders them somewhat
>> useless (it woudl be nice if someone would normalize them)
>>
>> Hans
>
> if I give the command: context --autopdf a.tex
>
> I get the runtime error and after the context run
>
> mtx-context     | pdfview methods: acrobat default okular, current
> method: acrobat (directives_pdfview_method)Cannot contact a server.
>
> pdfopen --ax --file a.pdf
> pdfopen --rx --file a.pdf
> pdfopen --file a.pdf
>
> works ok
>
> pdfclose --ax --file a.pdf
> pdfclose --rx --file a.pdf
> pdfclose --file a.pdf
>
> works ok too, if not following a pdfopen, otherwise I get:
>
> Cannot execute command "[DocClose("%s")]" (error 16393)
>
> Shouldn't be the first two variants for acrobat (resp. reader) 10?
> I wonder why they are working. I have the reader 9.4.6 and no acrobat
> at all.

I only have 10 and there it works ok. Ideally the pdfopen/close programs 
should be clever enough to figure out what acrobat they deal with. If 
needed I can introduce (next weekend or so) a 'open pdf' and 'close pdf' 
in the configuration file so that one can tweak it.

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:[~2011-10-05  7:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.3442.1317766999.4231.ntg-context@ntg.nl>
2011-10-04 23:42 ` Wolfgang Werners-Lucchini
2011-10-05  7:36   ` Hans Hagen [this message]
     [not found] <mailman.3418.1317662126.4231.ntg-context@ntg.nl>
2011-10-04 16:39 ` Wolfgang Werners-Lucchini
2011-10-04 22:23   ` Hans Hagen
2011-10-03 17:14 Wolfgang Werners-Lucchini

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=4E8C08F9.9030003@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    --cc=wwl@musensturm.de \
    /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).