Join David Blatner for an in-depth discussion in this video 277 Fix fraction problems in EPUBs, part of InDesign Secrets.
- [Instructor] Sometimes a feature that works superbly with one kind of output, like print or PDF, fails miserably with another kind of output, like say, Publish Online or EPUB. This is an example of when a beautiful feature, OpenType fractions, fails miserably when you export to a fixed-layout EPUB. A fixed-layout EPUB is an eBook that looks exactly like how it does in InDesign. Well, sort of like that, but it is an eBook that you can purchase from the Apple Apps bookstore and read in iBooks or other programs.
In fact, I have a title here, couple titles, all about creating fixed-layout EPUBs from InDesign. But the problem has to do, as I said, with OpenType fraction formatting, and if you are creating a cookbook that has a lot of fractions, then probably you're trying to create nice-looking fractions. Like you wouldn't want the fractions to look like that, that's kind of amateurish, right? You'd want it to be a beautifully formatted fraction, like this. Now, if you're using CC 2015, you have this wonderful feature of the glyph alternates appearing as a pop-up, so I could automatically choose the nicely formatted 2/4ths just like that.
And all that does is saves me a trip up here to the control panel menu, OpenType, and enabling Fractions for that selection. And I've already done that for these other fractions, and let's go ahead and do that for 5/7ths as well. And now we're going to export this to EPUB. I'll press Command or Control + E to export, choose EPUB (Fixed Layout) from the format dropdown menu, click Save, make sure that it opens in iBooks, and we'll see what it looks like.
Yikes! What happened here? Well, HTML, which is what is inside of an eBook, does not understand OpenType formatting, it can't convert that, and this is not a graphic, so it's trying to convert this into actual text. What it does is it ignores the formatting and resets it as regularly sized numbers, as I think you can see here. But that collides with how InDesign exports a fixed-layout EPUB, where every single letter and word and spacing between the letters is fixed in the layout, its position is fixed.
Right now, InDesign is not smart enough to know that the OpenType formatting will not be supported, and so the letters end up colliding on each other. What is the answer? You have to not use OpenType formatting! Instead, you have to format text the old fashioned way, which is by selecting, let's see, let's select this, and bring it back, this to here, selecting the 2, making it superscript, selecting the 4, reducing the size, and so on. I'm going to undo.
Luckily, there is a free script, and a commercial version of that script, that will help you with this kind of work. I'm going to jump over to Chrome to show you Proper Fraction. Just search for "proper fraction InDesign" in Google, or go to danrodney.com, who's the developer. He's a really great guy, he's a trainer in New York, and he also does these scripts. You can download the lite version for free, or you can purchase the pro version. I've already done so, and I've already installed them in my Scripts panel. He has instructions on how to do that, it's very simple.
And I've opened up my Scripts panel, which is usually in Utilities, and added it to my dock here. Okay, so we have the Proper Fraction Lite and Proper Fraction Pro. What Proper Fraction Lite will do, will be to take this kind of formatting, plain formatting, and it will automatically do all that manual work. So I'm going to double-click it, and you can see that it did it for me. So what you'd need to do would be to select all the OpenType formatted fractions that you have in your document, and I'm just doing it this way.
If you have it as a default in your paragraph style, you'd need to turn that off in the paragraph style. And then one by one, convert them. Now if you have the paid version, you get a couple great features, let's look at that. Let me make this a little bit larger so you can see, first of all, you get Preferences, and in Preferences, I can say, I don't want you to convert fractions to OpenType fractions, which is normally the reason why you buy the script, so that it'll automatically apply OpenType fraction formatting.
You can just turn that off. And what this will do will be to take all of your OpenType fraction formatted text and change them to manually formatted text, and the other feature is that it can do a whole bunch at once, so I'll double-click this, say please change all of the fractions in my story, and it's done. Now let's go ahead and export this to fixed-layout EPUB, again, we'll replace the old one, and check it out in iBooks.
Here you go, it did a pretty good job. This one looks like it could use a little kerning, which we can do back in the book, but you can see now all of the text is readable and it's not colliding with each other, and it's still text, so whether you do this manually or you go ahead and use the script, you need to remember not to use OpenType fractions if you're exporting to a fixed-layout EPUB.
Updated
12/23/2020Released
8/25/2011New techniques will be added to the collection every other week, so check back early and often. Find more tips and tricks at indesignsecrets.com.Note: Because this is an ongoing series, viewers will not receive a certificate of completion.
Skill Level Intermediate
Duration
Views
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.
Related Courses
-
InDesign CC 2018 Essential Training
with David Blatner6h 30m Beginner -
InDesign: Interactive PDFs
with David Blatner2h 27m Intermediate -
InDesign CC 2018: EPUB
with Anne-Marie Concepción4h 35m Intermediate -
InDesign CC 2019 Essential Training
with David Blatner5h 23m Beginner -
InDesign Quick Start
with David Blatner22m Beginner
-
This Week's Secret
-
Introduction
-
Welcome to InDesign Secrets1m 10s
-
-
December 2020
-
November 2020
-
October 2020
-
September 2020
-
Use one frame, not many4m 37s
-
August 2020
-
July 2020
-
June 2020
-
May 2020
-
Threading filled frames3m 14s
-
Custom page numbering tricks5m 13s
-
November 2012
-
October 2012
-
061 Embedding images7m 44s
-
-
September 2012
-
057 Text wrapping6m 54s
-
-
August 2012
-
July 2012
-
June 2012
-
May 2012
-
April 2012
-
March 2012
-
January 2012
-
April 2020
-
Making speech bubbles3m 32s
-
Working with ligatures5m 9s
-
February 2012
-
December 2011
-
016 Running a script9m 33s
-
November 2011
-
October 2011
-
August 2011
-
September 2011
-
March 2020
-
February 2020
-
Auto-expand acronyms4m 39s
-
-
January 2020
-
December 2019
-
November 2019
-
October 2019
-
409 Copy and paste effects4m 39s
-
-
September 2019
-
408 The master page trick1m 46s
-
August 2019
-
July 2019
-
June 2019
-
May 2019
-
April 2019
-
March 2019
-
February 2019
-
376 Make cast shadows3m 35s
-
-
January 2019
-
November 2018
-
December 2018
-
369 Shared CC Libraries tips5m 15s
-
October 2018
-
360 Find spacing problems4m 50s
-
363 Export all text8m 16s
-
-
August 2018
-
351 Change default fonts5m 51s
-
352 Best default RGB4m 45s
-
-
September 2018
-
July 2018
-
May 2018
-
343 Border spacing fix4m 59s
-
June 2018
-
346 Export to HTML55m 38s
-
April 2018
-
February 2018
-
March 2018
-
January 2018
-
325 Link text frames6m 10s
-
December 2017
-
November 2017
-
September 2017
-
October 2017
-
313 Quick Apply preferences6m 35s
-
August 2017
-
July 2017
-
May 2017
-
290 Work with scripts3m 35s
-
June 2017
-
April 2017
-
286 How to format ellipses5m 39s
-
March 2017
-
281 Share a CC library7m 10s
-
January 2017
-
February 2017
-
December 2016
-
271 Add images to an index4m 39s
-
November 2016
-
September 2016
-
October 2016
-
260 Batch process images7m 33s
-
263 Sync master pages5m 51s
-
-
August 2016
-
July 2016
-
June 2016
-
April 2016
-
May 2016
-
240 Side-by-side tables5m 35s
-
March 2016
-
February 2016
-
228 Setting text at an angle6m 24s
-
December 2015
-
January 2016
-
222 Adding paragraph shading1m 50s
-
October 2015
-
November 2015
-
September 2015
-
July 2015
-
August 2015
-
204 Creating a8m 14s
-
205 Managing scripts5m 38s
-
May 2015
-
189 Placing InDesign files5m 14s
-
-
June 2015
-
193 Printing tracked changes5m 41s
-
-
April 2015
-
186 Making long shadows5m 41s
-
February 2015
-
March 2015
-
January 2015
-
December 2014
-
November 2014
-
October 2014
-
September 2014
-
August 2014
-
July 2014
-
148 Cropping with paste into5m 18s
-
-
June 2014
-
May 2014
-
141 Inserting glyphs6m 42s
-
April 2014
-
March 2014
-
February 2014
-
January 2014
-
December 2013
-
November 2013
-
October 2013
-
September 2013
-
August 2013
-
105 Working with MiniBridge5m 45s
-
106 Customize your QR codes6m 17s
-
July 2013
-
June 2013
-
May 2013
-
April 2013
-
March 2013
-
February 2013
-
December 2012
-
069 Ten uses of the Story Editor11m 39s
-
-
January 2013
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: 277 Fix fraction problems in EPUBs