<?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 DOCUMENT procedure / REPLAY title with static function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/DOCUMENT-procedure-REPLAY-title-with-static-function/m-p/844505#M333866</link>
    <description>&lt;P&gt;If one use functions such as {thispage} and {lastpage}:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;footnote7 font    = "Courier New"
          height  = 8pt 
		  justify = r
          "Page ~{thispage} of ~{lastpage}"
          ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;with output sent to the ODS DOCUMENT designation, is it possible to make it static when one REPLAY's it with the DOCUMENT procedure?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a request to collate multiple RTFs with a ToC, but to keep the original page numbering.&amp;nbsp; If I collate three RF of two pages each, in the second the page number is Page 3 of 6, not Page 1 of 2.&amp;nbsp; I suspect that the answer may be "no" since it seems to be something that the program rendering the RTF, such as MS Word, creates the values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2022 21:46:22 GMT</pubDate>
    <dc:creator>KevinViel</dc:creator>
    <dc:date>2022-11-15T21:46:22Z</dc:date>
    <item>
      <title>DOCUMENT procedure / REPLAY title with static function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DOCUMENT-procedure-REPLAY-title-with-static-function/m-p/844505#M333866</link>
      <description>&lt;P&gt;If one use functions such as {thispage} and {lastpage}:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;footnote7 font    = "Courier New"
          height  = 8pt 
		  justify = r
          "Page ~{thispage} of ~{lastpage}"
          ;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;with output sent to the ODS DOCUMENT designation, is it possible to make it static when one REPLAY's it with the DOCUMENT procedure?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a request to collate multiple RTFs with a ToC, but to keep the original page numbering.&amp;nbsp; If I collate three RF of two pages each, in the second the page number is Page 3 of 6, not Page 1 of 2.&amp;nbsp; I suspect that the answer may be "no" since it seems to be something that the program rendering the RTF, such as MS Word, creates the values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Kevin&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 21:46:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DOCUMENT-procedure-REPLAY-title-with-static-function/m-p/844505#M333866</guid>
      <dc:creator>KevinViel</dc:creator>
      <dc:date>2022-11-15T21:46:22Z</dc:date>
    </item>
    <item>
      <title>Re: DOCUMENT procedure / REPLAY title with static function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/DOCUMENT-procedure-REPLAY-title-with-static-function/m-p/844517#M333871</link>
      <description>&lt;P&gt;The mysteries of Word and footnote content are many. This would, IIRC, involve the section break properties and "don't continue numbering from previous section" or similar menu choice when manually creating a Word document.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you can find the RAW RTF code to do such you may be able to insert using the RAW function with Escapechar similar to the ~{thispage}. Maybe. I suspect that getting the order of function calls correct in relation to the document may be pretty challenging.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2022 22:20:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/DOCUMENT-procedure-REPLAY-title-with-static-function/m-p/844517#M333871</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-11-15T22:20:36Z</dc:date>
    </item>
  </channel>
</rss>

