On 9/10/2024 9:22 PM, Jim wrote:
On Tue, Sep 10, 2024 at 05:52 (-0000), Felix  wrote:

I want to use Adobe Acrobat Reader (free) and I always get this message when I 
have my Windows Terminal, vs code and acrobat setup

backend         > quitting because file 'Chapter 4 Assignment.pdf' cannot be 
opened for writing

I run into no problems with using sumatra or okular, but Adobe Acrobat free 
seems to have this problem. Is there a way to fix this? The way I run context 
on windows is by making the doc in vscode (no extension, just plain vscode), 
compiling in Windows Terminal and using a pdf viewer to then view stuff.

As part of TeXlive there is a program called pdfopen (and a companion
program called pdfclose) which may (or may not) help you out if you wish to
continue using acroread.

I am the last maintainer (as far as I know!) of the Linux version of this
program for TeXlive.  I never use windows, but my understanding is there is
(or was) a version for windows.  You might want to look to see if you can
find this.
irr it originates in fptex for windows (by fabrice) so there should be some binary but the problem is that the api to acrobat changed over time so it had to be adapted occasionally
        
acrobat     : pdfopen --rxi --file filename
fullacrobat : pdfopen --axi --file filename

pdfclose -- file filename

was the interface but as i never use acrobat in an edit-view flow it looks that i didn't bother to keep it on my machine

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | 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 / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to