<?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: Text truncated in RTF Table of contents &amp;amp; changes of font face, size, color in TOC heading/b in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Text-truncated-in-RTF-Table-of-contents-amp-changes-of-font-face/m-p/577235#M23107</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I think this is a question for Tech Support. I do not know how to change the font style or font face for the Table of Contents text (to make it Courier, for example). I assume you need to do it in the Style template, but I don't know what style element controls that. Your bigger issue is that there does seem to be a limit to the text that you can pass in with ODS PROCLABEL It appears to me to be approximately 255 or 256 characters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you can't work-around this limit, then I suspect you'll have to put less text into the table of contents. Word allows me to edit the TOC page, so you should be able to add your truncated text to the Table of Contents after the file is created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; But to find out the definitive answer to these questions, you'll need to work with Tech Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Sun, 28 Jul 2019 14:27:39 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2019-07-28T14:27:39Z</dc:date>
    <item>
      <title>Text truncated in RTF Table of contents &amp; changes of font face, size, color in TOC heading/body</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Text-truncated-in-RTF-Table-of-contents-amp-changes-of-font-face/m-p/577209#M23105</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having two minor issues with TOC text length and the font setting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a length limitation in ODS RTF table of contents? I am using ODS PROCLABEL statement to create a TOC for multiple tables.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Two of them show truncated text in the TOC. For example, Table S3-3 (line &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; has complete TOC text in the TOC_column:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TableS3-3_TOC-SAS-dataset.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31342iED9FE192131407F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TableS3-3_TOC-SAS-dataset.png" alt="TableS3-3_TOC-SAS-dataset.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But on the TOC page of the RTF file, Table S3-3 TOC is truncated at the third line (i.e. for females (F), mal)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TOC_truncated.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/31341i29F7FE849271A291/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TOC_truncated.png" alt="TOC_truncated.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any possibility to change the default length of the first node? I know this is a minor issue, as readers are still able to go to the table page with the hyper links.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am also wondering if it is possible to change the font face and font size for the TOC heading and the TOC body. Using the following SAS code, these two parts are shown in Courier New and 9.5 pt (heading) &amp;amp; 10 pt (body). I would like to apply the same font setting from my thesis files (created in MS Word) to the RTF TOC heading (15pt, Times New Roman, and Blue, Accent1) and body (12 pt, Times New Roman, and black). Sorry, I haven't had time to fully Google for these changes.&amp;nbsp;&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;ods rtf file=	"&amp;amp;report_dir.\PhD-thesis_supplementary-tables_%sysfunc(date(), yymmdd10.).rtf" 
		style=		Journal
		contents 
		toc_data /*contents toc_data:  show table of contents*/
		 ; &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jul 2019 04:39:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Text-truncated-in-RTF-Table-of-contents-amp-changes-of-font-face/m-p/577209#M23105</guid>
      <dc:creator>luenhchang</dc:creator>
      <dc:date>2019-07-28T04:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Text truncated in RTF Table of contents &amp; changes of font face, size, color in TOC heading/b</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Text-truncated-in-RTF-Table-of-contents-amp-changes-of-font-face/m-p/577235#M23107</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I think this is a question for Tech Support. I do not know how to change the font style or font face for the Table of Contents text (to make it Courier, for example). I assume you need to do it in the Style template, but I don't know what style element controls that. Your bigger issue is that there does seem to be a limit to the text that you can pass in with ODS PROCLABEL It appears to me to be approximately 255 or 256 characters.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you can't work-around this limit, then I suspect you'll have to put less text into the table of contents. Word allows me to edit the TOC page, so you should be able to add your truncated text to the Table of Contents after the file is created.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; But to find out the definitive answer to these questions, you'll need to work with Tech Support.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jul 2019 14:27:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Text-truncated-in-RTF-Table-of-contents-amp-changes-of-font-face/m-p/577235#M23107</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2019-07-28T14:27:39Z</dc:date>
    </item>
  </channel>
</rss>

