LaTeX forum ⇒ 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, ...)
MartinC
Posts: 152
Joined: Wed Jan 17, 2007 10:09 pm

Re: Problem with Adobe Reader 8.0

Postby MartinC » Wed Jan 24, 2007 9:28 pm

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!

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

Postby Frank » Fri Jan 26, 2007 11:22 am

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

User avatar
Kris
Posts: 56
Joined: Sun Jan 14, 2007 4:04 pm

Postby Kris » Fri Jan 26, 2007 1:40 pm

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

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

Postby Frank » Fri Jan 26, 2007 3:30 pm

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

Postby playmob » Sat Jan 27, 2007 4:03 pm

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

Postby dustbinbear » Sat Jan 27, 2007 5:00 pm

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

Postby jjt3 » Mon Jan 29, 2007 12:32 pm

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
txcadobe.png
TXC build profile
txcadobe.png (8.17 KiB) Viewed 14761 times

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

Postby Frank » Mon Jan 29, 2007 12:47 pm

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

Postby roman » Mon Jan 29, 2007 2:14 pm

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

MartinC
Posts: 152
Joined: Wed Jan 17, 2007 10:09 pm

Postby MartinC » Mon Jan 29, 2007 7:55 pm

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


Return to “Viewers for PDF, PS, and DVI”

Who is online

Users browsing this forum: No registered users and 4 guests