docbook-apps

  • 1.  Endnotes in PDF?

    Posted 12-21-2021 15:03
    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.



  • 2.  Re: [docbook-apps] Endnotes in PDF?

    Posted 12-21-2021 17:14

    Am 21.12.2021 um 16:02 schrieb M. Downing Roberts:
    > 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

    I have written a book (some 700 pages} with docbookxml and Oxygen. For
    citations I used Jabref and exported to docbookxml. I may take me some
    time to prepare a minimal example. The process worked very well. You
    only had to maintain the references in Jabref which is a free tool and
    well maintained.The solution to export references to docbook has been
    developed with me in the lead. It is now incorporated in the main
    version of Jabref.

    Regards

    B

    --

    spitzhalde9
    D-79853 lenzkirch
    bernhard.kleine@gmx.net
    www.b-kleine.com,www.urseetal.net
    Ich darf auf mein neues Buch "670 Falterarten im Hochschwarzwald" aufmerksam machen
    (Infos bei mir)
    -
    thunderbird
    GPG schlüssel: D5257409
    fingerprint:
    08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09




  • 3.  Re: [docbook-apps] Endnotes in PDF?

    Posted 12-21-2021 18:57
    Hi,

    Thanks for your message. I think where I'm stuck is the customization layer
    of the DocBook XSL template. I already use Bookends as a reference manager.

    The only discussion of endnotes I found (linked in my message) is from Bob
    Stayton's *DocBook XSL: The Complete Guide*. However, it requires a much
    higher level of understanding how to customize the DocBook template than I
    have now. The audience of the discussion is described as needing "extensive
    knowledge of XSLT programming, and familiarity with the internals of the
    DocBook XSL stylesheet collection".

    I'm not this kind of advanced developer, so I've come to this forum in
    hopes that somebody could perhaps suggest how to customize the template, to
    make endnotes appear properly in my PDF.

    M.

    On Wed, Dec 22, 2021 at 2:13 AM Bernhard Kleine <bernhard.kleine@gmx.net>
    wrote:

    >
    > Am 21.12.2021 um 16:02 schrieb M. Downing Roberts:
    >
    > 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
    >
    >
    > I have written a book (some 700 pages} with docbookxml and Oxygen. For
    > citations I used Jabref and exported to docbookxml. I may take me some time
    > to prepare a minimal example. The process worked very well. You only had to
    > maintain the references in Jabref which is a free tool and well maintained.
    > The solution to export references to docbook has been developed with me in
    > the lead. It is now incorporated in the main version of Jabref.
    >
    > Regards
    >
    > B
    >
    > --
    >
    > spitzhalde9
    > D-79853 lenzkirchbernhard.kleine@gmx.netwww.b-kleine.com, www.urseetal.net
    > Ich darf auf mein neues Buch "670 Falterarten im Hochschwarzwald" aufmerksam machen
    > (Infos bei mir)
    > -
    > thunderbird
    > GPG schlüssel: D5257409
    > fingerprint:
    > 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
    >
    >



  • 4.  Re: [docbook-apps] Endnotes in PDF?

    Posted 12-21-2021 22:41
    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 Stayton
    bobs@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.


  • 5.  Re: [docbook-apps] Endnotes in PDF?

    Posted 12-22-2021 01:28
    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 <bobs@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 Staytonbobs@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.
    >
    >



  • 6.  Re: [docbook-apps] Endnotes in PDF?

    Posted 12-25-2021 02:26
    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 <
    mgaq1186@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 <bobs@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 Staytonbobs@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.
    >>
    >>



  • 7.  Re: [docbook-apps] Endnotes in PDF?

    Posted 12-25-2021 07:00
    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 Stayton
    bobs@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
    > <mgaq1186@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 <bobs@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 Stayton
    > bobs@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.
    >


  • 8.  Re: [docbook-apps] Endnotes in PDF?

    Posted 12-25-2021 09:09
    Works great — thanks again!

    On Sat, Dec 25, 2021 at 3:59 PM Bob Stayton <bobs@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 Staytonbobs@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 <
    > mgaq1186@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 <bobs@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 Staytonbobs@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.
    >>>
    >>>