Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-07-2019, 09:58 PM   #1
Rob Adamson
Junior Member
Rob Adamson began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2019
Device: Robert Adamson
APPLE PAGES to EPUB TRICKS

The latest Pages from Apple is great for generation ePub files for publishing everywhere. It even automagically embeds any non-standard fonts used in your book.

But if you search the web, you will find writers complaining that Pages exports ePubs with a blank line between each paragraph. If you decide to indent the first line of each paragraph, as most books do, then this is a redundant notification of a new paragraph and a big waste of space.

So let’s fix this with Sigil. Remember, Sigil is a low-level editor of ePubs.
Open your Pages generated ePub with Sigil and look around. Then, if you double click on the content.opf file, you see that Pages generated a version 3.0 of the ePub. Also, look at the Fonts section. If you used any non-standard fonts in your manuscript, Pages embeds those fonts automagically into the ePub. Now, anyone viewing the eBook will see the text using those exact same fonts.

This is all great, and Pages seems to be the ultimate ePub generator. But now in your xhtml files (your chapters) look for “white-spacere-wrap;” This is the culprit. What you want to do is replace this in every chapter with nothing.
In Sigil you are able to make a global change to all xhtml files. See the following snapshot I used to fix this pesky problem. By doing a find and replace of white-spacere-wrap; with nothing, you can see the blank line between all paragraphs will be removed.


For more tips on self publishing, I wrote this article on Medium:

https://medium.com/datadriveninvesto...g-ae0ab5dfb097
Rob Adamson is offline   Reply With Quote
Old 07-08-2019, 08:31 AM   #2
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,447
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Rob Adamson View Post
The latest Pages from Apple is great for generation ePub files for publishing everywhere. It even automagically embeds any non-standard fonts used in your book.

But if you search the web, you will find writers complaining that Pages exports ePubs with a blank line between each paragraph. If you decide to indent the first line of each paragraph, as most books do, then this is a redundant notification of a new paragraph and a big waste of space.

So let’s fix this with Sigil. Remember, Sigil is a low-level editor of ePubs.
Open your Pages generated ePub with Sigil and look around. Then, if you double click on the content.opf file, you see that Pages generated a version 3.0 of the ePub. Also, look at the Fonts section. If you used any non-standard fonts in your manuscript, Pages embeds those fonts automagically into the ePub. Now, anyone viewing the eBook will see the text using those exact same fonts.

This is all great, and Pages seems to be the ultimate ePub generator. But now in your xhtml files (your chapters) look for “white-spacere-wrap;” This is the culprit. What you want to do is replace this in every chapter with nothing.
In Sigil you are able to make a global change to all xhtml files. See the following snapshot I used to fix this pesky problem. By doing a find and replace of white-spacere-wrap; with nothing, you can see the blank line between all paragraphs will be removed.


For more tips on self publishing, I wrote this article on Medium:

https://medium.com/datadriveninvesto...g-ae0ab5dfb097

With all due respect, you make people go through a lot of extra hoops, in your article. There's no reason on God's green earth why people can't just upload an ePUB t KDP. Making a separate .kpf file using Kindle Create is a lot of extra makework for no reason at all. KC is fine for people who can only barely manage Word and Styles and Headings, but if someone can make an ePUB, it's silly to use KC.

Hitch
Hitch is online now   Reply With Quote
Advert
Old 07-12-2019, 02:54 AM   #3
Rob Adamson
Junior Member
Rob Adamson began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2019
Device: Robert Adamson
Hitch,

Not everyone wants to publish to Kindle only. And Pages is an Apple App. Pages produces a universal ePub3 backward compatible to ePub2 and supports embedded fonts for Apple Books.

1. Write your manuscript in Word
2. Open it in Pages
3. Export it as a universal ePub
4. Until Apple fixes this, tweak the eBook paragraphs in Sigil.

If the writer only wants to publish to Amazon KDP, then I agree. These steps work
1. Write your manuscript in Word (use a KDP template)
2. Save as a PDF
3. Upload the PDF to KDP

Rob

http://www.robadamson.net
Rob Adamson is offline   Reply With Quote
Old 07-12-2019, 08:58 AM   #4
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,447
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by Rob Adamson View Post
Hitch,

Not everyone wants to publish to Kindle only. And Pages is an Apple App. Pages produces a universal ePub3 backward compatible to ePub2 and supports embedded fonts for Apple Books.

1. Write your manuscript in Word
2. Open it in Pages
3. Export it as a universal ePub
4. Until Apple fixes this, tweak the eBook paragraphs in Sigil.

If the writer only wants to publish to Amazon KDP, then I agree. These steps work
1. Write your manuscript in Word (use a KDP template)
2. Save as a PDF
3. Upload the PDF to KDP

Rob

http://www.robadamson.net
I don't think you read what I wrote. Moreover, using a PDF for the KDP is the worst-possible way to go. It will give the publisher the worst-possible eBook.

What I said was, all you have to do is upload an ePUB--either ePUB2 or 3--to the KDP--period. That has nothing whatsoever to do with publishing "only" to KDP. You can use that same ePUB for every other vendor.

Hitch
Hitch is online now   Reply With Quote
Old 07-22-2019, 02:30 PM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,654
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Hitch View Post
I don't think you read what I wrote. Moreover, using a PDF for the KDP is the worst-possible way to go. It will give the publisher the worst-possible eBook.

What I said was, all you have to do is upload an ePUB--either ePUB2 or 3--to the KDP--period. That has nothing whatsoever to do with publishing "only" to KDP. You can use that same ePUB for every other vendor.

Hitch
Unless you have embedded fonts and then it fails at KDP big time.
JSWolf is online now   Reply With Quote
Advert
Old 07-22-2019, 02:32 PM   #6
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,447
Karma: 157030631
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by JSWolf View Post
Unless you have embedded fonts and then it fails at KDP big time.
Wolfie, you know I wuv you, but you iz talkin' out yo butt. We use embedded fonts at least 20x daily. :-)

Hitch
Hitch is online now   Reply With Quote
Old 07-22-2019, 02:37 PM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 73,654
Karma: 127838196
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Rob Adamson View Post
Hitch,

Not everyone wants to publish to Kindle only. And Pages is an Apple App. Pages produces a universal ePub3 backward compatible to ePub2 and supports embedded fonts for Apple Books.

1. Write your manuscript in Word
2. Open it in Pages
3. Export it as a universal ePub
4. Until Apple fixes this, tweak the eBook paragraphs in Sigil.

If the writer only wants to publish to Amazon KDP, then I agree. These steps work
1. Write your manuscript in Word (use a KDP template)
2. Save as a PDF
3. Upload the PDF to KDP

Rob

http://www.robadamson.net
Your first set of steps is going to make some really messy code. Unless you know how to use Word with styles, you are going to export messy code. Pages makes messy code of ePub. This will take a long time to fix in Sigil. Yes it can be done, but it will be a lot of work. Best solution is to export the book as plain text from Word and then import it into Sigil. You can edit the text easier in Sigil then you can the mess you have from Word/pages.

As for PDF, that's the worst source there is. The only way to convert from PDF to anything useful is to pick a program to convert the PDF to ePub. Then take the ePub and you have to compare that to the PDF. You have to compare every space, every word, every punctuation mark, everything. Then you'll be good to go.

All you are doing is making life miserable for yourself. Learn to make life easier for yourself and you'll be good to go.
JSWolf is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with eBooks from Apple Pages 7.1 ghartwig Sigil 9 07-07-2018 07:09 PM
Some tricks with ePub 2.x (wanted) Ghitulescu Workshop 32 06-19-2018 07:01 PM
PRS-T1 HTML to EPUB no word-wrap on some pages/missing pages of text SonyPRST1Reader Sony Reader 4 01-28-2016 08:40 AM
Dashed Dashes -- Befuddled by EN and EM Dashes (Apple Pages to EPUB) planewryter Conversion 1 07-22-2012 09:52 PM
Apple: Creating ePub files with Pages kjk Apple Devices 1 08-26-2010 05:46 PM


All times are GMT -4. The time now is 01:13 PM.


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