<?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: PDF titles and footnotes appear differently when using page breaks in PROC report in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-titles-and-footnotes-appear-differently-when-using-page/m-p/484330#M21393</link>
    <description>&lt;P&gt;Interesting&amp;nbsp;when I edit the PDF and cut the text of the footnote it still appears until I cut it again.&amp;nbsp; The text appears to be overplayed.&amp;nbsp; I don't know how to fix it and I haven't found anything about this at support.sas.com&lt;/P&gt;</description>
    <pubDate>Mon, 06 Aug 2018 12:18:18 GMT</pubDate>
    <dc:creator>data_null__</dc:creator>
    <dc:date>2018-08-06T12:18:18Z</dc:date>
    <item>
      <title>PDF titles and footnotes appear differently when using page breaks in PROC report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-titles-and-footnotes-appear-differently-when-using-page/m-p/484314#M21391</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm running into a weird problem whilst using page breaks in proc report. Whenever I try break introduce page breaks for a grouping variable the first title for the page with that grouping appear differently from the rest; they appear slightly bold. This causes problem for us when we try to process the pdf in a pdf editor because apparently each title is being printed twice.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have some code to demonstrate. Here is some test data with the same structure of the data I&amp;nbsp;am trying to output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data testdata;&lt;BR /&gt;
	do group_var1 = 1 to 4;
		do group_var2 = 1 to 30; 
			do across_var1 = 1 to 10;
				result = 1;
				output;
			end;
		end;
	end;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The aim is to tabulate this data in such a way that multiple group_var1 groups do not appear on&amp;nbsp;the same page. Whenever I split the page using by groups or a break variable I get the problem. If I don't split the page the problem doesn't appear, but then the data isn't being displayed correctly. I have code below which produces the three examples above.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options orientation=landscape nodate nonumber PAPERSIZE = A4 nobyline;
ods escapechar = "^";

ods pdf file = "path_to_dir\test_output_1_by_group.pdf";

	Title1 "Title 1";
	Title2 "Title 2";
	Footnote1 "Footnote 1";
	Footnote2 "Footnote 2";
	FOOTNOTE3 "^{thispage} / ^{lastpage}";

	proc report data = testdata;
		by group_var1;
		column group_var1 group_var2 across_var1, result;
		define group_var1 / group;
		define group_var2 / group;
		define across_var1 / across;
	run;

ods pdf close;

ods pdf file = "path_to_dir\test_output_2_page_breaks.pdf";

	Title1 "Title 1";
	Title2 "Title 2";
	Footnote1 "Footnote 1";
	Footnote2 "Footnote 2";
	FOOTNOTE3 "^{thispage} / ^{lastpage}";

	proc report data = testdata;
		column group_var1 group_var2 across_var1, result;

		define group_var1 / group;
		define group_var2 / group;
		define across_var1 / across;&lt;BR /&gt;
		break after group_var1 / page;
	run;

ods pdf close;


ods pdf file = "path_to_dir\test_output_3_none.pdf";

	Title1 "Title 1";
	Title2 "Title 2";
	Footnote1 "Footnote 1";
	Footnote2 "Footnote 2";

	proc report data = testdata;
		column group_var1 group_var2 across_var1, result;
		define group_var1 / group;
		define group_var2 / group;
		define across_var1 / across;
	run;

ods pdf close;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I have attached the pdfs which the above code reproduces. You should see for test_output 1 and 2 that&amp;nbsp;whenever a new group_var1 value starts (odd pages) then the titles and footnotes appear different to the rest.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using SAS 9.4 and on Windows 7. If anyone can help resolve this issue for me it would be much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 11:16:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-titles-and-footnotes-appear-differently-when-using-page/m-p/484314#M21391</guid>
      <dc:creator>StephenM</dc:creator>
      <dc:date>2018-08-06T11:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: PDF titles and footnotes appear differently when using page breaks in PROC report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-titles-and-footnotes-appear-differently-when-using-page/m-p/484326#M21392</link>
      <description>&lt;P&gt;Well, you haven't supplied a style, so its using a default.&amp;nbsp; You may want to check what the style states as that defines the output format.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi30/132-30.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi30/132-30.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Its likely that in the style it is defaulting to this is the given behavior as it seems consistent.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 12:08:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-titles-and-footnotes-appear-differently-when-using-page/m-p/484326#M21392</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-06T12:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: PDF titles and footnotes appear differently when using page breaks in PROC report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-titles-and-footnotes-appear-differently-when-using-page/m-p/484330#M21393</link>
      <description>&lt;P&gt;Interesting&amp;nbsp;when I edit the PDF and cut the text of the footnote it still appears until I cut it again.&amp;nbsp; The text appears to be overplayed.&amp;nbsp; I don't know how to fix it and I haven't found anything about this at support.sas.com&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 12:18:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-titles-and-footnotes-appear-differently-when-using-page/m-p/484330#M21393</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2018-08-06T12:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: PDF titles and footnotes appear differently when using page breaks in PROC report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-titles-and-footnotes-appear-differently-when-using-page/m-p/484338#M21395</link>
      <description>&lt;P&gt;That is exactly what we found. This causes problems for us because (in addition to being inconsistent visually) we use the titles to automatically generate bookmarks and having multiple titles overlayed on top of each other causes problems. I just took another look at the pdfs with an online pdf editor and found that problem remains for the footnotes when not using page breaks but gets fixed for the titles&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the style suggestion RW9. We normally use a custom style but I removed it in the example for the sake of keeping the code simple and trying to isolate the problem. I tested again whilst including the style just to make sure and the problem still remains.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 12:48:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-titles-and-footnotes-appear-differently-when-using-page/m-p/484338#M21395</guid>
      <dc:creator>StephenM</dc:creator>
      <dc:date>2018-08-06T12:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: PDF titles and footnotes appear differently when using page breaks in PROC report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-titles-and-footnotes-appear-differently-when-using-page/m-p/484351#M21396</link>
      <description>&lt;P&gt;Well, I have to say that I have yet to be impressed with SAS-&amp;gt;PDF in any sense, TOC, bookmarks etc.&amp;nbsp; Hence why I output my outputs to RTF, batch convert them, then use PDFtk to extract and apply bookmarks.&amp;nbsp; Much more controllable.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 13:22:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-titles-and-footnotes-appear-differently-when-using-page/m-p/484351#M21396</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-08-06T13:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: PDF titles and footnotes appear differently when using page breaks in PROC report</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-titles-and-footnotes-appear-differently-when-using-page/m-p/484420#M21397</link>
      <description>Hi:&lt;BR /&gt;  This is the kind of issue that you need to report to Tech Support. You have code that illustrates the issue. It really appears as though your custom style is not relevant in this instance. Tech Support can look for any defects related to titles and if they don't find any, but they can replicate your issue, then they can involve the developers.&lt;BR /&gt;&lt;BR /&gt;Cynthia</description>
      <pubDate>Mon, 06 Aug 2018 15:40:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/PDF-titles-and-footnotes-appear-differently-when-using-page/m-p/484420#M21397</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2018-08-06T15:40:09Z</dc:date>
    </item>
  </channel>
</rss>

