<?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: Customise ODS PDF Table of Contents in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/Customise-ODS-PDF-Table-of-Contents/m-p/874369#M10942</link>
    <description>&lt;P&gt;Thanks so much for that!&lt;/P&gt;&lt;P&gt;That works but only when I was running SAS in a fresh session or resetting it.&lt;/P&gt;&lt;P&gt;It turns out another piece of code I was running had the statement in it:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;options nolabel;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Once I removed that then this code ran as intended.&lt;/P&gt;</description>
    <pubDate>Sun, 07 May 2023 23:36:24 GMT</pubDate>
    <dc:creator>Springyboy</dc:creator>
    <dc:date>2023-05-07T23:36:24Z</dc:date>
    <item>
      <title>Customise ODS PDF Table of Contents</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Customise-ODS-PDF-Table-of-Contents/m-p/874052#M10940</link>
      <description>&lt;P&gt;Hi everyone,&lt;BR /&gt;&lt;BR /&gt;I am trying to customise my ODS PDF table of contents using an SGPlot. I am running SAS 3.3 so am unsure if this is supported.&lt;BR /&gt;&lt;BR /&gt;Can someone please confirm whether this is possible for my version of SAS Studio?&lt;BR /&gt;&lt;BR /&gt;E.g. the code below does not customise the table of contents from here &lt;A href="https://support.sas.com/resources/papers/proceedings11/252-2011.pdf" target="_blank" rel="noopener"&gt;https://support.sas.com/resources/papers/proceedings11/252-2011.pdf&lt;/A&gt; -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;ods pdf file="display1.pdf";
proc print noobs data=sashelp.cars; run;
proc gchart data=sashelp.cars;
vbar type / sumvar=horsepower;
run;
quit;
ods pdf close;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;But instead outputs:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;the print procedure&lt;BR /&gt;print (1st node should be customised)&lt;BR /&gt;the gchart procedure&lt;BR /&gt;gchart (1st node should be customised)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;in the table of contents instead of customising the first node as described in the training.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks so much!&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 03:42:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Customise-ODS-PDF-Table-of-Contents/m-p/874052#M10940</guid>
      <dc:creator>Springyboy</dc:creator>
      <dc:date>2023-05-05T03:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Customise ODS PDF Table of Contents</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Customise-ODS-PDF-Table-of-Contents/m-p/874082#M10941</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods html close;
ods pdf file="display1.pdf";

title;
title "Output from PRINT procedure";
ods proclabel "Output from PRINT procedure";
proc print noobs data=sashelp.cars contents="Output from PRINT procedure for sashelp.cars"; 
run;

title "A graph of horsepower";
ods proclabel "A graph of horsepower";
proc gchart data=sashelp.cars;
vbar type / sumvar=horsepower description="Output from GCHART procedure for Type in sashelp.cars";
run;
quit;
ods pdf close;
ods html;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and read about: &lt;CODE class=" language-sas"&gt;ods proclabel&lt;/CODE&gt;, &lt;CODE class=" language-sas"&gt;contents=&lt;/CODE&gt;, &lt;CODE class=" language-sas"&gt;description=&lt;/CODE&gt;, etc.&lt;/P&gt;
&lt;P&gt;Bart&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 08:21:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Customise-ODS-PDF-Table-of-Contents/m-p/874082#M10941</guid>
      <dc:creator>yabwon</dc:creator>
      <dc:date>2023-05-05T08:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Customise ODS PDF Table of Contents</title>
      <link>https://communities.sas.com/t5/SAS-Studio/Customise-ODS-PDF-Table-of-Contents/m-p/874369#M10942</link>
      <description>&lt;P&gt;Thanks so much for that!&lt;/P&gt;&lt;P&gt;That works but only when I was running SAS in a fresh session or resetting it.&lt;/P&gt;&lt;P&gt;It turns out another piece of code I was running had the statement in it:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;options nolabel;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Once I removed that then this code ran as intended.&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2023 23:36:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/Customise-ODS-PDF-Table-of-Contents/m-p/874369#M10942</guid>
      <dc:creator>Springyboy</dc:creator>
      <dc:date>2023-05-07T23:36:24Z</dc:date>
    </item>
  </channel>
</rss>

