I'm confused about why you would need an Iframe to view the PDF. Doesn't it display in the topic pane? Or are other elements surrounding the Iframe and that's why you want it?
Perhaps you need to add the PDF to your baggage files list?
Helpful and Handy Links
Yes, I have text in the topic before and after the PDF, which is why I thought an IFrame would be a good option. Plus I don't know how to display a PDF by itself as a topic. I'd like to try that--can you give me some basic instructions?
And, yes, the PDF is listed in the baggage files.
To display a PDF as a topic, you just link from wherever (TOC, Another Topic, Index, etc) to the PDF.
Now as to whether the PDF is presented in its own window or into the Topic pane, I believe that may depend on the settings of the PDF Reader. I believe there are settings that govern the behavior of PDFs. I further believe these settings are machine specific and not exactly able to be influenced to behave identically across machines.
Helpful and Handy Links
Thanks for instructions. I didn't realize you could do that and, in theory, that works like a charm, but I'm still having issues. Here's what I just tried:
- Added a new page to the TOC and linked to the PDF in the baggage files directly. I was still unable to view the PDF in the generated output (nothing happened when I clicked the page in the TOC), but RH8 didn't crash and I didn't see the Adobe error message.
- Inserted a hyperlink in the topic and linked to the PDF file. This time I got the "Initialization of the font server module failed error", followed by a dialog saying "There is a problem with Adobe Acrobat/Reader. Please exit Adobe Acrobat/Reader and try again." But there was no specific instance of Adobe Reader running, just Robohelp. After wating a couple of minutes, RH8 stopped working altogether.
- Created a brand new project in RH8 (Since the other was migrated from RH7) with one topic that contained a hyperlink to a PDF. I could see the PDF in preview mode, but the project froze when I generated the WebHelp output
Since I just installed RH 8, I suspect that what I'm seeing is more of a problem with how Acrobat and Robohelp are interacting. I had Acrobat 8 Professional installed before installing Robohelp 8. Could that be it? If so, what's the best way to recover?
I fixed at least part of the problem by uninstalling and reinstalling Acrobat Pro. But the other part of the problem had to do with PDFs and Mark of the Web. Since that's a separate issue, I'm starting a new discussion....