I've got two styles, one for setting the list to "1", the other for continuing the numbering. The advantages of doing this are:
1. It is possible to reference individual list items using an xref.
2. The formatting can be better controlled than using the standard HTML <ol>
There are doubtless others, as this seems to be quite a common approach. At least, I have seen others on these forums using this method.
Here are the styles:
Code: Select all
p.nummerierteListe_1
{
mc-auto-number-format: 'N:{n=1}. ';
mc-auto-number-position: outside-head;
mc-auto-number-offset: 20px;
margin-left: 20px;
margin-bottom: 6px;
margin-top: 3px;
}
p.nummerierteListe_ff
{
margin-left: 20px;
mc-auto-number-format: 'N:{n+1}. ';
mc-auto-number-position: outside-head;
mc-auto-number-offset: 20px;
margin-top: 3px;
margin-bottom: 6px;
}
This is an example of my source for the topic shown in the graphic in my previous post:
Code: Select all
<p class="Grundtext">To open the <span class="Taste">Administration</span>:</p>
<p class="nummerierteListe_1" MadCap:autonum="1. ">Click <img src="../Resources/Images/RMS_Icons_etc/icons/16/Administration_16.png" /><span class="Taste">Administration</span>in the menu bar.</p>
This is the corresponding output from Flare:
Code: Select all
<p class="Grundtext">To open the <span class="Taste">Administration</span>:</p>
<table class="AutoNumber_p_nummerierteListe_1" style="width: 100%; margin-left: 0;" cellspacing="0" cellpadding="0">
<col style="width: 0px;" />
<col style="width: 20px;" />
<col style="width: auto;" />
<tr>
<td valign="top" />
<td class="AutoNumber_p_nummerierteListe_1" valign="top"><span>1. </span>
</td>
<td class="AutoNumber_p_nummerierteListe_1" valign="top" data-mc-autonum="1. ">Click <img src="../Resources/Images/RMS_Icons_etc/icons/16/Administration_16.png" /><span class="Taste">Administration</span>in the menu bar.</td>
</tr>
</table>
There can be no doubt that Flare is doing this.
On looking at this source, it occurred to me that I could define the table class and try to adjust that. Unfortunately, the output from Flare has these inline styles (width: 100%) that override my stylesheet

. Flare is doing precisely what Madcap consistently advises users not to do... Changing this in the output does the trick, although this is no solution and does not even qualify as a workaround.
I guess this will have to go as a bug/ feature request to Madcap. If anybody has an alternative way of solving this problem, I would be most interested.