Copy link to clipboard
Copied
Hi community,
publishing a book file to chm creates an unexpected structure in the chm toc (hhc file).
In the book we use folders to control the numbering of chapters, sections, subsections. Numbering works fine in book toc. No problems when we publish PDFs. Numbering works fine in chm as expected.
The usage of folders results in unexpected nesting in the chm toc. Here is an example:
## Given structure in the book file:
## Result in the chm toc:
We tried different approaches without success (but other unexpected outlines ;-)):
Our toolset:
Unfortunately we cannot use the following workaround:
Does anyone have any ideas how to fix this problem without using the workaround above?
Thank you very much in advance for your help.
Andreas
Your specific output to the (very old, Windows only) CHM format is likely the issue. Moving to something more contemporary might be a better way to resolve the nesting.
Copy link to clipboard
Copied
I don't have a fix for your specific issue (I'm finding that all HTML outputs from FM are buggy at best too), but this blog from Barb Binder helped me find a new way to approach numbering in my manuals which might be worth a look? Adobe FrameMaker: Numbered headings, continued – Rocky Mountain Training
Copy link to clipboard
Copied
Hi ArmadilloC, thank you very much for your reply. The type of numbering described in the blog is very familiar to me. I have used it for many years. This solution is an "emergency solution" that I will use if I can't find another way. I hope that the classic way of numbering will solve my problem with the structure in CHM.
Copy link to clipboard
Copied
I've created a bug in Adobe tracker: https://tracker.adobe.com/#/view/FRMAKER-15040
Maybe the Adobe team can help …
Copy link to clipboard
Copied
Hi community,
here are some new findings from my research:
## Pre-conditions
## Possible problem
When publishing CHM, it seems that the levels from the book TOC create conflicts with the folder structure. That leads to obscure results in CHM TOC (hhc file) -> see screenshots above.
## Approach 1
## Approach 2
## Approach 3
## Conclusion / final question
If I cannot use folders/groups to structure my books and to use book component numbering: Can anybody explain me the advantages of folders/groups.
Thank you very much in advance for your opinions/feedback.
Andreas
Copy link to clipboard
Copied
Your specific output to the (very old, Windows only) CHM format is likely the issue. Moving to something more contemporary might be a better way to resolve the nesting.
Copy link to clipboard
Copied
Hi Matt,
thank you very much for your reply. I completely agree with you that CHM is absolutely outdated. As far as I know, the last update of the HTML Workshop is 22 years old ;-). Unfortunately CHM is a major requirement from our client. The software is Windows only, desktop only.
The use of groups instead of folders leads to the same obscure results. I think the book structure conflicts with the structure of book TOC.
Publishing to other outputs like HTML5 or Basic HTML creates a new challenge: Publishing leads to FM crash with critical internal errors (FM17.0.3 - Error 17034, FM17.0.4 - Error 17044). I've reported these errors to Adobe (incl. dump files and meta text files).
Due to these errors, we can only export two formats at the moment (PDF and CHM). 😞
Copy link to clipboard
Copied
Understood...the client's deliverable requirement obviously eliminates many options.
Overall, loss of convenience in numbering and organization by removing folders in the book file, then, looks like the obvious solution. Do you see any other options?
Copy link to clipboard
Copied
In my opinion, the best option is to switch from CHM to HTML5. This requires some convincing of the customer. Hopefully the problems with publishing HTML5 will have been solved by then. This is not possible for us at the moment due to the critical error.
Other options could be:
However, I think that these two options will not be supported by the customer.
Copy link to clipboard
Copied
Hi Andreas, hi Matt! in our chm projects in FM/RH 2022 we have similar handicaps (wrong ivz entries, wrong indentation).
These problems would not exist with HTML5. The output looks fine.
My question: Andreas, were you able to make the switch from chm to HTML5? Will the HTML5 project be integrated locally?
I thought HTML5 projects should rather be integrated web-based. (Correct me if this is outdated).
Copy link to clipboard
Copied
Any luck updating to Patch 4?
Copy link to clipboard
Copied
Unfortunately not. Conflicts between book's TOC levels and folder/group levels in book structure are still existing. Obscure nesting in hhc file is still existing. Critical internal FM errors while exporting HTML5 or Basic HTML are still existing. I hope for the next patch.
Copy link to clipboard
Copied
I'd be tempted to test the Publish to HTML5 route with something like the sample project to see if it's the FM files/book's issue or your copy of FM2022's.
Copy link to clipboard
Copied
I made the following tests:
New book with new files:
--> Result: Error 17044
Other tests:
In the next step I will ask our IT for re-installation of FM. In my opinion the issue is with my FM copy.