Copy link to clipboard
Copied
I am using RoboHelp V7 and WebHelp as my Primary Layout. My project has approximately 100 topics.
The project is basically an A-Z with various topics saved into 26 folders (A-Z). The printed documentation prints perfectly except that the H1 headings for all the 'A' topics are missing from the resulting Word document.
The table of contents in the Word document is correct, with "A" listed but none of the topics are listed in the TOC. The topics appear in their correction location in the word document except the H1 headings is missing. The heading "A" appears in the correct location in the Word document.
In each topic the H1 is in the header and draws its text from the name of the topic.
All the 'A' topics were created manually and the rest 'B-Z' were imported from an Word Document. This appears to be the only difference between the topics!!
All the topics (A-Z) are connected to the same template and access the same CSS file.
On the final screen of the Print Documentation Wizard (Print Document Appearance - Pninted Documentation) I have tried connecting to different templates from the drop down list under MS Word Template. I have also created my own *.dot file out of a resulting document (i.e. stripping all the text and saving as *.dot). But no luck.
Any thoughts?
Many thanks in anticipation.
Copy link to clipboard
Copied
Is this resolved?
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Peter,
I am still open to suggestions. Many thanks
Michael
Copy link to clipboard
Copied
The A topics were created manually and they are the ones with the problem. Check the HTML of the H1 style. Is it just <H1> or is it something else?
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
The HMTL for the two types of pages looks identical
An 'A' page
<div placeholder id=header style="width: 100%; position: relative;">
<h1><variable name=title x-format=default x-value="Air conditioning">Air conditioning</variable></h1>
</div>
A 'D' page
<div placeholder id=header style="width: 100%; position: relative;">
<h1><variable name=title x-format=default x-value="dress code">dress code</variable></h1>
</div>
The only obvious difference in the HTML for the two types of pages is that the pages imported from Word have the following line in their metadata:
<meta name=OriginalFile content="Orientation Guide - Draft Wording_V2.doc">
And both types of pages are clearly connected to the same style sheets.
Stumped?
Copy link to clipboard
Copied
<meta name=OriginalFile content="Orientation Guide - Draft Wording_V2.doc">
That usually causes problems rather than avoiding them.
What is the CSS for H1?
How big is the project zipped up?
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Peter
The style for H1 is default.css amended with the style for H1:
H1 {
font-size: 14pt;
color: #00a9cd;
line-height: 13pt;
font-weight: normal;
font-style: normal;
font-family: "Arial Black", sans-serif;
margin-top: 24pt;
margin-bottom: 6pt;
}
The project zipped is 3,368KB
I hope this helps.
Michael
Copy link to clipboard
Copied
Only in helping me decide I need to take a look.
Please send me the project. See the Contact page on my site.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
The problem seems to be caused by the fact that your topic title has been created in the Header rather than at the start of the body section.
If you move the title from the Header to the body in the A topics, the problem goes away.
So why isn't that a problem in all the other topics you may ask. It seems the line <meta name=OriginalFile content="Orientation Guide - Draft Wording_V2.doc"> and the line above are the answer. If you remove those two lines, then the other topics behave the same way.
I would move the title in all the topics and remove the two metatags to avoid future problems.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Peter
Thank you so much for solving this problem.
Just to round things out can I ask why wouldn't you simply add the missing lines to the HTML in the problem topics, rather than move the H1 headings into the body of all the topics. The advantage of having the H1 in the template header is that I can rename topics and not have to worry about them getting out of sync with the heading on the topic page.
Many thanks again for all your work on this issue.
Michael
Copy link to clipboard
Copied
You are assuming that you can no longer do that when the heading is in the body. I didn't type the text in, I simply moved the field you had used.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Point taken.
Excellent.
Thank you for all your efforts and patience with this matter.
Copy link to clipboard
Copied
I am having the same problem: topic headings not appearing in Printed Documentation but are OK in .chm. I believe that I have defind my H1 in the body of the template. What else do I need to check?
Copy link to clipboard
Copied
Can you recreate this in a new project with one topic?
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
With more investigation, it seems that the topic that I wanted printed in my doc was in the header, in a table, and despite the fact that it was H1, this seems to be the issue.
I have since rectified the project by creating a duplicate heading in the body of the page and used conditional text for print only. This is the risk one takes when taking over a project that someone else started.
Thanks to all who responded and tried to help.