Copy link to clipboard
Copied
Morning,
My organization has specified the styles that they want to use. I currently have a RoboHelp 8.0.2 project that is the single source for 4 printed documents, 1 HTML Help and 1 WebHelp. Today I was told to update the style of the Table of Contents to match.
What I have done so far:
I have already created CSS for all the content of the topics. I have changed the styles of H1, P and a number of others, and I have successfully linked the topics to that CSS. I have created a second CSS for formating of 2 of the printed documents. I have learned how to change the CSS used per topic and per Single Source Layout. (1 CSS is used as the default for all topics in the project. That same CSS is used as the "Apply to all Topics" for one of the printed documents. A second CSS is used only for a couple of the "Apply to all Topics" when printing specific files.)
The problem:
The difficulty is when I add Tables of Contents to the printed documents. The TOC is created and is output to the file. But none of my custom CSS has been applied.
Is there somewhere that I can specify that the TOC should use a specific CSS? Or can it use the CSS I am using for the output of the printed document?
Hope that makes sense.
TIA,
Jenny
Copy link to clipboard
Copied
I haven't looked into what controls the TOC font when you generate a printed document using the CSS option. I map to a Word template that is based on the supplied Style Mapping template but where I have edited the styles to my requirements. I have also defined the TOC style there and that suits my needs.
There is more on my site. See Printed Documentation.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Hi Peter,
Thanks so much for that.
It appears that you recommend doing the styles in Word, rather than RH. Is that correct?
So, each topic in RH is set to use the default.css file. Then I apply styles in Word. I can build a DOT file with all the styles I want, then apply that DOT to the DOC generated by RH. Hmmm, if that is the case, then any change I need to make requires editing the DOC files anyway. Do I have that right?
My hope was that I have all my content in RH and then output as needed (using multiple CSS to change appearance). Change once in RH, re-generate all the layouts, and publish. But I need to check and edit formatting in Word each time?
Thanks,
Jenny
Copy link to clipboard
Copied
If I have followed right you have one CSS for your online help. So what you do is create a Word template DOT file, not DOC. I strongly recommend you take a copy of the supplied Style Mapping template. Why is explained on my site. The tears from other approaches will be yours. ![]()
You edit that DOT file in Word so that the styles are as you want and any style in your CSS has a style in Word to which it can be mapped. In other words, keep the names similar.
When you generate the printed document, you select that DOT template and RoboHelp will create a DOC file based on it.
You wanted to have two CSS files, one for online help and one for print. This way you have a CSS for OLH and a DOT for print. Pretty much the same thing is it not?
See www.grainge.org for RoboHelp and Authoring tips
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more