This content has been marked as final. Show 4 replies
However, I make my code modifications in the output files, after generating WebHelp.
There are some RH templates that you can alter, if you want the change to carry over permanently, in every project. For project-specific or topic-specific code, go to the output file.
Templates are in the WebHelp5Ext folder, in RoboHTML and in a folder with the same name in RoboHELP, in the RoboHelp Office directory (under C:Program Files, unless you've installed it elsewhere.)
Needless to say, changing RH code templates can be dicey.
I'm with Harvey on this - rather than fiddle with the templates, I do my changes after generating. And I do a lot of customization.
So, I use ReplaceEm, which will search and replace multiple lines in multiple files.
And, you can save your search 'n replace processes to a script, and re-run them with two clicks. Just like a project .xpj or .hpj file, I usually have a .bkr (ReplaceEm) file for each project as well .
I keep modified files that have been adapted for various reasons (and which might otherwise be over-written at each generation) in a separate folder. I then copy these files (whfbody.htm, whibody.htm, whnjs.htm, whskin_frmset01.htm, whtdhtml.htm, and whthost.js) to the generated output folder to maintain the changes I want.
Another thing to keep in mind: some code changes might only "stick" if you Save the file before you exit TrueCode. That is, before you click anywhere else (TOC tab, Topics tab, etc.).
Leon and Roger,
Thanks for the info! It was just what I needed!