Copy link to clipboard
Copied
Hi all,
I'm using TCS 3 with my FM files linked to RH.
I have a cross-reference format that looks like this.
step 5 on page 1-6
In FM, the cross-reference is defined as follows:
<cross-ref>step <$paranum> on page <$paranum[h1,h1f_first,h1r_roman]><$pagenum>
I can't map this in Robohelp simply as step <$paranum>, possibly because there are two paranums in this cross-reference format.
When I generate the Webhelp, the cross-reference still appears as :
step 5 on page 1-6.
Is there any way to map this in RH so that the page number is removed? Preferably without having to modify my FrameMaker files?
Thanks in advance.
Hi Sue,
You can do this by using a Template in the FM linking options within RH. In the FM file used for the RH Linking, redefine the xref format. You can choose to define it "perfectly" in the template, or choose a simpler format that is then replaced in your mapping process.
-Matt
@mattrsullivan
Copy link to clipboard
Copied
What do you want to appear? Just “step 5”?
Copy link to clipboard
Copied
Yes, just the step 5, since the page number is not relevant in online help (but I want to maintain it for the PDF)
Copy link to clipboard
Copied
Copy link to clipboard
Copied
That is what I tried, but it does not work. It still comes through with the page number.
Copy link to clipboard
Copied
Does the preview change if you use just “<$paranum>” ?
Copy link to clipboard
Copied
Yes, the preview does change and appears how I want my output to appear. but, when I generate the Webhelp, the page number shows up. Argh.
Copy link to clipboard
Copied
Since you’re linking, you may have to do something like at Force Update or Force Update All to get the change carried over
Copy link to clipboard
Copied
Yes, I have tried that but it is still not working.
Copy link to clipboard
Copied
Hi Sue,
You can do this by using a Template in the FM linking options within RH. In the FM file used for the RH Linking, redefine the xref format. You can choose to define it "perfectly" in the template, or choose a simpler format that is then replaced in your mapping process.
-Matt
@mattrsullivan
Copy link to clipboard
Copied
Hi Matt,
I'm not sure I understand. Can you elaborate?
Copy link to clipboard
Copied
Sorry, I'm out of town training through Wed afternoon. Maybe Jeff could explain, or I can discuss later in the week.
-Matt
@mattrsullivan
Copy link to clipboard
Copied
Hello again,
I found this blog (which I think you authored 🙂 ), and tried it. It works like a charm!
http://blog.roundpeg.com/blog/controlling-robohelp-output-with-a-framemaker-template/
Thanks!
Sue
Copy link to clipboard
Copied
I knew Matt had done something on it! I just couldn't find it quick enough ;>)
Copy link to clipboard
Copied
Excellent!
I tried a quick search myself, but couldn't find it!!
Glad it helped
-Matt
Copy link to clipboard
Copied
I was going to refer her to that webinar that you did that I think touches on it, but I can't find it anymore on your blog.