Skip navigation
adrianaharper
Currently Being Moderated

FM hypertext doesn't work - work around in RH doesn't work... need help!

Nov 24, 2009 8:03 AM

I am working in TCS2 in Windows XP. I posted this in the RH discussion too... I hope that is OK that I put it here as well (hoping to reach the correct audience somehow!)

 

I am trying to single-source things. So I have created a huge doc in FM. Within FM, I have hypertext links to openfile a PDF (which works just fine in FM, and when I generate a PDF it still works nicely). Then I import into RH and those hypertext links don't work anymore. So I created my own little work around:

 

Went to that place and coded the FM hypertext as PRINT

Added a hypertext link (coded as ONLINE) that will jump to the required destination in the online help files

 

 

Works beautifully. But b/c I am single-sourcing (I think) whenver I make changes in the FM files and I have to update the RH files, the manual changes I've made to the RH files (as above) disappear. That is not going to work for me... I cannot do that manual work around everytime I update... too hard to remember, to time consuming, etc. etc.

 

Here is ultimately what I need:
-the PDF link to work in FM (which it does) - usable in PRINT generation
-a RH link which jumps to that location in RH - usable in ONLINE generation

 

Suggestions?

 

Thank you!

Adriana

  • Currently Being Moderated
    Community Member
    Nov 24, 2009 8:27 AM

    We do it in FM with Marker of Type Hypertext.

    Then in my dokument it works.

    |
    Mark as:
  • Currently Being Moderated
    Community Professional
    Nov 24, 2009 8:44 AM

    Adriana,

     

    It might help if you provide the exact format of the hypertext link markers that do not work for you.

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Nov 24, 2009 8:54 AM

    And what's the resulting HTML code when that FM doc page is imported/linked in RH?

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Nov 24, 2009 9:20 AM

    So you see it in the Design View pane - right? Flip to HTML View and see

    what it looks like there.

     

    If you want to remove any issue with conditions, try doing a new .fm doc

    with no conditions; add your hyperlink to any pdf you've got kicking

    around; create a new project in RH, and try pulling the FM doc in and

    see what's happening when you create some help from that.

    |
    Mark as:
  • Currently Being Moderated
    Community Professional
    Nov 24, 2009 9:52 AM

    Does the PDF file referenced in your link actually exist? The "message openfile" construct is very specific in that it tries to launch the application (Acrobat for PDFs) with the file. For generic links to another FM file/book being linked to, you should be using the "openlink" command (at least with PDFs).

    |
    Mark as:
  • Currently Being Moderated
    Community Professional
    Nov 24, 2009 9:56 AM

    Hi there

     

    Could it be as simple as the setting in the RoboHelp HTML Single Source Layout of "Mark Of The Web"? (MOTW)

     

    With MOTW enabled, links to local files such as PDFs don't work. At least when you test using Microsoft Internet Explorer.

     

    Cheers... Rick

     

     

     

    Helpful and Handy Links

    RoboHelp Wish Form/Bug Reporting Form

    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!

    Adobe Certified RoboHelp HTML Training

    SorcerStone Blog

    RoboHelp eBooks

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Nov 24, 2009 10:24 AM

    I'm not very familiar with hypertext links (because I don't use them at all in my project), but when I just tried to create one & bring it into a blank RH project, I got a warning telling me that the PDF I was linking to was outside of the project & therefore would not be shown. Maybe you need to add the PDF to RH's Baggage Files for any link to be brought in & working?

    |
    Mark as:
  • Currently Being Moderated
    Community Professional
    Nov 24, 2009 11:05 AM

    Adriana,

     

    I was asking if the PDF that you are linking to was being generated (as a cross-file link) during the FM book-building (and may not yet exist) or if it was a static, pre-existing PDF that you need to link to. For the static PDF, the "message openfile" construct should continue to be used. The "openlink" construct should be used when pointing to a FM file (not a PDF) that will become part of PDF that you want to link to.

     

    Anyway, I suspect that this line of thought isn't going anywhere...

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Jan 29, 2010 2:13 AM

    One note about the formatting: anytime you see class="FM_ (blah, blah) you have formatting being pulled from FM, rather than your css. You'll get cleaner, more controllable html if you map Para and Character tags to css elements instead.

    |
    Mark as:
  • Currently Being Moderated
    Feb 10, 2010 8:10 AM

    Hey there,

     

    I have the same problem. I want to use the hyperlink "message openfile /path/file.pdf" but the link vanishes during the import to robohelp html. Are there any news to that?

    Or is there another good workaround. I have a big (1000 pages) technical documentation in framemaker with hyperlinks to existing pdf-files. I want to import the framemaker book in robohelp and create a windows html help file (chm), packed with all linked pdf-files.

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Feb 11, 2010 9:57 AM

    Hello!

     

    I solved my problem: Use a hypertext with the following command: "message URL Path/MyFile.pdf"

    If you have now in Robohelp also in the baggage folder a folder "Path" and inside the "MyFile.pdf" then the created chm includes also the PDF-file

    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points