BookmarkSubscribeRSS Feed
ellouho1
Calcite | Level 5

Dear all,

 

I am creating an RTF documents which contains a table of contents in the first 2 pages.

 

The problem is that in the last page I find page 93 of 95 (page numbers), which means that the first 2 pages of table of contents were not counted.

 

Is there any option or tip to resolve the problem?

 

Thank you2019-11-22_17-13-51.png

3 REPLIES 3
Reeza
Super User

Try adding a section break before or after the TOC so the page numbers restart?

 


@ellouho1 wrote:

Dear all,

 

I am creating an RTF documents which contains a table of contents in the first 2 pages.

 

The problem is that in the last page I find page 93 of 95 (page numbers), which means that the first 2 pages of table of contents were not counted.

 

Is there any option or tip to resolve the problem?

 

Thank you2019-11-22_17-13-51.png


 

ellouho1
Calcite | Level 5
Do you mean by adding :
ods startpage = yes;?
Reeza
Super User
No, you'll likely need to find the appropriate RTF tag for that, I think it's \sbkpage from here:
https://en.wikipedia.org/wiki/Rich_Text_Format_Directory

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 848 views
  • 1 like
  • 2 in conversation