![]() |
#1 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 153
Karma: 27950
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
|
![]()
I've frustrated by a problem of Kobo Device for a long time.
I manage my ebooks in Kobo Reader(Forma) using Calibre, and I will add some comments in the book using Calibre in the Comments section There are weird space problems after sending books into Kobo Reader inside the Synopsis section. For example, 1. There is no space between paragraphs inside the Comments section of Calibre, but three blank lines will be inserted between paragraphs in Synopsis section on Kobo Reader after books are sent. 2. There is no space between items in a list inside the Comments section of Calibre, but one blank line will be inserted between paragraphs in Synopsis section on Kobo Reader after books are sent. When the comment in the Comments section is long such as containing multiple paragraphs, the text in the Synopsis section will be splited into several pages (which will be inside one page normally) because of the unnecessary blank lines, it is quite frustrated to see it. Is it able to keep the format in Comments section inside Calibre after sending books into Kobo Reader, maybe add a new request for KoboPatch if currently not available? BTW: the text in the Comments section inside Calibre is already converted into plain text. Last edited by codychan; 09-17-2021 at 10:42 AM. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
There is a problem with the way current calibre versions store the comments and the way the Kobo devices parse them. It is a known problem and has been discussed a couple of times. See Kobo Aura HD: Extra paragraph breaks in Synopsis. for an explanation and a workaround.
But, if you are stripping the HTML tags out, then it will be only how the device is handling the line breaks. How are you doing that? If you edit the comments in calibre through the metadata editor, it will always save it as HTML, not plain text. |
![]() |
![]() |
![]() |
#3 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,779
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Yes, I found it even created multiple pages in the synopsis unless <p>text</p> was using <br/> instead. At one stage there was an update in Calibre where the comments br was automatically replaced by <p> </p> when you edited and then I think that was fixed.
But I've not looked at it since last year. |
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,272
Karma: 238048783
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
Quote:
It's a damn nuisance in my view. But empty paragraphs on my Libra are even more of a nuisance. |
|
![]() |
![]() |
![]() |
#5 | ||
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 153
Karma: 27950
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
|
Quote:
Quote:
And basically according to your reply, this is the problem Kobo device, Kobo doesn't handle it properly like Calibre Comments section. ---- UPDATE: I found a plugin called `Clean Comments`, it is not perfect, but it is usable, at least I tried it for a book's Comments section, the space between in a list is gone, the blank lines between paragraphs become only one blank line. Last edited by codychan; 09-16-2021 at 04:18 PM. |
||
![]() |
![]() |
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 207
Karma: 20980
Join Date: Oct 2020
Device: Kobo Aura One, Aura HD (R.I.P.) :(
|
I pretty much do what Sirtel does when I create or modify a book. For the rest I just rely on the plugboards in Calibre, it does fix the majority of them.
For me I copy synopsis to a text file to make the changes then its copied to the epub metadata. In the Calibre html it makes it into 1 paragraph. On my kobo it works with a manual sideload, Calibre 5.27 (with kobotouchextended and plugboards mod), and with Calibre 4.23 (with all standard settings and plugins). This does annoys me a lot ![]() This is what I put into the epub metadata Code:
blah blah with space below.<br/><br/>blah blah no space below.<br/>blah blah. Code:
<div><p>blah blah with space below.<br><br>blah blah no space below.<br>blah blah.</p></div> Last edited by Rid; 09-16-2021 at 11:51 PM. Reason: wrong description on 2nd code |
![]() |
![]() |
![]() |
#7 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 207
Karma: 20980
Join Date: Oct 2020
Device: Kobo Aura One, Aura HD (R.I.P.) :(
|
Quote:
My plugbooards look like this; Code:
any format:KOBOTOUCHEXTENDED = ([{comments}] -> comments) |
|
![]() |
![]() |
![]() |
#8 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The plugboard is set in the "Metadata plugbpoard" page of the calibre preferences. Different plugboards can be used for different devices or actions such save-to-disk. The way calibre parses the comments when used in a plugboard means that extra whitespace is removed. That include new-lines between tags. Quote:
Quote:
|
|||
![]() |
![]() |
![]() |
#9 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 153
Karma: 27950
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
|
Quote:
And Thanks, as @davidfor mentioned, I successfully create one in plugboards like you. |
|
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
![]() |
![]() |
![]() |
#11 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 153
Karma: 27950
Join Date: Nov 2018
Device: Kobo Aura One, Kobo Forma
|
Quote:
The "already converted into plain text" means I select the text in the Normal view and click the Remove formatting button or add some simple comments using Edit Metadata inside the Normal view like I write text in a simple text editor and paste it into the Normal view, I didn't pay attention to the HTML source before. Now I know the plugboards, and the suggested Code:
any format:KOBOTOUCHEXTENDED = ([{comments}] -> comments) Thanks. I'll mark this issue solved. |
|
![]() |
![]() |
![]() |
Tags |
calibre, comment, kobo, synopsis |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Large spaces between paragraphs | Leonatus | Recipes | 14 | 05-29-2019 08:10 AM |
Spaces between paragraphs | Bigo2 | Calibre | 15 | 06-25-2014 03:37 AM |
White space inserted between paragraphs | TheBean | Sigil | 8 | 07-04-2013 08:04 AM |
PDF->Mobi extra spaces inserted? | tapar | Conversion | 8 | 01-29-2011 08:33 PM |
Huge Spaces Between Paragraphs | diremommy | Calibre | 0 | 12-29-2009 06:30 PM |