* [NTG-context] How to use Adobe Acrobat Reader (free) as the pdf viewer when compiling file in Windows Terminal (Windows)
@ 2024-09-10 5:52 Felix
2024-09-10 6:18 ` [NTG-context] " Joseph Wright
2024-09-10 19:22 ` Jim
0 siblings, 2 replies; 4+ messages in thread
From: Felix @ 2024-09-10 5:52 UTC (permalink / raw)
To: ntg-context
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.
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* [NTG-context] Re: How to use Adobe Acrobat Reader (free) as the pdf viewer when compiling file in Windows Terminal (Windows)
2024-09-10 5:52 [NTG-context] How to use Adobe Acrobat Reader (free) as the pdf viewer when compiling file in Windows Terminal (Windows) Felix
@ 2024-09-10 6:18 ` Joseph Wright
2024-09-10 19:22 ` Jim
1 sibling, 0 replies; 4+ messages in thread
From: Joseph Wright @ 2024-09-10 6:18 UTC (permalink / raw)
To: ntg-context
On 10/09/2024 06:52, 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.
Acrobat locks files when open - as such, you have to close your PDF
before you run any process that modifies it (so true for all *TeX). It's
one reason there is a tendency not to use Acrobat as the main previewer
in TeX workflows. That said, some editors (WinEdt at least) will
auto-close the PDF when starting a run for exactly this reason.
Joseph
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* [NTG-context] Re: How to use Adobe Acrobat Reader (free) as the pdf viewer when compiling file in Windows Terminal (Windows)
2024-09-10 5:52 [NTG-context] How to use Adobe Acrobat Reader (free) as the pdf viewer when compiling file in Windows Terminal (Windows) Felix
2024-09-10 6:18 ` [NTG-context] " Joseph Wright
@ 2024-09-10 19:22 ` Jim
2024-09-10 19:36 ` Hans Hagen
1 sibling, 1 reply; 4+ messages in thread
From: Jim @ 2024-09-10 19:22 UTC (permalink / raw)
To: mailing list for ConTeXt users
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.
Cheers.
Jim
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
* [NTG-context] Re: How to use Adobe Acrobat Reader (free) as the pdf viewer when compiling file in Windows Terminal (Windows)
2024-09-10 19:22 ` Jim
@ 2024-09-10 19:36 ` Hans Hagen
0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2024-09-10 19:36 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-09-10 19:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-10 5:52 [NTG-context] How to use Adobe Acrobat Reader (free) as the pdf viewer when compiling file in Windows Terminal (Windows) Felix
2024-09-10 6:18 ` [NTG-context] " Joseph Wright
2024-09-10 19:22 ` Jim
2024-09-10 19:36 ` Hans Hagen
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).