Forum How do I...?

Adding numbers of page of a chapter

ixgal
Hi, I would need to add the number of the first page and the last page of a chapter, in the footer of that chapter.
For example: 67-98.

Would this be possible with Prince?

Thanks
howcome
Yes, this is possible. You would need to add links to the start and end of the chapter, and then format those <a> elements with target-counter, like here:

https://css4.pub/2024/toc/#adding-a-toc-manually

Edited by howcome

ixgal
thanks!