[Next Project] The Varieties of Religious Experience by William James

608 views
Skip to first unread message

Stephen Fenwick

unread,
Feb 12, 2026, 1:33:15 PMFeb 12
to Standard Ebooks
Now that Privy Seal looks like it's complete I'd like to tackle The Varieties of Religious Experience by William James:

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.

Alex Cabal

unread,
Feb 12, 2026, 2:26:45 PMFeb 12
to standar...@googlegroups.com
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/ebooks/621>
> Varieties Of Religious Experience. : James,william. : Free Download,
> Borrow, and Streaming : Internet Archive <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/
> standardebooks/85ea3cb4-b0b8-42e5-9df2-c352ebb06e32n%40googlegroups.com
> <https://groups.google.com/d/msgid/standardebooks/85ea3cb4-
> b0b8-42e5-9df2-c352ebb06e32n%40googlegroups.com?
> utm_medium=email&utm_source=footer>.

Stephen Fenwick

unread,
Feb 12, 2026, 4:33:22 PMFeb 12
to Standard Ebooks
The repo is here: 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.

Alex Cabal

unread,
Feb 12, 2026, 9:43:02 PMFeb 12
to standar...@googlegroups.com
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-
> 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/
> ebooks/621 <https://www.gutenberg.org/ebooks/621>>
> > Varieties Of Religious Experience. : James,william. : Free Download,
> > Borrow, and Streaming : Internet Archive <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/>
> > standardebooks/85ea3cb4-b0b8-42e5-9df2-
> c352ebb06e32n%40googlegroups.com <http://40googlegroups.com>
> > <https://groups.google.com/d/msgid/standardebooks/85ea3cb4-
> <https://groups.google.com/d/msgid/standardebooks/85ea3cb4->
> > b0b8-42e5-9df2-c352ebb06e32n%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/
> standardebooks/d0a3570a-bab6-48af-b6e7-dca2d434936cn%40googlegroups.com
> <https://groups.google.com/d/msgid/standardebooks/d0a3570a-bab6-48af-
> b6e7-dca2d434936cn%40googlegroups.com?utm_medium=email&utm_source=footer>.

Stephen Fenwick

unread,
Feb 12, 2026, 11:12:32 PMFeb 12
to Standard Ebooks
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.


 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

Emma Sweeney

unread,
Feb 12, 2026, 11:48:14 PMFeb 12
to Standard Ebooks
Can you make your repo public? The links point to a 404 error page.

Emma

Stephen Fenwick

unread,
Feb 13, 2026, 1:26:21 AMFeb 13
to Standard Ebooks
Sorry, done now.

Emma Sweeney

unread,
Feb 13, 2026, 3:01:24 AMFeb 13
to Standard Ebooks
- 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 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

Stephen Fenwick

unread,
Feb 13, 2026, 3:53:02 AMFeb 13
to Standard Ebooks
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

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.

Emma Sweeney

unread,
Feb 13, 2026, 4:42:53 PMFeb 13
to Standard Ebooks
You can leave them as endnotes.

Emma

Stephen Fenwick

unread,
Feb 13, 2026, 6:37:39 PMFeb 13
to Standard Ebooks
Could you have a look at the last few commits (from 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

Emma Sweeney

unread,
Feb 13, 2026, 7:25:30 PMFeb 13
to Standard Ebooks
Use  "here" or "this paragraph" instead of "above. Not all ereaders display endnotes at the bottom of the screen.

Emma

Stephen Fenwick

unread,
Feb 14, 2026, 9:23:27 PMFeb 14
to Standard Ebooks
The cross references should be in good shape now.

I've reworded the endnotes to remove op. cit. etc as suggested by lint. In the process I found the references to other works are very inconsistent - sometimes there's a full citation, sometimes just a title, sometimes just an author, sometimes just a chapter reference without even an op. cit. I've tried to make each of the citations stand on its own as lint seems to intend. The result is this commit: https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/commit/8c3290a435106dc43849c16a1e7fe2f5d6007246

Questions:
 - Is this the right approach?
 - Should I go any further with standardising the references? e.g. sometimes there is a publisher, date, etc and sometimes not. In a modern book it would be normal to see more standardisation but the author doesn't do this.
 - The op. cit. in endnote 171 seems to reference the citation in the text rather than the previous footnote. Is this a normal use of op.cit.? I thought it normally meant the citation from the previous footnote. The original is here - footnote 1 on page 283 -  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.

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

Stephen Fenwick

unread,
Feb 14, 2026, 9:46:48 PMFeb 14
to Standard Ebooks

Also, I'd like to use this image for the cover The Sun - Standard Ebooks: Free and liberated ebooks, carefully produced for the true book lover. Is that OK?

Emma Sweeney

unread,
Feb 14, 2026, 10:40:28 PMFeb 14
to Standard Ebooks
- The changes look fine to me. I think it's fine to have at least the author and work title for the references.

- I'll let you decide what are the correct citations for endnotes 1717 and 237, because I've not as familiar with the work as you are. Just make sure the changes are in an editorial commit. If someone else with more knowledge disagrees, we can easily change it later.

- We reserve abstract art for science fiction, because it is very hard to find artwork for this subject. There is plenty of religious artwork available to choose from.


Emma

Stephen Fenwick

unread,
Feb 15, 2026, 12:56:54 AMFeb 15
to Standard Ebooks

Emma Sweeney

unread,
Feb 15, 2026, 1:07:46 AMFeb 15
to Standard Ebooks
Can you make a cover mockup?

Emma

Stephen Fenwick

unread,
Feb 15, 2026, 2:02:54 AMFeb 15
to Standard Ebooks
I think this works well. The book was published in 1902 so I'm keen to have a cover image from the same era.
cover.jpg

Emma Sweeney

unread,
Feb 15, 2026, 11:14:26 PMFeb 15
to Standard Ebooks
Looks good! I've updated the art DB.

Emma

Stephen Fenwick

unread,
Feb 18, 2026, 2:26:02 PMFeb 18
to Standard Ebooks
The endnotes especially need quite a bit of cleanup and I want to make sure I'm using the {Editorial] tag on commits correctly. Should any of the following be marked as an editorial change?
 - Italicising titles of books, etc.
 - Adding quotes around titles of chapters etc, or removing quotes from a book title when it should be italicised instead?
 - Changing capitalisation of titles to comply with SE standards
 - Removing periods after roman numerals
 - Adding numbered list formatting when a series of paragraphs already start with 1. 2. etc but are not formatted?

Thanks

Emma Sweeney

unread,
Feb 18, 2026, 6:10:47 PMFeb 18
to Standard Ebooks
If you are adding and/or removing plain text, the changes should be marked as [Editorial].

- Italicising titles of books --> This is adding HTML code and EPUB semantics, so this would not be considered [Editorial].
- Adding/removing quotes --> [Editorial].
- Changing capitalisation of titles --> I would consider this a manual typography change since you are changing just the capitalization.
- Removing periods after roman numerals --> [Editorial]. It is easy to delete the wrong periods.
- Adding numbered list formatting when a series of paragraphs already start with 1. 2. etc. --> This is a grey area. I would consider is not [Editorial]. The numbers are still there but rendered with code rather than plain text. I would make this its own commit with a clear message like "Add ordered list formatting".

Emma

Stephen Fenwick

unread,
Feb 19, 2026, 4:20:29 PMFeb 19
to Standard Ebooks
Thanks for that guidance.

The book is coming together well. There are a few things I'd like to confirm before it's ready for review.

 - The author often uses a :- (colon, em dash) before a full paragraph quote (he doesn't use block quotes though I've added those to the ebook).  He also sometimes uses just an em dash.  Those feel dated so throughout the book I'm intending to replace both the :- and the - at the end of a paragraph with a colon. Is that appropriate? Presumably that would be an [Editorial] commit.

 - I've chosen not to use block quotes in endnotes, though there are several long endnotes  with full paragraph quotes, as I'm not convinced breaking up the text of endnotes in this way improves readability. That's a personal preference though and I'll use block quotes in footnotes if it's a requirement.  An example of an endnote where a block quote would be a possibility is 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

 - 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

 - 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.
Also here are the "headings in lecture 16 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

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

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

Emma Sweeney

unread,
Feb 19, 2026, 5:32:11 PMFeb 19
to Standard Ebooks
1. Leave the punctuation alone.

2. It's not always about readability, it's about using correct semantics. If there are full paragraph quotes and quotes that span multiple paragraphs, they should be blockquoted.

3. Delete that line. It looks like modern editions have cut that information.

4. The title in the example should be formatted like:

<hgroup>
<h2><span epub:type="label">Lectures</span> <span epub:type="ordinal z3998:roman">XI</span>, <span epub:type="ordinal z3998:roman">XII</span>, and <span epub:type="ordinal z3998:roman">XIII</span></h2>
<p epub:type="title">Saintliness</p>
</hgroup>

You'll also need to rename the file names and ids for combined lectures (ex. `lectures-11-12-and-13`).

5. You can include that in the author's full name in the content.opf.

6. Keep Distributed Proofreaders. According to PGDP, the transcribers were "David Edwards, David King and the Online Distributed Proofreading Team" (Link).

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.
- Lecture 16: each subsection should go in its own <section> element with `z3998:subchapter` semantics. Also see SEMoS 7.2.10.8 for headers. These headers will also need to be converted to Roman numerals.
- You can just delete the classes.

8. Yes, the full citation for the quote should be tagged with <cite>. If the citation is not for a quote, doesn't have a quote, or is located before the quote, don't mark it. It looks like both examples would have <cite> elements.

Let me know if I missed anything.

Emma

Stephen Fenwick

unread,
Feb 19, 2026, 6:48:27 PMFeb 19
to Standard Ebooks
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

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
In those cases i've put the blockquote around the whole paragraph. Is that right?

Emma Sweeney

unread,
Feb 19, 2026, 7:00:42 PMFeb 19
to Standard Ebooks
- That looks fine. Add a "continued" class to the paragraph (SEMoS 8.4.2.1).

- That looks fine.

Emma

Stephen Fenwick

unread,
Feb 20, 2026, 5:06:04 PMFeb 20
to Standard Ebooks
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

Stephen Fenwick

unread,
Feb 21, 2026, 1:08:24 AMFeb 21
to Standard Ebooks
BTW, I know the <cite> tags should be after the <p>. I found that when I ran lint and have fixed that in a subsequent commit.

Alex Cabal

unread,
Feb 21, 2026, 3:08:06 PMFeb 21
to standar...@googlegroups.com
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>.
> Also here are the "headings in lecture 16 https://
> github.com/spfenwick/william-james_the-varieties-of-
> religious-experience/blob/
> d8748a1792e34ab6d31b40ea0955a225586bc54b/src/epub/text/
> 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>>.
>
> --
> 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/
> 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>.

Emma Sweeney

unread,
Feb 21, 2026, 3:24:50 PMFeb 21
to Standard Ebooks
Looks good!

Emma

Stephen Fenwick

unread,
Feb 23, 2026, 1:00:32 AMFeb 23
to Standard Ebooks
I think this book is ready for review. I've done everything I can think of, though this book has a fair bit of complexity so I'm sure there will be things I've missed.

Emma Sweeney

unread,
Feb 23, 2026, 8:45:23 AMFeb 23
to Standard Ebooks
You still have some lint errors to address before review.

Emma

Stephen Fenwick

unread,
Feb 23, 2026, 1:07:18 PM (14 days ago) Feb 23
to Standard Ebooks
I'm seeing two "Manual Review" warnings:
 - "Possible typo: Italics running into preceding or following characters" from what I can tell relates to a French title that is correct
 - "‘ missing matching ’." seems to relate to a quote containing some apostrophes that lint is misinterpreting as quotes.

I'm not sure what to do about either of these.

Emma Sweeney

unread,
Feb 23, 2026, 3:22:10 PM (14 days ago) Feb 23
to Standard Ebooks
- There is an extra "i" after the title.
- You have left curly quotes where there should be right curly quotes. You can run `se interactive-replace "(\s)‘([a-z])" "\1’\2" .` to check for miscurled quotes.

Emma

Stephen Fenwick

unread,
Feb 23, 2026, 11:20:54 PM (14 days ago) Feb 23
to Standard Ebooks
Thanks. Both are fixed now.

Stephen Fenwick

unread,
Feb 24, 2026, 3:21:05 AM (13 days ago) Feb 24
to Standard Ebooks
I also found a number of additional quotes that needed separating out and formatting as <blockquotes>s. Those changes are finished now.

Alex Cabal

unread,
Feb 24, 2026, 12:03:31 PM (13 days ago) Feb 24
to standar...@googlegroups.com
OK, so I think this is up for review?
> commit/8dbcebb2117ae76baf944c7fbe3b0073d6371726 <https://github.com/ <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- <https://
> github.com/spfenwick/william-james_the->
> > varieties-of-religious-experience/commit/
> > bd0fb08f961dbab12a814a888cd5ab5a97398f19
> <https://github.com/spfenwick/ <https://
> github.com/spfenwick/>
> > william-james_the-varieties-of-religious-
> experience/commit/
> >
> bd0fb08f961dbab12a814a888cd5ab5a97398f19>;
> https://github.com/spfenwick/ <https://
> github.com/spfenwick/>
> > william-james_the-varieties-of-religious-
> experience/commit/
> > a1f141c25c735d3a625e26ad5c6ee16cee77a1d6
> <https://github.com/spfenwick/ <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 <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- <http://github.com/
> spfenwick/william-james_the-varieties-of-
> religious->
> > experience/
> commit/8ea3f785d2e4e7b786b0216b966ab3d3d4ebb726
> > <https://github.com/spfenwick/william-
> james_the-varieties-of- <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- <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- <https://github.com/
> spfenwick/william->
> <https://www.pgdp.net/ <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 <http://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- <https://
> standardebooks.org/manual/1.8.6/single->
> james_the- <https://github.com/spfenwick/
> william-james_the->
> > varieties-of-religious-experience/blob/
> > d8748a1792e34ab6d31b40ea0955a225586bc54b/
> src/epub/text/
> > endnotes.xhtml#L127 <https://github.com/
> spfenwick/ <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/ <https://github.com/
> spfenwick/>
> > william-james_the-varieties-of-religious-
> experience/
> > blob/
> d8748a1792e34ab6d31b40ea0955a225586bc54b/
> src/epub/
> > text/halftitlepage.xhtml#L14 <https://
> github.com/ <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- <https://github.com/
> spfenwick/william->
> > james_the-varieties-of-religious-
> experience/blob/
> > d8748a1792e34ab6d31b40ea0955a225586bc54b/
> src/epub/text/
> > lecture-11.xhtml#L13 <https://github.com/
> spfenwick/ <https://github.com/spfenwick/>
> > william-james_the-varieties-of-religious-
> experience/
> > blob/
> d8748a1792e34ab6d31b40ea0955a225586bc54b/
> spfenwick/ <https://github.com/spfenwick/>
> > william-james_the-varieties-of-religious-
> experience/
> > blob/
> d8748a1792e34ab6d31b40ea0955a225586bc54b/
> src/epub/
> > text/lecture-4.xhtml#L201 <https://
> github.com/spfenwick/ <https://github.com/
> spfenwick/>
> > william-james_the-varieties-of-religious-
> experience/
> > blob/
> d8748a1792e34ab6d31b40ea0955a225586bc54b/
> src/epub/
> > text/lecture-4.xhtml#L201>.
> > Also here are the "headings in lecture 16
> https://
> > github.com/spfenwick/william-james_the-
> varieties-of- <http://github.com/spfenwick/
> william-james_the-varieties-of->
> > religious-experience/blob/
> > d8748a1792e34ab6d31b40ea0955a225586bc54b/
> src/epub/text/
> > lecture-16.xhtml#L232 <https://
> github.com/spfenwick/ <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- <https://github.com/
> spfenwick/william-james_the->
> > varieties-of-religious-experience/blob/
> > d8748a1792e34ab6d31b40ea0955a225586bc54b/
> src/epub/text/
> > endnotes.xhtml#L79 <https://github.com/
> spfenwick/ <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- <https://github.com/spfenwick/
> william->
> > james_the-varieties-of-religious-
> experience/blob/
> > d8748a1792e34ab6d31b40ea0955a225586bc54b/
> src/epub/text/
> > endnotes.xhtml#L85 <https://github.com/
> spfenwick/ <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- <http://github.com/spfenwick/
> william-james_the-varieties-of->
> > religious-experience/blob/
> > d8748a1792e34ab6d31b40ea0955a225586bc54b/
> src/epub/text/
> > endnotes.xhtml#L110C1-L111C1 <https://
> github.com/ <https://github.com/>
> > spfenwick/william-james_the-varieties-of-
> religious-
> > experience/blob/
> > d8748a1792e34ab6d31b40ea0955a225586bc54b/
> > <https://standardebooks.org/ <https://
> standardebooks.org/>
> > standardebooks.org/ <http://
> > github.com/ <http://github.com/>
> > spfenwick/william-
> > james_the-varieties-
> > of-religious-
> > experience/
> >
> commit/8c3290a435106dc43849c16a1e7fe2f5d6007246 <https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/commit/8c3290a435106dc43849c16a1e7fe2f5d6007246 <https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/commit/8c3290a435106dc43849c16a1e7fe2f5d6007246>>
> > archive.org/details/ <http://archive.org/
> details/>
> > in.ernet.dli.2015.205091/page/n289/
> mode/2up <https://archive.org/details/
> 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> <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/ <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 <https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/8c3290a435106dc43849c16a1e7fe2f5d6007246/src/epub/text/endnotes.xhtml#L779>>
> > On Saturday,
> > February 14, 2026 at
> > 1:25:30 PM UTC+13
> > Emma Sweeney wrote:
> >
> > Use  "here" or
> > "this paragraph"
> > instead of
> > "above. Not all
> > ereaders display
> > endnotes at the
> > bottom of the
> > screen.
> >
> > Emma
> > On Friday,
> > February 13,
> > 2026 at
> > 6:37:39 PM UTC-5
> > spfe...@gmail.com wrote:
> >
> > Could you
> > have a look
> > at the last
> > few commits
> > (from
> > https://
> > github.com/ <http://github.com/>
> > spfenwick/
> > william-
> > james_the-
> > varieties-
> > of-
> > religious-
> > experience/
> > commit/
> > e514d1d1260924e217ee16da894f621315915436
> <https://github.com/spfenwick/william-
> james_the-varieties-of-religious-experience/
> commit/
> e514d1d1260924e217ee16da894f621315915436
> <https://github.com/spfenwick/william-
> james_the-varieties-of-religious-experience/
> commit/
> 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> <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 <https://
> standardebooks.org/manual/1.8.6/single-
> 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> <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> <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>>
> james_the-varieties-of-> <https://
> github.com/spfenwick/william-james_the-
> varieties-of- <https://github.com/spfenwick/
> www.gutenberg.org/> <https://
> www.gutenberg.org/ <https://
> www.gutenberg.org/>>
> > > ebooks/621 <https://www.gutenberg.org/
> ebooks/621 <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/> <https://archive.org/
> <https://archive.org/details/> <https://
> archive.org/details/ <https://archive.org/
> <http://40googlegroups.com>>>
> > > > <https://groups.google.com/d/msgid/
> standardebooks/85ea3cb4- <https://
> groups.google.com/d/msgid/
> standardebooks/85ea3cb4-> <https://
> groups.google.com/d/msgid/
> standardebooks/85ea3cb4- <https://
> groups.google.com/d/msgid/
> standardebooks/85ea3cb4->>
> > > <https://groups.google.com/d/msgid/
> standardebooks/85ea3cb4- <https://
> groups.google.com/d/msgid/
> standardebooks/85ea3cb4-> <https://
> groups.google.com/d/msgid/
> standardebooks/85ea3cb4- <https://
> groups.google.com/d/msgid/
> standardebooks/85ea3cb4->>>
> <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/> <https://
> groups.google.com/d/msgid/ <https://
> groups.google.com/d/msgid/>>
> > > standardebooks/d0a3570a-bab6-48af-b6e7-
> dca2d434936cn%40googlegroups.com
> standardebooks/d0a3570a-bab6-48af- <https://
> groups.google.com/d/msgid/standardebooks/
> d0a3570a-bab6-48af-> <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>
> <http://40googlegroups.com?
> utm_medium=email&utm_source=footer
> <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/ab197cad-3368-49a4-
> a9b4-84469bc82751n%40googlegroups.com
> <http://40googlegroups.com>
> > <https://groups.google.com/d/msgid/
> standardebooks/ab197cad-3368-49a4- <https://
> groups.google.com/d/msgid/standardebooks/
> ab197cad-3368-49a4->
> > a9b4-84469bc82751n%40googlegroups.com?
> utm_medium=email&utm_source=footer
> <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/
> standardebooks/fb0eacae-dae5-4618-8417-fff095980e30n%40googlegroups.com
> <https://groups.google.com/d/msgid/standardebooks/fb0eacae-
> dae5-4618-8417-fff095980e30n%40googlegroups.com?
> utm_medium=email&utm_source=footer>.

Stephen Fenwick

unread,
Feb 24, 2026, 1:00:49 PM (13 days ago) Feb 24
to Standard Ebooks
Yes ready for review from my perspective.

Lukas Bystricky

unread,
Feb 24, 2026, 1:51:37 PM (13 days ago) Feb 24
to standar...@googlegroups.com
Sounds good. I'll get to this in the next few days. 

Lukas Bystricky

unread,
Feb 26, 2026, 4:06:32 PM (11 days ago) Feb 26
to Standard Ebooks
Before I really start the review, I have some questions about the filenames. There are several chapters that contain multiple lectures. For example,
Screenshot 2026-02-26 at 10.00.09 PM.png

As far as I can tell the lectures aren't separated in the text, it's an amalgamation of two lectures. Currently the filename for this chapter is lectures-4-and-5.xhtml. I think it would be better to forget the lecture numbers when naming the file and instead name the files "chapter". So this file would be chapter-4.xhtml, then lectures 6 and 7 would go in chapter-5.xhtml etc.  How does that sound?

Emma Sweeney

unread,
Feb 26, 2026, 5:51:59 PM (11 days ago) Feb 26
to Standard Ebooks
"Files containing a short story, essay, or other short work in a larger collection, are named with the URL-safe title of the work, excluding any subtitles" (SEMoS 2.2.2). The file names should match the titles. If a typo is found, you would have to open each chapter file in order to find the correct lecture.

Emma

Lukas Bystricky

unread,
Feb 27, 2026, 1:06:02 AM (10 days ago) Feb 27
to Standard Ebooks
Ok. A separate issue is that build-toc takes the headers like 

<hgroup>
<h2>Lectures <span epub:type="ordinal z3998:roman">IV</span> and <span epub:type="ordinal z3998:roman">V</span></h2>
<p epub:type="title">The Religion of Healthy-Mindedness</p>
</hgroup>

And creates a table of contents that looks like:
Screenshot 2026-02-27 at 6.57.09 AM.png

This can be fixed manually of course (as was done), or by removing some of the semantics in the header, but it seems like a bug in build-toc. 

Stephen Fenwick

unread,
Feb 27, 2026, 1:28:33 AM (10 days ago) Feb 27
to Standard Ebooks
I found that issue too. Putting the “and” inside a <span> gave better behaviour though I’m not sure if that’s “correct” in terms of SEMoS. I still had trouble with one chapter that combines three lectures and whose title includes a comma - I couldn’t get around manual editing for that.

Emma Sweeney

unread,
Feb 27, 2026, 2:02:22 AM (10 days ago) Feb 27
to Standard Ebooks
You could format it like:

<hgroup>
<h2>

<span epub:type="label">Lectures</span>
<span epub:type="ordinal"><span epub:type="z3998:roman">XI</span>, <span epub:type="z3998:roman">XII</span> and <span epub:type="z3998:roman">XIII</span></span>
</h2>
<p epub:type="title">Saintliness</p>
</hgroup>


Emma

Stephen Fenwick

unread,
Feb 27, 2026, 2:32:13 AM (10 days ago) Feb 27
to Standard Ebooks
That's giving me a toc entry of

<li>
<a href="text/lectures-11-12-and-13.xhtml">Lectures <span epub:type="z3998:roman">XI , <span epub:type="z3998:roman">XII</span> and <span epub:type="z3998:roman">XIII</span></span>: Saintliness</a>
</li>

That has a space before the comma (which I could manually remove) and also gives a lint error in toc.xhtml "Invalid Roman numeral"

Alex Cabal

unread,
Feb 27, 2026, 10:13:08 AM (10 days ago) Feb 27
to standar...@googlegroups.com
This is a bug in build-toc, just do what is actually correct in the
chapter file and fix it manually in the ToC for now. I'll push a fix for
this in the next version of the toolset.
> Screenshot 2026-02-27 at 6.57.09 AM.png
>
> This can be fixed manually of course (as was done), or by
> removing some of the semantics in the header, but it seems
> like a bug in build-toc.
>
> On Thursday, February 26, 2026 at 11:51:59 PM UTC+1 Emma
> Sweeney wrote:
>
> "Files containing a short story, essay, or other short
> work in a larger collection, are named with the URL-safe
> title of the work, excluding any subtitles" (SEMoS 2.2.2
> <https://standardebooks.org/manual/1.8.6/2-
> filesystem#2.2.2>). The file names should match the
> titles. If a typo is found, you would have to open each
> chapter file in order to find the correct lecture.
>
> Emma
> On Thursday, February 26, 2026 at 4:06:32 PM UTC-5
> lukasby...@gmail.com wrote:
>
> Before I really start the review, I have some
> questions about the filenames. There are several
> chapters that contain multiple lectures. For example,
> > <https://github.com/spfenwick/
> william- <https://github.com/spfenwick/
> william->>
> > > james_the-varieties-of-religious-
> experience/
> > >
> >
> commit/8dbcebb2117ae76baf944c7fbe3b0073d6371726 <https://github.com/ <https://github.com/> <https://github.com/ <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/ <https://github.com/>
> > spfenwick/william-james_the- <https://
> > github.com/spfenwick/william-
> james_the- <http://github.com/spfenwick/
> william-james_the->>
> > > varieties-of-religious-experience/
> commit/
> > >
> bd0fb08f961dbab12a814a888cd5ab5a97398f19
> > <https://github.com/spfenwick/
> <https://github.com/spfenwick/> <https://
> > github.com/spfenwick/ <http://
> github.com/spfenwick/>>
> > > william-james_the-varieties-of-
> religious-
> > experience/commit/
> > >
> >
> bd0fb08f961dbab12a814a888cd5ab5a97398f19>;
> > https://github.com/spfenwick/
> <https://github.com/spfenwick/> <https://
> > github.com/spfenwick/ <http://
> github.com/spfenwick/>>
> > > william-james_the-varieties-of-
> religious-
> > experience/commit/
> > >
> a1f141c25c735d3a625e26ad5c6ee16cee77a1d6
> > <https://github.com/spfenwick/
> <https://github.com/spfenwick/> <https://
> > github.com/spfenwick/ <http://
> 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/ <https://
> standardebooks.org/>
> > manual/1.8.6/single-page#8.4.2.1
> <https://
> > standardebooks.org/manual/1.8.6/
> single- <http://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- <http://github.com/spfenwick/
> william-james_the->
> > varieties-of-religious- <http://
> github.com/ <http://github.com/>
> > spfenwick/william-james_the-
> varieties-of-
> > religious->
> > > experience/
> >
> commit/8ea3f785d2e4e7b786b0216b966ab3d3d4ebb726
> > james_the-varieties-of- <https://
> github.com/ <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...
> william->
> > james_the-varieties-of- <https://
> github.com/ <https://github.com/>
> > spfenwick/william-james_the-
> varieties-of->
> > > religious-experience/
> > >
> >
> blob/9cd9d8e742c93879060748c2f8a4062f920540e1/src/epub/text/
> > > lecture-1.xhtml#L58 <https://
> github.com/ <https://github.com/>
> > spfenwick/william- <https://
> github.com/ <https://github.com/>
> > spfenwick/william->
> > > james_the-varieties-of-religious-
> experience/
> > >
> >
> www.pgdp.net/> <https://www.pgdp.net/
> <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- <http://standardebooks.org/
> manual/1.8.6/single->
> > page#7.2.10.8 <http://
> standardebooks.org/ <http://
> 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/ <https://
> standardebooks.org/>
> > manual/1.8.6/single- <https://
> > standardebooks.org/manual/1.8.6/
> single- <http://standardebooks.org/
> > > is https://github.com/spfenwick/
> william- <https://github.com/spfenwick/
> william->
> > james_the- <https://github.com/
> spfenwick/ <https://github.com/spfenwick/>
> > william-james_the->
> > > varieties-of-religious-experience/
> blob/
> > >
> d8748a1792e34ab6d31b40ea0955a225586bc54b/
> > src/epub/text/
> > > endnotes.xhtml#L127 <https://
> github.com/ <https://github.com/>
> > spfenwick/ <https://github.com/
> spfenwick/ <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/ <http://
> github.com/spfenwick/> <https://
> github.com/ <https://github.com/>
> > spfenwick/>
> > > william-james_the-varieties-of-
> religious-
> > experience/
> > > blob/
> >
> d8748a1792e34ab6d31b40ea0955a225586bc54b/
> > src/epub/
> > > text/halftitlepage.xhtml#L14 <https://
> > github.com/ <http://github.com/>
> <https://github.com/ <https://github.com/>>
> > > spfenwick/william-james_the-
> <https://github.com/>
> > spfenwick/william- <https://
> github.com/ <https://github.com/>
> > spfenwick/william->
> > > james_the-varieties-of-religious-
> > experience/blob/
> > >
> d8748a1792e34ab6d31b40ea0955a225586bc54b/
> > src/epub/text/
> > > lecture-11.xhtml#L13 <https://
> github.com/ <https://github.com/>
> > spfenwick/ <https://github.com/
> spfenwick/ <https://github.com/spfenwick/>>
> > > william-james_the-varieties-of-
> religious-
> > experience/
> > > blob/
> >
> github.com/ <https://github.com/>
> > spfenwick/ <https://github.com/
> spfenwick/ <https://github.com/spfenwick/>>
> > > william-james_the-varieties-of-
> religious-
> > experience/
> > > blob/
> >
> d8748a1792e34ab6d31b40ea0955a225586bc54b/
> > src/epub/
> > > text/lecture-4.xhtml#L201 <https://
> > github.com/spfenwick/ <http://
> github.com/spfenwick/> <https://
> github.com/ <https://github.com/>
> > spfenwick/>
> > > william-james_the-varieties-of-
> religious-
> > experience/
> > > blob/
> >
> d8748a1792e34ab6d31b40ea0955a225586bc54b/
> > src/epub/
> > > text/lecture-4.xhtml#L201>.
> > > Also here are the "headings in
> lecture 16
> > https://
> > > github.com/spfenwick/william-
> james_the- <http://github.com/spfenwick/
> william-james_the->
> > varieties-of- <http://github.com/
> spfenwick/ <http://github.com/spfenwick/>
> > william-james_the-varieties-of->
> > > religious-experience/blob/
> > >
> d8748a1792e34ab6d31b40ea0955a225586bc54b/
> > src/epub/text/
> > > lecture-16.xhtml#L232 <https://
> > github.com/spfenwick/ <http://
> github.com/spfenwick/> <https://
> github.com/ <https://github.com/>
> > spfenwick/>
> > > william-james_the-varieties-of-
> religious-
> <https://github.com/spfenwick/>
> > william-james_the- <https://
> github.com/ <https://github.com/>
> > spfenwick/william-james_the->
> > > varieties-of-religious-experience/
> blob/
> > >
> d8748a1792e34ab6d31b40ea0955a225586bc54b/
> > src/epub/text/
> > > endnotes.xhtml#L79 <https://
> github.com/ <https://github.com/>
> > spfenwick/ <https://github.com/
> spfenwick/ <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/ <https://github.com/spfenwick/>
> > william- <https://github.com/
> spfenwick/ <https://github.com/spfenwick/>
> > william->
> > > james_the-varieties-of-religious-
> > experience/blob/
> > >
> d8748a1792e34ab6d31b40ea0955a225586bc54b/
> > src/epub/text/
> > > endnotes.xhtml#L85 <https://
> github.com/ <https://github.com/>
> > spfenwick/ <https://github.com/
> spfenwick/ <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- <http://github.com/spfenwick/
> william-james_the->
> > varieties-of- <http://github.com/
> spfenwick/ <http://github.com/spfenwick/>
> > william-james_the-varieties-of->
> > > religious-experience/blob/
> > >
> d8748a1792e34ab6d31b40ea0955a225586bc54b/
> > src/epub/text/
> > > endnotes.xhtml#L110C1-L111C1 <https://
> > github.com/ <http://github.com/>
> <https://github.com/ <https://github.com/>>
> > > spfenwick/william-james_the-
> <https://standardebooks.org/> <https://
> standardebooks.org/> <http://
> <http://github.com/ <http://github.com/>>
> > > spfenwick/william-
> > > james_the-varieties-
> > > of-religious-
> > > experience/
> > >
> >
> commit/8c3290a435106dc43849c16a1e7fe2f5d6007246 <https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/commit/8c3290a435106dc43849c16a1e7fe2f5d6007246 <https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/commit/8c3290a435106dc43849c16a1e7fe2f5d6007246> <https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/commit/8c3290a435106dc43849c16a1e7fe2f5d6007246 <https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/commit/8c3290a435106dc43849c16a1e7fe2f5d6007246>>>
> archive.org/details/> <http://
> archive.org/ <http://archive.org/>
> > details/>
> > > in.ernet.dli.2015.205091/page/n289/
> > mode/2up <https://archive.org/
> details/ <https://archive.org/details/>
> > in.ernet.dli.2015.205091/page/n289/
> mode/2up
> > <https://archive.org/details/
> <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- <http://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 <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 <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 <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/ <https://
> github.com/> <https://github.com/
> <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 <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 <https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/8c3290a435106dc43849c16a1e7fe2f5d6007246/src/epub/text/endnotes.xhtml#L779>>>
> <http://github.com/ <http://github.com/>>
> > > spfenwick/
> > > william-
> > > james_the-
> > > varieties-
> > > of-
> > > religious-
> > > experience/
> > > commit/
> > >
> e514d1d1260924e217ee16da894f621315915436
> > <https://github.com/spfenwick/
> william- <https://github.com/spfenwick/
> william->
> > james_the-varieties-of-religious-
> experience/
> > commit/
> > e514d1d1260924e217ee16da894f621315915436
> > <https://github.com/spfenwick/
> william- <https://github.com/spfenwick/
> william->
> > james_the-varieties-of-religious-
> experience/
> > one https://github.com/spfenwick/
> william- <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 <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 <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 <https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/18b6ee87ca628686f0c8806f350c3751bc2fb795/src/epub/text/endnotes.xhtml#L434>>>
> single- <http://standardebooks.org/
> <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 <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 <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 <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> <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>> <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> <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>>>
> <https://github.com/>
> > spfenwick/william-james_the-
> varieties-of-
> > <https://github.com/spfenwick/
> william- <https://github.com/spfenwick/
> william->
> > james_the-varieties-of-> <https://
> > github.com/spfenwick/william-
> james_the- <http://github.com/spfenwick/
> william-james_the->
> > varieties-of- <https://github.com/
> spfenwick/ <https://github.com/spfenwick/>
> > www.gutenberg.org/ <http://
> www.gutenberg.org/>> <https://
> > www.gutenberg.org/ <http://
> www.gutenberg.org/> <https://
> > www.gutenberg.org/ <http://
> www.gutenberg.org/>>>
> > > > ebooks/621 <https://
> www.gutenberg.org/ <https://
> www.gutenberg.org/>
> > ebooks/6
>
> --
> 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/
> standardebooks/44c5d3fb-54e1-458d-b509-1a8262b535fan%40googlegroups.com
> <https://groups.google.com/d/msgid/standardebooks/44c5d3fb-54e1-458d-
> b509-1a8262b535fan%40googlegroups.com?utm_medium=email&utm_source=footer>.

Lukas Bystricky

unread,
Feb 28, 2026, 2:45:21 AM (9 days ago) Feb 28
to Standard Ebooks
Very nice work on a complicated production. I filed a few issues for you to look at. 

Stephen Fenwick

unread,
Mar 1, 2026, 2:21:02 AM (8 days ago) Mar 1
to Standard Ebooks
Thank you. I should be able to get onto this tomorrow.

Stephen Fenwick

unread,
Mar 2, 2026, 2:14:57 PM (7 days ago) Mar 2
to Standard Ebooks
I've fixed most of the issues but have a few questions:

 - Mismatched dashes gives a lot of hits
How did you find these? When I run se find-mismatched-dashes it comes up empty.

 - Line 1280: "Essai sur le mysticisme spéculatif en Allemagne au XIVme Siècle" should be tagged as an essay, quoted (not italicized) and given French language semantics.
I know it shouldn't be italicised as a title, but should it still be italicised as foreign language?

 - "Some incorrect semantics, things like "Journal of .." and "Revue de. ..." should be tagged as journals, and not books"
I've assumed the journal sementics applies to academic journals, not the published journal of an individual. Is that right?

- "A couple "Ibid." references that should be expanded, as we would for "op. cit."
I couldn't make any sense of one of the Ibid's as the Ibid seems to occur for no reason in an otherwise complete reference, so I just removed the Ibid.  Let me know if you can make more sense of it. It's this commit https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/commit/747aff731e2aca2b8bf886e4a3c43a286241289f

Some of the quotes I split into separate paragraphs and marked with a blockquote started mid-sentence - for example lectures-14-and-15.xhtml line 84
<p>At the age of twelve, we read of this young man that⁠ ⁠…</p>
<blockquote>
<p>“… if by chance his mother sent one of her maids of honor to him with a message, he

In those cases I've added an ellipsis to the start of the quote and the end of the preceding paragraph. Is that a suitable approach?

I'd also be interested in your thoughts about when it's appropriate to split out a quote into separate blockquotes vs leave them embedded in a paragraph.


Line 90 of lectures-6-and-7.xhtml also contains a series of quotes strung together. These quotes are all anonymous "patients" so probably each is less noteworthy in its own right. At present the quotes are not split out. https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/26cca44f0ca08dec64e499b795bbc69092cc4dc0/src/epub/text/lectures-6-and-7.xhtml#L90

Line 120 of lectures-11-12-and-13.xhtml also contains a series of quotes. I also haven't split these out as they are each much shorter. https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/26cca44f0ca08dec64e499b795bbc69092cc4dc0/src/epub/text/lectures-11-12-and-13.xhtml#L120

Lukas Bystricky

unread,
Mar 2, 2026, 3:43:20 PM (7 days ago) Mar 2
to Standard Ebooks
 Mismatched dashes gives a lot of hits
How did you find these? When I run se find-mismatched-dashes it comes up empty.


Sorry, I meant mismatched diacritics. 

- Line 1280: "Essai sur le mysticisme spéculatif en Allemagne au XIVme Siècle" should be tagged as an essay, quoted (not italicized) and given French language semantics.
I know it shouldn't be italicised as a title, but should it still be italicised as foreign language?


It should be tagged as French, but we don't typically apply both quotes and italics.

- "Some incorrect semantics, things like "Journal of .." and "Revue de. ..." should be tagged as journals, and not books"
I've assumed the journal sementics applies to academic journals, not the published journal of an individual. Is that right?


Yes.

- "A couple "Ibid." references that should be expanded, as we would for "op. cit."
I couldn't make any sense of one of the Ibid's as the Ibid seems to occur for no reason in an otherwise complete reference, so I just removed the Ibid. 


This is my bad, looking at them again you can keep the ibids as is since the implied reference is in the same endnote. 

 Some of the quotes I split into separate paragraphs and marked with a blockquote started mid-sentence - for example lectures-14-and-15.xhtml line 84
<p>At the age of twelve, we read of this young man that⁠ ⁠…</p>
<blockquote>
<p>“… if by chance his mother sent one of her maids of honor to him with a message, he 

In those cases I've added an ellipsis to the start of the quote and the end of the preceding paragraph. Is that a suitable approach?

I'd also be interested in your thoughts about when it's appropriate to split out a quote into separate blockquotes vs leave them embedded in a paragraph.


Line 90 of lectures-6-and-7.xhtml also contains a series of quotes strung together. These quotes are all anonymous "patients" so probably each is less noteworthy in its own right. At present the quotes are not split out. https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/26cca44f0ca08dec64e499b795bbc69092cc4dc0/src/epub/text/lectures-6-and-7.xhtml#L90

Line 120 of lectures-11-12-and-13.xhtml also contains a series of quotes. I also haven't split these out as they are each much shorter. https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/26cca44f0ca08dec64e499b795bbc69092cc4dc0/src/epub/text/lectures-11-12-and-13.xhtml#L120

I'll punt these questions to Emma. 

Vince

unread,
Mar 2, 2026, 3:48:26 PM (7 days ago) Mar 2
to Ebooks Standard
On Mar 2, 2026, at 2:43 PM, Lukas Bystricky <lukasby...@gmail.com> wrote:

- Line 1280: "Essai sur le mysticisme spéculatif en Allemagne au XIVme Siècle" should be tagged as an essay, quoted (not italicized) and given French language semantics.
I know it shouldn't be italicised as a title, but should it still be italicised as foreign language?


It should be tagged as French, but we don't typically apply both quotes and italics.

That’s true for dialog, but in this case, it’s that we don’t italicize proper names, SEMoS 8.2.9.2. Since the capitalization is French, not English, then it should get the language tag, but on the essay span, no italics.

Stephen Fenwick

unread,
Mar 2, 2026, 5:27:06 PM (7 days ago) Mar 2
to Standard Ebooks
The issues should all be fixed now, pending hearing back from Emma on the split paragraphs.

I've removed diacritics from samâdhi and curé, following Merriam-Webster. Some mismatches are still identified but they are all tagged as French language (including one instance of curé)

Alex Cabal

unread,
Mar 2, 2026, 5:30:17 PM (7 days ago) Mar 2
to standar...@googlegroups.com
Is curé used in the sense of a priest? I would leave the accent mark in
there to prevent confusion. That is typically how it is in the corpus.

On 3/2/26 4:27 PM, Stephen Fenwick wrote:
> The issues should all be fixed now, pending hearing back from Emma on
> the split paragraphs.
>
> I've removed diacritics from samâdhi and curé, following Merriam-
> Webster. Some mismatches are still identified but they are all tagged as
> French language (including one instance of curé)
>
> On Tuesday, March 3, 2026 at 9:48:26 AM UTC+13 Vince wrote:
>
>> On Mar 2, 2026, at 2:43 PM, Lukas Bystricky <lukasby...@gmail.com>
>> wrote:
>>
>> /- Line 1280: "Essai sur le mysticisme spéculatif en Allemagne au
>> XIVme Siècle" should be tagged as an essay, quoted (not
>> italicized) and given French language semantics.
>> I know it shouldn't be italicised as a title, but should it still
>> be italicised as foreign language?/
>> /
>> /
>> It should be tagged as French, but we don't typically apply both
>> quotes and italics.
>
> That’s true for dialog, but in this case, it’s that we don’t
> italicize proper names, SEMoS 8.2.9.2. Since the capitalization is
> French, not English, then it should get the language tag, but on the
> essay span, no italics.
>
> --
> 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/
> standardebooks/6af4a436-93c9-4baa-8890-b469dabd4a56n%40googlegroups.com
> <https://groups.google.com/d/msgid/
> standardebooks/6af4a436-93c9-4baa-8890-b469dabd4a56n%40googlegroups.com?
> utm_medium=email&utm_source=footer>.

Vince

unread,
Mar 2, 2026, 5:39:36 PM (7 days ago) Mar 2
to Ebooks Standard
That’s also how it is in M-W (noun(2), a parish priest), which also means it doesn’t need a language tag.

Stephen Fenwick

unread,
Mar 2, 2026, 5:59:42 PM (7 days ago) Mar 2
to Standard Ebooks
I'll put the accent mark back.

Emma Sweeney

unread,
Mar 4, 2026, 1:39:11 AM (5 days ago) Mar 4
to Standard Ebooks
 Some of the quotes I split into separate paragraphs and marked with a blockquote started mid-sentence - for example lectures-14-and-15.xhtml line 84
<p>At the age of twelve, we read of this young man that⁠ ⁠…</p>
<blockquote>
<p>“… if by chance his mother sent one of her maids of honor to him with a message, he 

In those cases I've added an ellipsis to the start of the quote and the end of the preceding paragraph. Is that a suitable approach?

I think it would be best to just have the the whole paragraph in the <blockquote>.
 
I'd also be interested in your thoughts about when it's appropriate to split out a quote into separate blockquotes vs leave them embedded in a paragraph.


I think these look OK.
 
Line 90 of lectures-6-and-7.xhtml also contains a series of quotes strung together. These quotes are all anonymous "patients" so probably each is less noteworthy in its own right. At present the quotes are not split out. https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/26cca44f0ca08dec64e499b795bbc69092cc4dc0/src/epub/text/lectures-6-and-7.xhtml#L90

I think this looks OK.

Line 120 of lectures-11-12-and-13.xhtml also contains a series of quotes. I also haven't split these out as they are each much shorter. https://github.com/spfenwick/william-james_the-varieties-of-religious-experience/blob/26cca44f0ca08dec64e499b795bbc69092cc4dc0/src/epub/text/lectures-11-12-and-13.xhtml#L120

I think this looks OK.


Emma

Stephen Fenwick

unread,
Mar 4, 2026, 11:46:49 PM (5 days ago) Mar 4
to Standard Ebooks
Thank you. I've taken that advice and re-combined some of the other paragraphs where it seemed appropriate.

I'm still left with some situations where the text before the quote is much longer and it seems the only viable option is to split the paragraph mid-sentence. These are:
 - lectures-14-and-15.xhtml lines 60 and 69
 - lectures-16-and-17.xhtml line 198
 - endnotes.xhtml lines 901 and 1025
 - lecture-10.xhtml line 162
 - lectures-11-12-and-13.xhtml line 179
 - lectures-16-and-17.xhtml line 155

What's the best approach in those situations? At the moment they're inconsistent - some have added ellipses and some don't - and I'll clean that up with whatever approach we agree.

Emma Sweeney

unread,
Mar 5, 2026, 12:06:59 PM (4 days ago) Mar 5
to Standard Ebooks
Can you send links to these locations in the repo?

Emma

Stephen Fenwick

unread,
Mar 5, 2026, 1:44:01 PM (4 days ago) Mar 5
to Standard Ebooks

Emma Sweeney

unread,
Mar 5, 2026, 2:05:14 PM (4 days ago) Mar 5
to Standard Ebooks
I think it would make the most sense to have complete sentences rather than separating the quoted bits.

Emma

Stephen Fenwick

unread,
Mar 5, 2026, 2:07:54 PM (4 days ago) Mar 5
to Standard Ebooks
Do you mean keep the whole paragraph together and not use a block quote?

Stephen Fenwick

unread,
Mar 5, 2026, 2:17:04 PM (4 days ago) Mar 5
to Standard Ebooks
Alternatively I could include the sentence fragment before the quote inside the blockquote. I think that could would well in many of the situations, eg endnotes line 901:
Vambéry describes a dervish whom he met in Persia, "had solemnly vowed

Emma Sweeney

unread,
Mar 5, 2026, 2:18:34 PM (4 days ago) Mar 5
to Standard Ebooks
You can separate the sentences in the paragraph. Keep the whole sentence with the quote intact, inside the <blockquote>.

Emma

Stephen Fenwick

unread,
Mar 5, 2026, 3:01:35 PM (4 days ago) Mar 5
to Standard Ebooks
OK, that's done. In most cases I moved the preceding sentence fragment inside the block quote and it worked OK.

In two places I decided to remove the block quote and recombine the paragraph because the quote is short and that felt cleaner than moving part of the surrounding paragraph inside the block quote

In two places it turns out the original scan splits the paragraph mid sentence so I've left it as-is:

I think that covers everything and all the original issues have been addressed. I'd like to hold off a little bit and look at it with fresh eyes before we call the book "complete".

Emma Sweeney

unread,
Mar 5, 2026, 3:33:22 PM (4 days ago) Mar 5
to Standard Ebooks
If it is quoted from a book, it should be in a <blockquote>. Remember, it's not always about readability, it's about using correct semantics.
That's fine.
 
I think that covers everything and all the original issues have been addressed. I'd like to hold off a little bit and look at it with fresh eyes before we call the book "complete".

Your reviewer will probably have to re-review the production.


Emma

Stephen Fenwick

unread,
Mar 5, 2026, 3:55:27 PM (4 days ago) Mar 5
to Standard Ebooks
One of the paragraphs is:
<p>The most signal proofs of God’s love which Margaret Mary received were her hallucinations of sight, touch, and hearing, and the most signal in turn of these were the revelations of Christ’s sacred heart, “surrounded with rays more brilliant than the Sun, and transparent like a crystal. The wound which he received on the cross visibly appeared upon it. There was a crown of thorns round about this divine Heart, and a cross above it.” At the same time Christ’s voice told her that, unable longer to contain the flames of his love for mankind, he had chosen her by a miracle to spread the knowledge of them. He thereupon took out her mortal heart, placed it inside of his own and inflamed it, and then replaced it in her breast, adding: “Hitherto thou hast taken the name of my slave, hereafter thou shalt be called the well-beloved disciple of my Sacred Heart.”</p>

That has two separate quotes, each a partial sentence. In both cases the non-quote part of the sentence is around the same length as the quote, so I don't think marking those as block quotes would actually make the semantics more accurate.

The other is:
<p>Thus come the paradoxical expressions that so abound in mystical writings. As when Eckhart tells of the still desert of the Godhead, “where never was seen difference, neither Father, Son, nor Holy Ghost, where there is no one at home, yet where the spark of the soul is more at peace than in itself.”<a href="endnotes.xhtml#note-264" id="noteref-264" epub:type="noteref">264</a></p>

Using a blockquote there does arguably improve the semantics though it does mean breaking up a very short paragraph.

Alex Cabal

unread,
Mar 5, 2026, 3:57:12 PM (4 days ago) Mar 5
to standar...@googlegroups.com
On 3/5/26 2:33 PM, Emma Sweeney wrote:
> In two places I decided to remove the block quote and recombine the
> paragraph because the quote is short and that felt cleaner than
> moving part of the surrounding paragraph inside the block quote
> https://github.com/spfenwick/william-james_the-varieties-of-
> religious-experience/blob/40a4533a6517f2973528ebe8f0cdd5588ce29e86/
> src/epub/text/lectures-14-and-15.xhtml#L58 <https://github.com/
> spfenwick/william-james_the-varieties-of-religious-experience/
> blob/40a4533a6517f2973528ebe8f0cdd5588ce29e86/src/epub/text/
> lectures-14-and-15.xhtml#L58>
> https://github.com/spfenwick/william-james_the-varieties-of-
> religious-experience/blob/40a4533a6517f2973528ebe8f0cdd5588ce29e86/
> src/epub/text/lectures-16-and-17.xhtml#L196 <https://github.com/
> spfenwick/william-james_the-varieties-of-religious-experience/
> blob/40a4533a6517f2973528ebe8f0cdd5588ce29e86/src/epub/text/
> lectures-16-and-17.xhtml#L196>
>
>
> If it is quoted from a book, it should be in a <blockquote>. Remember,
> it's not always about readability, it's about using correct semantics.

I don't think this is strictly true, people can and often do inline a
short quote. Blockquote is often reserved for longer quotes. You can use
`<q>` to indicate an inline, i.e., not block, quotation.

Stephen Fenwick

unread,
Mar 5, 2026, 4:11:41 PM (4 days ago) Mar 5
to Standard Ebooks
The only place SEMoS seems to mention <q> is 8.2.7:

A person's internal thoughts, if they are italicized in the source, are formatted with <q>, styled with italics. If the thoughts are quoted, they are left as quoted.


Is this another situation it can be used? I'm not sure that italicising the quote would be appropriate.

Alex Cabal

unread,
Mar 5, 2026, 4:12:36 PM (4 days ago) Mar 5
to standar...@googlegroups.com
Yes, you could use them here. The default SE CSS leaves <q> unstyled so
that's fine in this case.
> --
> 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/
> standardebooks/b2d9fdcc-316a-4a84-bff6-ad780b0e72a4n%40googlegroups.com
> <https://groups.google.com/d/msgid/standardebooks/b2d9fdcc-316a-4a84-
> bff6-ad780b0e72a4n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Stephen Fenwick

unread,
Mar 5, 2026, 10:15:16 PM (4 days ago) Mar 5
to Standard Ebooks
I've marked those quotes with a <q>.

I've also done another scan through the book and made some further changes - mainly around tagging quotes in line with what we've discussed.

The original issues should all be fixed so the book is ready for another review.

Lukas Bystricky

unread,
Mar 6, 2026, 12:59:08 AM (3 days ago) Mar 6
to standar...@googlegroups.com
Ok, I'll have another look this weekend. 

To unsubscribe from this group and stop receiving emails from it, send an email to standardebook...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/standardebooks/36f1c071-2f84-4d37-a633-5dccb2c65847n%40googlegroups.com.

Lukas Bystricky

unread,
Mar 8, 2026, 1:57:50 AM (yesterday) Mar 8
to Standard Ebooks
Nice work so far. I've filed a few more things to look at. 

Stephen Fenwick

unread,
Mar 8, 2026, 10:22:49 PM (15 hours ago) Mar 8
to Standard Ebooks
When I updated and ran semanticate it added z3998:initialism to initials of people's names. For example, in the dedication
<abbr epub:type="z3998:personal-name">C. P. G.</abbr>
became
<abbr epub:type="z3998:personal-name z3998:initialism">C. P. G.</abbr>

Lint then gives an error: Initialism with spaces or without periods.

Based on SEMoS I think the original semantics without z3998:initialism are correct. Is that right?

Vince

unread,
12:47 AM (12 hours ago) 12:47 AM
to standar...@googlegroups.com
Not any more. There was some discussion here on the list a few weeks ago, and Alex added initialism to other abbreviations that were initialisms as well as whatever else they were. However, it looks like the lint message didn’t get updated to exclude ones that are also names. I think I see what to do; I’ll submit a PR tomorrow if Alex doesn’t get to it first.

Stephen Fenwick

unread,
2:20 AM (11 hours ago) 2:20 AM
to Standard Ebooks
Those issues should all be addressed now.

There are some lint errors due to the z3998:initialism issue, but those should go away when the tool is updated.
 
Regarding some of the other points:
I would modernize Shi-ite -> Shiite, since it appears in MW. [Edit] Same with Sheeah -> Shia.
 - I've modernised Shiite but left Sheeah as-is since it is in a book title.

"and only God is to me I AM;" " he may discern the ONE". "AM" and "ONE" can be put lowercase and put inside <b> tags.
 - I've made those changes and also changed some of the <strong> tags to <b> for consistency. In general I've used <b> in the text (there's no obvious reason why any of them should be different) and left <strong> where it's a title in a list or similar. Let me know if any of that needs to change.
Reply all
Reply to author
Forward
0 new messages