Quantcast
Channel: MobileRead Forums - ePub
Viewing all 1881 articles
Browse latest View live

Simplest way to import multiple images at once, and turning them into an Ebook?

$
0
0
Hello everyone,

I am looking for the simplest way to turn about 100 images(they are all with the same size/resolution) into an epub ebook(so every image becomes a page + the cover image)

I do not know how to program, nor to use command lines and html stuff:o

There is no need for any flowable solution for the text, as any text within the images is an integral part of the graphics, so just consider everything as a "pictures-based" ebook.

My question-

Is there a simple way(maybe a plugin or something) to import multiple images at once(as well as turning the images into pages), instead of importing/handling one image at a time, in Sigil (or any other software)?

I only found a way to do that one image at a time, which takes a lot of time and effort, so really hope for an alternative, simpler, approach.

I am flexible with the images' formats- PNG, or any other formats are possible.


Any advice is thankfully welcome:help:

Thanks.

Image issues on multiple iOS apps

$
0
0
I'm working on a version of Alice in Wonderland which has a few images. I'm having issues with image formatting in different e-reading apps on iOS.

Example: One of the images is a text separator and I have a very simple piece of code for formatting this image.

In the XHTML:

Code:

<div class="container">
    <img class="textSeparator" alt="text separator" src="separator.png"/>
</div>

In the CSS:

Code:

div.container {
    margin: 1em 0;
    text-align: center;
}

img.textSeparator {
    max-width: 40%
}

I want the image to be centered horizontally (hence I've set text-align: center on the containing div) and I don't want the image to take take up the entire width of the screen (hence I've set the max-width of the image to 40%).

I've tested this ebook on:

-- the desktop version of ADE (v4.5)
-- ADE for iOS
-- Bluefire reader for iOS
-- Aldiko Book Reader for iOS and android
-- Kobo Reader app for android
-- my Kobo Reader
-- my Sony Reader

where it works fine.

It doesn't work in the following:

-- Kobo App for iOS
-- Marvin 3 (iOS)
-- Marvin Classic (iOS)

In these apps, the image takes up the full width of the screen so I assume the max-width property is being ignored.

I can't make the code any simpler. Either I'm missing something fundamental or it's a conspiracy to drive me crazy.

Please share your thoughts. Thanks.

Edit: If I set max-width: 40% as an inline style in the <img> tag instead of in the CSS, it works fine in the Kobo iOS app but not in Marvin Classic or Marvin 3.

Floated text missing in Aldiko Book Reader for iOS

$
0
0
Let me start by saying that I'm only facing this issue on the iOS version of Aldiko Book Reader... the formatting works in the android version so this may be a bug.

I have a contents page where I have the chapter numbers (in roman numerals) and the name of each chapter. I want the numbers right-aligned and the chapter names left-aligned. See the first screenshot attached below.

In order to style the numbers differently from the names, the chapter names and the chapter numbers are placed in separate <span> tags within a containing <p> tag. I have one <p> tag for each entry in the html TOC.

In my XHTML:

Code:

<div id="contentsContainer">
    <p>
        <span class="rightAlign">I.</span>
        <span class="left-align">Down the rabbit-hole</span>
    </p>

    <p>
        <span class="rightAlign">II.</span>
        <span class="left-align">The pool of tears</span>
    </p>
</div>

In my CSS:

Code:

div#contentsContainer {
    width: 75%;
    margin: 1em 12%;
    text-align: center
}

/* Formatting unrelated to floating text */

div#contentsContainer p {
    font-family:"Some Font";
    font-size: 1em;
    margin-top: 0.8em;
    margin-bottom: 0.8em;
}

/* Format chapter numbers */
/* Give the <span> a width, float it left and right-align */

span.rightAlign {
    display: block
    width: 15%;
    float: left;
    text-align: right;
}

/* Format chapter names */

span.leftAlign {
    display: block;
    text-align: left;
    text-indent: 0.5em; /* Little space between number and name */
}

This CSS floats the <span> containing the chapter numbers to the left of the containing <div> and then places the <span> containing the chapter names up against it.

This code works for all the apps and e-readers which I've tested on except Aldiko Book Reader for iOS. In Aldiko, the floated text is simply missing. See the second screenshot.

Note: I've only added borders to make it easier to understand the layout of the page.

Can anyone spot if I've missed something? Or is it a bug which needs to be reported?

Thanks in advance
Nabodita

Attached Thumbnails
Click image for larger version

Name:	Marvin Classic.PNG
Views:	N/A
Size:	72.2 KB
ID:	159997   Click image for larger version

Name:	Aldiko for iOS.PNG
Views:	N/A
Size:	62.8 KB
ID:	159998  

ePub TOC Missing some components

$
0
0
I'm having a terrible time with my TOC. I don't know what is going on or why it is happening but some of my chapters are missing. I create the ePub from a word docx file using calibre. Everything is working perfectly when I view the ePub in iBooks or in the epub viewer. In addition, the file passes ePub check and validation.

However, I'm getting errors from distributors saying that the TOC is incomplete. I went through my TOC and made sure that all of the (untitled) places were corrected. I also made sure all of my chapters and subheadings were included. Then I manually renumbered all of the play orders so they were sequential. Now, I'm still having the same issue.

Is there another place that needs to be changed or updated?

Any help is much appreciated.

Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2017-11-14 at 1.29.39 PM.png
Views:	N/A
Size:	45.7 KB
ID:	160009   Click image for larger version

Name:	Screen Shot 2017-11-14 at 1.36.29 PM.png
Views:	N/A
Size:	69.4 KB
ID:	160010   Click image for larger version

Name:	Screen Shot 2017-11-14 at 1.36.45 PM.png
Views:	N/A
Size:	58.4 KB
ID:	160011  

Weird embedded font behaviour on Kobo

$
0
0
In the book I'm working on right now, I've tried styling a part of the TOC as an ordered list, after seeing Turtle91's hint here.

I've embedded two fonts, AlegreyaSC and MutterKrauseBuch, and for some unfathomable reason, my Kobo reader displays the numbers of the list in the latter font, even though it is nowhere specified for that.

I tried in ADE 2.01, in Bluefire Reader and in the Sigil Book View - they all display the numbers correctly.

Wasn't sure if I should post it here or in the Kobo forum, but if anyone has an idea what could cause this strange behaviour and what I could do about it, I'd be grateful.

I'm attaching a test epub with only te stuff in it that is, or might be, connected to the problem

Attached Files
File Type: epub list-test.epub (99.7 KB)

Custom fonts for iBooks

$
0
0
I've got some ePubs with embedded fonts.
They work fine in the readers on my PC. And also work on my Kindle when I convert the ePub to AZW3. I don't have an Apple device to test iBooks, but was sent a screencap that shows the declared fonts aren't being applied.


I read this column: http://guidohenkel.com/2015/04/custom-fonts-in-ibooks/
Which says you need to include both this line:

<meta property="ibooks:specified-fonts">true</meta>

in the opf and an XML file com.apple.ibooks.display-options.xml

However, when I do either, ePubCheck complains that the tag is "not allowed" and the xml file has an "invalid file extension".

So is the advice correct at all? Or is there another trick to using embedded fonts on iBooks? Preferably one that ePubcheck apporoves of, though that's not strictly necessary.

My CSS has this:

Code:

@font-face {
    font-family: "Garamond Premr Pro";
    font-style: normal;
    font-weight: normal;
    src: url("../Fonts/GaramondPremrPro.otf");
}

body, div, dl, dt, dd, h1, h2, h3, h4, h5, h6, p, blockquote {
    font-family: "Garamond Premr Pro", serif;
    margin: 0;
    padding: 0;
    border-width: 0;
}

But text with the <p> tag appears to be in a generic serif font, not the embedded one.

iTunes Producer "package.opf" error

$
0
0
Hello,

I'm new so I hope this is the right section to post this.
I'm running into an error I was not able to fix, while trying to upload my epub book in iTunes producer.

here is the two errors I'm getting:

"Package Summary:

1 package(s) were not uploaded because they had problems:
/Users/Me/Desktop/Portraits.itmsp - Error Messages:
ERROR ITMS-9000: "Portraits.epub: /Users/Me/Desktop/Portraits.itmsp/Portraits.epub/EPUB/package.opf(4): [RSC-005] Erreur lors de l'analyse du fichier 'lattribut {0} nest pas autorisé ici ; lattribut {0} est attendu'.. This error occurs 4 times. (For more information refer to http://support.apple.com/kb/HT6213)" at Book/BookAssets
ERROR ITMS-9000: "Portraits.epub: /Users/Me/Desktop/Portraits.itmsp/Portraits.epub/EPUB/Navigation/nav.xhtml(13): [RSC-005] Erreur lors de l'analyse du fichier 'lélément {0} est incomplet {1}'. (For more information refer to http://support.apple.com/kb/HT6213)" at Book/BookAssets

and this is the 4 first lines of opf using calibre 2.3

<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://www.idpf.org/2007/opf" xml:lang="fr" prefix="rendition: http://www.idpf.org/vocab/rendition/#" unique-identifier="uid" version="3.0">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:title id="id-1">Portraits</dc:title>

can someone please help me????

Epub Preview in Windows File Explorer

$
0
0
I can't find anything to do this - anyone know of a shell extension to do it.

I found this ==>> xplorer² blog: search filter for EPUB ebooks

IMO it misrepresents itself. It's not a keyword search tool (i.e. on dc:subject), it's a content search tool via an iFilter. Unfortunately it doesn't display EPUB text in File Manager Preview, despite what it says on the tin.

FWIW - I just searched a folder of a 100K+ moderate length epubs for 'credit default swaps' in the blink of an eye. The results match those from a search of equivalent DOCXs with Windows and X1.

I mean Preview the text - not the covers.

BR

Strange scrollbars in iBooks when making ePub from InDesign

$
0
0
Hello here,
Does any of you make eBooks in InDesign?
Would you think along with me? it concerns InDesign fixed layout ePub designing and export.
Something with iBooks and Mac's scroll settings is causing scrollbars to appear around some of my page. Even though the page is actually fitting.
It seems content is registered as if it's running out of the page. It's when the mac has the old mighty mouse connected, that scrollbars are turned on automatically. Once I set them to only show when scrolling, then the scrollbars dont show up and de epub page nicely fits in iBooks as expected.

Did you ever have a similar issue?
All else about my production is done so it's stuck on this... I would not like to have to crack open the epub to make changes...
I hope you could point me in the right direction.

Thank you!

iBooks TOC: Buggy for Deeper Structures?

$
0
0
Hi all,

I made an EPUB with 3 nested levels in the TOC. In ADE4 everything is fine, but in iBooks, it's a mess! With the 3rd level starting, iBooks messes up with all deeper levels and after displaying level 3, it incorrectly shows level 2 as level 1 etc. (See screenshots attached.)

After hours of checking absolutely correct toc.xhtml code, I started to investigate this issue deeped by using the linear-algebra.epub of IDPF’s EPUB3 samples (https://github.com/IDPF/epub3-sample...linear-algebra). Loading this to iBooks brings the exact same errors!

So: Is this an iBooks bug? I couldn't find any relevant information about that in the web. Can anybody confirm? Or give me a clue how to solve this?

Thanks
Tobias

Attached Thumbnails
Click image for larger version

Name:	TOC-display-in-ibooks.png
Views:	N/A
Size:	425.8 KB
ID:	160177   Click image for larger version

Name:	TOC-display-in-ADE4-Win.png
Views:	N/A
Size:	341.5 KB
ID:	160178  
Attached Files
File Type: epub linear-algebra.epub (1.03 MB)

Mysterious ways of ePub

$
0
0
Hi, I’ve ePub with this css:
p {
line-height: 1.3em;
}
body#book div.main > p:first-letter {
font-size: 4em;
color: #bd2716;
line-height: 0.75em;
}

and this is the page with my problem:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>gfhgjjhvbmb</title>
<link href="css/s0_style.css" rel="stylesheet" type="text/css"/>
</head>

<body id="book">

<div class="main">

<p>Text various text</p>

</div>

</body>

</html>

On my iPad when read this book with night theme (background black and text white) the first letter have color assigned, ok, but if i want all text of this color, not work!
I’ve try to modify on css:
body#book div.main > p:first-letter {
whit:
body#book div.main > p {
but the text don’t have color!! This work correctly with classic theme, bg white, txt black, but if change theme with bg black and txt white, don’t see the color on my text!
How to set color to all paragraphs??

How to keep blank underscore within a statement

$
0
0
I'm working on a language learning textbook. In one of the exercises, there are underscore markers where the student needs to provide the missing word. The author has (blank underscore) ________ as his formatting, but when I export to flowable epub out of Indesign it's gone and doesn't show.

Any suggestions how to retain the formatting?

Multilingual test ePub?

$
0
0
I'm looking for a multilingual test ePub containing English, European languages, and any other languages from around the world.

The purpose is to test reader system font support (not fonts embedded in the ePub).

Is there anything anybody knows that has already been created?

Thanks

Replace reoccurring string with increasing number

$
0
0
I got an epub of poetry where each verse is in its own specifically classed paragraph. Is there a quick way to add verse numbers before each paragraph? So to pass from

Code:

<p class="verse>Tu non altro che il canto avrai del figlio,</p>
<p class="verse>o materna mia terra. A noi prescrisse</p>
<p class="verse>il fato illacrimata sepoltura</p>

to

Code:

<p class="verse-number">1</p><p class="verse>Tu non altro che il canto avrai del figlio,
</p>
<p class="verse-number">2</p><p class="verse>o materna mia terra. A noi prescrisse</p>
<p class="verse-number">3</p><p class="verse>il fato illacrimata sepoltura</p>

Thanks.

Text striked diagonally

$
0
0
Hi, how can I obtain a result like this?



Actually I'm using pictures with a width of 1em, but some readers display them badly.

:thanks:

"Reader View" Conversion, but for Epubs?

$
0
0
I often convert web pages, to read them as epubs on my computer, or after conversion to mobi, on my Kindle.

But most web pages are way too cluttered.

I generally use Reader View on Firefox. In older versions, GrabMyBooks can export reader view pages, but in newer versions, it isn't supported, and web extensions can't handle Reader View pages. So I might have to export the regular web page to the epub, and then use something like Firefox's Reader View to create a cleaned-up copy of the epub. Does anyone know of such a tool?

Epub Validator nav.xhtml incomplete ol missing

$
0
0
Hello dears

passing my e-books in the Epub validator for submission on Smashwords, I'm getting the following error message:

Error while parsing file 'element "nav" incomplete; missing required element "ol"'.

Here is the content of my nav.xhtml file (the ebook doesn't have a toc as it is very small, just one page):

Code:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" lang="fr-FR" xml:lang="fr-FR">
<head>
  <meta charset="utf-8"/>
  <style type="text/css">
    nav#landmarks, nav#page-list { display:none; }
    ol { list-style-type: none; }
  </style>
<title></title></head>
<body epub:type="frontmatter">
  <nav epub:type="toc" id="toc">
  </nav>
  <nav epub:type="landmarks" id="landmarks" hidden="">
  </nav>
</body>
</html>

I deleted the
Code:

nav#landmarks, nav#page-list { display:none; }
    ol { list-style-type: none; }
  </style>

but then get another error message :sos:... any idea how to solve that one ?

thanks

ePub 3.0 standards - page lists

$
0
0
Hi all,

Wondering if anyone has been able to use InDesign master pages to insert the correct print page numbers, and has found a way to successfully insert these page numbers to ePub (reflowable)? I am trying to then covert the page numbers to page IDs to successfully pass the page list standard for ePub 3.0.

For reference (https://idpf.github.io/a11y-guidelin.../pagelist.html)

Error while TOC parsing.

$
0
0
I am trying to upload a book to PublishDrive. I've never come across this problem until now. It has something to do with the TOC I generated with Word 2016. I think I know what it means, maybe I don't, but I certainly have no idea how to fix it.

The book file is not valid and contains errors. Please check this page for more information: https://code.google.com/p/epubcheck/wiki/Errors.
Common error messages and how to fix them.
Please contact us for help if you need it.

ERROR(RSC-005): EPUB/toc.ncx(50,56): Error while parsing file 'identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target'.
ERROR(RSC-005): EPUB/toc.ncx(56,56): Error while parsing file 'identical playOrder values for navPoint/navTarget/pageTarget that do not refer to same target'.
ERROR(RSC-012): EPUB/index_split_002.html(18,86): Fragment identifier is not defined.
ERROR(RSC-012): EPUB/toc.ncx(60,60): Fragment identifier is not defined.

Google Play Books size limit

$
0
0
Since there is no section for Google Play Books I figured this is the closest place since GPB uses the e-pub format. If a better section is available, moderators should feel free to move this thread.

GPB has a maximum upload limit of 100 MB, a very reasonable limit in my mind. However, Walter Isaacson's latest tome on Leonardo da Vinci weighs in at a whooping 444 MB (lots of illustrations), thus Google won't let me upload it. Because of all the illustrations I'd really like to read it on a large tablet that displays colors. So is there any way I can make it available to my Android devices in order to maintain syncing? Or am I forced to copy it over to the tablet using USB and in that case where is the folder I need to put it in so it shows up in GPB?
Viewing all 1881 articles
Browse latest View live