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 06-19-2024, 02:00 AM   #1
m610
Enthusiast
m610 began at the beginning.
 
m610's Avatar
 
Posts: 35
Karma: 10
Join Date: Jun 2024
Location: Esparto, CA
Device: Kindle 11
My First Conversion Attempt

I'm totally new to Calibra, so I don't understand the process well and I'll make plenty of mistakes, but I thought I'd describe my first attempt and ask if this is normal.

I converted a 300+ page book from PDF to ePUB. It took a few minutes, quite understandable. When I reviewed the result I could see I still had a lot of work ahead of me.
  • The original table of contents was still there. Yes, I can delete that, but I was hoping Calibra could use the information I provided and convert it.
  • The original page numbers are still there, even though the page breaks are different/nonexistent.
  • The fonts were changed, including the size and typeface of chapter headings.
  • All page breaks were ignored. I'd prefer that chapters start on a fresh page.
  • Photo captions were separated from the photos, and they look like the text (same font and size) and are mixed in with the text. That sure makes reading difficult.

Is all this normal?
Mike

Last edited by m610; 06-19-2024 at 02:03 AM.
m610 is offline   Reply With Quote
Old 06-19-2024, 02:07 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,452
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
https://www.mobileread.com/forums/sh...d.php?t=118605

PDF is a 'paste up' format. That means things are placed upon a page where they GO, not in a linear, top down order.
Really want a mess. Take a 2 column PDF
theducks is offline   Reply With Quote
Advert
Old 06-19-2024, 02:09 AM   #3
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,128
Karma: 8796706
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Yes that is normal for PDF.

See the calibre manual:

https://manual.calibre-ebook.com/con...#pdfconversion

Quote:
PDF documents are one of the worst formats to convert from. They are a fixed page size and text placement format. Meaning, it is very difficult to determine where one paragraph ends and another begins. calibre will try to unwrap paragraphs using a configurable, Line un-wrapping factor....
bernie
Quote:
Originally Posted by m610 View Post
I'm totally new to Calibra, so I don't understand the process well and I'll make plenty of mistakes, but I thought I'd describe my first attempt and ask if this is normal.

I converted a 300+ page book from PDF to ePUB. It took a few minutes, quite understandable. When I reviewed the result I could see I still had a lot of work ahead of me.
  • The original table of contents was still there. Yes, I can delete that, but I was hoping Calibra could use the information I provided and convert it.
  • The original page numbers are still there, even though the page breaks are different/nonexistent.
  • The fonts were changed, including the size and typeface of chapter headings.
  • All page breaks were ignored. I'd prefer that chapters start on a fresh page.
  • Photo captions were separated from the photos, and they look like the text (same font and size) and are mixed in with the text. That sure makes reading difficult.

Is all this normal?
Mike
gbm is offline   Reply With Quote
Old 06-19-2024, 02:14 AM   #4
m610
Enthusiast
m610 began at the beginning.
 
m610's Avatar
 
Posts: 35
Karma: 10
Join Date: Jun 2024
Location: Esparto, CA
Device: Kindle 11
Thanks, all.

Would it be better if I converted ASCII text?

I work with WordPerfect, but I doubt Calibra will handle that. I need to check to see if WordPerfect can output to ePUB.

Mike
m610 is offline   Reply With Quote
Old 06-19-2024, 02:34 AM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by m610 View Post
Thanks, all.

Would it be better if I converted ASCII text?

I work with WordPerfect, but I doubt Calibra will handle that. I need to check to see if WordPerfect can output to ePUB.

Mike
If your version of Wordperfect can't save as EPUB (IIRC it's fairly recent) try saving as DOCX and convert that. See ==>> What are the best source formats to convert?.

BR
BetterRed is offline   Reply With Quote
Advert
Old 06-19-2024, 02:38 AM   #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,128
Karma: 8796706
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Save as ODT or DOCX.

caliber manual is your friend.
https://manual.calibre-ebook.com/con...-specific-tips

bernie
edit:

Go to the Baen Free Library and download a ebook in RTF format use it to practice.


Quote:
Originally Posted by m610 View Post
Thanks, all.

Would it be better if I converted ASCII text?

I work with WordPerfect, but I doubt Calibra will handle that. I need to check to see if WordPerfect can output to ePUB.

Mike

Last edited by gbm; 06-19-2024 at 02:44 AM.
gbm is offline   Reply With Quote
Old 06-19-2024, 03:25 AM   #7
m610
Enthusiast
m610 began at the beginning.
 
m610's Avatar
 
Posts: 35
Karma: 10
Join Date: Jun 2024
Location: Esparto, CA
Device: Kindle 11
Using Wordperfect and saving the book as HTML worked pretty well. It had a table of contents, photos had captions, fonts were preserved, etc.
m610 is offline   Reply With Quote
Old 06-19-2024, 03:27 AM   #8
m610
Enthusiast
m610 began at the beginning.
 
m610's Avatar
 
Posts: 35
Karma: 10
Join Date: Jun 2024
Location: Esparto, CA
Device: Kindle 11
I'll definitely look at some ePUB books. I'm curious to see if they have a bastard title page, title page, what the copyright page looks like, etc.
m610 is offline   Reply With Quote
Old 06-19-2024, 05:56 AM   #9
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: 12,378
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
See can LO Writer open your Wordperfect files, and what formats WP can save/export in.

Which Wordperfect is it?

Edit LO Writer in odt, but an extra Save As in docx for Calibre.

Switch to LO Writer. Wordperfect for Windows was dead twenty years to thirty years ago. Wordperfect for DOS dead 35 years ago.

Edit:
LO Writer certainly opens some versions of Wordperfect directly.
It's free and runs on Mac, Windows and Linux.

Last edited by Quoth; 06-19-2024 at 05:59 AM.
Quoth is offline   Reply With Quote
Old 06-21-2024, 11:14 PM   #10
m610
Enthusiast
m610 began at the beginning.
 
m610's Avatar
 
Posts: 35
Karma: 10
Join Date: Jun 2024
Location: Esparto, CA
Device: Kindle 11
I'm using Wordperfect X7, and it is ten years old, but far from dead.

Link: https://www.wordperfect.com/en/

I've been using WP since DOS days and will keep using it as long as it is supported, and then some.

By the way, the PC I use for writing runs Win XP, version 2002. For my writing, there is no reason to upgrade. I have other computers for video production, web creation, etc.

The latest versions of WP do export to ePUB. I might try that.

The version I exported from WP to HTML recently looks okay. It even has the right type of table of contents, keeps my fonts, and the photos and illustrations came through, even with the captions intact. It's probably not eBook-ready, but it looks closer than what I got converting from PDF using Calibra. It'll be interesting to see what Calibra can do with the HTML version.
m610 is offline   Reply With Quote
Old 06-22-2024, 02:32 AM   #11
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by m610 View Post
. . .
The latest versions of WP do export to ePUB. I might try that.
If for any reason you don't want to upgrade WP, do try saving as DOCX and converting that. The "best source formats to convert" link I posted rates DOCX a bit higher than HTML, and the DOCX Input code is actively maintained by the creator of calibre.

BR

FTR: Calibra was a not very good European GM car model.
BetterRed is offline   Reply With Quote
Old 06-22-2024, 09:08 AM   #12
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: 12,378
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
I used LO Writer on XP till 2016.
I've used Wordstar (CP/M and DOS), Wordstar 2000, Wordperfect (DOS and Windows), MS Word (DOS and Windows versions from 2.0a to 2007), Star Office, Open Office. I even taught word processing.

I've written maybe over 2 M words using LO Writer.

The docx input (via an extra save as) is by far the best import route to Calibre from word processing.
Quoth is offline   Reply With Quote
Old 06-23-2024, 12:31 AM   #13
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,006
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Wot, no Multimate!

Be interesting to see an EPUB save from Wordperfect. I sometimes use the Mammoth route to get a better mapping of Word's styles to the EPUB CSS entries.

Maybe DOCX->WP->EPUB would be better than DOCX->Mammoth(Sigil PI)->EPUB.

BR
BetterRed is offline   Reply With Quote
Old 07-11-2024, 04:00 AM   #14
m610
Enthusiast
m610 began at the beginning.
 
m610's Avatar
 
Posts: 35
Karma: 10
Join Date: Jun 2024
Location: Esparto, CA
Device: Kindle 11
Thanks for the tips. I'm finally making progress.

I found that Wordperfect can export to EPUB, and in fact it includes tools to help you build your eBook. The version I have is quite old and I was surprised to find this feature, but there it was.

I was able to open and edit the eBook using Calibra, and while much of the book looked okay, it still needed a lot of work. Fortunately, I have some experience with HTML and CSS/styles, although I am quite rusty with it, so after some effort, I was able to get things looking about right.

The file WP gave me did not make extensive use of styles. For example, the settings for each paragraph, usually several lines of code, was used to set up each paragraph. I replaced them all with a p.Paragraph style I created. Seeing as the book has a little over 2,000 paragraphs, this saved a lot code, plus it makes changing the look of all of them at one time easy. Likewise for images, and pretty much everything, such as date formats and placements in letters, chapter and book section headings, tables, and more.

It's been a learning process, and as I am working with nearly 7,000 lines of code and text, it has been a lot of work, but things are turning out well.

I've been using Calibra for all of my post-WP work, and it has been great.

I guess now I need to get an actual eBook device. I need to be able to review and edit this book in an environment my reader is likely to be working in.

Speaking of editing, this project helped me find and fix a half-dozen typos. That's not a lot, considering the book is just under 70k words long, but it doesn't take many mistakes to spoil a book.

So, my first eBook project is turning out well, which means there will be future eBook projects.

Mike
m610 is offline   Reply With Quote
Old 07-11-2024, 04:01 AM   #15
m610
Enthusiast
m610 began at the beginning.
 
m610's Avatar
 
Posts: 35
Karma: 10
Join Date: Jun 2024
Location: Esparto, CA
Device: Kindle 11
My quick-post is not showing up. DId I do something wrong?
m610 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help after a jailbreak attempt. DanMurray Kindle Developer's Corner 12 09-30-2016 10:28 PM
My first attempt at writing an original... JanG Writers' Corner 13 08-11-2009 06:36 PM
My first upload attempt lilac_jive Workshop 1 01-17-2009 11:46 PM


All times are GMT -4. The time now is 03:42 AM.


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