Looks fine to me!
On 2/20/26 4:06 PM, Stephen Fenwick wrote:
> Adding block quotes to the endnotes has turned out to be rather involved
> as there are many places in the endnotes where a paragraph length quote
> is embedded inside a larger paragraph. I've taken a similar approach to
> the example above and split the paragraph so the quote stands alone -
> but this leads to a large number of changes. Is this the right approach?
> The commits in question start here
https://github.com/spfenwick/william-
> james_the-varieties-of-religious-experience/
> commit/8dbcebb2117ae76baf944c7fbe3b0073d6371726 <
https://github.com/
> spfenwick/william-james_the-varieties-of-religious-experience/
> commit/8dbcebb2117ae76baf944c7fbe3b0073d6371726>
>
> There were also some places where the author had a series of quotes run
> together followed by a list of citations. I've moved the citations under
> the relevant quotes.
https://github.com/spfenwick/william-james_the-
> varieties-of-religious-experience/commit/
> bd0fb08f961dbab12a814a888cd5ab5a97398f19 <
https://github.com/spfenwick/
> william-james_the-varieties-of-religious-experience/commit/
> bd0fb08f961dbab12a814a888cd5ab5a97398f19>;
https://github.com/spfenwick/
> william-james_the-varieties-of-religious-experience/commit/
> a1f141c25c735d3a625e26ad5c6ee16cee77a1d6 <
https://github.com/spfenwick/
> william-james_the-varieties-of-religious-experience/commit/
> a1f141c25c735d3a625e26ad5c6ee16cee77a1d6>
>
> On Friday, February 20, 2026 at 1:00:42 PM UTC+13 Emma Sweeney wrote:
>
> - That looks fine. Add a "continued" class to the paragraph (SEMoS
> 8.4.2.1 <
https://standardebooks.org/manual/1.8.6/single-page#8.4.2.1>).
>
> - That looks fine.
>
> Emma
> On Thursday, February 19, 2026 at 6:48:27 PM UTC-5
spfe...@gmail.com
> wrote:
>
> Thanks. I think that covers all my questions.
>
> Could you also look at this commit and let me know if it's
> appropriate? It's a single paragraph consisting of two separate
> quotes with some introductory text in the middle. I've split it
> into separate blockquotes which I think is clearer.https://
>
github.com/spfenwick/william-james_the-varieties-of-religious-
> experience/commit/8ea3f785d2e4e7b786b0216b966ab3d3d4ebb726
> <
https://github.com/spfenwick/william-james_the-varieties-of-
> religious-experience/
> commit/8ea3f785d2e4e7b786b0216b966ab3d3d4ebb726>
>
> There are also many places in the text where a blockquote
> includes a few non-quoted words, e.g. “In forming a judgment of
> ourselves now,” Edwards writes, “we should certainly adopt...
>
https://github.com/spfenwick/william-james_the-varieties-of-
> religious-experience/
> blob/9cd9d8e742c93879060748c2f8a4062f920540e1/src/epub/text/
> lecture-1.xhtml#L58 <
https://github.com/spfenwick/william-
> james_the-varieties-of-religious-experience/
> blob/9cd9d8e742c93879060748c2f8a4062f920540e1/src/epub/text/
> lecture-1.xhtml#L58>
> Distributed Proofreading Team" (Link <
https://www.pgdp.net/
> c/project.php?id=projectID52e1840e1d626>).
>
> 7.
> - Lecture 4: The Appendix should go in its own <section>
> element with `appendix` semantics. The header should be
> formatted like in SEMoS 7.2.10.8 <https://
>
standardebooks.org/manual/1.8.6/single-page#7.2.10.8>.
> - Lecture 16: each subsection should go in its own <section>
> element with `z3998:subchapter` semantics. Also see SEMoS
> 7.2.10.8 <
https://standardebooks.org/manual/1.8.6/single-
> page#7.2.10.8> for headers. These headers will also need to
> endnotes.xhtml#L127 <
https://github.com/spfenwick/
> william-james_the-varieties-of-religious-experience/
> blob/d8748a1792e34ab6d31b40ea0955a225586bc54b/src/epub/
> text/endnotes.xhtml#L127>
>
> - The book has a description on the titlepage "Being
> the Gifford Lectures..." I've moved this to the
> halftitlepage along with some styling. Please let me
> know if there's a better way to handle this description
> or a better way to tag it.
https://github.com/spfenwick/
> william-james_the-varieties-of-religious-experience/
> blob/d8748a1792e34ab6d31b40ea0955a225586bc54b/src/epub/
> text/halftitlepage.xhtml#L14 <
https://github.com/
> spfenwick/william-james_the-varieties-of-religious-
> experience/blob/
> d8748a1792e34ab6d31b40ea0955a225586bc54b/src/epub/text/
> halftitlepage.xhtml#L14>
>
> - The book is a series of lectures with some
> "chapters" consisting of 2 or 3 lectures combined. The
> title of the one with 3 lectures is "Lectures XI, XII
> and XIII: Saintliness" and the comma doesn't fit well
> with the SE tagging requirements. I've ended up
> including the comma in the XII in the roman numeral
> <span> since otherwise I get a space before the comma,
> but then lint gives me a warning about an invalid roman
> numeral. Please let me know if there's a better way to
> tackle this.
https://github.com/spfenwick/william-
> james_the-varieties-of-religious-experience/blob/
> d8748a1792e34ab6d31b40ea0955a225586bc54b/src/epub/text/
> lecture-11.xhtml#L13 <
https://github.com/spfenwick/
> william-james_the-varieties-of-religious-experience/
> blob/d8748a1792e34ab6d31b40ea0955a225586bc54b/src/epub/
> text/lecture-11.xhtml#L13>
>
> - The title page includes "LLD, Etc" after the
> author's name and I've just omitted that. Is that
> appropriate?
>
> - The PG transcription has no credits at all so I've
> deleted the "Distributed Proofreaders" credit that the
> tool automatically adds. Is that right?
>
> - Lecture 4 includes a short Appendix and lecture 16
> includes some blocks that are split out and numbered
> (I'm not sure what to call those - they're not really
> full sections). None of those should appear in the
> table of contents so I've marked them as <p> with some
> styling. Is there a better way to do this? Lint is
> giving me a warning on the lecture 4 Appendix "CSS class
> only used once. Hint: Craft a selector instead of a
> single-use class." but I'm not sure what to do with
> that - can you help?
https://github.com/spfenwick/
> william-james_the-varieties-of-religious-experience/
> blob/d8748a1792e34ab6d31b40ea0955a225586bc54b/src/epub/
> text/lecture-4.xhtml#L201 <
https://github.com/spfenwick/
> william-james_the-varieties-of-religious-experience/
> blob/d8748a1792e34ab6d31b40ea0955a225586bc54b/src/epub/
> text/lecture-4.xhtml#L201>.
> lecture-16.xhtml#L232 <
https://github.com/spfenwick/
> william-james_the-varieties-of-religious-experience/
> blob/d8748a1792e34ab6d31b40ea0955a225586bc54b/src/epub/
> text/lecture-16.xhtml#L232>
>
> - Could you clarify when to use the <cite> tag in a
> footnote? 7.10.5.3 says "Endnotes with ending citations
> have those citations wrapped in a <cite>". There are
> several footnotes that end with a reference to an
> external work. The example in the style guide simply
> cites a person's name rather than a full reference, so
> I'm not sure if a full reference should be tagged as a
> <cite>:
> Example: “I have had much comfort ... its effect on us.”
> Augustus Hare: Memorials, I 244, Maria Hare to Lucy H.
> Hare.
https://github.com/spfenwick/william-james_the-
> varieties-of-religious-experience/blob/
> d8748a1792e34ab6d31b40ea0955a225586bc54b/src/epub/text/
> endnotes.xhtml#L79 <
https://github.com/spfenwick/
> william-james_the-varieties-of-religious-experience/
> blob/d8748a1792e34ab6d31b40ea0955a225586bc54b/src/epub/
> text/endnotes.xhtml#L79>
>
> I assume this does need a <cite>. Is that right?
> Example: “Nature is always so interesting, under
> whatever aspect she shows herself, that when it rains, I
> seem to see a beautiful woman weeping. She appears the
> more beautiful, the more afflicted she is.” B.de
> St. Pierre.
https://github.com/spfenwick/william-
> james_the-varieties-of-religious-experience/blob/
> d8748a1792e34ab6d31b40ea0955a225586bc54b/src/epub/text/
> endnotes.xhtml#L85 <
https://github.com/spfenwick/
> william-james_the-varieties-of-religious-experience/
> blob/d8748a1792e34ab6d31b40ea0955a225586bc54b/src/epub/
> text/endnotes.xhtml#L85>
>
> Many footnotes contain only a reference. I'm assuming
> the <cite> tag only applies after a direct quote so
> these shouldn't have a <cite> - is that right? e.g.:
> C.Hilty: Glück, dritter Theil, 1900, p. 18. https://
>
github.com/spfenwick/william-james_the-varieties-of-
> religious-experience/blob/
> d8748a1792e34ab6d31b40ea0955a225586bc54b/src/epub/text/
> endnotes.xhtml#L110C1-L111C1 <
https://github.com/
> spfenwick/william-james_the-varieties-of-religious-
> experience/blob/
> d8748a1792e34ab6d31b40ea0955a225586bc54b/src/epub/text/
> endnotes.xhtml#L110C1-L111C1>
> cover.jpg
>
> On Sunday, February 15, 2026 at
> 7:07:46 PM UTC+13 Emma Sweeney wrote:
>
> Can you make a cover mockup?
>
> Emma
> On Sunday, February 15, 2026 at
> 12:56:54 AM UTC-5
spfe...@gmail.com
> wrote:
>
> Would this image be OK? The
> Angel - Standard Ebooks: Free
> and liberated ebooks, carefully
> produced for the true book lover
> <
https://standardebooks.org/
> artworks/william-baxter-closson/
> the-angel>
> <https://
>
standardebooks.org/
> artworks/edvard-munch/
> the-sun>. Is that OK?
> commit/8c3290a435106dc43849c16a1e7fe2f5d6007246 <
https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/commit/8c3290a435106dc43849c16a1e7fe2f5d6007246>
> in.ernet.dli.2015.205091/page/n289/mode/2up <
https://archive.org/details/in.ernet.dli.2015.205091/page/n289/mode/2up>. The previous footnote cites Thomas C Upton, but the footnote seems to be about the citation to Frank Bullen in the text. The finished endnote is here
https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/8c3290a435106dc43849c16a1e7fe2f5d6007246/src/epub/text/endnotes.xhtml#L556 <
https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/8c3290a435106dc43849c16a1e7fe2f5d6007246/src/epub/text/endnotes.xhtml#L556>.
>
> Endnote 237
> similarly seems to
> have an op. cit.
> that references the
> text rather than the
> previous endnote
>
https://github.com/
> spfenwick/william-
> james_the-varieties-
> of-religious-
> experience/
> blob/8c3290a435106dc43849c16a1e7fe2f5d6007246/src/epub/text/endnotes.xhtml#L779 <
https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/8c3290a435106dc43849c16a1e7fe2f5d6007246/src/epub/text/endnotes.xhtml#L779>
> e514d1d1260924e217ee16da894f621315915436 <
https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/commit/e514d1d1260924e217ee16da894f621315915436> onwards) to check I'm doing this right? I know the id's aren't compliant at the moment - I'm going to clean that up once I've done all the references so I know what the sequence numbers are.
> Thanks
> On Saturday,
> February 14,
> 2026 at
> 10:42:53 AM
> UTC+13 Emma
> Sweeney wrote:
>
> You can
> leave
> them as
> endnotes.
>
> Emma
> On
> Friday,
> February
> 13, 2026
> at
> 3:53:02 AM UTC-5
spfe...@gmail.com wrote:
>
> Some
> of
> the
> footnotes consist of a reference to another page and nothing else - like this one
https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/18b6ee87ca628686f0c8806f350c3751bc2fb795/src/epub/text/endnotes.xhtml#L434 <
https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/18b6ee87ca628686f0c8806f350c3751bc2fb795/src/epub/text/endnotes.xhtml#L434>
>
> In
> that
> situation is it better to delete the footnote and have the original text point to directly to the new location? The text leading up to the footnote reference is "and of which you may recall my relating some examples" so in this case I'd make the word "examples" a hyperlink to the appropriate text on page 152.
> On
> Friday, February 13, 2026 at 9:01:24 PM UTC+13 Emma Sweeney wrote:
>
> - Delete the `<span aria-label="#" id="page-#" role="doc-pagebreak"/>` elements throughout the book. You don't need these.
> - For each page reference, add an id to the first paragraph in the page. See SEMoS 5.1.2.8 <
https://standardebooks.org/manual/1.8.6/single-page#5.1.2.8> for an example on id formatting.
> - In the endnotes, you will need to replace the page references with "see here" or "see this paragraph". Make sure this change is in an editorial commit.
>
>
> Emma
> On Friday, February 13, 2026 at 1:26:21 AM UTC-5
spfe...@gmail.com wrote:
>
> Sorry, done now.
>
> On Friday, February 13, 2026 at 5:48:14 PM UTC+13 Emma Sweeney wrote:
>
> Can you make your repo public? The links point to a 404 error page.
>
> Emma
> On Thursday, February 12, 2026 at 11:12:32 PM UTC-5
spfe...@gmail.com wrote:
>
> It's nice to e-meet you Emma and Lukas.
>
> The book is coming together well. It's been a lot less effort so far than one might think largely because the source text is so well marked up with semantics, hyperlinks etc. Most of the effort has been figuring out the right scripts to convert to the Standard Ebooks formatting and semantics, with only a bit of manual editing.
>
> The book builds and works well on my ereader, including TOC and endnotes, but lint is giving quite a few errors. A lot of these look reasonable but there are some I'm not sure what to do with.
>
> The first thing I'm grappling with is the text has a round 30 in-text page references (e.g. See p. 123). In the transcription these are conveniently marked up with hyperlinks. I've converted the page break markers to (what I think is) an epub standard format "<span aria-label="127" id="page-127" role="doc-pagebreak"/>" and kept the hyperlinks.
>
> An example is
https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/4f377558f54f02c2b3b054995ab3776fd0b677ef/src/epub/text/endnotes.xhtml#L1040 <
https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/4f377558f54f02c2b3b054995ab3776fd0b677ef/src/epub/text/endnotes.xhtml#L1040> which points to
https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/4f377558f54f02c2b3b054995ab3776fd0b677ef/src/epub/text/lecture-1.xhtml#L71 <
https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/4f377558f54f02c2b3b054995ab3776fd0b677ef/src/epub/text/lecture-1.xhtml#L71>
>
> That's working well in the finished epub, but lint is giving errors for each of the page markers:
> Empty element. Hint: Use <hr/> for thematic breaks if appropriate.
> and also
> Unexpected value of id attribute. Found: page-2 Expected: lecture-1-span-1
>
> My questions are:
> - Is it best to keep the page references as a hyperlink? It does seem to make the book a lot more usable.
> - If I do that then what is the best way to store the location of the page break? Do I need to worry about those lint errors?
> - I'm also getting errors for the unused page markers since at the moment there's a marker for every page and only a few are linked to. I could remove the unused onesbut I'm not sure if that's best - after all epub does allow for representing physical page #s.
>
> Thanks, Stephen
> On Friday, February 13, 2026 at 3:43:02 PM UTC+13 Alex Cabal wrote:
>
> OK, Emma will manage with Lukas reviewing.
>
> On 2/12/26 4:33 PM, Stephen Fenwick wrote:
> > The repo is here: spfenwick/william-james_the-varieties-of-religious-
> > experience <
https://github.com/spfenwick/william-james_the-varieties-of- <
https://github.com/spfenwick/william-james_the-varieties-of->
> > religious-experience/>
> >
> > So far I've been focusing on changes that I could script in bulk. That's got
> > - endnotes working including backlinks
> > - links to specific pages working - there are quite a lot of those in
> > the book
> > - foreign language tagging - following the tagging in the source,
> > which I haven't checked yet
> > - at least some blockquotes, though I still need to see how much
> > manual formatting is needed.
> > - successfully building epub with a working TOC
> >
> > Now it's a case of going through manually and finding out how much I've
> > taken on 😉. One thing I've noticed is the source doesn't have
> > publication titles tagged, which will be a pain to add.
> > On Friday, February 13, 2026 at 8:26:45 AM UTC+13 Alex Cabal wrote:
> >
> > OK, this is much, much more complex and lengthy, but if you want to
> > take
> > it on then let's see. As you noted there are a lot of endnotes. You can
> > cut the index. There are also many blockquotes in each essay. Since
> > there is a preface you will have to add a half title page.
> >
> > Please send a link to your repo once you get started!
> >
> > On 2/12/26 1:33 PM, Stephen Fenwick wrote:
> > > Now that Privy Seal looks like it's complete I'd like to tackle The
> > > Varieties of Religious Experience by William James:
> > > The Varieties of Religious Experience: A Study in Human Nature by
> > > William James | Project Gutenberg <
https://www.gutenberg.org/ <
https://www.gutenberg.org/>
> > ebooks/621 <
https://www.gutenberg.org/ebooks/621 <
https://www.gutenberg.org/ebooks/621>>>
> > > Varieties Of Religious Experience. : James,william. : Free Download,
> > > Borrow, and Streaming : Internet Archive <
https://archive.org/ <
https://archive.org/>
> > details/ <
https://archive.org/details/ <
https://archive.org/details/>>
> > > in.ernet.dli.2015.205091/mode/2up>
> > >
> > > I know this one is significantly longer and more complex.
> > >
> > > On the plus side, the PG source is already very well structured
> > with a
> > > lot of semantics though in a different format. The endnotes and
> > > hyperlinks, for example, can be converted to the Standard Ebooks
> > format
> > > with some judicial search-and-replace plus xslt transformations. A
> > > similar approach works for foreign language tags. I'll approach
> > this by
> > > wherever possible taking the existing semantics and transforming
> > into
> > > the Standard Ebooks format rather than starting everything from
> > scratch.
> > >
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Standard Ebooks" group.
> > > To unsubscribe from this group and stop receiving emails from it,
> > send
> > > an email to
standardebook...@googlegroups.com
> > > <mailto:
standardebook...@googlegroups.com>.
> > > To view this discussion visit
https://groups.google.com/d/msgid/ <
https://groups.google.com/d/msgid/>
> > <
https://groups.google.com/d/msgid/ <
https://groups.google.com/d/msgid/>>
> > > standardebooks/85ea3cb4-b0b8-42e5-9df2-
> > c352ebb06e32n%
40googlegroups.com <
http://40googlegroups.com> <
http://40googlegroups.com <
http://40googlegroups.com>>
> > <
http://40googlegroups.com <
http://40googlegroups.com>>?
> > > utm_medium=email&utm_source=footer>.
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Standard Ebooks" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> > an email to
standardebook...@googlegroups.com
> > <mailto:
standardebook...@googlegroups.com>.
> > To view this discussion visit
https://groups.google.com/d/msgid/ <
https://groups.google.com/d/msgid/>
> > standardebooks/d0a3570a-bab6-48af-b6e7-dca2d434936cn%
40googlegroups.com <
http://40googlegroups.com>
> > <
https://groups.google.com/d/msgid/standardebooks/d0a3570a-bab6-48af- <
https://groups.google.com/d/msgid/standardebooks/d0a3570a-bab6-48af->
> > b6e7-dca2d434936cn%
40googlegroups.com?utm_medium=email&utm_source=footer <
http://40googlegroups.com?utm_medium=email&utm_source=footer>>.
> standardebooks/ab197cad-3368-49a4-a9b4-84469bc82751n%
40googlegroups.com
> <
https://groups.google.com/d/msgid/standardebooks/ab197cad-3368-49a4-
> a9b4-84469bc82751n%
40googlegroups.com?utm_medium=email&utm_source=footer>.