![]() |
#1 |
Member
![]() Posts: 22
Karma: 10
Join Date: May 2016
Location: Georgia, USA
Device: Kindle Paperwhite, Nook HD+, LG G4
|
Question about adding Text to an EPUB with Calibre
I've got an ebook that is literally missing about 15 pages from the actual book and I'm trying to add it back in. I've been transcribing the missing pages from the actual book. I was doing it in Calibre's edit feature, but since its so much to add, I've been transcribing the missing part on Wordpad and was going to just copy and paste what's missing into the editor when I finished.
My question though, in order to preserve the line breaks and paragraphs, will I need to copy and paste this piecemeal where i want the line breaks by adding the <p class="calibre2"> and </p> for every place I want the line breaks or can I just copy and paste the whole document into the book and hit the Beautify Ebook button to do it more quickly without wasting my time? Since I discovered this feature, I actually have a ton of ebooks that I need to fix (spelling errors and table of contents mainly) and this would just be helpful that I won't have to waste a lot of time if there is a smarter way to do this. |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,944
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Tricky because the class assigned to a paragraph tag may be different between books
Maybe this will work for your (simple) text files Pre process before attempting the merge I will assume you have a WIP library (work in progress) 1)add the TXT file to the Library 2)convert to EPUB 3) now using the editor, bulk change the class= to the new selector NOTE this name may be in use other places SO YOUR PREVIEW MAY LOOK OFF Save (just in case) simplest, if small) Copy all to Clipboard Now switch the editor to the destination book ( ![]() 4) Create a (temporary) New (blank) File in the book. 5) paste the clipboard into the blank file, remember to link the stylesheet if you want to preview 6)Move the text to its home as desired That should do it |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 22
Karma: 10
Join Date: May 2016
Location: Georgia, USA
Device: Kindle Paperwhite, Nook HD+, LG G4
|
I think I understand what you mean. So I'm going to give this a try. Thanks. Hopefully, this will come out right.
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 22
Karma: 10
Join Date: May 2016
Location: Georgia, USA
Device: Kindle Paperwhite, Nook HD+, LG G4
|
Hot diggity _____! It did! Thank you so much! That worked so much better than the piecemeal way of copying and pasting I thought I was going to have to do in order to finish this. Thanks!
|
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,944
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
There might be a simpler way, someone else may have an idea.
I am willing to do steps rather than pulling out what little hair left, trying to figure a 100% automated way. Who knows, while you are shuffling my way, you might spot some other problem ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 22
Karma: 10
Join Date: May 2016
Location: Georgia, USA
Device: Kindle Paperwhite, Nook HD+, LG G4
|
Oh I wasn't being sarcastic...it did work for me...lol. For some reason, when I was quoting Bender from Futurama it changed "Daffodil" to a blank line...oh well. Anyway, it worked, my thanks to ya ducks. Now I just gotta start learning what all I can and need to do to add chapter breaks in my books that don't have them since they won't sync between my 2 ereaders. Thanks again!
|
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,944
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
In the Editor, open the preview pane. At the bottom there is a Icon (the tool tip will let you know) that looks like two pages. Click that, then move the cursor to where the break sould be (a Green line appears) Click. Repeat for each split point |
|
![]() |
![]() |
![]() |
#8 | |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,662
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
![]() BR Last edited by BetterRed; 03-13-2017 at 07:26 AM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding purchased epub books to Calibre | Philipgc | Library Management | 4 | 11-14-2012 02:12 PM |
Adding .epub hangs Calibre | HowardBrazee | Calibre | 11 | 02-23-2012 08:58 AM |
Adding book to NOOK with Calibre question - wierd files appeared | Snauzoo | Calibre | 3 | 07-22-2011 10:57 AM |
Adding Epub to Calibre Issue | Arkayas | Library Management | 0 | 05-16-2011 12:04 PM |
Calibre - adding books question | Roberta Carrota | Calibre | 4 | 01-09-2011 04:31 PM |