cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Styler 6.0 m010: Want root element/title to "chunk" and wrap HTML Help

naglists
1-Newbie

Styler 6.0 m010: Want root element/title to "chunk" and wrap HTML Help

Hi,

I want the title of my root element to be used to build a top level "Help
Topic" in my .CHM. Currently all of the chapters are listed at the top
level as siblings. I'd like them to be children of the root element.

I have set HTML Chunking = yes for the root but that's not doing it.

Does anyone know how to do that?

--
Paul Nagai
2 REPLIES 2

Hi Paul--



Try this:



1) Open your stylesheet, go to the TOC tab

2) Select a table of contents that will generate the structure you
want, and select the "Use for chunked HTML outputs" option

a. If you want you can create a custom TOC specifically for HTML
Help, just make that the only one where the "Use for chunked HTML
outputs" is checked.

3) If necessary, click "Customize", and make sure your top level
title is selected for generating a TOC entry



I think that should do it.



--Clay





Clay Helberg

Senior Consultant

TerraXML


Thanks, Clay. That will get me the entry in the TOC, but it does not "wrap"
the chapters.It is the only context set as division level 1.
Chapter/Appendix and a few others are 2. I have 3, 4, and 5s.

That said, I am able to hack the .hhc before compiling the decompiled
.CHM's HTML into a DMP image to get the wrap but for now that's a hands on
fix. It'll get me through next week, but is obviously not sustainable.

Also, for anyone keeping score, it appears that .CHMs built from Editor/PE
6.0 will not compile in DMP 5.3 (unless you remove the anchors from the
.hhc ... that is, the "#styler.id.1.2.3.4" that point to <a<br/>name="styler.id.1.2.3.4"> inside your html ... which obviously breaks your
TOC). They will compile in DMP 5.4. I ran into another oddity: If your
chapters are emiting a non-breaking space, that space does not survive
through to the DMP Consumer image in 5.4. It shows up as a "bad" character
splat. Specifically, you get "Chapter 1%Title Goes Here" where the % is a
bad-character replacement glyph. Is that English?

Happy Thanksgiving to you all! See you on the other side, a few pounds
heavier 😉


Top Tags