No topic titles in index?

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

No topic titles in index?

Unread postby BavDev » Thu Jan 15, 2009 12:53 pm

I have entered some keywords to start up my index list.

In the compiled CHM, this index list displays correctly.
However, when I doubleclick a keyword, I get a nonsense list of many topics with title "Unknown" (just guessing, in German this is Unbenannt). Each of them represents one of the topics with that keyword.

It looks like I am missing an additional field where to enter the topic title for the index?

Please help
Stephan
BavDev
 
Posts: 26
Joined: Fri Jan 09, 2009 2:29 pm
Location: Mitterteich

Unread postby Tim Green » Thu Jan 15, 2009 1:58 pm

Hi Stephan,

In the Topic Options tab check the "<TITLE> Tag:" field, if it is empty this may be the cause of your problem. This is normally filled automatically by Help & Manual but it may not be if you import your topics from some other source.
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.
User avatar
Tim Green
Site Admin
 
Posts: 19549
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Unread postby BavDev » Thu Jan 15, 2009 4:06 pm

Tim,
the Title tags are all filled with the correct titles.
There are some topics which had been copied from another project which is the import of an original Winhelp file, but also those do have the right title tags.

But the topics of which I am talking had been created manually in H&M.

Any new ideas?

Thanks
Stephan
BavDev
 
Posts: 26
Joined: Fri Jan 09, 2009 2:29 pm
Location: Mitterteich

Unread postby Tim Green » Thu Jan 15, 2009 5:15 pm

Hi Stephan,

To work out what the problem is here I need to see your Help & Manual project. Please save the project file in .hmxz single-file format, pack it in a Zip or Rar archive and mail it to support AT ec-software.com (replace the AT with @). Please include your full name and a brief description of the problem, not just a link to the forum. Thanks! :)
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.
User avatar
Tim Green
Site Admin
 
Posts: 19549
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Re: No topic titles in index?

Unread postby Jens Krieger » Mon Jul 03, 2017 10:45 am

Hi Tim and Stephan,

Although this entry is already 8 years old its solution is of an interest to me as well as I face the same issue. RH imported project, title tags are all correctly filled but the titles in multi result index entries are all "unknown" when exported to HTM-help (chm). In Webhelp is works fine.

Edit:
Our title and keyword entries are preceeded by translate=true:
Code: Select all
<topic template="Default" status="Complete" lasteditedby="Jens">
  <title translate="true">Acquiring HDR images</title>
  <keywords>
    <keyword translate="true">HDR image (High Dynamic Range)</keyword>
    <keyword translate="true">Image (acquiring)</keyword>
    <keyword translate="true">Image acquisition<keyword translate="true">HDR image</keyword></keyword>
  </keywords>


I will temporarily omit the translate tag and see what happens.

Edit:
No change. Any idea?
Jens Krieger
 
Posts: 8
Joined: Sun Jun 25, 2017 8:24 pm

Re: No topic titles in index?

Unread postby Tim Green » Mon Jul 03, 2017 12:22 pm

Hi Jens,

I will check this, but I suspect the problem is simply that the CHM viewer does not include the topic title in the keyword index because they don't really belong in the index. The index contains index keywords, and those are defined by the author. If you want the topic title to be included in the index you would have to add it as an index keyword. To be honest, I would never expect the title to be in the index unless I did that. There is no logical reason for it to be there. Even so, I will check on this and get back to you here. :)
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.
User avatar
Tim Green
Site Admin
 
Posts: 19549
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany

Re: No topic titles in index?

Unread postby Alexander Halser » Mon Jul 03, 2017 1:22 pm

Hi Jens,

Please send a test project to reproduce this (the H&M project source). When a dedicated keyword in a CHM file points to 2 or more topics, the CHM viewer displays a topic list to select from. The topic list shows the topic title and the help file.

If that list shows entries with "untitled" - as shown in the screenshot below, it takes 2 things to make this happen:

1) The page template for the HTML export is missing a <title> tag. But even then, the CHM viewer takes the topic file name as the title (as shown in the screenshot).

2) The topic ID must start with an underscore, here: "_mytest". Topics that start with an underscore are excluded from CHM full-text search. H&M exports these topics with the extension ".xhtml" instead of ".html".

In all other cases, the topic title (at least the topic file name as title) should be displayed.

Clip1.gif
You do not have the required permissions to view the files attached to this post. This may mean that you can't view them at all, or it may just mean that you need to log into the forum to view them.
Alexander Halser
Senior Software Architect, EC Software GmbH
User avatar
Alexander Halser
EC-Software Support
 
Posts: 3730
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria

Re: No topic titles in index?

Unread postby Jens Krieger » Mon Jul 03, 2017 7:41 pm

I checked both the template as well as a few topics which I picked and everthing looked well: the template for export had the <title>-tag and there were no underscores at all.
Nevertheless once again I set the template back to default values. Apperantly there werent any changes which I could obseve in the HTML source window - but it changed the whole story: both the topics list shows no "unknown" entries anymore and the full text search is working.
I confirmed it with the back up copy and compared the HTML source window content with the new one - no difference in apperance but a huge difference in the result.
I'm glad its solved but of course its a little bit curious to me - do you have any idea for the core reason of it?

[EDIT]: Strange enough, now the Simple Layout tab is greyed and cannot activated anymore?!!
Jens Krieger
 
Posts: 8
Joined: Sun Jun 25, 2017 8:24 pm

Re: No topic titles in index?

Unread postby Alexander Halser » Mon Jul 03, 2017 10:20 pm

Strange enough, now the Simple Layout tab is greyed and cannot activated anymore

This means you have modified the simple default layout. To restore it, click the "Reset template" button.
Alexander Halser
Senior Software Architect, EC Software GmbH
User avatar
Alexander Halser
EC-Software Support
 
Posts: 3730
Joined: Mon Jun 24, 2002 7:24 pm
Location: Salzburg, Austria


Return to Help & Manual 5 Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron