THBPdf Download Contact Us Buy Online Developerse-mail me

open pdf read only or similiar




Message-ID:<6utu35Fhbh6oU1@mid.dfncis.de>
Subject:

open pdf read-only or similiar


Date:Wed, 4 Feb 2009 17:29:24 +0100


Hello NG,
is it possible somehow to prevent Adobe Acrobat 9 Pro from blocking the access 
to an pdf file, e.g. open read-only or something similar?

Background: I use OpenOffice.org to create pdfs and view them in Acr, before 
recreating of the pdf I have to close the pdf in Acr and afterwards reopen it - 
which is of course very annoying.

So again, is there a possibility to spare this closing and reopening with 
Acrobat or any other pdf viewer for Windows XP?

I tried the Sumatra PDF viewer, which should be capable of this, but 
unfortunately it crashes on recreating. And the Forum gives no help/support at all.

TIA
Tom




Message-ID:<4ZudnTdqGN5nWxTUnZ2dnUVZ_sHinZ2d@posted.localnet>
Subject:

Re: open pdf read-only or similiar


Date:Wed, 4 Feb 2009 17:48:58 +0100


At Wed, 04 Feb 2009 17:29:24 +0100 Tom <tom.rdn@yahoo.de> wrote:

> 
> Hello NG,
> is it possible somehow to prevent Adobe Acrobat 9 Pro from blocking the access 
> to an pdf file, e.g. open read-only or something similar?
> 
> Background: I use OpenOffice.org to create pdfs and view them in Acr, before 
> recreating of the pdf I have to close the pdf in Acr and afterwards reopen it - 
> which is of course very annoying.
> 
> So again, is there a possibility to spare this closing and reopening with 
> Acrobat or any other pdf viewer for Windows XP?
> 
> I tried the Sumatra PDF viewer, which should be capable of this, but 
> unfortunately it crashes on recreating. And the Forum gives no help/support at all.

I think your problem is related to Windows XP itself -- MS-Windows does
not support deleting open files (even if the file is open read-only).

You only open in this case is to change to a completely different
operating system (like Linux or MacOSX). Or live with closing the PDF
(and/or PDF viewer) before recreating the PDF file.

> 
> TIA
> Tom
>                                                                                      

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller@deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/
      




Message-ID:<E9kil.10543$j64.2443@newsfe14.ams2>
Subject:

Re: open pdf read-only or similiar


Date:Wed, 4 Feb 2009 18:22:42 +0100


Robert Heller wrote:
> At Wed, 04 Feb 2009 17:29:24 +0100 Tom <tom.rdn@yahoo.de> wrote:
> 
>> Hello NG,
>> is it possible somehow to prevent Adobe Acrobat 9 Pro from blocking the access 
>> to an pdf file, e.g. open read-only or something similar?
>>
>> Background: I use OpenOffice.org to create pdfs and view them in Acr, before 
>> recreating of the pdf I have to close the pdf in Acr and afterwards reopen it - 
>> which is of course very annoying.
>>
>> So again, is there a possibility to spare this closing and reopening with 
>> Acrobat or any other pdf viewer for Windows XP?
>>
>> I tried the Sumatra PDF viewer, which should be capable of this, but 
>> unfortunately it crashes on recreating. And the Forum gives no help/support at all.
> 
> I think your problem is related to Windows XP itself -- MS-Windows does
> not support deleting open files (even if the file is open read-only).
> 

A work-around I have used in the past is to view the file through a
server/browser interface. In my case it is normally with LaTeX-generated
pdfs, but the principal will work the same for OpenOffice, I'm pretty
sure.

For example, if you have Apache running  on local localhost, you can:
* save the file somewhere in htdocs
   + (I might use .../path/to/Apache/../htdocs/ProofRead/myfile.pdf)
* view the pdf from a url, not a filepath
   + ( http://localhost/Proofread/myfile.pdf)
* Windows doesn't mind you saving again to myfile.pdf while it is open 
in your browser
* You get to read the latest version by pressing the refresh button of 
your browser



> You only open in this case is to change to a completely different
> operating system (like Linux or MacOSX). Or live with closing the PDF
> (and/or PDF viewer) before recreating the PDF file.
> 
>> TIA
>> Tom
>>                                                                                      
> 




Message-ID:<6uu2u4Fha96pU1@mid.dfncis.de>
Subject:

Re: open pdf read-only or similiar


Date:Wed, 4 Feb 2009 18:52:04 +0100


Ken Starks wrote:
> Robert Heller wrote:
>> At Wed, 04 Feb 2009 17:29:24 +0100 Tom <tom.rdn@yahoo.de> wrote:
>>
>>> Hello NG,
>>> is it possible somehow to prevent Adobe Acrobat 9 Pro from blocking 
>>> the access to an pdf file, e.g. open read-only or something similar?
>>>
>>> Background: I use OpenOffice.org to create pdfs and view them in Acr, 
>>> before recreating of the pdf I have to close the pdf in Acr and 
>>> afterwards reopen it - which is of course very annoying.
>>>
>>> So again, is there a possibility to spare this closing and reopening 
>>> with Acrobat or any other pdf viewer for Windows XP?
>>>
>>> I tried the Sumatra PDF viewer, which should be capable of this, but 
>>> unfortunately it crashes on recreating. And the Forum gives no 
>>> help/support at all.
>>
>> I think your problem is related to Windows XP itself -- MS-Windows does
>> not support deleting open files (even if the file is open read-only).
>>
> 
> A work-around I have used in the past is to view the file through a
> server/browser interface. In my case it is normally with LaTeX-generated
> pdfs, but the principal will work the same for OpenOffice, I'm pretty
> sure.
> 
Unfortunately, I dont have Apache running... and just opening the file in 
Firefox doesn't work. :-(

Also this work-around is a little too much overkill IMHO.

FYI
For Latex I use DDE Commandos in TeXnicCenter:
open:
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
close:
[DocOpen("%bm.pdf")][DocOpen("%bm.pdf")][DocClose("%bm.pdf")]
Server: acroview, Theme: control
(the double open for close, avoides error if the file is not already open)


> For example, if you have Apache running  on local localhost, you can:
> * save the file somewhere in htdocs
>   + (I might use .../path/to/Apache/../htdocs/ProofRead/myfile.pdf)
> * view the pdf from a url, not a filepath
>   + ( http://localhost/Proofread/myfile.pdf)
> * Windows doesn't mind you saving again to myfile.pdf while it is open 
> in your browser
> * You get to read the latest version by pressing the refresh button of 
> your browser




Message-ID:<6uu28pFh0rprU1@mid.dfncis.de>
Subject:

Re: open pdf read-only or similiar


Date:Wed, 4 Feb 2009 18:40:41 +0100


Robert Heller wrote:
> At Wed, 04 Feb 2009 17:29:24 +0100 Tom <tom.rdn@yahoo.de> wrote:
> 
>> Hello NG,
>> is it possible somehow to prevent Adobe Acrobat 9 Pro from blocking the access 
>> to an pdf file, e.g. open read-only or something similar?
>>
>> Background: I use OpenOffice.org to create pdfs and view them in Acr, before 
>> recreating of the pdf I have to close the pdf in Acr and afterwards reopen it - 
>> which is of course very annoying.
>>
>> So again, is there a possibility to spare this closing and reopening with 
>> Acrobat or any other pdf viewer for Windows XP?
>>
>> I tried the Sumatra PDF viewer, which should be capable of this, but 
>> unfortunately it crashes on recreating. And the Forum gives no help/support at all.
> 
> I think your problem is related to Windows XP itself -- MS-Windows does
> not support deleting open files (even if the file is open read-only).
> 
Sorry, but thats just wrong. There are many programs who support deleting of
open files (like WordPad, Notepad, Paint, Matlab ...) and some even
automatically recognize changes made to already open files (Notepad++,
TexnicCenter and i guess others too).
So this problem problem is definitely related to that piece of expensive and
crappy software called Adobe Acrobat 9 Pro (I wonder what the "Pro" stands for).
I guess thats just one of the many reasons there no official person in
adobe.acrobat.windows and therefore no support at all.

However, according to your statement, this feature would be impossible:
0.8.1 (2008-05-27):
     * automatic reloading of changed PDFs (contributed by William Blum)
(from: http://blog.kowalczyk.info/software/sumatrapdf/news.html)

Unfortunately it it isn't working at all here in 0.9.3

> You only open in this case is to change to a completely different
> operating system (like Linux or MacOSX). Or live with closing the PDF
> (and/or PDF viewer) before recreating the PDF file.
> 
see above




Message-ID:<aqSdnVNeFaHRQBTUnZ2dnUVZ_sPinZ2d@posted.localnet>
Subject:

Re: open pdf read-only or similiar


Date:Wed, 4 Feb 2009 19:24:12 +0100


At Wed, 04 Feb 2009 18:40:41 +0100 Tom <tom.rdn@yahoo.de> wrote:

> 
> Robert Heller wrote:
> > At Wed, 04 Feb 2009 17:29:24 +0100 Tom <tom.rdn@yahoo.de> wrote:
> > 
> >> Hello NG,
> >> is it possible somehow to prevent Adobe Acrobat 9 Pro from blocking the access 
> >> to an pdf file, e.g. open read-only or something similar?
> >>
> >> Background: I use OpenOffice.org to create pdfs and view them in Acr, before 
> >> recreating of the pdf I have to close the pdf in Acr and afterwards reopen it - 
> >> which is of course very annoying.
> >>
> >> So again, is there a possibility to spare this closing and reopening with 
> >> Acrobat or any other pdf viewer for Windows XP?
> >>
> >> I tried the Sumatra PDF viewer, which should be capable of this, but 
> >> unfortunately it crashes on recreating. And the Forum gives no help/support at all.
> > 
> > I think your problem is related to Windows XP itself -- MS-Windows does
> > not support deleting open files (even if the file is open read-only).
> > 
> Sorry, but thats just wrong. There are many programs who support deleting of
> open files (like WordPad, Notepad, Paint, Matlab ...) and some even
> automatically recognize changes made to already open files (Notepad++,
> TexnicCenter and i guess others too).

These programs probably don't hold onto the open file handle -- that is
they open file, copy the contents to memory (or otherwise process the
file), and then *close* the file. That is, the file is in fact *closed*
(as far as the O/S is concerned) when the file is modified.  All of the
programs you mentioned only deal with linearly processed files, none of
the programs mentioned access the file randomly (eg using functions like
seek(3)).  PDF files need to be accessed in a 'random access' fashion
(using the likes of seek(3)).  *Most* PDF viewers don't bother to load
the contents of a PDF file into ram, but simply load in the index blocks
and various table objects (like the page table) and then use random
access file operations (like seek(3)) to load in the bits needed to
render that part that is being displayed.

> So this problem problem is definitely related to that piece of expensive and
> crappy software called Adobe Acrobat 9 Pro (I wonder what the "Pro" stands for).
> I guess thats just one of the many reasons there no official person in
> adobe.acrobat.windows and therefore no support at all.

The main profession market for Adobe products tend to use Macs and Adobe
main development effort is MacOSX based.

> 
> However, according to your statement, this feature would be impossible:
> 0.8.1 (2008-05-27):
>      * automatic reloading of changed PDFs (contributed by William Blum)
> (from: http://blog.kowalczyk.info/software/sumatrapdf/news.html)

Sure it is possible, iff the file was 'closed' (as far as the O/S is
concerned). It would work if the file was open *on a UNIX or UNIX-like
OS (see below)*. Note there is an *important* difference between a file being
'open' from an O/S point of file (an open file handle) and being 'open'
from an application point of file (a screen/window or in-memory copy or
something).

> 
> Unfortunately it it isn't working at all here in 0.9.3
> 
> > You only open in this case is to change to a completely different
> > operating system (like Linux or MacOSX). Or live with closing the PDF
> > (and/or PDF viewer) before recreating the PDF file.
> > 
> see above

Under UNIX and UNIX-like O/Ss (includes Linix and MacOSX) merely having
an open file handle (descriptor) does not 'lock' the file and does not
prevent some other program deleting the file and re-creating it.

I suspect that since MacOSX is a UNIX O/S (deeply under the hood), Adobe
Acrobat hangs onto the file handle (since this is 'harmless' under
MacOSX).  Unfortunately, (as you have discovered) this fails under
MS-Windows. 

>                             

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller@deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/
                   




Message-ID:<6uuliqFguilaU1@mid.individual.net>
Subject:

Re: open pdf read-only or similiar


Date:Thu, 5 Feb 2009 00:10:17 +0100


Tom wrote:
> Hello NG,
> is it possible somehow to prevent Adobe Acrobat 9 Pro from blocking
> the access to an pdf file, e.g. open read-only or something similar?
> 
> Background: I use OpenOffice.org to create pdfs and view them in Acr,
> before recreating of the pdf I have to close the pdf in Acr and 
> afterwards reopen it - which is of course very annoying.
> 
> So again, is there a possibility to spare this closing and reopening
> with Acrobat or any other pdf viewer for Windows XP?

Adobe have consistently refused to add this feature, and no-one can
understand why (unless something has changed recently that I haven't
seen). Several delegations from the graphic arts business (including
some of the LaTeX developers) have met with Adobe, and there seems to
have been no understanding at all of the problem by Adobe. Very weird.

However, this popped up of comp.text.tex the other day (I've chopped the 
headers). Unix-type systems only, though, but the README does explain 
why it can't work under Windows.

Which still doesn't explain Adobe's obtuseness. If Windows does not 
allow to overwrite a document currently open in another application, it 
is not beyond the wit of humankind to open the PDF file, render it, and 
the close the file so that it can be overwritten, and then watch the 
file and re-read when necessary.

Mind you, if you're still using Windows for document-processing 
applications then now is a good time to look at moving to a more usable 
platform: there is a wide choice :-)

///Peter

> From: CTAN Announcements <ctan-ann@dante.de>
> Newsgroups: comp.text.tex
> Subject: CTAN Update: AcroReloadPDF
> Date: Mon, 2 Feb 2009 17:45:11 +0100 (CET)
> Message-ID: <mailman.40.1233593113.3805.ctan-ann@dante.de>
> 
> On Mon, 2 Feb 2009, Alexander Grahn submitted an update to the
> 
>   acroreloadpdf
> 
> package, a Reload-the-current-PDF utility for Adobe Reader on Unix systems.
> 
> Location on CTAN: /support/acroreloadpdf/
> License type: pd
> 
> Announcement text: 
> ----------------------------------------------------------------------
> The reload utility can now be invoked from the keyboard by
> pressing
> <Alt>+<F> followed by <d>
> ----------------------------------------------------------------------
> 
> This package is located at 
>    http://mirror.ctan.org/support/acroreloadpdf/
> .  More information is at
>    http://tug.ctan.org/info/?id=acroreloadpdf
> (if the package is new it may take a day for that information to 
> appear).  We are supported by the TeX Users Group http://www.tug.org .  
> Please join a users group; see http://www.tug.org/usergroups.html .
> _______________________________________________
> 
> 
> Thanks for the upload.
> 
> For the CTAN Team
>   Rainer Schöpf
> 




Message-ID:<6utu35Fhbh6oU1@mid.dfncis.de>
Subject:

open pdf read-only or similiar


Date:Wed, 4 Feb 2009 17:29:24 +0100


Hello NG,
is it possible somehow to prevent Adobe Acrobat 9 Pro from blocking the access 
to an pdf file, e.g. open read-only or something similar?

Background: I use OpenOffice.org to create pdfs and view them in Acr, before 
recreating of the pdf I have to close the pdf in Acr and afterwards reopen it - 
which is of course very annoying.

So again, is there a possibility to spare this closing and reopening with 
Acrobat or any other pdf viewer for Windows XP?

I tried the Sumatra PDF viewer, which should be capable of this, but 
unfortunately it crashes on recreating. And the Forum gives no help/support at all.

TIA
Tom




Message-ID:<4ZudnTdqGN5nWxTUnZ2dnUVZ_sHinZ2d@posted.localnet>
Subject:

Re: open pdf read-only or similiar


Date:Wed, 4 Feb 2009 17:48:58 +0100


At Wed, 04 Feb 2009 17:29:24 +0100 Tom <tom.rdn@yahoo.de> wrote:

> 
> Hello NG,
> is it possible somehow to prevent Adobe Acrobat 9 Pro from blocking the access 
> to an pdf file, e.g. open read-only or something similar?
> 
> Background: I use OpenOffice.org to create pdfs and view them in Acr, before 
> recreating of the pdf I have to close the pdf in Acr and afterwards reopen it - 
> which is of course very annoying.
> 
> So again, is there a possibility to spare this closing and reopening with 
> Acrobat or any other pdf viewer for Windows XP?
> 
> I tried the Sumatra PDF viewer, which should be capable of this, but 
> unfortunately it crashes on recreating. And the Forum gives no help/support at all.

I think your problem is related to Windows XP itself -- MS-Windows does
not support deleting open files (even if the file is open read-only).

You only open in this case is to change to a completely different
operating system (like Linux or MacOSX). Or live with closing the PDF
(and/or PDF viewer) before recreating the PDF file.

> 
> TIA
> Tom
>                                                                                      

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller@deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/
      




Message-ID:<E9kil.10543$j64.2443@newsfe14.ams2>
Subject:

Re: open pdf read-only or similiar


Date:Wed, 4 Feb 2009 18:22:42 +0100


Robert Heller wrote:
> At Wed, 04 Feb 2009 17:29:24 +0100 Tom <tom.rdn@yahoo.de> wrote:
> 
>> Hello NG,
>> is it possible somehow to prevent Adobe Acrobat 9 Pro from blocking the access 
>> to an pdf file, e.g. open read-only or something similar?
>>
>> Background: I use OpenOffice.org to create pdfs and view them in Acr, before 
>> recreating of the pdf I have to close the pdf in Acr and afterwards reopen it - 
>> which is of course very annoying.
>>
>> So again, is there a possibility to spare this closing and reopening with 
>> Acrobat or any other pdf viewer for Windows XP?
>>
>> I tried the Sumatra PDF viewer, which should be capable of this, but 
>> unfortunately it crashes on recreating. And the Forum gives no help/support at all.
> 
> I think your problem is related to Windows XP itself -- MS-Windows does
> not support deleting open files (even if the file is open read-only).
> 

A work-around I have used in the past is to view the file through a
server/browser interface. In my case it is normally with LaTeX-generated
pdfs, but the principal will work the same for OpenOffice, I'm pretty
sure.

For example, if you have Apache running  on local localhost, you can:
* save the file somewhere in htdocs
   + (I might use .../path/to/Apache/../htdocs/ProofRead/myfile.pdf)
* view the pdf from a url, not a filepath
   + ( http://localhost/Proofread/myfile.pdf)
* Windows doesn't mind you saving again to myfile.pdf while it is open 
in your browser
* You get to read the latest version by pressing the refresh button of 
your browser



> You only open in this case is to change to a completely different
> operating system (like Linux or MacOSX). Or live with closing the PDF
> (and/or PDF viewer) before recreating the PDF file.
> 
>> TIA
>> Tom
>>                                                                                      
> 




Message-ID:<6uu2u4Fha96pU1@mid.dfncis.de>
Subject:

Re: open pdf read-only or similiar


Date:Wed, 4 Feb 2009 18:52:04 +0100


Ken Starks wrote:
> Robert Heller wrote:
>> At Wed, 04 Feb 2009 17:29:24 +0100 Tom <tom.rdn@yahoo.de> wrote:
>>
>>> Hello NG,
>>> is it possible somehow to prevent Adobe Acrobat 9 Pro from blocking 
>>> the access to an pdf file, e.g. open read-only or something similar?
>>>
>>> Background: I use OpenOffice.org to create pdfs and view them in Acr, 
>>> before recreating of the pdf I have to close the pdf in Acr and 
>>> afterwards reopen it - which is of course very annoying.
>>>
>>> So again, is there a possibility to spare this closing and reopening 
>>> with Acrobat or any other pdf viewer for Windows XP?
>>>
>>> I tried the Sumatra PDF viewer, which should be capable of this, but 
>>> unfortunately it crashes on recreating. And the Forum gives no 
>>> help/support at all.
>>
>> I think your problem is related to Windows XP itself -- MS-Windows does
>> not support deleting open files (even if the file is open read-only).
>>
> 
> A work-around I have used in the past is to view the file through a
> server/browser interface. In my case it is normally with LaTeX-generated
> pdfs, but the principal will work the same for OpenOffice, I'm pretty
> sure.
> 
Unfortunately, I dont have Apache running... and just opening the file in 
Firefox doesn't work. :-(

Also this work-around is a little too much overkill IMHO.

FYI
For Latex I use DDE Commandos in TeXnicCenter:
open:
[DocOpen("%bm.pdf")][FileOpen("%bm.pdf")]
close:
[DocOpen("%bm.pdf")][DocOpen("%bm.pdf")][DocClose("%bm.pdf")]
Server: acroview, Theme: control
(the double open for close, avoides error if the file is not already open)


> For example, if you have Apache running  on local localhost, you can:
> * save the file somewhere in htdocs
>   + (I might use .../path/to/Apache/../htdocs/ProofRead/myfile.pdf)
> * view the pdf from a url, not a filepath
>   + ( http://localhost/Proofread/myfile.pdf)
> * Windows doesn't mind you saving again to myfile.pdf while it is open 
> in your browser
> * You get to read the latest version by pressing the refresh button of 
> your browser




Message-ID:<6uu28pFh0rprU1@mid.dfncis.de>
Subject:

Re: open pdf read-only or similiar


Date:Wed, 4 Feb 2009 18:40:41 +0100


Robert Heller wrote:
> At Wed, 04 Feb 2009 17:29:24 +0100 Tom <tom.rdn@yahoo.de> wrote:
> 
>> Hello NG,
>> is it possible somehow to prevent Adobe Acrobat 9 Pro from blocking the access 
>> to an pdf file, e.g. open read-only or something similar?
>>
>> Background: I use OpenOffice.org to create pdfs and view them in Acr, before 
>> recreating of the pdf I have to close the pdf in Acr and afterwards reopen it - 
>> which is of course very annoying.
>>
>> So again, is there a possibility to spare this closing and reopening with 
>> Acrobat or any other pdf viewer for Windows XP?
>>
>> I tried the Sumatra PDF viewer, which should be capable of this, but 
>> unfortunately it crashes on recreating. And the Forum gives no help/support at all.
> 
> I think your problem is related to Windows XP itself -- MS-Windows does
> not support deleting open files (even if the file is open read-only).
> 
Sorry, but thats just wrong. There are many programs who support deleting of
open files (like WordPad, Notepad, Paint, Matlab ...) and some even
automatically recognize changes made to already open files (Notepad++,
TexnicCenter and i guess others too).
So this problem problem is definitely related to that piece of expensive and
crappy software called Adobe Acrobat 9 Pro (I wonder what the "Pro" stands for).
I guess thats just one of the many reasons there no official person in
adobe.acrobat.windows and therefore no support at all.

However, according to your statement, this feature would be impossible:
0.8.1 (2008-05-27):
     * automatic reloading of changed PDFs (contributed by William Blum)
(from: http://blog.kowalczyk.info/software/sumatrapdf/news.html)

Unfortunately it it isn't working at all here in 0.9.3

> You only open in this case is to change to a completely different
> operating system (like Linux or MacOSX). Or live with closing the PDF
> (and/or PDF viewer) before recreating the PDF file.
> 
see above




Message-ID:<aqSdnVNeFaHRQBTUnZ2dnUVZ_sPinZ2d@posted.localnet>
Subject:

Re: open pdf read-only or similiar


Date:Wed, 4 Feb 2009 19:24:12 +0100


At Wed, 04 Feb 2009 18:40:41 +0100 Tom <tom.rdn@yahoo.de> wrote:

> 
> Robert Heller wrote:
> > At Wed, 04 Feb 2009 17:29:24 +0100 Tom <tom.rdn@yahoo.de> wrote:
> > 
> >> Hello NG,
> >> is it possible somehow to prevent Adobe Acrobat 9 Pro from blocking the access 
> >> to an pdf file, e.g. open read-only or something similar?
> >>
> >> Background: I use OpenOffice.org to create pdfs and view them in Acr, before 
> >> recreating of the pdf I have to close the pdf in Acr and afterwards reopen it - 
> >> which is of course very annoying.
> >>
> >> So again, is there a possibility to spare this closing and reopening with 
> >> Acrobat or any other pdf viewer for Windows XP?
> >>
> >> I tried the Sumatra PDF viewer, which should be capable of this, but 
> >> unfortunately it crashes on recreating. And the Forum gives no help/support at all.
> > 
> > I think your problem is related to Windows XP itself -- MS-Windows does
> > not support deleting open files (even if the file is open read-only).
> > 
> Sorry, but thats just wrong. There are many programs who support deleting of
> open files (like WordPad, Notepad, Paint, Matlab ...) and some even
> automatically recognize changes made to already open files (Notepad++,
> TexnicCenter and i guess others too).

These programs probably don't hold onto the open file handle -- that is
they open file, copy the contents to memory (or otherwise process the
file), and then *close* the file. That is, the file is in fact *closed*
(as far as the O/S is concerned) when the file is modified.  All of the
programs you mentioned only deal with linearly processed files, none of
the programs mentioned access the file randomly (eg using functions like
seek(3)).  PDF files need to be accessed in a 'random access' fashion
(using the likes of seek(3)).  *Most* PDF viewers don't bother to load
the contents of a PDF file into ram, but simply load in the index blocks
and various table objects (like the page table) and then use random
access file operations (like seek(3)) to load in the bits needed to
render that part that is being displayed.

> So this problem problem is definitely related to that piece of expensive and
> crappy software called Adobe Acrobat 9 Pro (I wonder what the "Pro" stands for).
> I guess thats just one of the many reasons there no official person in
> adobe.acrobat.windows and therefore no support at all.

The main profession market for Adobe products tend to use Macs and Adobe
main development effort is MacOSX based.

> 
> However, according to your statement, this feature would be impossible:
> 0.8.1 (2008-05-27):
>      * automatic reloading of changed PDFs (contributed by William Blum)
> (from: http://blog.kowalczyk.info/software/sumatrapdf/news.html)

Sure it is possible, iff the file was 'closed' (as far as the O/S is
concerned). It would work if the file was open *on a UNIX or UNIX-like
OS (see below)*. Note there is an *important* difference between a file being
'open' from an O/S point of file (an open file handle) and being 'open'
from an application point of file (a screen/window or in-memory copy or
something).

> 
> Unfortunately it it isn't working at all here in 0.9.3
> 
> > You only open in this case is to change to a completely different
> > operating system (like Linux or MacOSX). Or live with closing the PDF
> > (and/or PDF viewer) before recreating the PDF file.
> > 
> see above

Under UNIX and UNIX-like O/Ss (includes Linix and MacOSX) merely having
an open file handle (descriptor) does not 'lock' the file and does not
prevent some other program deleting the file and re-creating it.

I suspect that since MacOSX is a UNIX O/S (deeply under the hood), Adobe
Acrobat hangs onto the file handle (since this is 'harmless' under
MacOSX).  Unfortunately, (as you have discovered) this fails under
MS-Windows. 

>                             

-- 
Robert Heller             -- 978-544-6933
Deepwoods Software        -- Download the Model Railroad System
http://www.deepsoft.com/  -- Binaries for Linux and MS-Windows
heller@deepsoft.com       -- http://www.deepsoft.com/ModelRailroadSystem/
                   




Message-ID:<6uuliqFguilaU1@mid.individual.net>
Subject:

Re: open pdf read-only or similiar


Date:Thu, 5 Feb 2009 00:10:17 +0100


Tom wrote:
> Hello NG,
> is it possible somehow to prevent Adobe Acrobat 9 Pro from blocking
> the access to an pdf file, e.g. open read-only or something similar?
> 
> Background: I use OpenOffice.org to create pdfs and view them in Acr,
> before recreating of the pdf I have to close the pdf in Acr and 
> afterwards reopen it - which is of course very annoying.
> 
> So again, is there a possibility to spare this closing and reopening
> with Acrobat or any other pdf viewer for Windows XP?

Adobe have consistently refused to add this feature, and no-one can
understand why (unless something has changed recently that I haven't
seen). Several delegations from the graphic arts business (including
some of the LaTeX developers) have met with Adobe, and there seems to
have been no understanding at all of the problem by Adobe. Very weird.

However, this popped up of comp.text.tex the other day (I've chopped the 
headers). Unix-type systems only, though, but the README does explain 
why it can't work under Windows.

Which still doesn't explain Adobe's obtuseness. If Windows does not 
allow to overwrite a document currently open in another application, it 
is not beyond the wit of humankind to open the PDF file, render it, and 
the close the file so that it can be overwritten, and then watch the 
file and re-read when necessary.

Mind you, if you're still using Windows for document-processing 
applications then now is a good time to look at moving to a more usable 
platform: there is a wide choice :-)

///Peter

> From: CTAN Announcements <ctan-ann@dante.de>
> Newsgroups: comp.text.tex
> Subject: CTAN Update: AcroReloadPDF
> Date: Mon, 2 Feb 2009 17:45:11 +0100 (CET)
> Message-ID: <mailman.40.1233593113.3805.ctan-ann@dante.de>
> 
> On Mon, 2 Feb 2009, Alexander Grahn submitted an update to the
> 
>   acroreloadpdf
> 
> package, a Reload-the-current-PDF utility for Adobe Reader on Unix systems.
> 
> Location on CTAN: /support/acroreloadpdf/
> License type: pd
> 
> Announcement text: 
> ----------------------------------------------------------------------
> The reload utility can now be invoked from the keyboard by
> pressing
> <Alt>+<F> followed by <d>
> ----------------------------------------------------------------------
> 
> This package is located at 
>    http://mirror.ctan.org/support/acroreloadpdf/
> .  More information is at
>    http://tug.ctan.org/info/?id=acroreloadpdf
> (if the package is new it may take a day for that information to 
> appear).  We are supported by the TeX Users Group http://www.tug.org .  
> Please join a users group; see http://www.tug.org/usergroups.html .
> _______________________________________________
> 
> 
> Thanks for the upload.
> 
> For the CTAN Team
>   Rainer Schöpf
> 




 

|THBPdf| |Download| |Developers|