<?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[How to generate correct page numbers and Table of Contents in the conditionally appended templates]]></title><description><![CDATA[<p>I am appending a landscape page and a portrait page to the main template page.<br />
The landscape page is going to get integrated conditionally.</p>
<p>Please check the following workspace and let us know how to generate the correct page numbers and table of contents.</p>
<p><a href="https://playground.jsreport.net/w/jitendra.shah/hAno7wK8" rel="nofollow">https://playground.jsreport.net/w/jitendra.shah/hAno7wK8</a></p>
]]></description><link>https://forum.jsreport.net/topic/2997/how-to-generate-correct-page-numbers-and-table-of-contents-in-the-conditionally-appended-templates</link><generator>RSS for Node</generator><lastBuildDate>Tue, 08 Sep 2026 00:52:10 GMT</lastBuildDate><atom:link href="https://forum.jsreport.net/topic/2997.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 20 Nov 2023 10:16:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to generate correct page numbers and Table of Contents in the conditionally appended templates on Invalid Date]]></title><description><![CDATA[<p>I am appending a landscape page and a portrait page to the main template page.<br />
The landscape page is going to get integrated conditionally.</p>
<p>Please check the following workspace and let us know how to generate the correct page numbers and table of contents.</p>
<p><a href="https://playground.jsreport.net/w/jitendra.shah/hAno7wK8" rel="nofollow">https://playground.jsreport.net/w/jitendra.shah/hAno7wK8</a></p>
]]></description><link>https://forum.jsreport.net/post/12864</link><guid isPermaLink="true">https://forum.jsreport.net/post/12864</guid><dc:creator><![CDATA[Jitendra Shah]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to How to generate correct page numbers and Table of Contents in the conditionally appended templates on Mon, 20 Nov 2023 16:41:22 GMT]]></title><description><![CDATA[<p>You can't merge the TOC as pdf utils operation, because it would run before the script. It is not aware of the landscape template you add in the script. So you need to merge the TOC in the script as well after you've appended the landscape template.</p>
<p>Here is the updated playground<br />
<a href="https://playground.jsreport.net/w/anon/p7otW5KZ" rel="nofollow">https://playground.jsreport.net/w/anon/p7otW5KZ</a></p>
]]></description><link>https://forum.jsreport.net/post/12866</link><guid isPermaLink="true">https://forum.jsreport.net/post/12866</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Mon, 20 Nov 2023 16:41:22 GMT</pubDate></item></channel></rss>