![]() |
#121 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2013
Device: Kindle Black
|
This plugin really improves the reading experience. Thank you so much.
Spanish and English hyphenation dictionaries from LibreOffice worked well. I have a question, though: could anybody tell me how to create a custom column to display which books have already been hyphenated? I see in the bottom of the plugin settins window a field named "Column name", which I've named "Hyphenated". Then I've manually created and added a custom column named "Hyphenated, which shows in Calibre after a restart but doesn't display any information automatically. Any help will be appreciated. Thanks. Last edited by kenzaburo03; 06-12-2013 at 10:25 AM. |
![]() |
![]() |
![]() |
#122 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,247
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
@kenzaburo03,
I've just tried this myself, it seems to be working OK. When you created your column did you have: Lookup name: hyphenated (NB must be all lowercase) Column heading: anything you like Column type: Text, column shown in tag browser Then in the Hyphenate This plugin Settings option: Column name: #hyphenated (NB must have the # in front of your custom column name) Then, when you hyphenate some epubs you should see your custom column populated with the relevant text (as per your Settings). |
![]() |
![]() |
Advert | |
|
![]() |
#123 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2013
Device: Kindle Black
|
@jackie_w,
Thank you so much! I've followed your instructions and it's worked perfectly. How did you figure out the proper settings? Does the plugin have a help file or instructions somewhere or is this the usual way to create custom columns that relate to plugins? I did a lot of Google search before asking for help here, so I'd feel kind of dumb if the answer was in front of me to begin with. Anyway, thanks again! |
![]() |
![]() |
![]() |
#124 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,247
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
You're welcome
![]() Welcome to MobileRead. Edit: Some plugins have a clickable help button, but even if they don't, post #1 should always contain user help info (often under a 'spoiler' button) like this one does. Last edited by jackie_w; 06-12-2013 at 05:39 PM. |
![]() |
![]() |
![]() |
#125 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2013
Device: Kindle Black
|
So the solution actually was in front of me all along.
![]() I've had my Kindle (which is my first eReader) for a month now, so I've got plenty to learn about Calibre. I'm sure reading this forum will make it much easier, there's a lot of great information here. Last edited by kenzaburo03; 06-12-2013 at 05:57 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#126 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2013
Device: Kindle Black
|
I've noticed the Spanish hyphenation dictionaries available for LibreOffice work mostly well, but still break some words wrong from time to time. After searching for an alternative, I've found this Spanish hyphenation dictionary based on the TeX hyphenation patterns that seems to work better. I haven't yet found a single hyphenation mistake.
I've found it here: https://github.com/vicamo/b2g_releas...es/hyphenation It's released under the Mozilla Public License (details of the license inside the zip). Last edited by kenzaburo03; 06-23-2013 at 03:48 PM. |
![]() |
![]() |
![]() |
#127 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15
Karma: 11514
Join Date: Jul 2013
Device: Kobo glo
|
Hi, I have a problem.
Code:
Traceback (most recent call last): File "calibre_plugins.hyphenatethis.hyphenatethisaction", line 115, in hyphenate File "calibre_plugins.hyphenatethis.hyphenatethisaction", line 89, in _select_books File "calibre_plugins.hyphenatethis.hyphenator.hyphenator", line 165, in __init__ File "calibre_plugins.hyphenatethis.hyphenator.hyphenator", line 89, in __init__ LookupError: unknown encoding: <!DOCTYPE html> Book and .dic file in attach files. What should i do? |
![]() |
![]() |
![]() |
#128 |
Plugin developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 24394
Join Date: Feb 2012
Location: Lithuania
Device: Kindle
|
Hello,
Get correct hyphenation dictionary. The one you've attached is some HTML file, not a dictionary itself. As dictionary is malformed, hyphenator cannot use it. Of course, error message is a bit misleading, but the final conclusion—dictionary's incorrect. Удачи. |
![]() |
![]() |
![]() |
#129 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15
Karma: 11514
Join Date: Jul 2013
Device: Kobo glo
|
I found this .dic and .oxt files and got no errors. But there are no any changes with text.
They are wrong too? Maybe you have correct .dics? |
![]() |
![]() |
![]() |
#130 | |
Plugin developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 24394
Join Date: Feb 2012
Location: Lithuania
Device: Kindle
|
Quote:
However, you won't see any hyphenation in Calibre, you'd need to check the book's source with Sigil or similar. Next question is if your reader supports soft hyphens. That I cannot guarantee. |
|
![]() |
![]() |
![]() |
#131 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 15
Karma: 11514
Join Date: Jul 2013
Device: Kobo glo
|
|
![]() |
![]() |
![]() |
#132 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2013
Device: Kindle Black
|
Today I've noticed the dictionary in Kindle won't pick the hyphenated words (doesn't recognize them as a single word). Is the fault with the plugin or with the Kindle firmware? Thanks.
|
![]() |
![]() |
![]() |
#133 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Aug 2013
Device: kindle paperwhite
|
Hi, I've just installed this plugin and i'm getting this error when i click Hyphenate:
Code:
calibre, version 0.9.43 ERROR: Unhandled exception: <b>ValueError</b>:max() arg is an empty sequence calibre 0.9.43 isfrozen: True is64bit: False Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE') ('Windows', '8', '6.2.9200') Python 2.7.4 Windows: ('8', '6.2.9200', '', 'Multiprocessor Free') Traceback (most recent call last): File "calibre_plugins.hyphenatethis.hyphenatethisaction", line 115, in hyphenate File "calibre_plugins.hyphenatethis.hyphenatethisaction", line 89, in _select_books File "calibre_plugins.hyphenatethis.hyphenator.hyphenator", line 165, in __init__ File "calibre_plugins.hyphenatethis.hyphenator.hyphenator", line 109, in __init__ ValueError: max() arg is an empty sequence |
![]() |
![]() |
![]() |
#134 |
Plugin developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 24394
Join Date: Feb 2012
Location: Lithuania
Device: Kindle
|
|
![]() |
![]() |
![]() |
#135 |
Plugin developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108
Karma: 24394
Join Date: Feb 2012
Location: Lithuania
Device: Kindle
|
This is a feature of Kindle firmware. With hyphenated words it acts a bit awkwardly: if it finds a part of word at hyphen in dictionary, it displays that part. If not, it ends with full word. I have this issue myself, when dictionary is required. Also, Kindle's dictionary handling is not very smart by itself.
|
![]() |
![]() |
![]() |
Tags |
amazon account, formatting, hypenation, hyphenate this, hyphenation, spaces |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] SmartEject | JimmXinu | Plugins | 125 | Today 12:27 AM |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 514 | 03-23-2025 10:26 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 404 | 02-21-2025 05:42 AM |
[GUI Plugin] Wordpress | frescogamba | Plugins | 11 | 04-06-2015 09:09 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |