Not a complaint, just an observation. I appreciate the help managing all round. I've been travelling a bit so maybe I haven't been answering as quickly as normal. David, since you've more or less taken over managing duties, do you want to officially switch roles?
--
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.
To view this discussion visit https://groups.google.com/d/msgid/standardebooks/64a5ccd6-a7db-458e-8b63-f2bb355641a6n%40googlegroups.com.
The command se semanticate is crashing
'''
Traceback (most recent call last):
File "/home/cecil/.local/bin/se", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/cecil/.local/share/pipx/venvs/standardebooks/lib/python3.12/site-packages/se/main.py", line 81, in main
sys.exit(getattr(module, command_function)(args.plain_output))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cecil/.local/share/pipx/venvs/standardebooks/lib/python3.12/site-packages/se/commands/semanticate.py", line 37, in semanticate
processed_xhtml = se.formatting.semanticate(xhtml)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cecil/.local/share/pipx/venvs/standardebooks/lib/python3.12/site-packages/se/formatting.py", line 162, in semanticate
dom = se.easy_xml.EasyXmlTree(xhtml)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/cecil/.local/share/pipx/venvs/standardebooks/lib/python3.12/site-packages/se/easy_xml.py", line 74, in __init__
raise se.InvalidXmlException(f"Couldn’t parse XML. Exception: {ex}") from ex
se.InvalidXmlException: Couldn’t parse XML. Exception: Unescaped '<' not allowed in attributes values, line 10, column 23 (<string>, line 10)
$
'''
Chapter 1 worked ok... but several after that are failing the same way. The area in question - line 10, column 23 - looks like below. I can't spot anything wrong with it. I also looked at every equal sign looking for an attribute with a less than sign, but found none.
Located a good scan at:
https://archive.org/details/ralestoneluck0000nort/mode/2up
Other files here have just pictures/drawings.
GP web version:
https://www.gutenberg.org/cache/epub/18817/pg18817-images.html
GP plain text version:
https://www.gutenberg.org/cache/epub/18817/pg18817.txtOn Apr 27, 2025, at 3:27 PM, David <djre...@gmail.com> wrote:
Almost! We don't use any inline styles. This needs to go in `src/epub/css/local.css`. You'll need a rule like#chapter-1 blockquote{text-align: center;}(Run `se clean` after adding your rule(s) to `local.css`, and it will ... clean it up. :)And we shouldn't use the `strong` wrapper. That's a "semantic" wrapper . Rather, use `b` for this.I would also put a `br` after `General`, so that the name "Andrew Jackson" is on its own line.After you're happy with the formatting (and it's committed!), *then* you can remove the inner single-quotes in an [Editorial] commit.Hope that all makes sense.
On Sunday, 27 April 2025 at 20:10:54 UTC+1 Cecil wrote:
Follow-up question...Here is the scanned text. It is text read from a plaque:
<Screenshot from 2025-04-27 15-04-46.png>Here is how it looks in Calibre reader:
<Screenshot from 2025-04-27 15-06-44.png>Here is what I did in order to mimic what I think the author is doing, namely making the text on the page to resemble the format on the plaque.
I'd recommend you just start looking for something else.
There is an (unwritten) convention that sci-fi titles
often/regularly/normally get abstract art for covers.[1] You can also
see what's been used for other Andre Norton productions[2] to get a
feel for this.
[1}: https://standardebooks.org/subjects/science-fiction
[2}: https://standardebooks.org/ebooks/andre-norton
. . .
Could be an abstract pirate ship (piracy figures large in the story):
https://standardebooks.org/artworks/rupert-d-turnbull/untitled
Could be Cinders aka “Satan” the cat in the story:
https://standardebooks.org/artworks/jean-bloe-niestle/wildernde-katze
Noted; I'll get to that this week sometime.
--
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.
To view this discussion visit https://groups.google.com/d/msgid/standardebooks/8194c9a7-441d-4af8-af18-d7981ac19be2n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/standardebooks/0c9e86a3-03a8-4d31-acf2-d1e035c49320%40standardebooks.org.
![]() |
Nitoy Gonzales
https://linktr.ee/delightinggrace |
To view this discussion visit https://groups.google.com/d/msgid/standardebooks/fdfc8204-897a-4733-9809-21521401064en%40googlegroups.com.