BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Hi,

Am struggling to find the cause of a minor mismatch in two RTF outputs.  They are pretty much identical other than run date/time.  In one output the footnote dotted line appears directly above the first footnote (when in headers/footnote mode in Word), in the other there is one blank line then the first footnote.  I have tracked the difference in the RTF markup itself to this offending item:

In the file with no additional blank row: \trowd\trkeep\trql

In the file with an additional blank row: {\par}\trowd\trkeep\trql

So it is the {\par} I wish to remove from each footnote statement.  I am having difficulty getting this however.  Is anyone aware of an option which needs to be changed - mine are:

orientation=landscape ls=150 ps=40 papersize=a4 nodate nocenter nonumber formchar='|----|+|---+=|-/\<>*' missing=' ' nobyline bottommargin=0in;

Or something in the ods statement:

ODS RTF FILE= "%sysfunc(pathname(outlist1))\&FILE_NAME..rtf" STYLE=appendix1 NOTOC_DATA;

I cannot see anything in either appendix1 or rtf style which would impact footnotes.

Thanks

Rob

1 ACCEPTED SOLUTION

Accepted Solutions
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Hi ballardw,

Thank you for your response, the code is identical and was thinking it was an options or something similar.  However looking back at the program with fresh eyes this morning I see they are post-processing the RTF file to remove this additional {\par}, hence why I had slightly different results.

Thanks
Rob

View solution in original post

2 REPLIES 2
ballardw
Super User

ODS RTF and ODS Tagsets.RTF will generate different outputs. The actual ODS RTF or ODS Tagsets.RTF statements used to generate your different outputs as well as the style involved would be helpful.

RW9
Diamond | Level 26 RW9
Diamond | Level 26

Hi ballardw,

Thank you for your response, the code is identical and was thinking it was an options or something similar.  However looking back at the program with fresh eyes this morning I see they are post-processing the RTF file to remove this additional {\par}, hence why I had slightly different results.

Thanks
Rob

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 2 replies
  • 795 views
  • 0 likes
  • 2 in conversation