We are having an odd issue. I have converted a classic RH2019 (14.0.5.001) project to RH2020 (2020.8.34), and Mostly it looks okay, and we are hammering out style differences and such. But the big issue I am dealing with now is number list resets.
Our number list style is Procedure. This is the HTML generated on a list reset:
p class="Procedure" style="counter-set: p\\.procedure1 0;"
The problem is that while the numbers are correct in RoboHelp and HTML output, when we output to PDF, the number lists never reset, making the entire document one long number list. Example:
In RoboHelp and HTML:
2. Something else
1. Something completely different
When we publish to PDF:
2. Something else
3. Something Completely Different
It was suggested to tag @RoboWizard that you may be able to help.
I don't think Rick's doing much in the RH world these days. Was this working for you back in RH2019 Classic?
Yes, it worked fine in RH2019.
Hmm, ok, that would suggest that something in the PDF generation has changed and isn't liking your syntax that you're using. Have you tried an experiment with the RH auto-numbering in a fresh RH topic and seeing how it's being rendered in PDF? Does your problematic lists work if you go the Word -> PDF route?
It works fine if we go to Word before PDF; one of the reasons we are going to 2020 is to cut out the Word in between we used in 2019.
I have looked at the code, which uses a <OL> and </OL> around its numbered lists. Unfortunately, I do not think I can search and replace every instance of this style in my database and put in the ordered list codes. I figure since it works in Word and HTML, it should work in PDF, but that is incorrect.
2019 New UI or Classic?
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.
This is the code. Sorry, cannot post as text.
This is how it looks in RoboHelp:
This is how it looks in PDF: (It is attached to the end of a document I am working with so the numbers are very far off. But that is the problem.
Check to see what .css is being used in PDF creation - I wonder if it doesn't know how to handle that counter-set command.
I think you might be using an Autonumber style, and continuous numbering in a PDF is intended, if this is the case (e.g. for legal numbering). Have a look at this topic on Peter's excellent site. If my assumption is wrong, post back with more information on how your number is set up and applied to paragraphs.