
I can create a PDF from an HTML file but would like to include a clickable table of contents to the pdf. I have set up a clickable TOC in the HTML file, but it doesn't work in the pdf. Here is the HTML file.
<style>
ol {
counter-reset: item
}
li {
display: block
}
li:before {
content: counters(item, ".")" ";
counter-increment: item
}
</style>
<body>
<ol>
<li> <a href="#Purpose">Purpose</a>
</li>
<li> <a href="#Summary">Term Definitions</a>
</li>
<ol>
<li> <a href="#Lnk"></a>
</li>
<li> <a href="#Lnk"></a>
</li>
</ol>
</ol>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<h2 id="Purpose" style="color: #5e9ca0; text-align: center;"><span style="color: #2b2301;">Purpose</span></h2>
<p>This is the whole idea that you should understand.</p>
</body>
Hi @rarroyo1 ,
I did the test on my side, and it is exactly the same as what you described. If this Hyperlink points to other pages in Html, this method doesn't seem to work.
Another test found that if hyperlink points to a specific link, it is workable.
Convert file action here doesn't seem to work for other elements in the same HTML.
Best Regards,