<?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: automatic table of contents in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/automatic-table-of-contents/m-p/880195#M347786</link>
    <description>&lt;P&gt;The Table of Contents will not automatically be populated. You will need to do this as documented below:&lt;/P&gt;
&lt;H4 class="xisDoc-argument"&gt;CONTENTS&lt;/H4&gt;
&lt;DIV class="xisDoc-argumentDescription"&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;produces a table of contents page for RTF documents that are opened in Microsoft Word. The table of contents page contains a Table of Contents field, which puts all of the contents information that is embedded in the document into a table of contents. To expand the table of contents, right-click under the title in Microsoft Word and select&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xisDoc-windowItem"&gt;Update Field&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from the selection list.&lt;/P&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;Also see:&lt;/P&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;&lt;A href="https://support.sas.com/kb/24/050.html" target="_blank"&gt;https://support.sas.com/kb/24/050.html&lt;/A&gt;&lt;/P&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 12 Jun 2023 12:45:09 GMT</pubDate>
    <dc:creator>Kathryn_SAS</dc:creator>
    <dc:date>2023-06-12T12:45:09Z</dc:date>
    <item>
      <title>automatic table of contents</title>
      <link>https://communities.sas.com/t5/SAS-Programming/automatic-table-of-contents/m-p/880160#M347767</link>
      <description>&lt;P&gt;Good morning,&lt;BR /&gt;We are generating in SAS an RTF file in which we are creating a table of contents.&lt;BR /&gt;For the table of contents to appear we have to select the entire document and press F9.&lt;BR /&gt;The important thing is that we want to remove that manual, we want the automatic table of contents to come out.&lt;BR /&gt;Do you know any way to do it? thanks greetings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; ods rtf text= "~S={outputwidth=100% just=l}{\field{\*\fldinst {\\TOC \\f \\h} } }";
ods RTF text="{\tc {\b\fs18\ql {Tabla &amp;amp;v_num..- MATRICULACIONES POR TIPOS DE VEHÍCULOS} \par}}";run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 Jun 2023 10:48:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/automatic-table-of-contents/m-p/880160#M347767</guid>
      <dc:creator>Cristina_inet</dc:creator>
      <dc:date>2023-06-12T10:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: automatic table of contents</title>
      <link>https://communities.sas.com/t5/SAS-Programming/automatic-table-of-contents/m-p/880195#M347786</link>
      <description>&lt;P&gt;The Table of Contents will not automatically be populated. You will need to do this as documented below:&lt;/P&gt;
&lt;H4 class="xisDoc-argument"&gt;CONTENTS&lt;/H4&gt;
&lt;DIV class="xisDoc-argumentDescription"&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;produces a table of contents page for RTF documents that are opened in Microsoft Word. The table of contents page contains a Table of Contents field, which puts all of the contents information that is embedded in the document into a table of contents. To expand the table of contents, right-click under the title in Microsoft Word and select&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="xisDoc-windowItem"&gt;Update Field&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;from the selection list.&lt;/P&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;Also see:&lt;/P&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;&lt;A href="https://support.sas.com/kb/24/050.html" target="_blank"&gt;https://support.sas.com/kb/24/050.html&lt;/A&gt;&lt;/P&gt;
&lt;P class="xisDoc-paraSimpleFirst"&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Jun 2023 12:45:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/automatic-table-of-contents/m-p/880195#M347786</guid>
      <dc:creator>Kathryn_SAS</dc:creator>
      <dc:date>2023-06-12T12:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: automatic table of contents</title>
      <link>https://communities.sas.com/t5/SAS-Programming/automatic-table-of-contents/m-p/880221#M347793</link>
      <description>If you have XCMD enabled and are trying to automate a process I would write a VBS or PowerShell script that automated this and then run it at the end. &lt;BR /&gt;</description>
      <pubDate>Mon, 12 Jun 2023 15:05:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/automatic-table-of-contents/m-p/880221#M347793</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2023-06-12T15:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: automatic table of contents</title>
      <link>https://communities.sas.com/t5/SAS-Programming/automatic-table-of-contents/m-p/881054#M348146</link>
      <description>&lt;P&gt;Thank you very much for the reply.&lt;BR /&gt;What we need is that the rtf report appears with the index/table of contents without updating the file when opening it.&lt;BR /&gt;In the link you sent me you have to update the references.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 07:20:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/automatic-table-of-contents/m-p/881054#M348146</guid>
      <dc:creator>Cristina_inet</dc:creator>
      <dc:date>2023-06-16T07:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: automatic table of contents</title>
      <link>https://communities.sas.com/t5/SAS-Programming/automatic-table-of-contents/m-p/881056#M348147</link>
      <description>&lt;P&gt;Thank you very much for your answer.&lt;BR /&gt;For security, XCMD is not activated in our SAS.&lt;/P&gt;&lt;P&gt;we can't run scripts.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 07:22:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/automatic-table-of-contents/m-p/881056#M348147</guid>
      <dc:creator>Cristina_inet</dc:creator>
      <dc:date>2023-06-16T07:22:17Z</dc:date>
    </item>
  </channel>
</rss>

