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

Heading 1 level missing from TOC?

Guest
Mar 06, 2009 Mar 06, 2009
I have this little RH 7 sample project.

When converting to PDF using 'Printed Documentation Wizard', the primary Heading 1 level is NOT included in the MS Word/PDF 'Table of Contents'.
I'm not using any MS Word templates, just the project's CSS styles.
Arcrobat PDFMaker settings in MS Word are set to default and include Heading 1-9.

I've searched and searched but I don't know how to include this Heading 1 level in the TOC.

When checking the MS Word 2003 document through Insert >> Reference >> Index and Tables, the Heading 1 level is missing from the tab 'Table of Contents'.
When adding the Heading 1 level there through 'Options' button, the TOC updates correctly, but I don't know how to include this Heading 1 level through RH.

Sample project here

A note on the sample project:
You'll see that every topic title associated with TOC book is excluded from PDF through conditional build tags.
This was done so prevent titles from being printed twice in PDF.

For example, in the TOC there's an item titled 'Balance sheet', the associated topic Balance_sheet.htm has exactly the same title 'Balance sheet'.
To prevent this title from being printed twice in PDF, the topic title was excluded through conditional build tag.

Any help would be appreciated.

Best regards,
Herman
TOPICS
Classic
4.7K
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 07, 2009 Mar 07, 2009
I have looked at your project. What you have excluded is the topic heading, not the topic title. You cannot exclude the topic title.

What you are seeing in your output is not the topic title and the topic heading but the TOC book name plus the topic heading.

See the article on my site about Printed Documentation.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
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
Guest
Mar 09, 2009 Mar 09, 2009
You're right Peter, I inadvertently wrote 'topic title', but I meant 'topic heading'.

I've compiled the printed documentation on another PC and I now realize that you probably haven't spotted the issue of the missing heading 1 level in the TOC, since on this other PC the TOC in MS Word in created correctly.

Here's a link to a PDF showing both TOCs, with on page 1 the wrong TOC and on page 2 the correct TOC compiled on another PC. I've highlighted the missing Heading 1 levels with yellow.

It must be a Word issue IMO (both PCs are running MS Word 2003 and Acrobat 8 Pro, one PC XP, the other Vista), but I can't track it down. This is driving me nuts.

Any suggestions?

Best regards,
Herman
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 09, 2009 Mar 09, 2009
Are you sure the print layout is 100% the same on both PCs, particularly the Build Expression?

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
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
Guest
Mar 09, 2009 Mar 09, 2009
> Are you sure the print layout is 100% the same on both PCs, particularly the Build Expression?

I'll check again this evening when I have access to the other PC.

Thanks Peter!
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 09, 2009 Mar 09, 2009
I realised that I generated the document after seeing the build expression and jumping to the conclusion that was to blame.

I have now generated the document with and without it.

WITH - I get the duplication that you are trying to avoid.

WITHOUT - I get the TOC with just the correct headings, the second one in your PDF.

So I am getting the same result as on your second machine, the correct result, meaning we are not really any futher forward.

Try generating on the rogue machine to just Word, not the PDF. When the document opens in Word instead of reinserting the TOC, right click to the right of the TOC and select Update Field. Does that correct it?

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
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
Guest
Mar 09, 2009 Mar 09, 2009
> > Are you sure the print layout is 100% the same on both PCs, particularly the Build Expression?
> I'll check again this evening when I have access to the other PC.

I took a copy of the project on the rogue machine, copied it to the second machine, ran the printed documentation wizard and checked the settings. The result is as expected. I get the TOC with the correct headings, the second one in my PDF.

In the meantime I've also compiled the printed documentation on a third PC (with XP + PDF plugin that comes with RoboHelp). The result is the wrong TOC, the first one in my PDF.

> Try generating on the rogue machine to just Word, not the PDF. When the document opens in Word instead of reinserting the TOC, right click to the right of the TOC and select Update Field. Does that correct it?

I'll try that tomorrow when I have access to that PC.

Very weird.

Thanks again Peter.

Herman
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
Guest
Mar 09, 2009 Mar 09, 2009
> Try generating on the rogue machine to just Word, not the PDF. When the document opens in Word instead of reinserting the TOC, right click to the right of the TOC and select Update Field. Does that correct it?

No.

To correct the TOC in MS Word, I have to go to Insert >> Reference >> Index and Tables. The Heading 1 level is missing from the tab 'Table of Contents'.
When adding the Heading 1 level there through 'Options' button, the TOC updates correctly.
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 10, 2009 Mar 10, 2009
This is sounding more like a Word issue. With similar issues in the past, that tab has been OK and the problem has been elsewhere.

1] Do you also get different problems on your machine if you generate with no build expression? I am expecting a Yes but want to check.

2] Try using Style Mapping template instead of CSS Styles.

3] Rename you Normal.dot and open Word so that it creates a new one. Try again. Afterwards, trash the new template and restore the old one.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
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
Guest
Mar 10, 2009 Mar 10, 2009
> This is sounding more like a Word issue.

I agree

> 1] Do you also get different problems on your machine if you generate with no build expression? I am expecting a Yes but want to check.

Yes, I get the duplication of headers that I was trying to avoid. TOC is still WITHOUT heading 1 levels (Intro, Balance sheet etc.)

> 2] Try using Style Mapping template instead of CSS Styles.

Tried Style Mapping.dot plus other MS Word template. I'm still getting incorrect TOCs.

> 3] Rename you Normal.dot and open Word so that it creates a new one. Try again. Afterwards, trash the new template and restore the old one.

Did that. Compiled with 'None-Use the Project's CSS Styles' plus Style Mapping.dot. I get incorrect TOCs

Herman
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
Guest
Mar 10, 2009 Mar 10, 2009
BTW, I checked for other installed MS Word add-ins. There a no add-ins installed.

I do have a WebEx toolbar in MS Word that is not installed on the PC that creates the correct TOC. I don't know how it's integrated but it doesn't show as an add-in. I'll nevertheless uninstall WebEx and try again.
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 10, 2009 Mar 10, 2009
Running out of ideas now.

1] Try one of the supplied sample projects.

2] Try a repair of Word.

3] Try an uninstall and reinstall of RH.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
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
Guest
Mar 10, 2009 Mar 10, 2009
LATEST
> I do have a WebEx toolbar in MS Word that is not installed on the PC that creates the correct TOC. I don't know how it's integrated but it doesn't show as an add-in. I'll nevertheless uninstall WebEx and try again.

Doesn't change a thing :-(

I'll try your other suggestions. Thanks Peter.
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