Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to customize TOC in Responsive HTML5

Explorer ,
Feb 22, 2024 Feb 22, 2024

Hi everyone,

I have RH 2022.0.346 and I would like to understand how to customize the TOC icons in a Responsive HTML 5 output. In particular, I would like to highlight with an arrow only the sections with subparagraphs.

Can you help me?

513
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 22, 2024 Feb 22, 2024

You're a couple of patches behind on your version, but I think all that is controlled by the Output Preset you select and customize. Not sure what you mean by "highlighting sections with subparagraphs"?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 22, 2024 Feb 22, 2024

Hi Jeff,

I try to explain what I mean with the following picture

elisa23592620fepw_1-1708610845801.pngexpand image

I would like not to display the arrow for the paragraphs highlighted in red as they don't have subparagraphs.

I tried using the options in Output preset but it doesn't work. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 22, 2024 Feb 22, 2024

That just looks like an "expand" command - have you got more heading levels below the "Upload & Data Quality" level? If so, you just need to customize the number of levels you want to have in the TOC.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 22, 2024 Feb 22, 2024

That's exactly the point: under "Upload & Data Quality"  I don't have heading levels and consequently I wouldn't like to see the arrow.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 22, 2024 Feb 22, 2024

What to you get when you click the expand arrow? What shows?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 22, 2024 Feb 22, 2024

At the beginning I have a right arrow like is shown in the following imagine

elisa23592620fepw_0-1708612830745.pngexpand image

when I click on it simply the right arrow change in down arrow (see the following imagine)

elisa23592620fepw_1-1708612945732.pngexpand image

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 22, 2024 Feb 22, 2024

Could be a bug in whatever Preset you're using - I'd update to Patch 3 first, then generate again & see if it still happens. If it does, try another Preset to see if that fixes it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 22, 2024 Feb 22, 2024

Thanks Jeff but I found a workaround: the paragraphs of the TOC that don't contain subparagraphs must not be changed into sections: they must remain topic, then, from the preset settings, just delete the icon associated with the topic.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 22, 2024 Feb 22, 2024

So...you changed something in the TOC layout?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 23, 2024 Feb 23, 2024
LATEST

I didn't transform the topics without subparagraphs into sections and eliminated the icon associated with the topic in the preset.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 22, 2024 Feb 22, 2024

Looks like you have solved the problem. This might help with other TOC issues. RH2022 The Table of Contents (grainge.org)

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp