Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 02-29-2024, 04:17 PM   #16
quinta@ebf.cz
Connoisseur
quinta@ebf.cz began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Mar 2019
Device: Kindle 3 Paperwhite
Quote:
Originally Posted by Quoth View Post
It's a format error I've never seen in ten years.
I absolutely believe that. Unfortunately, I encountered it just now.
quinta@ebf.cz is offline   Reply With Quote
Old 02-29-2024, 04:44 PM   #17
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,164
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Well, the advantage of an epub is that one Search & Replace in the Calibre editor will fix it.

I've bought ebooks that were hugely more "broken" and required some expertise and time to fix.
Occasionally I get a PD ebook using multiple nested <blockquote> instead of one <p class="super-big-indent"> and such paragraphs end up as a narrow column, sometime less than a full word wide!
Quoth is offline   Reply With Quote
Advert
Old 02-29-2024, 04:44 PM   #18
quinta@ebf.cz
Connoisseur
quinta@ebf.cz began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Mar 2019
Device: Kindle 3 Paperwhite
Mayby the conversion issue is related to Calibre conversion "soft hyphen" fix made in 2021. Sorry, can't find specific Calibre version number... Topic of report: soft hyphens in docx conversion output
quinta@ebf.cz is offline   Reply With Quote
Old 02-29-2024, 04:51 PM   #19
quinta@ebf.cz
Connoisseur
quinta@ebf.cz began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Mar 2019
Device: Kindle 3 Paperwhite
Quoth: Calibre editor is definitely amazing piece of software.
quinta@ebf.cz is offline   Reply With Quote
Old 03-02-2024, 03:40 AM   #20
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...a7a5d488c68de4
kovidgoyal is offline   Reply With Quote
Advert
Old 03-02-2024, 04:50 AM   #21
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,164
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by kovidgoyal View Post

You are too good!
Quoth is offline   Reply With Quote
Old 03-02-2024, 06:06 AM   #22
quinta@ebf.cz
Connoisseur
quinta@ebf.cz began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Mar 2019
Device: Kindle 3 Paperwhite
Quote:
Originally Posted by kovidgoyal View Post
Thank you. Once again.

Although: Seems comit only takes care of trailing spaces. Actually the same problem (space lost) will occur with leading ones... (Just tested in Calibre.)
quinta@ebf.cz is offline   Reply With Quote
Old 03-02-2024, 06:28 AM   #23
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by quinta@ebf.cz View Post
Thank you. Once again.

Although: Seems comit only takes care of trailing spaces. Actually the same problem (space lost) will occur with leading ones... (Just tested in Calibre.)
See the next commit.
kovidgoyal is offline   Reply With Quote
Old 03-03-2024, 09:22 AM   #24
quinta@ebf.cz
Connoisseur
quinta@ebf.cz began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Mar 2019
Device: Kindle 3 Paperwhite
Quote:
Originally Posted by kovidgoyal View Post
See the next commit.
Next commit successfully found.
https://github.com/kovidgoyal/calibr...41d1e9d2ad21b3

The key was to search for "Calibre commit list". : )
https://github.com/kovidgoyal/calibre/commits
quinta@ebf.cz is offline   Reply With Quote
Old 03-17-2024, 01:32 PM   #25
quinta@ebf.cz
Connoisseur
quinta@ebf.cz began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Mar 2019
Device: Kindle 3 Paperwhite
Just quick test with Calibre 7.7 (released 2024-03-14):

source epub (positions of soft hyphens signalized as "{sh}"):
Code:
Aaa{sh}aaa aaa{sh} aaa {sh} aaa {sh}aaa.
docx conversion output (Calibre 6.26, Calibre 7.7):


Calibre version 7.7 preserves spaces around soft hyphens. As expected.
Thank you.
quinta@ebf.cz is offline   Reply With Quote
Old 03-17-2024, 03:25 PM   #26
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,164
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
But any document with spaces either side or both of soft hyphens is broken.
Quoth is offline   Reply With Quote
Old 03-23-2024, 06:58 AM   #27
quinta@ebf.cz
Connoisseur
quinta@ebf.cz began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Mar 2019
Device: Kindle 3 Paperwhite
Quoth: Actually not "broken". But such use of SH is evidently undesirable. But even such undesirable use of SH could cause further damage to converted documents. I am happy the conversion behavior has been fixed. I am not so happy of me and Quoth spinning in a circle.
quinta@ebf.cz is offline   Reply With Quote
Old 03-23-2024, 08:40 AM   #28
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 11,164
Karma: 85874891
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Any electronic document or ebook with wrong combinations of characters is "broken". You fix the source.

I'm baffled why you want to convert obviously malformed documents when a minute or two would fix them.
Quoth is offline   Reply With Quote
Old 03-23-2024, 12:06 PM   #29
quinta@ebf.cz
Connoisseur
quinta@ebf.cz began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Mar 2019
Device: Kindle 3 Paperwhite
Quote:
Originally Posted by Quoth View Post
I'm baffled why you want to convert obviously malformed documents when a minute or two would fix them.
As mentioned earlier, You can ancouter just output of conversion.
quinta@ebf.cz is offline   Reply With Quote
Old 03-23-2024, 12:13 PM   #30
quinta@ebf.cz
Connoisseur
quinta@ebf.cz began at the beginning.
 
Posts: 59
Karma: 10
Join Date: Mar 2019
Device: Kindle 3 Paperwhite
Quote:
Originally Posted by Quoth View Post
Any electronic document or ebook with wrong combinations of characters is "broken".
Well its a matter of vocabulary, and of definition of "wrong combinations of characters".
quinta@ebf.cz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Feature Request: Make soft hyphen unicode character visible Morea Editor 14 07-25-2023 10:20 AM
soft hyphens in docx conversion output quinta@ebf.cz Conversion 3 09-07-2021 10:04 AM
docx to epub; one-character pages missing quinta@ebf.cz Conversion 3 07-31-2020 03:32 PM
Soft Hyphen lhuxley Editor 3 03-23-2015 08:02 PM
Soft hyphen Kumabjorn Writers' Corner 32 07-13-2014 12:00 AM


All times are GMT -4. The time now is 10:34 AM.


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