RoboHelp 2020 - Custom bullet list in generated Microsoft Help (chm) file
I am using RoboHelp 2020.3.32. I am working on a help project that was created with a previous version of RoboHelp and that I have upgraded to RoboHelp 2020. From that project, I want to create a Microsoft HTML Help (.chm) file. My help content contains bullet lists, which should have custom images (from an image file called TriangularBullet.png, which is in the /contents/assets/images folder of the project) as bullets. The CSS from my original project contained a custom ul.ListBullet style, which, with the old version of RoboHelp, was working fine both when authoring the content in RoboHelp and in the generated .chm file:
ul.ListBullet {
list-style: url(../images/TriangularBullet.png);
}
ul.ListBullet>li {
font-size: 11pt;
margin-bottom: 6pt;
padding-left: 6pt;
}
In RoboHelp 2020, using the above style, the bullets are displayed correctly in both Author and Preview modes but, when I generate a .chm file from the project and open the .chm file, the custom bullets are replaced by default bullets (small discs).
I have tried to create a new class (TriangularBullet) using the class definition user interface in RoboHelp 2020. This generated the following CSS:
ul.TriangularBullet {
--prefix-size: 48.5px;
--prefix-fixed-size: false;
--prefix-gap: 16px;
--list-indent: 48px;
--vertical-spacing: 0px;
counter-reset: item1;
list-style: none;
padding-left: var(--prefix-size);
margin-left: calc(var(--list-indent) - var(--prefix-size));
}
ul.TriangularBullet>li {
--prefix-size: 48.5px;
--prefix-fixed-size: false;
--prefix-gap: 16px;
--list-indent: 48px;
--vertical-spacing: 0px;
position: relative;
margin-top: calc(var(--vertical-spacing) / 2);
margin-bottom: calc(var(--vertical-spacing) / 2);
}
ul.TriangularBullet>li:before {
counter-increment: item1;
content: counter(item1, none)url('../images/TriangularBullet.png');
text-align: right;
position: absolute;
left: calc(-1 * var(--prefix-size) - var(--prefix-gap));
margin-right: var(--prefix-gap);
width: var(--prefix-size);
overflow: hidden;
}
Again, this displays the custom bullets correctly in both Author and Preview modes but, when I generate a .chm file from the project and open the .chm file, no bullet is displayed at all.
I would be very grateful if somebody could tell me how to create content with custom bullets in such a way that the custom bullets are correctly displayed in a .chm file generated from the RoboHelp project.
Many thanks in advance.

