Copy link to clipboard
Copied
When we generate the help file using RHTML, it picks a random file and makes one of the characters uppercase (title case). It's happened twice now. For example, we have the topic filename Program_Summary_window.htm and it changed it to Program_Summary_Window.htm for the generated file. This works fine on my system either way but when our programmers take it, it doesn't "reference" properly. I'm guessing they are not taking a whole, "fresh" file but are merging it in with the old one from the last release, but I am waiting to hear from them. Regardless, how can we stop RH from changing the case in the filename? Why is it doing this? Is it taking the filename from the topic title (which is upper/lower, sentence case)? BUT for whatever reason, it's NOT doing that to others that are set up the same way. Also, last release (month), it did it to a different file. This release (month), it picked this file. We can't figure out why and when it's doing this. It seems to only pick one file each time. So odd and random...
We also found a "ghost" topic... There was a link in the TOC to a topic that really didn't exist but was the same name ans another topic except with underscores and we think RoboHelp "helped" by creating this ghost topic... so many weird things. But like I said, the orginal help file for this was created ? years ago...I can't even remember how many years ago. So, that's why we are finding odd things. So, we changed those hyperlinks to cross references and found that some were going OUTSIDE of t
...You can search using Find and Replace set to Source View. Be careful with the Backup Options. It could create a ton of files.
Match Case could be useful.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
What output format are you creating?
Copy link to clipboard
Copied
Responsive HTML
Copy link to clipboard
Copied
Is it reproducible using a different template/preset or format (frameless?)
Copy link to clipboard
Copied
it did the same thing in frameless... That said, we were trying to go frameless and had some other issues with that so we went back to RHTML for this release to get it out the door. We might try rebuilding this help file to see if that fixes some things, but didn't know if there was something known causing this.
Copy link to clipboard
Copied
Hmm, that sounds like some weirdness in your project. Did the content get imported from someplace initially?
Copy link to clipboard
Copied
not that I can recall, but they are files that have been around for a long time.
Copy link to clipboard
Copied
Is this definitely when you generate rather than publish? When you generate, all files are deleted from the target folder first. As a result I can't see how the problem could occur at that stage. I have not seen anyone report such an issue in about 25 years of using RoboHelp. I could see it happening with publishing as unchanged files don't get republished.
The latter would account for it working for you and not the developers.
That said it seems like you have checked things out thoroughly. Have you tried generating/publishing to new folders?
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Yes, I selected Generate and generated to an empty folder on my local drive and got the same thing. So odd. We might try just rebuilding the project. I'll let you know if we find a culprit. This same help project did not play well with frameless either.
Copy link to clipboard
Copied
Try just deleting the .rh folder.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Ok, thanks! I tried it, but same results... 😞 sad
Copy link to clipboard
Copied
Can you share the project? If you can, then see the Contact page on my site and send the project as instructed there. Do make sure you include a link to this thread and please do not email the project direct.
Happy to take a look.
Copy link to clipboard
Copied
Can you share the project? If you can, then see the Contact page on my site and send the project as instructed there. Do make sure you include a link to this thread and please do not email the project direct.
Happy to take a look.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
I can't share it sadly... I might could after going through a whole legal mess. We'll see if we can figure it out and if not, we might head down that road. Thank you so much for your suggestions!
Copy link to clipboard
Copied
It's unfortunate that RH doesn't have a utility to clean out old "cruft" (highly technical term there lol) in a project's content. At least Framemaker has the ability to do a "MIF-wash" that exports the content to a text-like file that you can reimport back into FM. Oh well, different platforms, different architecture...
Copy link to clipboard
Copied
Just a thought. Have you tried Find and Replace to see if it teases out anything?
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
Hey Peter! We think we figured out that someone used hyperlinks instead of cross-references and linked to outside files possibly. So we need to change all the hyperlinks to cross-references and I see on your site at https://www.grainge.org/RoboHelp_Tour/rh2022/authoring/scripts.htm that RoboHelp has supplied scripts and the Cross Ref Converter should do this for us, BUT when I select Scripts from the left panel, nothing is in it. Do we need to download these scripts from Adobe and if so, where and how? Our Scripts folder/panel is empty. 😞 Thank you so much for any help! We are up against a deadline.
Copy link to clipboard
Copied
You aren't using that topic file name in the Start Page field in the output preset are you? I've seen that cause weird issues with just that file name in the past.
In case you are, the start page should either be "index.htm" - the standard file for websites - or a a unique file name that does not exist anywhere in your project. If you change it, you will need to work with your developers as that will affect their help calls.
Copy link to clipboard
Copied
no, it's not the start page. I think we might have figured out that it's hyperlink issues.
Copy link to clipboard
Copied
Hyperlinks shouldn't change case but I'll leave that with you.
Look in C:\Users\YOURUSERNAME\AppData\Roaming\Adobe\RoboHelp\2022\scripting for the scripts. If not there I have attached the one you want. Just change the extension to .js.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
Copy link to clipboard
Copied
We also found a "ghost" topic... There was a link in the TOC to a topic that really didn't exist but was the same name ans another topic except with underscores and we think RoboHelp "helped" by creating this ghost topic... so many weird things. But like I said, the orginal help file for this was created ? years ago...I can't even remember how many years ago. So, that's why we are finding odd things. So, we changed those hyperlinks to cross references and found that some were going OUTSIDE of the project and going to a folder in the source controlled files. WE THINK we've fixed the origninal problem along with others. We will find out tomorrow when the team uploads it into the build.
Thank you for the instructions and file! We will try that out! Also, is there a way to search through all of the topic HTML coding for a path or string of words without opening each project in the HTML view? Thank you for being a wealth of information Peter!
Copy link to clipboard
Copied
You can search using Find and Replace set to Source View. Be careful with the Backup Options. It could create a ton of files.
Match Case could be useful.
________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.