Toolset 2.11.0 released

18 views
Skip to first unread message

Alex Cabal

unread,
2:55 PM (8 hours ago) 2:55 PM
to standar...@googlegroups.com
Upgrade with `pipx upgrade standardebooks`.

This toolset sees several bug fixes and two big updates:

1. se create-draft now has the --fp-id option, which can download data
from a Faded Page ID to create a new draft, much like the existing
--pg-id option.

2. se create-draft has had the cover generation code rewritten. It now
more accurately calculates line length, can work with any characters in
the title and not just ASCII characters, and has a more sophisticated
algorithm for line placement in attempt to make the default arrangement
more visually appealing.

Full changelog:

## se build

- Convert `<span>` to `<se-span>` in Kobo builds to work around various
kepub issues, including poor performance, broken IDs, and broken CSS
selectors

## se clean

- Correctly lowercase attributes in the default xml: namespace

## se create-draft

- Set the language of the ToC if using a PG ebook

- Add the --fp-id option to download transcriptions from Faded Page

- Attempt to pre-sort transcribers

- Replace some template variables with clearer, more generic names

- Rewrite cover and titlepage generation code to use accurate
measurements for text width, account for diacritics, and better arrange
title lines

## se lint

- Add y-036, ’ after punctuation, but no ‘

- Don't output t-064 for missing colophon variable

- Fix crash introduced by undocumented change in Python 3.14. Thanks to
Nicholas Wiltsie

## se modernize-spelling

- Various additions

- Always print filename on error

## se semanticate

- Correct handling of optional period on imperial units, allow singular
lb, plural yds. Thanks to Vince Rice

- Don't crash when titles contain &

## se typogrify

- Add period back to OK if at end of a paragraph. Thanks to Vince Rice
Reply all
Reply to author
Forward
0 new messages