Skip to main content
Inspiring
February 15, 2018
Question

context sensitive help, map-id, .ali file, re-map

  • February 15, 2018
  • 1 reply
  • 1504 views

I'm in trouble with a Microsoft HTML Help project which used to work but by someaction I did - and I don't know which it was - the MAP-Ids resp. the linkage bewteen the information in the .ali-file and the map-ids got lost.

What is the mechanism to make the map IDs known to a project? (a merged project in this case).

I have two mapfiles in my project :

all_mapids_sorted.h

BSSCDefault.h

all_mapids_sorted.h contains all map ids in the form:

#define Item 18269

(it's an ANSI encoded file containing Umlauts - I'm not sure whether I had to change this to UTF-8 but it used to work and I didn't change anything in that area).

My .ali file has the name

Merged_project.ali

and is a catenation of all .ali files in the subprojects

It contains for this Map ID:

<alias name="Item" link="Redirect.1.htm#its:SUBPROJECT.chm::/path\to\Item_explained.htm" >

When I compare the working merged CHM with the non working then I can see that all its:links are missing in the non-working.

By which mechanism do I make known the .ali and map-information to the project (merged~)?

--

Christoph

(maybe I have asked this before but forgot - IT WAS A DIFFERENT CAUSE THEN. MAP IDs don't get recognized (Umlaut problem?) )

P.S.: using HTML Help Studio I can see that the working CHM has 48KB of strings containing the content of the .ali file while the defunct CHM doen's contain this information.

This topic has been closed for replies.

1 reply

KrischuAuthor
Inspiring
February 15, 2018

General question: the files (*.h, *.apj, *.ali), do the have to be utf-8 encoded and have a respective BOM? Or do they have to be ANSI?

I have a problem that the rh compiler beefs about a map definition:

The following map definition has an invalid context ID: #define Winkel_80?60208

which is actually

#define Winkel_80° 60208

Peter Grainge
Community Expert
Community Expert
February 15, 2018

Don't know but suggest you create a new project and see how it is set out there.

My guess would be the use of the degree character is the issue.


See www.grainge.org for free RoboHelp and Authoring information.

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
KrischuAuthor
Inspiring
February 15, 2018

First off I found that there were TABs in the map_id.h file.

In the working case all map Ids where the the name of the ID contains a character >127 (ANSI), the CSH Test fails.
All other IDs are working, as said, in the working case.

When are the map (.h) and .ali files read into the project? At every new start ? Or are the burried in the .cpd file?

--

Christoph