<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Page number issue with Table of content]]></title><description><![CDATA[<p>I am using toc template when I use this code<br />
&lt;!--<br />
TOC<br />
-----------<br />
we render TOC template twice<br />
the first in the main template - this is needed for inner pdf links<br />
the second time it is rendered as merge operation in pdf utils - this is needed to for gettign page numbers in TOC<br />
--&gt;</p>
<p>{#child ./toc @template.recipe=html}<br />
{{#level (getChapters)}}<br />
&lt;div style='page-break-before: always;'&gt;&lt;/div&gt;<br />
&lt;h1 id=&quot;{{id}}&quot;&gt;{{title}}&lt;/h1&gt;<br />
&lt;!-- pdf utils page item is used for getting page numbers in TOC template --&gt;<br />
{{{pdfAddPageItem id=id}}}<br />
{{/level}}<br />
&lt;!-- END TOC --&gt;<br />
after some component rendering the page number will not show on the toc table it shows upward![alt text](<img src="/uploads/files/1687440963448-upload-9e4bf5e4-c68a-4394-a8a0-e7fa90b95471-resized.png" alt="0_1687440963722_upload-9e4bf5e4-c68a-4394-a8a0-e7fa90b95471" class="img-responsive img-markdown" /> image url) here is the image</p>
]]></description><link>https://forum.jsreport.net/topic/2846/page-number-issue-with-table-of-content</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 16:08:59 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/2846.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Jun 2023 13:36:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Page number issue with Table of content on Invalid Date]]></title><description><![CDATA[<p>I am using toc template when I use this code<br />
&lt;!--<br />
TOC<br />
-----------<br />
we render TOC template twice<br />
the first in the main template - this is needed for inner pdf links<br />
the second time it is rendered as merge operation in pdf utils - this is needed to for gettign page numbers in TOC<br />
--&gt;</p>
<p>{#child ./toc @template.recipe=html}<br />
{{#level (getChapters)}}<br />
&lt;div style='page-break-before: always;'&gt;&lt;/div&gt;<br />
&lt;h1 id=&quot;{{id}}&quot;&gt;{{title}}&lt;/h1&gt;<br />
&lt;!-- pdf utils page item is used for getting page numbers in TOC template --&gt;<br />
{{{pdfAddPageItem id=id}}}<br />
{{/level}}<br />
&lt;!-- END TOC --&gt;<br />
after some component rendering the page number will not show on the toc table it shows upward![alt text](<img src="/uploads/files/1687440963448-upload-9e4bf5e4-c68a-4394-a8a0-e7fa90b95471-resized.png" alt="0_1687440963722_upload-9e4bf5e4-c68a-4394-a8a0-e7fa90b95471" class="img-responsive img-markdown" /> image url) here is the image</p>
]]></description><link>https://forum.jsreport.net/post/12301</link><guid isPermaLink="true">https://forum.jsreport.net/post/12301</guid><dc:creator><![CDATA[mein Jaan]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>