Skip to content

epubQTools 1.2.1

Latest

Choose a tag to compare

@quiris11 quiris11 released this 01 Dec 21:58

Dzielenie wyrazów na Kindle w kolejnych książkach

Niektóre książki zapisują swój język nie tylko dla całej strony, ale też przy
ramce wokół całego rozdziału albo przy każdym akapicie, np. książki MAG, Fabryki
Słów i Rebisu zrobione według jednego wspólnego szablonu oraz książki Karakteru
złożone w InDesignie. epubQTools usuwał język tylko z <html> i <body>, więc
nowszy Kindle (KFX) nie dzielił tekstu w takich ramkach i akapitach.

Teraz, gdy epubQTools dzieli wyrazy, usuwa język książki także z elementów
wewnątrz strony. Fragmenty tekstu w innym języku zachowują swój język.
Z 464 sprawdzonych książek zmieniło się 51, i to tylko w ten sposób.

Książki poprawione starszą wersją można poprawić jeszcze raz (w calibre
poprawianie zaczyna się od oryginału) i ponownie wysłać na Kindle.

Nowa strona spisu treści w języku książki

Gdy książka nie ma strony ze spisem treści, epubQTools tworzy ją z NCX na końcu
książki. Jej nagłówek brzmiał zawsze „Spis treści”; teraz jest w języku książki
(36 języków, np. „Inhalt”, „Table des matières”, „Obsah”). Inne języki dostają
„Contents”, książki bez języka – „Spis treści”.

calibre: sprawdzanie nowej wersji

Wtyczka sprawdza, czy jest nowa wersja, przy pierwszym uruchomieniu calibre
danego dnia. Wcześniej od ostatniego sprawdzenia musiały minąć 24 godziny, więc
o nowej wersji można było dowiedzieć się dopiero dzień później.

Licencje

Repozytorium i zip wtyczki zawierają pełne teksty licencji (LICENSE –
AGPL-3.0, licenses/ – GPL-3.0, LGPL-3.0 i licencja tinycss2, dołączonego do
wtyczki) oraz uzupełniony NOTICE z pochodzeniem zapożyczonych części. Polityka
bezpieczeństwa (SECURITY.pl.md) mówi, jak zgłosić lukę w zabezpieczeniach.

Wtyczka do calibre

Pobierz niżej epubQTools-calibre-1.2.1.zip i wczytaj go w calibre tak jak
wcześniej (Ustawienia → Wtyczki → Wczytaj wtyczkę z pliku); ustawienia
zostają. Wtyczka w wersji 1.0, 1.1 i 1.2 (także wersja próbna 1.2-test) sama
powie o tej wersji. Wymaga calibre 6.17 lub nowszego.


Hyphenation on Kindle in more books

Some books declare their language not only for the whole page but also on a
frame around the whole chapter or on every paragraph, e.g. books of MAG,
Fabryka Słów and Rebis made from one common template, and books of Karakter made
in InDesign. epubQTools removed the language only from <html> and <body>,
so a newer Kindle (KFX) did not hyphenate the text inside such frames and
paragraphs.

Now, when epubQTools hyphenates words, it removes the language of the book also
from the elements inside the page. Parts of the text in another language keep
their language. In 464 checked books 51 changed, and only by this.

Books fixed by an older version can be fixed again (fixing in calibre starts
from the original) and sent to the Kindle again.

New table of contents page in the language of the book

When a book has no table of contents page, epubQTools makes one from the NCX at
the end of the book. Its heading was always "Spis treści"; now it is in the
language of the book (36 languages, e.g. "Inhalt", "Table des matières",
"Obsah"). Other languages get "Contents", books without a language
"Spis treści".

calibre: checking for a new version

The plugin checks for a new version at the first start of calibre on a new day.
Before, 24 hours had to pass since the last check, so a new version could be
noticed only a day later.

Licenses

The repository and the plugin zip contain the full license texts (LICENSE -
AGPL-3.0, licenses/ - GPL-3.0, LGPL-3.0 and the license of tinycss2, which is
included in the plugin) and a completed NOTICE with the origin of borrowed
parts. A security policy (SECURITY.md) says how to report a vulnerability.

calibre plugin

Download epubQTools-calibre-1.2.1.zip below and load it in calibre the same
way as before (Preferences → Plugins → Load plugin from file); the settings
stay. Plugin 1.0, 1.1 and 1.2 tell you about this version themselves (also the
test build 1.2-test). Requires calibre 6.17 or newer.