Viewers for PDF, PS, and DVIProblem with Adobe Reader 8.0

Information and discussion about output viewers related to LaTeX (e.g. Adobe Reader, Ghostview, YAP, ...)
Locked
MartinC
Posts: 153
Joined: Wed Jan 17, 2007 10:09 pm

Problem with Adobe Reader 8.0

Post by MartinC »

emissary wrote:
roman wrote: [...] And then they're closing all the documents using [CloseAllDocs()].


This works but is no real solution to the problem. What if you're working on more than one PDF Document and you do not want to close them all?


Then I think you have to ask Adobe to fix this bug!
Last edited by MartinC on Wed Jan 24, 2007 9:28 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Frank
Posts: 11
Joined: Thu Jan 25, 2007 1:40 pm

Problem with Adobe Reader 8.0

Post by Frank »

Hi Guys

I have tried to implement the changes you suggested. I changed View project's output to [FileOpen("%bm.pdf")] and I changed Close document before running (La)TeX to [CloseAllDocs("%bm.pdf")]. I get the error
I can't write on file `MyFile.pdf'.
Please type another file name for output


while compiling if I did not close the PDF document before compilation. I then figured that I should perhaps remove the "%bm.pdf" part, but then Acrobat Reader 8 still crashes if I did not close it.

Does anyone perhaps know where I may be going wrong?

Regards
Frank
Last edited by Frank on Fri Jan 26, 2007 11:22 am, edited 1 time in total.
User avatar
Kris
Posts: 56
Joined: Sun Jan 14, 2007 4:04 pm

Problem with Adobe Reader 8.0

Post by Kris »

Hi Frank,

Yes, it's [CloseAllDocs()] not [CloseAllDocs("%bm.pdf")] !
Just change it in TexnicCenter and restart Your system - the error will be gone...

(actually it's just a workaround 'til Adobe removes the bug!)

Regards
Kris
Last edited by Kris on Fri Jan 26, 2007 1:40 pm, edited 1 time in total.
Frank
Posts: 11
Joined: Thu Jan 25, 2007 1:40 pm

Re: Problem with Adobe Reader 8.0

Post by Frank »

Hi Kris

Oh, I did not reboot. I'll try that, thanks.

Regards
Frank
playmob
Posts: 1
Joined: Sat Jan 27, 2007 3:57 pm

Re: Problem with Adobe Reader 8.0

Post by playmob »

I think I found a workaround for this problem:

Enter the following DDE Commands in the "Viewer"-Tab:
View: [DocOpen("%bm.pdf")]
Search: [DocOpen("%bm.pdf")]
befor compiling: [DocOpen("%bm.pdf")][DocClose("%bm.pdf")]

Working fine on my PC.
dustbinbear
Posts: 19
Joined: Wed Jan 17, 2007 11:42 am

Re: Problem with Adobe Reader 8.0

Post by dustbinbear »

Hi playbob, it didn't seem to work so well for me especially when I had more than 1 pdf documents already running. adobe reader just crashes.
jjt3
Posts: 9
Joined: Fri Jan 26, 2007 3:04 pm

Re: Problem with Adobe Reader 8.0

Post by jjt3 »

I have been told of a workaround for Adobe 8.0.

Simply, put a second [DocOpen("%bm.pdf")] in front of the first in the two instances in build profile, and this seems to keep it quiet.

John
Attachments
TXC build profile
TXC build profile
txcadobe.png (8.17 KiB) Viewed 21185 times
Frank
Posts: 11
Joined: Thu Jan 25, 2007 1:40 pm

Re: Problem with Adobe Reader 8.0

Post by Frank »

My Adobe Reader 8 crashes even if I close it using the close button.
roman
Posts: 15
Joined: Mon Jan 15, 2007 7:41 pm

Problem with Adobe Reader 8.0

Post by roman »

jjt3 wrote: Simply, put a second [DocOpen("%bm.pdf")] in front of the first in the two instances in build profile, and this seems to keep it quiet.


Yes, that's it. There are no more crashes even if I'm working with multiple documents (multiple TeXnicCenter projects) at the same time.
Many thanks to John.

Roman
Last edited by roman on Mon Jan 29, 2007 2:14 pm, edited 1 time in total.
MartinC
Posts: 153
Joined: Wed Jan 17, 2007 10:09 pm

Re: Problem with Adobe Reader 8.0

Post by MartinC »

Great, it works! Where did you hear of that trick?
Locked