Hi - I have a client that requires a 2 part table of contents, something like this:
Table of contents
Header1...............................................................1
Header2...............................................................3
Tables
Header1 Table1...................................................1
Header1 Table2...................................................2
Header2 Table1...................................................3
Is this possible? The code is currently set up with ods rtf text=titles to display the titles that need to be displayed in the report, as well as the TOC. I'm using proc report to display the actual tables. For confidentiality reasons, I can't post the code. I have tried the 'contents' option, but that sorts it in a regular format - i.e.:
Table of contents
Header1...............................................................1
Header1 Table1..............................................1
Header1 Table2..............................................2
Header2...............................................................3
Header2 Table1...............................................3
Unfortunately, they will not accept that format. TIA for the help!
Have you tried creating two separate RTF documents each with a table of contents and then combining them using your word processing program?
I suspect there will be a limitation based on the word processing program and you may be stuck with using word processor tools to build the appropriated TOC's such as https://answers.microsoft.com/en-us/msoffice/forum/all/table-of-contents-2-table-of-contents-in-one/...
Search Google for "Multiple tables of content in Word" to get multiple pages.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.