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

About transparency

$
0
0
Hey there, until now I would have used PNG for icons with transparent backgrounds (with all those fancy color schemes, a white background looks awful).
But now I see a really poor rendering of PNGs on ADE, so I thought to use SVGs (but they aren't allowed by Amazon's lastest format).
Ang GIFs really look awful, especially in curves.
:book2:Does anyone have a suggestion on what to do about it?

How widely supported are smallcaps?

$
0
0
What it says on the cover, he.
No, really, from what I've investigated (not directly, mind you, but I don't have access to a dozen viewers), the word is small caps aren't widely supported.
But how bad is it?
I've thought I could just [agonized screeching]fake them[/agonized screeching] with {font-size: 70%;} and all caps (I was half-happy upon seeing the numerical values for font-weight, thinking, oh fool, I could at least beef them up, no such luck in EPUBS and most browsers).

What is "iBooks format"?

$
0
0
I just used Sigil to finish my first epub. I'm not going to sell this particular book via Amazon, iBooks, etc. I'm only going to sell it on my website.

However, I want to make it available to people both Kindle users and people Apple Books. (I think that covers about 99% of the epub readers out there, right?)

Anyway, I've found instructions for converting my epub to Kindle. But I'm confused about iBooks. Am I correct in saying that you don't have to convert an epub to an iBooks format?

I'm confused because I've seen instructions for converting some kind of file to an "iBook format." But if I create an epub with Sigil, then it's already in iBook format - right? I can certainly open my epub and preview it in my Apple Books program.

Thank you.

Different footnote/link behavior resulting from epub formatting -- how?

$
0
0
I originally posted here and regarding Moonreader, since there are epub programs which ignore this distinction entirely, but it certainly seems to be a result of something in the epub formatting, no?

https://www.mobileread.com/forums/sh...d.php?t=330267

In Moonreader sometimes footnote links ‘jump’ to a different part of the text and at other times the footnote link just brings up the note (in a nice yellow "sticky note", as of the last update) without jumping you around -- in what's brought up you have the option to 'open' the destination which then takes you there. For me a book full of footnotes in the former style is borderline unreadable as it’s too easy to be moved to different parts of the text. I’ve been looking and looking at hrefs in html and epub, as well as the offending files in Sigil, and for the life of me I can’t figure out what causes a link to do one rather than the other.




So, for example, in my epub of Macbeth:



"Nothing afeard" brings up a popup, which is good, whereas "what thyself didst make" jumps to the note at the end of the file, which is not good.

The underlying formatting is this ugliness:

Quote:

<br/>********<a id="aa1s3l99"></a><a class="hlink" href="../Text/Footnote.htm#a1s3l99">Nothing afeard<sup>99</sup></a> of <a id="aa1s3l99a"></a><a class="hlink" href="../Text/Footnote.htm#a1s3l99a">what thyself didst make</a>,<br/>
and the footnotes:

Quote:

<p class="footnote" id="a1s3l99"><a class="hlink" href="../Text/Shak_9781588368331_epub_c01_r1.htm#aa1s3l99"><stro ng><sup>99</sup> Nothing afeard</strong></a> not at all afraid **</p>
<p class="footnote" id="a1s3l99a"><a class="hlink" href="../Text/Shak_9781588368331_epub_c01_r1.htm#aa1s3l99a"><str ong>what … make</strong></a> i.e. slaughter on the battlefield (<strong>strange images of death</strong>)**</p>

It seems the only difference is that one receives a numeral in superscript and the other doesn't? What am I missing?

CSS Line Height RTL Only

$
0
0
I want to affect the line height for the RTL text in the epub3 only. Help is appreciated.

, or for italics ?

$
0
0
I often see ebooks with all three of the mentioned mode to italicize text in ebooks.

Is there no standard way to do this or can we use any of these modes ?

Using HTML Entities With CSS

$
0
0
I want to use the html entity version of < ([ noparse ]<<[ /noparse ]) and > (>) and make anything in-between them blue. If I just did it with p or something it would be fine but that's not possible. There's also the < span > deal but I don't want to span 32k things.

Code:

<blah blah blah blah blah stuff[noparse ]>[/noparse]
I just want it to be like this:
<blah blah blah blah blah stuff>

I have no idea why it renders the entities even with the code around them.

Encrypted XHTML?

$
0
0
Hi, bought some Epub digital book on an app, tried to import it to Calibre and got weird characters instead of text. inspected the Epub and the XHTML files are just filled with this weird characters.

the book reads fine on the original app.

Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	N/A
Size:	17.2 KB
ID:	179883  

h? font size adjusting

$
0
0
In my html I have

Code:

<h2>One <span>Old Man Arlo’s dogs</span></h2>
The text in the span gets moved to its own line with display:block. I also want it larger than the h2 text. In my css I have

Code:

h2 span {
    display: block;
    font-size: larger;
}

I don't specify a font-size in the css for the h2 tag; I'd rather keep things simple and let the ereader use whatever size it uses. I'd like to make the h2 text even smaller but if I put font-size:smaller in the css for the h2 that also makes the text in the span smaller. Is there a way to make the h2 text smaller and keep the span text larger, only with css? (Without adding a span around the "One" for example.)

Is it possible to have a back button

$
0
0
When reading the ebook and linking to an appendix, is it possible to have a back link to return to the pervious page?

something like history.back()

Very basic ePub CSS?

$
0
0
I have some ePub files that I've downloaded from a free book site that I'm trying to clean up with a python script. Basically just some global search/replaces using regular expressions, and then replacing the CSS file with my own.

These will be loaded onto my Kobo Libra, converted to kepub, if that's relevant. Formatting in these files is extremely basic - chapters have a heading and paragraphs, seldom anything more.

I'm looking for some basic guidelines to what works best on an ereader. Some specific questions:

Default font size? Is 1em standard?

What about line spacing?

Should there be any page margins or padding? My Kobo has a (side) margin setting. If there's a standard, I'd want to use that and expect the Kobo's setting to work both with commercially published books and those that I modify.

Paragraphs. Is there a standard for indents? I've seen 2em used.

One thing I also notice in these files is that they specify two CSS files in the header. The first has most of the formatting. The second does nothing but set <body> top and bottom margins to 5pt. Is there any particular reason for doing this?

Server-based ePub "reader"

$
0
0
ePub files are normally downloaded to a user's PC where they are opened by an ePub reader. Is there an open-source package for a server-installed ePub "reader" that will render the ePub file in html on demand and send the html to the client's browser (e.g., IE, Firefox, Chrome, etc.)?

Note: I placed the word "reader" in quotation marks because it's technically not a reader in the usual sense.

Please let me know of any other forums where I can post this query.

Removing of Charis Fonts from ePub

$
0
0
Hi All,

I have decided to remove the Charis fonts from my ePubs due to space constraints.

Could you list out the pitfalls of removing the Charis fonts.

It will have an impact in the rendering of foreign language characters?

Thanks,
Sudhakar

Liz Castro

$
0
0
I went to look up something I remember reading in Liz Castro's Pigs, Gourds and Wikis and the site has been taken over by some Malaysian(?) stuff. What's heppened?

Formulas alignment

$
0
0
I am creating an epub3 of mathematical argument, using mathml for formulas.

How do you write a block of formulas one below the other all aligned on the left and not centered?

Kindle Conversion Kills Images

$
0
0
I'm trying to get my first ePub published. It's an epub2, and my understanding is that it should work as is with an Apple iBooks reader, Nook and Kobo. But if I want it to work with Kindle, I have to convert it to the .mobi format.

So I opened it in Calibre and converted it to the mobi format.

It looks horrible, like the CSS isn't working the way it's supposed to. In addition, some images display, but most don't.

Is this a common problem? If I can't fix it, then I can just make a PDF version - Kindle can display PDF files, right?

EPUBCheck v4.2.3

$
0
0
EPUBCheck v4.2.3 is now available.

Quote:

Features
update HTML schemas from the HTML Checker (22fa3b1), closes #1111
downgrade PKG-012 (non-ASCII filenames) to USAGE (f368ee5), closes #1097 (thanks @slonopotamus!)
downgrade RSC-004 (cannot decrypt resource) to INFO (#1136) (e732068)
report empty title elements in XHTML Content Documents (#1135) (f115730), closes #1093
ARIA: allow doc-epigraph on 'section' and doc-cover on 'img' (84a0979)
update the XML ouput to the new JHOVE schema (0b346fd) (thanks @tledoux!)

Bug Fixes
avoid OutOfMemoryError when computing image size (929806b) (thanks @DocJM!)
fail gracefully when running on a non-EPUB file (#1134) (2083f05), closes #1050
allow 'a11y:certifierCredential' as a link (484786f), closes #1140
allow foreign namespaces in EPUB 2 SVGs (e3ffc37)

Other Improvements
improve reporting of invalid URL host parts (d2728ee), closes #1034 #1079
harmonize quotes usage in messages (#1132) (659ab76), closes #1071
add an Automatic-Module-Name entry to the jar manifest (ee06724), closes #1128 (thanks @io7m!)
deps upgrade commons-compress to v1.20 to remediate CVE-2019-12402 (928c26a), closes #1078
deps upgrade guava to v24.1.1 to remediate CVE-2018-10237 (cec01fe)

ePUB fonts showing in Kindle but not Apple Books

$
0
0
If I had any hair, I would be tearing it out.

So I open up a ePUB with Clibre. Add fonts, the manifest updates, etc., and paste the required css. Save and open in KP3 and everything is fine - the fonts are shown.

Drag the ePUB to Apple Books and the custom fonts are lost.

Getting close to the point where I just post the book on Amazon and forget about Apple. But I know one of you experts will have the answer for me. In exchange for virtual whiskey vouchers, of course.

Apple's Books/iBooks: "in this chapter" "in this book" display

$
0
0
Hi, Guys:

Jesus, what a nightmare. I have this client that REFUSES to believe that the footer info in Books, f/k/a iBooks, is created by the reading app, on the fly.

Now he's in a swivet because HE sees "'x pages left," and not "X pages left in this chapter," which is what he wants (in all upper-case, mind you).

Does anybody, anywhere, have a definitive, up-to-date reference on this? The usual suspects, search engines, are surprisingly quiet about this. I have the latest 2019, I think it was, Asset Guide update, but all it does is speak to the page-list possibilities.

I did find this: https://discussions.apple.com/thread/8019291 but...

Anybody, anywhere, got anything, from a "real" expert? LIKE A MAN??? With an obviously MALE NAME?

(and no, you guys know me, that's not usually my thing at ALL, but this guy....he actually keeps saying he doesn't BELIEVE US!)



Hitch

Dictionnary built in ebook

$
0
0
Hi all,
I would appreciate to hear your opinion, solutions, code, etc. for the following problem.
I am working on a multi-lingual interactive ebook. I need to be able to show the equivalent of words in the other language when asked for. For example if the reader hovers or selects the word "live" I should be able to show him its equivalent in French "vivir" by a popup on top of the word.
I am looking for a solution to have these cases handled using a central dictionary and do not piggy bag each word with its equivalent on the text to avoid duplication, size, and the complexity.

Many thanks in advance for your help.
Bid
Viewing all 1881 articles
Browse latest View live