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

No break space and alignment

$
0
0
Hi

I use a lot of them as French punctuation rules recommend to use them. One of the use case is at the beginning of a paragraph, right after a "tiret de dialogue" (see screenshot). Adding a no-break space allow a nice vertical alignment of the first letters.

However, some may argue that the no-break space is justified, and as the space it represents can - slightly - vary, the alignment cannot be perfect.

I think, there are two ways to represent a no-break space
- if this character belongs to the embedded font, it can be represented by a fixed size space and the alignment is perfect.
- if this character is created by the reading software, it may be justified, and some glitches in the vertical alignment may appear.

If the above statement right?, what's the best way to obtain a perfect alignment?


Em Vs Percentage

$
0
0
Dear All,

I need some clarification about the value of percentage to em. For example if we declare the value in css 10% it's equal to 3em?

Please let me know the exact value of percentage to em. If any converter available in website.

Kindly check and advice.

Thanks,
Joseph Jayaseelan D.

cleanhtml and footnotes

$
0
0
using cleanhtml in order to clean up a word document having footnotes, before moving it into Sigil.
!! Footnotes are converted by cleanhtml as:

<a name="_ftnref1" title="" href="https://word2cleanhtml.com/#_ftn1">
<sup><strong><sup>[1]</sup></strong></sup>
</a>

<a
name="_ftn1"
title=""
href="https://word2cleanhtml.com/#_ftnref1"
>

Of course, this does not work in the resulting epub.
The original doc has over 100 footnotes, so manual adjustment is just not do-able!

Epubcheck lives!

Epub reader for android

$
0
0
I need the following:
  • epub reader for android phones
  • free
  • as light as possible
  • without ads (possibly)

I don't read epubs on the phone; I just need something to quickly check the quality of an epub when I'm not on the desktop.

How to bulk replace images in EPUB?

$
0
0
Some of the epubs I've bought have .png images. I've been trying to convert and substitute them with their .jpeg equivalent (same file name, different format), but the only way I can seem to be doing so with no hassle is through Calibre Editor using the 'substitute image' option. However, that is quite slow as there's no batch option for doing that, and I have one particular epub that contains 200+ images.
Is there a way I can substitute all of them in one go and still have a functioning epub at the end?

Epub not remembering where I am

$
0
0
I use a Kobo Aura H20. It has e pubs bought from kobo, some direct from authors and some brought from amazon and converted to epub using calibre.
Occasionally I come across a book that always opens on the first page. I usually open the contents page and click the nearest chapter that i remember and scroll the rest of the way. Clicking the chapter puts a tick by that chapter but the next time I open the book the tick as gone back to the first chapter. I tried bookmarking the page but nothing shows up in annotations.
As it is only on a few books by the time I get round to investigating I've forgotten which ones so not sure if they are converted or not!
I am fairly sure it is a book problem not a Kobo problem as it only occurs occasionally.
Anyone got any idea what causes this and is there an easy way to fix in Calibre (I don't currently touch any of the conversion options on Mobi files just go with the default)
I'll try and remember to note down the book next time it happens.
Thanks

Google Books

$
0
0
Hi,

If i buy a book from google which is DRM protected , Can i read it on my kindle paperwhite 10th gen?


:thanks:

any reason to avoid px measurements in epub?

$
0
0
I'm working on some legacy html -> epub conversion software for Project Gutenberg.

It removes css rules that use px measurements. I have no idea why. Are there obscure or legacy epub readers that don't support px in css?

Eric

Automatic cover page - based on metadata from content.opf (EPUB/AZW3)

$
0
0
Hello it is possible to use metadata field from content.opf:

<dc:title>Example</dc:title>
<dc:creator opf:role="aut" opf:file-as="AUTHOR NAME">AUTHOR NAME</dc:creator>
<dc:description>Example text</dc:title>```

And use them in html file?

<body>

<book_title> %(title) </book_title>
<book_autor> %(creator) </book_autor>
<book_desk> %(description) </book_desk>

</body>

How to refer to this metadata?

"Invisible chapter title" but visible in TOC

$
0
0
Hello,

How to archive the automatic recognition of the chapter, but not show chapter title in the book?
* With solution that is file format indepedent (azw3 \ epub)

Example:

- Copyright page with no visible title in HTML body
- After auto-generating chapters (for example in Calibre > EPUB edit >Generate chapters from all headings)
- The copyright page should be recognized

Thanks a lot for suggestions!

help :how to open embedded audio in epub file?

$
0
0
guys,
I have several epubs that they embedded audio. I usually use pdf sumatra to open in my windows. However, I can not find these embedded files using pdf sumatra. I tried to convert with calibre. pdf is fine but no longer audio files.
I also used calibre epub reader with no luck..
What software should I use?
thanks in advance!

ePub Problems

$
0
0
I have a similar problem. I just ran a completed EPUB thorough the commandline version of epubchecker and most of my errors are in the form:

Code:

ERROR(RSC-005): How to Commit Suicide epub 12520.epub/OEBPS/Text/Text.xhtml(285,55): Error while parsing file: value of attribute "id" is invalid; must be a string matching the regular expression "[^\s]+"
I used id tags to set up navigation in the document. When I visually inspected them they seemed to be OK; each was unique and began with a character.

Perhaps if I know what "string matching the regular expression "[^\s]+" meant. Does it mean the ids must begin with a space?

epub validator question

$
0
0
I have a 600K HTML5 file with a very large TOC all validating under the W3C HTML validator but the EPUB validator finds errors in the conversion of this file into an EPUB file by Calibre.
The no 4 of the unzipped EPUB file is the first (repeated on every "a tag") to be found incorrect at line 11 by the EPUB validator and I have no idea what the problem could be. This split section of EPUB file in turn does not trigger any error on line no 11 by W3C HTML validator although it complained twice as expected about line no 1.

The error code is:

Error while parsing file: element "a" not allowed here; expected element "address", "blockquote", "del", "div", "dl", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "ins", "noscript", "ns:svg", "ol", "p", "pre", "script", "table" or "ul" (with xmlns:ns="http://www.w3.org/2000/svg")


And the converted HTML code is:

01 <?xml version='1.0' encoding='utf-8'?>
02 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" dir="ltr" xml:lang="en">
03 <head>
04 <title>My Title Here.</title>
05 <meta name="description" content="My metadata here."/>
06 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
07 <link href="stylesheet.css" rel="stylesheet" type="text/css"/>
08 <link href="page_styles.css" rel="stylesheet" type="text/css"/>
09 </head>
10 <body class="calibre pcalibre">
11 <a id="My_Link_Here" class="pcalibre"><h1 class="pcalibre h1nopba" id="calibre_pb_4">My Link Here<br class="pcalibre calibre3"/>Table Of Content</h1></a>
12 </body></html>


Can anyone suggest what the error is?

Thank you for your help.

All notes of ebook mistakenly link to the book's title page. What's best way to fix?

$
0
0
Hello there.

I have no experience with editing ebooks. I am really just a reader. but there's an ebook where all the links to the end-of-chapter notes just go to the book's cover. So I would like to fix it, especially because this book is heavily noted.

There isn't a separate endnotes file. The notes appear at the end of every
chapter, where the chapter is named index_split_006.xhtml, index_split_007.xhtml and so on. (This is in contrast to the print edition, which have footnotes, appearing at the bottom of the page).

In Sigil's preview, the text looks like:
Quote:

absolute power of the state.”14 This is incorrect
In Sigil's editor window, it looks like:
Code:

absolute power of the state.”</span><a class="S-T1" href="../Text/index_split_000.xhtml#anchor22"><span class="S-T6">14</span></a> <span class="S-T1">This is incorrect

Note #14, at the end of chapter 1, looks like this in the Preview window:
Quote:

14 P. Lobstein, Einleitung in die Evangelische Dogmatik (Freiburg, 1897), 23.
And looks like this in the Editor window:
Code:

  <p class="P-P14"><span class="S-T1" id="anchor129"></span><a class="S-T1" href="../Text/index_split_000.xhtml#anchor60"><span class="S-T6">14</span></a> <span class="S-T1">P. Lobstein,</span> <span class="S-T5">Einleitung in die Evangelische Dogmatik</span> <span class="S-T1">(Freiburg, 1897), 23.</span> </p>

Note 15, in the body, looks like this in the Preview:
Quote:

and many others after him have taught us.15 Rome can
and like this in the Editor view:
Code:

and many others after him have taught us.</span><a class="S-T1" href="../Text/index_split_000.xhtml#anchor23"><span class="S-T6">15</span></a> <span class="S-T1">Rome can
At the end of the chapter, Note #15 looks like this, in Preview window:

Quote:

15 Friedrich Schleiermacher, Die Christliche Sitte nach dem Grundsazen der evangelischen Kirche dargestellt (Berlin: G. Reimer, 1884), 5 [Introduction to Christian Ethics, trans. John Shelley (Nashville: Abingdon, 1989)]; Richard Rothe, Zur Dogmatik (Gotha: Perthes, 1869), 10; Alexander Schweizer, Die Glaubenslehre der evangelisch-reformirten Kirche (Zurich: Orell, Fussli, 1847), I, 23.
and like this in the Editor view:
Code:

<p class="P-P14"><span class="S-T1" id="anchor130"></span><a class="S-T1" href="../Text/index_split_000.xhtml#anchor61"><span class="S-T6">15</span></a> <span class="S-T1">Friedrich Schleiermacher,</span> <span class="S-T5">Die Christliche Sitte nach dem Grundsazen der evangelischen Kirche dargestellt</span> <span class="S-T1">(Berlin: G. Reimer, 1884), 5 [</span><span class="S-T5">Introduction to Christian Ethics</span><span class="S-T1">, trans. John Shelley (Nashville: Abingdon, 1989)]; Richard Rothe,</span> <span class="S-T5">Zur Dogmatik</span> <span class="S-T1">(Gotha: Perthes, 1869), 10; Alexander Schweizer,</span> <span class="S-T5">Die Glaubenslehre der evangelisch-reformirten Kirche</span> <span class="S-T1">(Zurich: Orell, Fussli, 1847), I, 23.</span> </p>
What's the best way to fix ALL the notes in this four-volume work? (Each volume is its own epub.) In the first volume alone, I'm guessing there's about 500 notes, scattered from index_split_004.xhtml through to index_split_025.xhtml.

EPUB-Checker error: undefined property

$
0
0
Hi,

I get the following errors from EPUB-Checker:
Undefined property: 'endnotes'
Undefined property: 'endnote'
What does this mean?

I'm using the following HTML (as an example) for EPUB 3 based on suggestions from others:

<aside epub:type="endnotes">
<h2>Notes</h2>
<ul class="endnotes">
<li id="footnote-041" epub:type="endnote" class="fn-txt"><a class="_idFootnoteAnchor" href="page-14.xhtml#footnote-041-backlink">37</a>footnote text here. </li>
<li id="footnote-040" epub:type="endnote" class="fn-txt"><a class="_idFootnoteAnchor" href="page-14.xhtml#footnote-040-backlink">38</a> footnote text here.</li>
</ul>
</aside>

How do I define this so it works?
Thanks.

Books app on IPad

$
0
0
1. Running Windows 10 Pro - reading with BOOKS on ipad - converting with EPUBOR

2. PROBLEM: all books (KINDLE) are converted to ePUB with no issues.
3. When connecting iPad to import to BOOKS - most all import with no problem
4. However, there are several books for which the option to import to BOOKS is not available...
5. BOOKS is not in the list to import to and I don't see a way to add it...

What am I missing here...
Your input is appreciated...
Thanks
Ed

hopefully I got the right Forum this time... if not, please advise...

epub3 images showing in footnotes

$
0
0
I have all my notes hidden in footnotes, except for images which are showing at the end the ebook chapter, I am using <aside class="hidden" epub:type="footnote" id="n1">

popup note images are showing in the epub

$
0
0
I am using kindle previewer on PC
Using this code as my link,
<a epub:type="noteref" href="#n1" style="font-size: 14pt; font-family: arial;">gender</a>, <span style="font-size: 1em;">

And this as the popup note
<aside class="hidden" epub:type="footnote" id="n1"><p style="font-size: 1em; padding-bottom: 3px;"></p>
<a href="#n1"><img alt="return" src="../Images/return.png" width="30" height="16"/></a>

The popup all works fine, but the image is showing in the ebook

Attached Thumbnails
Click image for larger version

Name:	popup_issue.png
Views:	N/A
Size:	35.4 KB
ID:	177078  

Best test reader for amazon publishing

$
0
0
After creating epub3 and testing the epub in kindle previewer 3, all of my popup footnotes are blank and yet in kindle create they work.

1. Which is the most reliable viewer to test epub prior to submission.

2. Any suggestions as to why the notes appear blank n the popup

Here is my link
<p style="text-indent:0; line-height:2; margin-top:0; margin-right:0; margin-bottom:30; margin-left:0;">This is a test link;<a epub:type="noteref" href="#n11" style="font-family: arial; font-size: 14pt;">testing this/a></p>


and my popup footnote
<aside class="hidden" epub:type="footnote" id="n11">This is a popup note in kindle previewer 3.</aside>

Attached Thumbnails
Click image for larger version

Name:	epub_footnote_issue.jpg
Views:	N/A
Size:	12.9 KB
ID:	177095  
Viewing all 1879 articles
Browse latest View live