11-18-2018, 12:22 PM | #256 | |
Evangelist
Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
I noticed this when I was testing the renderer on various ePUBs and I misinterpreted the source of the problem. Indeed the value used for the consecutive-hyphens demerits was incorrect (100 instead of 3000)! |
|
11-18-2018, 12:36 PM | #257 | |
Evangelist
Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
Hence you should be able to reproduce with 0.5.2. |
|
Advert | |
|
11-18-2018, 12:40 PM | #258 |
Junior Member
Posts: 8
Karma: 10
Join Date: Nov 2015
Device: Kobo Aura HD
|
I was able to.
Seems that up to now I've somehow managed never needing to move between chapters. A question about the adjusted metadata format; Is there any way to convert the previous format to the new one? ie. carry over the position in book and any bookmarks? |
11-18-2018, 02:23 PM | #259 |
Evangelist
Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
|
11-18-2018, 08:47 PM | #260 |
Guru
Posts: 869
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
So, I (hopefully) compiled the latest build, and set the paragraph breaker version to 0.4.0 in the Cargo.toml file before compiling.
First, interface is nice and clean, fast. Booklist is a good start. No series information, or book descriptions, which is a shame. Hoping more metadata in general could be added in the future. The epub renderer appears to have less chance of subsequent hyphens, but it does still occur. I'm looking at a particularly egregious example right now, which is four consecutive hyphen line endings! Definitely still needs some fine tuning in my opinion. Automatic ligatures would be a nice feature to include one day, as Plato doesn't appear to do this. I'm not a fan of the right corner triggering the go-to-page box. It's very easy to hit accidentally. I haven't done any tweaking or configuration beyond default though, so I'm talking about default settings here. Plato is certainly looking promising. I'm not ready to switch to it yet however, as the current RMSDK renderer is still superior at the moment (for epub). If the renderer can be further refined, and missing features added (I have plenty of books in my library that use tables and/or floats), I would be a very happy person. |
Advert | |
|
11-21-2018, 05:07 AM | #261 | |||
Evangelist
Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
Quote:
Quote:
I've also been bitten by this, I've therefore shrunk the corner regions in 19caa61. |
|||
11-21-2018, 05:45 AM | #262 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
The DC metadata standard doesn't include series info. There is something in the epub 3 standard. Otherwise, calibre series info is the closest to a standard.
|
11-28-2018, 06:05 PM | #263 | |
Enthusiast
Posts: 37
Karma: 10
Join Date: Jul 2014
Device: Kobo Mini
|
Quote:
|
|
11-29-2018, 05:33 AM | #264 |
Evangelist
Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
I've released 0.5.4.
The metadata format has changed and manual intervention is required. It might be a good practice to always backup your settings and metadata before upgrading. The attached Python script will perform the conversion: Code:
./fix_metadata.py < .metadata.json > metadata.json mv metadata.json .metadata.json List of changes:
|
11-29-2018, 11:34 AM | #265 |
absolute beginner
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
|
How can I make my own hyphenate file? Is there a parameter to control the number of consecutive hyphens that the paragraph-breaker library might generate? Good luck. |
11-29-2018, 02:00 PM | #266 |
Enthusiast
Posts: 34
Karma: 109062
Join Date: Aug 2016
Device: T62c, Kobo Aura 1
|
Thank you !
|
11-29-2018, 02:35 PM | #267 | |
Evangelist
Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
|
|
12-02-2018, 04:40 AM | #268 |
Evangelist
Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
The hyphenation patterns are generated by the hyphenation crate. Within the hyphenation repository, you can build the patterns with:
Code:
cargo build --features build_dictionaries |
12-02-2018, 05:34 AM | #269 | |
Guru
Posts: 869
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
|
|
12-02-2018, 06:13 AM | #270 | |
Evangelist
Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PocketBook-KOReader: a document reader for PDF, DJVU, EPUB, FB2, CBZ, ... (AGPLv3) | chrox | KOReader | 569 | 09-15-2024 09:13 AM |
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | Kindle Developer's Corner | 1268 | 02-27-2024 11:49 AM |
Kindle -- KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | KOReader | 1219 | 01-27-2024 02:29 PM |
v3 vs. v3+ as a pdf/DjVu reader | hedonism_bot | HanLin eBook | 7 | 11-02-2010 08:16 PM |