I am writing a scientific book for the general public and would like to have chapter notes that appear at the end of the book, organized by chapter and page number. (I also have footnotes, the chapter notes would be for longer or more technical comments.)
I am familiar with the endnotes package which almost provides me with what I want but the output is too simple. What I would like is the Notes section at the back of the book to list each chapter by number and title, then the notes to appear under each chapter, and, if possible, to indicate the page in the book where the endnote was written so that someone flipping through the notes can easily locate the relevant page in the book. So something like this for the output of the Notes section:
Chapter 1
...
Chapter 2
...
Notes
Chapter 1 What is life?
1. (page 37) First note in this chapter.
2. (page 38) Second note in this chapter.
...
Chapter 2 Properties of life
1. (page 45) First note in second chapter.
2. (page 45) Second note in second chapter.
3. (page 48) Third note in second chapter.
and so on. Even better would be if the page reference numbers in the notes can be active links in a PDF file or e-book so that clicking on the page number in the Notes section takes one to the corresponding page. And it would be nice for the endnote reference to also be an active link that takes one right to the corresponding note at the back of the book.
Is anything like this available?