Skip to main content
July 1, 2010
Question

How can we change Topic Names Generated after linking a document

  • July 1, 2010
  • 1 reply
  • 1596 views

Hi:

     I linked a document and generated a topic in RoboHelp for HTML. The topics are generated with some names and i am not able to rename them after they are generated.

I tried doing this as per help

Define the topic name pattern for generated topics

When you set heading styles for pagination, the heading text is included by default in the filename of the topic file created in RoboHelp. For example, suppose you define Heading 2 for pagination. If the Word document has two Heading 2 topics, “Introduction” and “Beyond basics,” the topics are created as files named introduction.htm and beyond_basics.htm. The result is intuitively named HTML files that indicate the topic title. In addition to this default scheme, you can define more naming conventions. If, however, the Help system uses sequentially numbered files, such as helptopic001.html, helptopic002.html, and so on, you can define the pattern to support that convention.
  1. Do one of the following:
    • Select File > Import > Word Document.

    • Select File > Link > Word Document.

    • Select File > Project Settings.

  2. In the Conversion Settings dialog box, select Other Settings.

  3. In the Other Settings tab, set the topic name pattern.

    Topics are named according to the selected pattern. You can select one of the following or create a topic name pattern.

Default

Uses the topic title text as the topic filename.

<$filename_no_ext>-<$paratext>

The name of the converted HTML topic contains the following:
  • The name of the Word source file without its extension

  • Hyphen as the separator

  • Paragraph text used to demarcate HTML topics

For example, a Word file named “Chapter.doc” with “1-Introduction” as paragraph text is converted to an HTML topic named “Chapter-1-Introduction.”

<$filename_no_ext>-<n>

The name of the converted HTML topic contains the following:
  • The name of the Word source file without its extension

  • Hyphen as the separator

  • A sequential number

For example, “Chapter.doc” is converted to an HTML topic named “Chapter-1.”

<$paratext_no_num>

The name of the converted HTML topic contains the paragraph text used to demarcate the HTML topic, without numbering. For example, paragraph text “1.Introduction” is converted to an HTML topic named “Introduction.”.

<$paratext>

The name of the converted HTML topic contains the paragraph text used to demarcate the HTML topic. For example, paragraph text “Introduction” is converted into an HTML topic named “Introduction.”

But, still its doing the same. Can anybody help me .

1. How can i generate what i need .

2. or How can i rename the topics which are genrated.

When i import word document, i can rename the topics. But, when i link them. They are readonly.

Thanks

Santhosh

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
July 7, 2010

You haven't said which of the options you were trying to use and what filenaming you were trying to achieve.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
July 26, 2010

Peter,

I am having the same problem as the person in the original post.  I would like the topic name to be <$filename_no_ext>-<n>.  But RH8 continues to name the topic with the paragraph text.  There must be a way to change the topic title.  I just cannot figure it out.  Please help!

Cindy

Participating Frequently
May 18, 2011

I verified it at my end and found that at times the "other settings" are lost if only other setting are updated but this behavior is a bit random.

I have a workaround for this issue :-

1. please link the document first

2. Open the File->project setting dialog and click Edit button for Framaker setting (this wont cause any issue as you wont be using these settings)

3. In "conversion setting" please update any "other settings" and then click OK

4. Now on the other setting for word documents will get retained and after this it will always be retained for even the new projects.

5. then OK on project setting dialog and can verify it by reoprning these settings

Hope this helps

Ashish