hello,
I have an Impict image which has 2 sorts of links (Hotspost Type = Topic link) :
- internal links to the hm3 document
- external links to an other hm3 document
when compiling the hm3 file in "HTML HELP" the compiler indicates the following error : Image "MyImage.ipp" in topic "MyTopic" references an undefined topic: "ExternalTopicID". The link is ignored.
did anyone experience the same problem and solve it ?
thanks in advance
Compiler Messages undefined topic
Moderators: Alexander Halser, Tim Green
Compiler Messages undefined topic
Best Regards,
Fuochi Cedric
Fuochi Cedric
- Tim Green
- Site Admin
- Posts: 23189
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
The "Lookup topic IDs from help project" option in the Impict hotspot dialog box is a little confusing -- it will look up the topics in the project currently open in H&M (or projects, if you have more than one instance of H&M running) but it doesn't actually create an external link; it always assumes that the topic you are linking to is in the same project as the image containing the hotspot.
To create a hotspot to a topic in another CHM file you need to use a macro hotspot with the following HTML code::
The "anchor" entry is only necessary if you are linking to an anchor in the target topic, of course. The other help file must be in the same folder/directory as the help file containing the image with the hotspot making the call. Don't try to put the other help file somewhere else and use paths in the code -- this will fail on many user's systems!
To create a hotspot to a topic in another CHM file you need to use a macro hotspot with the following HTML code::
Code: Select all
ms-its:otherhelpfile.chm::/othertopic.htm#anchor
The "anchor" entry is only necessary if you are linking to an anchor in the target topic, of course. The other help file must be in the same folder/directory as the help file containing the image with the hotspot making the call. Don't try to put the other help file somewhere else and use paths in the code -- this will fail on many user's systems!
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
- Tim Green
- Site Admin
- Posts: 23189
- Joined: Mon Jun 24, 2002 9:11 am
- Location: Bruehl, Germany
- Contact:
Links to external files are not supported in PDF.fuochi wrote:an other question is, how to do the same link when compiling PDF files ?
You can reuse the image with the ms-its: macro as often as you like, provided you are using it to link to an external help file. If you want to use the same image to link to a topic in the same project in which the image is located you must make another version with a hotspot using a normal topic link.Must I create a new IPP image for each compilation I want to do ?
Regards,
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Tim (EC Software Documentation & User Support)
Private support:
Please do not email or PM me with private support requests -- post to the forum directly.