Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 05-11-2016, 06:32 PM   #271
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 50,367
Karma: 43720217
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by phossler View Post
The I must be doing something wrong. Attached is a screenshot of an epub in ADE 4.5.1.

There is no hyphenated word that I can see in 3 columns. I'd expect there to be at least one in all that text??
With Kobo Readers, they are using a version of ADE later than 2.0.1 and will not hyphenate when the text is left justified. So try full justified text to see if it hyphenates. Also, you really don't want to use ADE past 2.0.1 as you could end up with an ePub that has DRM that will cause you to not be able to remove the DRM.
JSWolf is online now   Reply With Quote
Advert
Old 05-13-2016, 03:02 PM   #272
jveth
Junior Member
jveth began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2015
Location: Hungary
Device: Kindle5
Quote:
Originally Posted by naki View Post
I noticed that hyphenating an azw3 file removes ligatures

For example, the character fi (unicode U+FB01), which normally appears with the f connected to the dot of the i (with recent firmware and Bookerly font), display as separate two letters fi after hyphenating the azw3

Same for the ligatures ff, ffi, etc.. as well as with the font Caecilia Condensed (albeit less obvious). They are displayed as separate letters ff, ffi, etc... after hyphenating.

Is this an intended behaviour of the plugin, or something else?
Hi Naki, as I see it is the same problem about non-standard hyphenation that I outlined in my post #211.

You will also find the suggested patch in that post.
My little modification adds an additional check that after removing the suggested soft-hyphen, the original word would be returned. All suggestions will be discarded where the result would be different, that is, at the end, only standard hyphenation points will be accepted.

Obviously the current behaviour cannot be intended. Depending on language, the results can be much worse than yours.
Fortunately enough for most folks, this problem does not persist for most languages (not even for German any more, with the new language rules).
jveth is offline   Reply With Quote
Old 05-17-2016, 08:38 PM   #273
acabal
Junior Member
acabal has learned how to buy an e-book online
 
Posts: 4
Karma: 96
Join Date: May 2016
Device: Kindle Voyage
Hi folks, just wanted to drop in here because I and a few other people in this thread were looking for a command-line utility to add soft hyphens to ebooks. I've written one up and posted it here for those of you who are interested.

It's a Python script that operates on xhtml files, so Calibre is not required (unless you want to hyphenate Kindle files, in which case ebook-convert is necessary).
acabal is offline   Reply With Quote
Old 06-13-2016, 04:02 AM   #274
SuperDerpBro
Member
SuperDerpBro plays well with othersSuperDerpBro plays well with othersSuperDerpBro plays well with othersSuperDerpBro plays well with othersSuperDerpBro plays well with othersSuperDerpBro plays well with othersSuperDerpBro plays well with othersSuperDerpBro plays well with othersSuperDerpBro plays well with othersSuperDerpBro plays well with othersSuperDerpBro plays well with others
 
Posts: 11
Karma: 2674
Join Date: Jun 2016
Device: None :(
Whenever i use this plugin it changes the size of the font (At least in the Calibre reader). Is there a reason for this?

Last edited by SuperDerpBro; 06-13-2016 at 04:07 AM.
SuperDerpBro is offline   Reply With Quote
Old 07-03-2016, 06:21 AM   #275
mgrmgrde
Junior Member
mgrmgrde began at the beginning.
 
mgrmgrde's Avatar
 
Posts: 5
Karma: 10
Join Date: Jun 2013
Device: kindle 3 iPhone 6+, Kindle HDX 8.9
Thumbs up Suggestions

At first let me say for that plugin, I love it.

Nonetheless there are two suggestions I have to make after some years of successful use:

1. Can you change the type of the custom field from text to a Y/N field? I think the three states of Yes/No/undefined are a better selection.

2. As I use sigil as my e-book editor: can you replace the hex-code with another &x....; sequence so I can edit a book in sigil too without a lot of spelling marks.

I think that would make this fabulous plugin a bit (for me a lot) better

TIA for considering these suggestions
mgrmgrde is offline   Reply With Quote
Advert
Old 07-03-2016, 06:23 AM   #276
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 50,367
Karma: 43720217
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by mgrmgrde View Post
At first let me say for that plugin, I love it.

Nonetheless there are two suggestions I have to make after some years of successful use:

1. Can you change the type of the custom field from text to a Y/N field? I think the three states of Yes/No/undefined are a better selection.

2. As I use sigil as my e-book editor: can you replace the hex-code with another &x....; sequence so I can edit a book in sigil too without a lot of spelling marks.

I think that would make this fabulous plugin a bit (for me a lot) better

TIA for considering these suggestions
Sigil is an ePub editor. Soft-hyphens do not work well with ADE. So you would be best not to hyphenate any ePub and wait until you've converted the ePub to KF8 and then hyphenate the KF8.
JSWolf is online now   Reply With Quote
Old 07-03-2016, 08:52 AM   #277
mgrmgrde
Junior Member
mgrmgrde began at the beginning.
 
mgrmgrde's Avatar
 
Posts: 5
Karma: 10
Join Date: Jun 2013
Device: kindle 3 iPhone 6+, Kindle HDX 8.9
Quote:
Originally Posted by JSWolf View Post
Sigil is an ePub editor.
That's the reason I use Sigil ePub is my preferred format for reading, editing, exchanging,archiving etc. With the DeDrm plugin it removes all sort of DRM and my E-book library has atm around 3000 books - all ePubs.

Quote:
Originally Posted by JSWolf View Post
Soft-hyphens do not work well with ADE. So you would be best not to hyphenate any ePub and wait until you've converted the ePub to KF8 and then hyphenate the KF8.
Well - usually I read my books with the calibre book viewer on my computer, it's the easiest method reading for me as I'm left-side paralyzed and have a lot of problems reading on my Kindle 3 or iPhone or Kindle tablet with just one usable arm. As I wrote before my preferred exchange format is also ePub because it's highly standardized and not in the claws of a company with only their own interests in mind.

BTW: with my setup soft-hyphens work quite well in English as well as in German or Danish E-books (I read and understand those languages)
mgrmgrde is offline   Reply With Quote
Old 09-03-2016, 03:19 PM   #278
Sam Sahara
Enthusiast
Sam Sahara began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Aug 2014
Device: lambda k21
Trying to install the italian dictionary ...

I get the following exception:

Code:
calibre, version 2.66.0
ERRORE: Eccezione non gestita: <b>KeyError</b>:"There is no item named 'dictionaries.xcu' in the archive"

calibre 2.66  embedded-python: True is64bit: False
Linux-3.16.0-4-586-i686-with-debian-8.0 Linux ('32bit', 'ELF')
('Linux', '3.16.0-4-586', '#1 Debian 3.16.7-ckt7-1 (2015-03-01)')
Python 2.7.9
Linux: ('debian', '8.0', '')
Successfully initialized third party plugins: Hyphenate This! (0, 0, 8) && Find Duplicates (1, 6, 2) && Kindle Collections (1, 7, 17) && Count Pages (1, 6, 9)
Traceback (most recent call last):
  File "calibre_plugins.hyphenatethis.gui.config", line 210, in _addDict
  File "calibre_plugins.hyphenatethis.gui.config", line 216, in _addOxt
  File "site-packages/calibre/utils/zipfile.py", line 986, in read
  File "site-packages/calibre/utils/zipfile.py", line 1014, in open
  File "site-packages/calibre/utils/zipfile.py", line 976, in getinfo
KeyError: "There is no item named 'dictionaries.xcu' in the archive"
I downloaded the dictionary from here

By the way... does the Kindle 2nd gen (the one with the keyboard) read appropriately an hyphenated AZW3 file?

Last edited by Sam Sahara; 09-04-2016 at 04:35 AM.
Sam Sahara is offline   Reply With Quote
Old 09-03-2016, 07:53 PM   #279
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 50,367
Karma: 43720217
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
The Kindle 2nd Gen does not support KF8 (AZW3).
JSWolf is online now   Reply With Quote
Old 09-04-2016, 05:05 AM   #280
Sam Sahara
Enthusiast
Sam Sahara began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Aug 2014
Device: lambda k21
Quote:
Originally Posted by JSWolf View Post
The Kindle 2nd Gen does not support KF8 (AZW3).
My fault. The kindle with the keyboard (the one I got) is 3rd gen. I read AZW3 files with it every day.

.

Anyway, the main theme of my post is the difficulty with the installation of an italian dictionary.
Sam Sahara is offline   Reply With Quote
Old 09-04-2016, 08:19 AM   #281
shamanNS
Addict
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 395
Karma: 849500
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW3[300dpi] , Kindle PW1
@Sam Sahara: I've extracted just hyphenation dictionary file from the .oxt one you linked in your post. Just extract it from the zip in the attachment and add that .dic to the plugin.
Attached Files
File Type: zip hyph_it_IT.dic.zip (1.1 KB, 58 views)
shamanNS is offline   Reply With Quote
Old 09-04-2016, 10:20 AM   #282
Sam Sahara
Enthusiast
Sam Sahara began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Aug 2014
Device: lambda k21
Quote:
Originally Posted by shamanNS View Post
@Sam Sahara: I've extracted just hyphenation dictionary file from the .oxt one you linked in your post. Just extract it from the zip in the attachment and add that .dic to the plugin.
It works like a charm. Many thanks!
Sam Sahara is offline   Reply With Quote
Old 11-01-2016, 02:06 PM   #283
Ptitprince
Member
Ptitprince began at the beginning.
 
Ptitprince's Avatar
 
Posts: 16
Karma: 10
Join Date: Dec 2012
Device: Kobo Aura
Question Translation

Hello SauliusP,

Is it possible to put your plugin on transifex like other plugins? I'll be glad to translate it into french.

Regards
Ptitprince is offline   Reply With Quote
Old 11-09-2016, 04:14 AM   #284
bart86
Junior Member
bart86 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2016
Device: Kindle Voyage
Hi all,
I have problem that is not directly related to this plugin. After sending books by mail some of them are not hyphenated even if converted mobi files (Calibre) are all ok. It is a bit frustrating and I don't want to go back to upload files by usb. The problem is related to Amazon servers but I thought that maybe someone has similar problem before and found some solution. Thank you.
bart86 is offline   Reply With Quote
Old 11-10-2016, 03:55 AM   #285
Ruskie_it
Addict
Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.Ruskie_it ought to be getting tired of karma fortunes by now.
 
Posts: 311
Karma: 376110
Join Date: Dec 2011
Location: Rome, Italy
Device: Kindle PW2, Kindle 4 NT, Cybook Odissey
Quote:
Originally Posted by bart86 View Post
Hi all,
I have problem that is not directly related to this plugin. After sending books by mail some of them are not hyphenated even if converted mobi files (Calibre) are all ok. It is a bit frustrating and I don't want to go back to upload files by usb. The problem is related to Amazon servers but I thought that maybe someone has similar problem before and found some solution. Thank you.
I am sorry I can't help. I never use send books by email because I really really hate (and find uncomfortable) the send by mail to my Kindle.
First, it forces me to turn on wireless, wich apart from battery consumptions exposes me to unwanted firmware updates.
Second, if I'm not mistaking, it is limited to mobi, and mobi is an inferior format (it lacks for example page count and I think also the kindle reading time doesn't work with mobi).

That said, it seems really strange to me that sending it via mail breaks hypenation: infact, hypens are written directly into the text of the book, the html changes, it's not some "extra file" or a suffix of the mobi file that could be stripped down in a transfer, it would require active and explicit tampering of a text processor, and it seems unlikely to me that something does this.

Edit: I have looked around, and if you look carefully at first post in this thread, hypenate this! does not support mobi files:

Quote:
Supports EPUB and AZW3 formats (no MOBI, even with KF8 inside, convert instead).
[...]
Note, that if you hyphenate EPUB or AZW3 and convert to "old" MOBI, hyphenation won't work.

Last edited by Ruskie_it; 11-10-2016 at 03:58 AM. Reason: New info
Ruskie_it is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 328 08-21-2017 12:34 AM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 403 07-29-2017 02:19 PM
[GUI Plugin] SmartEject JimmXinu Plugins 34 10-12-2016 12:37 PM
[GUI Plugin] Wordpress frescogamba Plugins 11 04-06-2015 10:09 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 09:25 AM.


MobileRead.com is a privately owned, operated and funded community.