Multiple TOC's - how to switch

HM5 served us well, now its time has come and it has been replaced... If you have HM5 questions, please post them here.

Moderators: Alexander Halser, Tim Green

Post Reply
Lars Bech
Posts: 1
Joined: Tue Apr 19, 2016 1:41 pm

Multiple TOC's - how to switch

Unread post by Lars Bech »

Hi !
I have 4 Table of Contents. In my .hmxp-file I have <xi:include parse="xml" href="Maps/table_of_contents_3.xml"/> -yet I wish to use table_of_contents.xml as it contains of all my topics and not only two.
In Help&Manual I cannot find the 3 other TOC's and filtering only provides filtering within this TOC (only 2 topics).
I have tried several times to edit the .hmxp-file and edit the Maps/table_of_contents.xml but when I start Help&Manual I get an error messaging saying "ProjectOpen: unexpected tag topicref".

Anybody got a tip for me on this issue ?
Thanks in advance.

Lars Bech, VITEC Software in Denmark
User avatar
Tim Green
Site Admin
Posts: 23143
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Multiple TOC's - how to switch

Unread post by Tim Green »

Hi Lars,

Please please pleased don't try to edit any XML files to achieve this! It is much more likely that you will break something than that you will achieve anything positive, and this is also not the way to switch TOCs.

You can select the TOC you want to use directly in the Publish screen, with the drop-down selector under the heading "Select Table of Contents to Publish With". Please see this chapter in the help for more information on this:

Publishing:
https://www.helpandmanual.com/help/inde ... e_tocs.htm

Important information on using multiple TOCs:
https://www.helpandmanual.com/help/inde ... _multi.htm
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Post Reply