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

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 498 views
  • 0 likes
  • 2 in conversation