Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-12-2020, 11:46 AM   #1
celinego
Connoisseur
celinego began at the beginning.
 
celinego's Avatar
 
Posts: 54
Karma: 10
Join Date: Feb 2017
Device: Kindle 7; Kindle Fire HD10; iPhone6s; Windows 10 HP Pavilion; Nexus 7
Pasted text keeps reformatting within Calibre

Hello.

Sorry if I'm posting this is the wrong forum but I'm not sure which forum it falls into.

It's probably a simple adjustment I need to make in the settings somewhere but can't see which one.

Whenever I copy the book "blurb" from Amazon or goodreads (or anywhere actually), I post it into the Comments box when in Edit Metadata. When I do that and say OK, it automatically puts extra gaps between the pasted paragraph. Even if I go back and remove the gaps and hit OK again, it does the same. So then I'll convert (mostly epub to mobi) and when import the converted book, it too has all the gapping between paragraphs. As soon I backspace to remove the gaps, I then also have to use backspace again to remove a 1 character indentation at the beginning of each paragraph.

This has become rather tedious and time consuming every time I have to add the missing blurb. Does anyone have a solution please? Normally when I paste, I use "Paste and match style".

Many thanks for any recommended tweaks .... nephtine
celinego is offline   Reply With Quote
Old 07-12-2020, 12:07 PM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,970
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
If you use shit+enter, it'll add a <br> instead of splitting it into a <p> which will make the gap not appear. Unfortunately you'll probably need to manually edit it unless you want to do a search-and-replace the entire thing.

Last edited by ownedbycats; 07-12-2020 at 12:09 PM.
ownedbycats is offline   Reply With Quote
Advert
Old 07-12-2020, 12:29 PM   #3
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Terisa de morgan wrote a nice 'Cleaning Comments' plugin that works for me:

https://www.mobileread.com/forums/sh....php?p=3354463


Discussion:

https://www.mobileread.com/forums/sh...d.php?t=271734
phossler is offline   Reply With Quote
Old 07-12-2020, 12:38 PM   #4
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,970
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I use that plugin myself, and I pretty sure that it results in gaps between the paragraphs. (It's still very useful though and I hope someone takes up the development for Python 3.)
ownedbycats is offline   Reply With Quote
Old 07-12-2020, 01:06 PM   #5
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: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you dont want margins between paragraphs, go to Preferences->Look & feel->book details and add

p { margin: 0 !important }

to the text styling section at the top
kovidgoyal is offline   Reply With Quote
Advert
Old 07-12-2020, 01:15 PM   #6
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,185
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by celinego View Post
Hello.

Sorry if I'm posting this is the wrong forum but I'm not sure which forum it falls into.

It's probably a simple adjustment I need to make in the settings somewhere but can't see which one.

Whenever I copy the book "blurb" from Amazon or goodreads (or anywhere actually), I post it into the Comments box when in Edit Metadata. When I do that and say OK, it automatically puts extra gaps between the pasted paragraph. Even if I go back and remove the gaps and hit OK again, it does the same. So then I'll convert (mostly epub to mobi) and when import the converted book, it too has all the gapping between paragraphs. As soon I backspace to remove the gaps, I then also have to use backspace again to remove a 1 character indentation at the beginning of each paragraph.

This has become rather tedious and time consuming every time I have to add the missing blurb. Does anyone have a solution please? Normally when I paste, I use "Paste and match style".

Many thanks for any recommended tweaks .... nephtine
Go to Preferences --Look & feel--Book details then modify the css under styling to what you want.
Click image for larger version

Name:	Screenshot from 2020-07-12 13-01-35.png
Views:	87
Size:	121.3 KB
ID:	180552

This what I Downloaded for meta data:
Click image for larger version

Name:	Screenshot from 2020-07-12 13-05-36.png
Views:	87
Size:	122.1 KB
ID:	180553

This is how it appears in the book details using my css

Click image for larger version

Name:	Screenshot from 2020-07-12 13-06-21.png
Views:	84
Size:	385.0 KB
ID:	180554

My css:
Spoiler:
Code:
body, td {
    background-color: transparent;
}

body.horizontal table td.title { white-space: nowrap }

a {
    text-decoration: none;
}

.comments {
    margin-top: 0;
    padding-top: 0;
    text-indent: 0
}

.comments-heading {
    font-size: larger;
    font-weight: bold
}

table.fields {
    margin-bottom: 0;
    padding-bottom: 0;
}

table.fields td {
    vertical-align: top
}

table.fields td.title {
    font-weight: bold
}

.series_name {
    font-style: italic
}
p { margin: 0;    text-indent: 18px}


bernie
gbm is offline   Reply With Quote
Old 07-12-2020, 01:44 PM   #7
celinego
Connoisseur
celinego began at the beginning.
 
celinego's Avatar
 
Posts: 54
Karma: 10
Join Date: Feb 2017
Device: Kindle 7; Kindle Fire HD10; iPhone6s; Windows 10 HP Pavilion; Nexus 7
Quote:
Originally Posted by kovidgoyal View Post
If you dont want margins between paragraphs, go to Preferences->Look & feel->book details and add

p { margin: 0 !important }

to the text styling section at the top



Thank you Kovid. I did exactly what you said and problem is now completely solved and tested. Hooray!!

Thanks to others for replying too. ....... nephtine
celinego is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy/pasted old library to new, books not recognized ChadG Library Management 7 04-27-2015 05:47 PM
Metadata not being pasted into box spanishguy Library Management 6 07-04-2011 06:49 PM
reformatting: text with unwanted linebreaks tscamera Sigil 26 01-07-2011 03:48 AM
Android Is there an app that allows images to be pasted into a text document? ayersem enTourage Archive 4 07-15-2010 12:58 PM
Reformatting untidy text files macro 46137 Workshop 8 05-02-2008 09:27 PM


All times are GMT -4. The time now is 01:45 AM.


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