Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Page number not being removed from cross-reference

Explorer ,
Mar 24, 2012 Mar 24, 2012

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.

2.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 26, 2012 Mar 26, 2012

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

Translate
Community Expert ,
Mar 26, 2012 Mar 26, 2012

What do you want to appear? Just “step 5”?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 26, 2012 Mar 26, 2012

Yes, just the step 5, since the page number is not relevant in online help (but I want to maintain it for the PDF)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2012 Mar 26, 2012

I’d try using “step <$paranum>” in place of the field in the Conversion Settings and see how that comes through.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 26, 2012 Mar 26, 2012

That is what I tried, but it does not work. It still comes through with the page number.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2012 Mar 26, 2012

Does the preview change if you use just “<$paranum>” ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 26, 2012 Mar 26, 2012

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.

xref.gif

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2012 Mar 26, 2012

Since you’re linking, you may have to do something like at Force Update or Force Update All to get the change carried over

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 26, 2012 Mar 26, 2012

Yes, I have tried that but it is still not working.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 26, 2012 Mar 26, 2012

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

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 27, 2012 Mar 27, 2012

Hi Matt,

I'm not sure I understand. Can you elaborate?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 27, 2012 Mar 27, 2012

Sorry, I'm out of town training through Wed afternoon. Maybe Jeff could explain, or I can discuss later in the week.

-Matt

@mattrsullivan

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 27, 2012 Mar 27, 2012

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 27, 2012 Mar 27, 2012

I knew Matt had done something on it! I just couldn't find it quick enough ;>)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 27, 2012 Mar 27, 2012
LATEST

Excellent!

I tried a quick search myself, but couldn't find it!!

Glad it helped

-Matt

-Matt Sullivan
FrameMaker Course Creator, Author, Trainer, Consultant
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 27, 2012 Mar 27, 2012

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp