Works great — thanks again! On Sat, Dec 25, 2021 at 3:59 PM Bob Stayton <b...@sagehill.net> wrote:
> That colon is in the template that starts with this: > > <xsl:template match="chapter|appendix|preface" mode="chapter.endnotes"> > > between "label.markup" and "title.markup" > > Bob staytonb...@sagehill.net > > On 12/24/2021 6:25 PM, M. Downing Roberts wrote: > > Hi Bob, > > I got your endnotes template working — really helpful! > > For anybody else who tries this, the <bibliography> element needs a > role='endnotes' attribute. > > One question, if you don't mind: at the beginning of the generated list of > endnotes for each chapter, the chapter number is separated from the chapter > title by a colon (":"). > > Is there some way to change this, e.g., to a "."? Which template generates > this character? > > Thanks again! > > M. > > On Wed, Dec 22, 2021 at 10:27 AM M. Downing Roberts < > mgaq1...@g.ecc.u-tokyo.ac.jp> wrote: > >> Thanks much, Bob. I will try this! >> >> I'm learning a lot from your book, too. >> >> All best, >> >> M. >> >> On Wed, Dec 22, 2021 at 7:40 AM Bob Stayton <b...@sagehill.net> wrote: >> >>> Hi, >>> >>> I used the same style of endnotes in a book that I wrote with DocBook, >>> so I have attached the stylesheet module that I wrote to do that. You >>> might need to make some adjustments to fit it into your customization layer. >>> >>> Bob staytonb...@sagehill.net >>> >>> On 12/21/2021 7:02 AM, M. Downing Roberts wrote: >>> >>> I'm trying to use DocBook and FOP to generate endnotes at the end of my >>> book. I.e., I'd like the footnote elements to be rendered as endnotes, not >>> footnotes. >>> >>> If possible, I'd like them grouped by chapter (but at the end of the >>> book, not at the end of each chapter). >>> >>> I've searched a lot, and only found a discussion here: >>> >>> http://www.sagehill.net/docbookxsl/Endnotes.html >>> >>> ...but it's too vague. Too many loose ends. I can't get it to work at >>> all. >>> >>> Any suggestions?? >>> >>> Thanks! >>> >>> M. >>> >>>