I'm having a problem getting my cross-references in a table of contents section to work.
I think I've identified the problem as having something to do with the internal links. All of the internal links work correctly in HTML in the browser, but in the PDF the links reference a full url (http//localhost:8000/index#example-id). Clicking the links in the PDF causes the OS to try and access the page with the default web browser instead of traversing the PDF to the internal link.
Also, the "target-counter()" function fails and returns "0" for all links, making my table of contents broken.
I've tried to set the "prince-pdf-link-type: file" CSS property but it does not seem to work. Perhaps I am not putting it in the right place.
Any ideas?
I think I've identified the problem as having something to do with the internal links. All of the internal links work correctly in HTML in the browser, but in the PDF the links reference a full url (http//localhost:8000/index#example-id). Clicking the links in the PDF causes the OS to try and access the page with the default web browser instead of traversing the PDF to the internal link.
Also, the "target-counter()" function fails and returns "0" for all links, making my table of contents broken.
I've tried to set the "prince-pdf-link-type: file" CSS property but it does not seem to work. Perhaps I am not putting it in the right place.
Any ideas?