Skip to main content
Known Participant
October 12, 2022
Question

RH2020 output to PDF issue with line numbers

  • October 12, 2022
  • 3 replies
  • 369 views

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:

First topic

1. Something

2. Something else
Second topic

1. Something completely different

2. Ni!

 

When we publish to PDF:

First topic:

1. Something

2. Something else

Second Topic
3. Something Completely Different
4. Ni!

It was suggested to tag @RoboWizard  that you may be able to help.

This topic has been closed for replies.

3 replies

Community Expert
October 13, 2022

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.

 

https://www.grainge.org/pages/authoring/rh_tour/rh2020/authoring/lists.htm

Peter Grainge
Community Expert
Community Expert
October 12, 2022

2019 New UI or Classic?

________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Known Participant
October 12, 2022

Classic

Known Participant
October 12, 2022

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.

 

Jeff_Coatsworth
Community Expert
Community Expert
October 12, 2022

I don't think Rick's doing much in the RH world these days. Was this working for you back in RH2019 Classic?

Known Participant
October 12, 2022

Yes, it worked fine in RH2019.

Jeff_Coatsworth
Community Expert
Community Expert
October 12, 2022

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?