Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-18-2011, 11:30 AM   #16
adv_dp_fan
Zealot
adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!adv_dp_fan will blow your mind, man!
 
Posts: 103
Karma: 57138
Join Date: May 2010
Device: Sony 505, iPad 1 & 3, Galaxy Note 8.1
Apple's Asset Guide for the iBookstore has a section on embedding PDFs in an epub. Basically they say use an HREF linking an image to the PDF. When the image is tapped it opens the PDF in a separate view that has zoom controls.

They warn that overall maximum book size is 2GB and to keep that in mind.

And of course this is for iBooks, other epub viewers may not support the PDF.
adv_dp_fan is offline   Reply With Quote
Old 06-20-2011, 03:25 PM   #17
SamL
I mess around with Epubs
SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.
 
Posts: 82
Karma: 1566
Join Date: Mar 2011
Location: Cambridge, MA
Device: mac, ipad, nook, kindle
The iBookstore Asset Guide says this will work.

Quote:
<a href="pdf/mypdffile.pdf"> <img src="images/mypdffile.jpg"/> </a>
When the image is clicked, it will open the PDF up in a new window with zoom controls. Has anyone tried this yet?

Would be nice if it worked on other readers too.
SamL is offline   Reply With Quote
Old 06-21-2011, 05:30 PM   #18
SamL
I mess around with Epubs
SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.SamL once ate a cherry pie in a record 7 seconds.
 
Posts: 82
Karma: 1566
Join Date: Mar 2011
Location: Cambridge, MA
Device: mac, ipad, nook, kindle
Quote:
Originally Posted by SamL View Post
The iBookstore Asset Guide says this will work.



When the image is clicked, it will open the PDF up in a new window with zoom controls. Has anyone tried this yet?

Would be nice if it worked on other readers too.

Just to update, I tried this and it works. Make sure you declare the PDF in the content.opf file or else when you click your link, it just jumps to the beginning of the book.

A couple things I noticed:

It makes the height of the PDF take up the entire screen. So if your PDF is landscape, the height will fit, but you have to scroll left to right. I'm using this for music tab PDFs, so it was a problem that they did not automatically fit in the screen. As a work around I re-did the PDFs so that are portrait sized, they just have more white space below. But at least they fit in the window when you click the,

Also what I am noticing is that large hi-res PDFs load very slow, making it hard to quickly zoom in and out and navigate. Low-res PDFs load fine, but look pretty bad when you zoom in on them.

I'll keep playing around to see if I can get settled on a certain size and resolution.
SamL is offline   Reply With Quote
Old 08-05-2011, 12:20 PM   #19
phyllisj9
Member
phyllisj9 began at the beginning.
 
Posts: 18
Karma: 12
Join Date: Aug 2011
Location: Washington, DC
Device: none
I'm trying to see if I can figure this out too. I notice that if you embed a PDF the EPUB doesn't validate. Something about hyperlinking to non-standard resources. This page seems to be explaining something about having a fallback method:

http://idpf.org/epub/20/spec/OPF_2.0...htm#Section2.0

It's over my head though. Anyone have a working example they could share? And any ideas if it'll work when the file's converted for Kindle?

I'm new at this stuff and probably shouldn't jump in so far over my head. It's fun though. :-)

Thanks, Phyllis
phyllisj9 is offline   Reply With Quote
Reply

Tags
epub design


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to embed fonts in ePub after Calibre fiery ePub 79 12-05-2016 02:18 AM
How to embed animation in epub q5485 ePub 17 05-01-2012 11:41 AM
PDFs to ePub Muto ePub 4 05-21-2010 08:40 AM
Any free software can embed fonts in epub droople ePub 4 03-06-2010 05:40 PM
Properly formatted PDFs to Epub AgentBEATS Calibre 10 11-01-2009 11:02 PM


All times are GMT -4. The time now is 10:32 AM.


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