<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Tagsets.rtf page breaking algorithm? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Tagsets-rtf-page-breaking-algorithm/m-p/848733#M335545</link>
    <description>&lt;P&gt;Have you tried the STARTPAGE=NO option (see &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/v_033/odsug/p1vvsv8ucnjzjnn1wq5wrlp74mdb.htm#n1opgvdc4wuxizn1jrj0g5fjfj6m" target="_self"&gt;RTF ODS Docs&lt;/A&gt;) Also, if you post sample code illustrating your problem - preferably using a SASHELP dataset - it's easier to help. Something like this would work:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file="test.rtf" STARTPAGE= BYGROUP;
proc print data=sashelp.cars;
	by Make;
	var Model MSRP MPG:; 
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 09 Dec 2022 15:37:07 GMT</pubDate>
    <dc:creator>SASJedi</dc:creator>
    <dc:date>2022-12-09T15:37:07Z</dc:date>
    <item>
      <title>Tagsets.rtf page breaking algorithm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Tagsets-rtf-page-breaking-algorithm/m-p/848701#M335535</link>
      <description>&lt;P&gt;First of all can the 'automated' pagination be disabled somehow if using tagsets.rtf? The reason for this is that I want full control over the pagination, since the automation is just not working. However even I have pagebreaks defined in the data and in proc report I have page break after page, then the tagsets.rtf still breaks some pages insanely stupidly. There also does not seem to have any logic, only thing I could figure out is that it somehow calculates the average number of rows per page and then breaks the page even if it would fit the page, but has just more rows than others?&lt;/P&gt;&lt;P&gt;Also it seems that tagsets.rtf does not follow the orders defined in proc reports define statement (just=left for example has no effect).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still would like to use tagsets over the normal rtf since in traditional ods rtf generates multiple redundant rows taking a lot of space from the output (which is even more fun is that those paragraphs has font times new roman 12pt, even all the fonts in every template has been defined to be Courier New (monospace)).&lt;/P&gt;&lt;P&gt;It is extremely frustrating that it is not possible to generate desired outputs, and just disable all the 'automation' off.&lt;/P&gt;&lt;P&gt;Also modifying the tagsets itself is as fun as taking cyanide but I guess that would be the only way?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 13:44:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Tagsets-rtf-page-breaking-algorithm/m-p/848701#M335535</guid>
      <dc:creator>2seconds</dc:creator>
      <dc:date>2022-12-09T13:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: Tagsets.rtf page breaking algorithm?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Tagsets-rtf-page-breaking-algorithm/m-p/848733#M335545</link>
      <description>&lt;P&gt;Have you tried the STARTPAGE=NO option (see &lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/v_033/odsug/p1vvsv8ucnjzjnn1wq5wrlp74mdb.htm#n1opgvdc4wuxizn1jrj0g5fjfj6m" target="_self"&gt;RTF ODS Docs&lt;/A&gt;) Also, if you post sample code illustrating your problem - preferably using a SASHELP dataset - it's easier to help. Something like this would work:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods rtf file="test.rtf" STARTPAGE= BYGROUP;
proc print data=sashelp.cars;
	by Make;
	var Model MSRP MPG:; 
run;
ods rtf close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Dec 2022 15:37:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Tagsets-rtf-page-breaking-algorithm/m-p/848733#M335545</guid>
      <dc:creator>SASJedi</dc:creator>
      <dc:date>2022-12-09T15:37:07Z</dc:date>
    </item>
  </channel>
</rss>

