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

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

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
  • 681 views
  • 1 like
  • 2 in conversation