I am trying to force a page break in an RTF document using `startpage=now` but am getting weird results. The page break happens, but the title of the page doesn't change and the footer is in a different place. If I don't force the page break then the titles and footers are correct, but the output doesn't display as I'd expect. Please advise.
My code:
/******** RTF ********/
ods rtf file="&path.\Rules Committee Report\rules_committee_football.rtf";
goptions reset=all;
/* cover page */
title j=r color=white bcolor=&Dblue height=10pt font='Arial' "^\line NCAA Football Rules Committee Report ^\tab ^\line";
ods rtf text="^S={outputwidth=100% just=c fontfamily='Arial' font_size=14pt foreground=&Dblue}^\line NCAA Football Rules Committee Meeting ^\line Injury Surveillance Report ^\line";
footnote j=c color=white bcolor=&Dblue height=8pt font='Arial'
"^\line Datalys Center | 401 West Michigan Street, Suite 500 | Indianapolis, Indiana 46202 | 855-832-4222 ^\line";
proc report data=imagelist noheader nofs
style={frame=void rules=none
protectspecialchars=off};
define list /style={cellwidth=3.5in} center;
define words / style={cellwidth=3.5in fontfamily='Arial' font_size=11pt} left;
run;
ods rtf startpage=now;
title j=c "^S={preimage='C:/Users/Todd/Dropbox/Datalys/Rules Committee Report/isp_logo_small.png'}";
proc odstext;
...;
run;
/* close rtf */
ods rtf close;
ods html;
/**** end rtf report ****/Result:
Result without `ods rtf startpage=now`:
Moved to the ODS Reports forum, hoping you'll get an answer there.
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.