12-15-2019, 05:45 PM | #1 |
Addict
Posts: 283
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
calibre 4.6 hyphens in editor, viewer, and PDFs
I have questions about hyphens in editor, viewer, and PDFs. Apparently you can add hyphens with Polish Books which creates a second epub and renames old original. The new epub auto-hyphens by width of column in the editor and file viewer of the editor. Hyphenatable words are underlined. The new viewer also now hyphenates on the fiy. Hyphenatable words do not have &SHY showing in them. When converting to PDF there is a setting to hyphenate the output but this is a separate process entirely and the epub does not first have to go through the Polish Books. Have I got this right? Best regards, Pop
|
12-16-2019, 03:17 AM | #2 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The viewer does not hyphenate on the fly, you have to add hyphens if you want hyphenation in the viewer. Hyphenated words have a soft hyphen (hte unicode character, not ­ inserted in them. And yes the PDF output does not require books to be pre-hyphenated.
|
12-16-2019, 08:06 AM | #3 |
Addict
Posts: 283
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
Thank you for that explanation, Mr. Goyal. I wondered about the underlined words. I right-arrowed through one such word letter by letter and, indeed, there it was — a soft hyphen. A great many printed books are hypenated, it seems, so, for PDF print-outs, this would be a nice touch. Is there any overhead or drawbacks to using this feature for ebooks? Is there a time lag for loading? 4.6 is incredibly good! Best regards, Pop
|
12-16-2019, 08:10 AM | #4 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The drawback is mostly that searching tends to not work and as you discovered words are incorrectly marked as mis-spelled in the editor. There are no serious performance implications, however. I do plan to fix both spelling and searching with hyphenated words in the future.
|
12-18-2019, 08:23 AM | #5 |
Addict
Posts: 283
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
|
One additional small thing I just noticed: if you have hyphenated a file and you edit that file by adding a long word with many syllables, that one word will not (of its own accord) now automatically hyphenate.
Another topic: If you delete the 'old file' then 'unhyphenate' the new file, is that a safe thing to do? Or, would it be better to keep the 'old file' then unhyphenate? I am intrigued by this concept, but am worried about destruction of text. Best regards, Pop |
12-18-2019, 10:24 AM | #6 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can safely add and remove hyphens, will not affect the text. But is generally a good practice to keep backups. And no hyphenation is not applied automatically ever, you should make it the last step in your book editing.
|
01-01-2020, 02:15 PM | #7 |
SQUIRREL!!
Posts: 1,636
Karma: 8400000
Join Date: Nov 2010
Location: California
Device: K-Fire, PW2, PW3
|
Is this form of hyphenation different from what the Hyphenate This! plugin does or is the plugin now unnecessary?
Thanks! |
01-01-2020, 09:58 PM | #8 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Its the same thing, it inserts soft hyphens in text.
|
01-02-2020, 11:10 AM | #9 |
SQUIRREL!!
Posts: 1,636
Karma: 8400000
Join Date: Nov 2010
Location: California
Device: K-Fire, PW2, PW3
|
Thanks Kovid!
The Hyphenate This! plugin requires the addition of a hyphenation dictionary for the language being hyphenated. Is the addition of a hyphenation dictionary unnecessary with this Calibre feature or do I need to dig deeper? (the language I am interested in is english) Thanks for your help and Happy New Year! |
01-02-2020, 11:23 AM | #10 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
yeah calibre comes with all the hyphenation dictionaries from libreoffice pre-installed. And Happy New Year to you too!
|
01-02-2020, 11:51 AM | #11 | |
SQUIRREL!!
Posts: 1,636
Karma: 8400000
Join Date: Nov 2010
Location: California
Device: K-Fire, PW2, PW3
|
Quote:
Do you anticipate in the future adding this as an option in the conversion process or will it remain a separate step in Polish Books? Thanks! |
|
01-02-2020, 12:13 PM | #12 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No plans to add it in conversion.
|
02-03-2024, 10:54 AM | #13 |
Junior Member
Posts: 9
Karma: 10
Join Date: Mar 2016
Device: kindle touch 5.3.7.3
|
My apologizes, but there is a difference.
With nearly every (German) text the hyphenation with the plug-in works. But yesterday I have converted a text in German from pdf to epub (and after editing converting again to azw3, but his makes no difference) and tried several time adding hyphens with the "Hyphenate This!"-plugin. It only added soft-hyphens to text inserted in/between <i class="calibre9"></i>, not into "normal" text; tested with the ereader and with ebook-edit the text is displayed w/o hyphenations. When searching for "\xad" as regex the hyphens are found in text in/between <i class="calibre9"></i> and this text can be displayed with hyphenation. After hyphening with ebook-polish the soft-hyphens are in the complete text and not only found with "\xad" but also are working when displaying the text. Seems as if ebook-polish does some things different than the plug-in. |
02-03-2024, 09:50 PM | #14 |
creator of calibre
Posts: 43,866
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Well yes, the implementation is different, so there well could be bugs in one not present in the other. But the end goal is the same
|
02-09-2024, 08:41 AM | #15 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Mar 2016
Device: kindle touch 5.3.7.3
|
Quote:
I can remember very vague that I have realized this also in the past with some few ebooks, but due to lack of time (and because I did not know the alternative hyphenation with ebook-polish) I did not further investigate this problem - and I really don´t remember this few ebooks. So in my experience "hyphen-it" is buggy and ebook-polish is better. If I would have a wish: I would like to have the ebook-polish-hyphenation als plug-in. If you want to test/check this I can send you the text. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Rendering/Layout problem on Viewer and Editor | knstn | Calibre | 2 | 06-27-2018 12:21 PM |
@media okay in editor; not working in E-book viewer | rjwse@aol.com | Editor | 4 | 07-12-2016 12:15 AM |
Calibre opening epub in editor rather than viewer | harpergriffin | Library Management | 4 | 02-18-2016 10:56 PM |
drop file into viewer or editor | BetterRed | Calibre | 2 | 02-16-2014 04:38 AM |
directly switching from eBook-viewer to editor | E Kuehne | Calibre | 3 | 08-03-2012 04:59 AM |