Questions tagged [epub]
EPUB (short for electronic publication) is an open XML-based digital book format which uses XHTML and CSS for document content.
922
questions
1
vote
0
answers
67
views
Including android library in flutter app - Plugin with id 'com.android.library' not found
I'm creating a flutter ebook reader app using a package named epub_viewer that uses Folioreader for reading ebooks. but I need to make some customizations in the main library Folioreader for my ...
0
votes
0
answers
14
views
How to change fonts and add page number to epub android flutter
I have library using epub package to read the E-book files
but it didn't show the page number, also I want to add my customized fonts.
please tell me if anyone know how to slows this.
1
vote
1
answer
50
views
epub_viewer Package Release Build Crash
I am developing an app with epub_viewer package and i set the app in release mode. Android app crashing on start if i use epub_viewer package. I'm sure i did everything right. By the way it works in ...
0
votes
0
answers
17
views
epub_view package display nothing
I am building a flutter app that needs to display an epub file fetch online, so I turn to the epub_view package since it's the most up-to-date, but when I follow the example, the screen show nothing ...
0
votes
0
answers
14
views
Epub 2.0.1 validator error: "Error while parsing file: element "img" missing required attributes "alt" and "src"."
I have tried six ways from Sunday to fix this.
Running through Calibre doesn't generate the same error.
Running through Sigil doesn't generator the error.
This is converted from a word .docx file with ...
0
votes
0
answers
39
views
How to prevent screen recording in Epub Viewer on flutter based application IOS and Android?
How to disabled screen recording for Epub Reader so that user can't take screen shot Or Screen Recording.
Using this Epub Viewer Package:- https://pub.dev/packages/epub_viewer
Note :- Already tried ...
0
votes
0
answers
49
views
Remove Title from Table of Contents in Pandoc epub output
I have an html document which I am converting to epub using pandoc as follows:
pandoc -f html -t epub --css pandoc.css --standalone --toc -o book.epub book.html
The generated epub book has a title ...
0
votes
0
answers
25
views
Remote url failed to load in asciidoctor-epub3
I'm unable to generate/view the image from a remote URL while generating the Mobi. Whereas it works for asciidoctor when converting adoc to HTML
Code look something like this
image::https://upload....
0
votes
1
answer
78
views
How to load the last visited page in epub.js
I am building a simple epub reader. I am using epub.js . I want the app to load the last page, what ever page the user was on before he closed the book/reader.
Here is my code:
const epubBook = "{...
0
votes
0
answers
42
views
epub.js - show book in 1 simple html file
im trying to create a simple html that will use epub.js to show a book.
cause later i want to use it in my react native app.
tried to load local file and fil from url . both didnt work
epub.js: https:/...
0
votes
0
answers
11
views
Lags when flipping throughthe page in epub
I have a book with probably 200 pages in mobile version and 500 kb size. I have lags when flipping through the page in epub at last two chapters. When I go to the last chapter by epubCfi and svipe ...
0
votes
0
answers
34
views
How can I get word and/or character count of a epub file coming as IFormFile, .Net
I am getting epub files as IFormFile, taking them from frontend by uploading files. I want to get character count of that epubs. There are some packages openning epub files but they need path. I do ...
0
votes
0
answers
23
views
react native expo - extract epub file / loop over content
im trying to look inside an epub file in react native expo.
nothing i did works.
tried JSZip, which said 'Can't find end of central directory '
tried 'react-native-zip-archive' which didnt work.
tried ...
0
votes
0
answers
52
views
How to render an epub with a specific package
I downloaded a package to render epub in react-native, but it is just rendering .opf file, like the example on github:
<SafeAreaView>
<ReaderProvider>
<Reader
...
1
vote
1
answer
290
views
How to render an epub file in React-Native in 2022
I would like to know how to render an ebook in my react-native app. All epub readers are no longer working. They are deprecated, like this one: https://github.com/futurepress/epubjs-rn and duofolio.
0
votes
0
answers
27
views
react native expo - read epub in client
im trying to read an .epub file in my expo project without success.
tried to use multiple libraries. epubjs, ...
tried to unzip it. using 'react-native-zip-archive', but had a different error.
tried ...
0
votes
0
answers
91
views
React epub using only Readium.js
In the past, I used Epub.js for my project. However, the whole epub content must be available to load the book. On researching, I found a cool library called Readium.js. Don't know how to integrate it ...
0
votes
2
answers
35
views
Can I display D3 graphs on .epub?
I'm making a research project about .epub and I've been trying to hack my way into executing JS code into an EPUB and display some kind of data visualization.
Right now, I'm using calibre to create ...
0
votes
0
answers
35
views
epub Change Block of Text Background Color
Apologies. I am brand new to this and can't seem to find the right resources.
I've written a novel and am trying to set up the ebook in epub format from HTML. Large sections of the book are text ...
0
votes
0
answers
34
views
php laravel convert docx to epub
i Trying to find a way by laravel to convert docx to ePub
i try this answer but not used
How can I directly convert docx to ePub in PHP?
1
vote
0
answers
143
views
App Crash When click On Epub Viewer in Flutter (Android Side)
Steps to reproduce / Describe in detail -
App Getting Crash if I Click on Epub Viewer, I am downloading file From Internet and then setting an android path. When I try to open the file the app is ...
0
votes
0
answers
56
views
Calibre issue while converting Devanagari EPUB to PDF
While trying to convert an ePub containing Devanagari text to PDF (using ebook-convert utility), at times lines at the page boundaries are getting vertically split (partial glyphs) in two pages.
...
0
votes
2
answers
149
views
Tips on document compression (PDF and EPUB in particular) [closed]
As the title says I'm looking for some tips on how to compress PDF and EPUB documents. I have a large dataset of documents (pdf and epub) and static graphics (png, jpeg, webp) that I'm trying to ...
0
votes
0
answers
99
views
How to solve Epub library folioreader error in Android Native?
In my Android native project, I am integrating the folioreader library to open epub files. I have added the following dependencies according to the documentation.
Here's my app level gradle file:
...
1
vote
0
answers
146
views
How to save Epub reader progress in Flutter?
In my Flutter project, I was implementing epub reader using following library -
https://pub.dev/packages/epub_viewer
I have done everything according to their library documentation. Downloading epub ...
0
votes
0
answers
117
views
How to solve Unhandled Exception: Unable to load asset in Flutter?
In my Flutter project, I am downloading a file using Dio library. The download path was set by like below code-
Future<void> downloadFile() async {
Dio dio = Dio();
try {
var ...
0
votes
1
answer
67
views
where to find epuf format?
I want to read a epub and I know it is zipped.
and I want to ask that where is the format of the epub ?
for example
if should start at .opf and in there is a xml of package
but what is inside package?...
0
votes
0
answers
28
views
Kobo Libra H2O not displaying monospace consistently for all epub files
I having some issues with side-loaded books not displaying monospace fonts properly on my Kobo Libra H2O. I have a number of programming books that use monospace fonts to display the code portions. ...
0
votes
0
answers
8
views
eBook format that allows to open other files
Is there any standard eBook file format which allows to make links between multiple files.
I am trying to move a library of iSilo palm database files which are interlinked between them to a more ...
0
votes
0
answers
26
views
Need to restrict anchor tag default behaviour in epub js
I would like to use the onclick event on the epub js and I have implemented using the below code and it works as expected.
rendition.on('rendered', (rendition: Rendition, iframe: Window) => {
...
0
votes
0
answers
78
views
How to encrypt epub and decrypt it React Native?
I studied a lot of information from sources:
https://www.w3.org/TR/xmlenc-core1/#sec-Processing-Decryption
https://www.w3.org/publishing/epub3/epub-ocf.html#sec-container-metainf-encryption.xml
Do I ...
2
votes
1
answer
496
views
How to force chapters to start on ODD pages (html and epub)
.Chapter {
padding-bottom: 30vh;
break-before: right !important;
}
The good news: chapters begin in their own page
The bad news: the expected behaviour
"Forces one or two page breaks right ...
-1
votes
1
answer
144
views
Creating a kindle dictionary
I am trying to create a Kindle dictionary that can be used for offline lookup. I already have the words and their inflections, but turning this into a working dictionary is difficult.
There is some ...
0
votes
0
answers
12
views
How can I insert a specific HTML tag at the end of every sentence or line of text in an EPUB file?
I would like to insert this HTML page break tag: <span style="page-break-after: always" /> after every line of code enclosed in <pre> tags, header in <h> tags, or sentence ...
2
votes
0
answers
91
views
Appearance of user id when downloading to the file
There's this code which I have
function pushfile(&$file) {
header_remove();
if (isset($file["type"])) header('Content-Type: '.$file["type"]);
if (isset($file["name&...
1
vote
1
answer
92
views
Haskell zip package: How to add mimetype file as first file of the archive
I've started using this package to create a .epub file and I must say it has been much smoother than the javascript library I tried previously (epub-zipper)
However, there is one small detail I cannot ...
0
votes
0
answers
88
views
Is there any way to convert epub2 to epub3 using Python?
So, as the question suggests, I am looking for a way to convert epub2 to epub3 using Python.
What I found so far is how to convert PDF documents in EPUB2 using ASPOSE.PDF for Java (in the python ...
0
votes
0
answers
55
views
Extract paragraphs and CFI from EPUB
I'm trying to extract all paragraphs from and EPUB with associated CFIs. I tried computing the CFI myself but the documentation is really hard to follow and implement. I'm primarily looking for a ...
1
vote
0
answers
67
views
App crashes when trying to open raw using FolioReader
I try to use FolioReader like this in MainActivity:
val folioReader:FolioReader = FolioReader.get()
folioReader.openBook(R.raw.book)
but I got this errors... how can I fix this errors?
how can ...
0
votes
0
answers
76
views
Display epub file in SwiftUI using FolioReader
I am trying to display an epub book in FolioReader using SwiftUI. In the UIKit project i've included the reader in the viewDidAppear method and it worked good. Using the below code I get the error: &...
-1
votes
1
answer
22
views
Make a table in ebook file
I wanna make a book with parallel translation. It supposed to have table with to columns - one have text on source language, the other on target language.
I found, that I can do it easy with fb2, just ...
0
votes
0
answers
32
views
epub format with kable_styling fails
I am trying to create an epub version of a book that successfully compiles into PDF and HTML.
It seems that using kable_styling is causing the issue.
Consider the code from here exactly as it stands:
...
0
votes
1
answer
66
views
Does ePub restrict HTML to only some subset?
I was thinking about creating an ePub reader. All the ePub files I have seen so far seemed very simple: just text paragraphs with some big font for the title, and some rectangular illustration images. ...
0
votes
1
answer
26
views
What is the expectation when <a> tag's href is a html file and download attribute is added?
<a href='1.html' download> Download 1.html </a>
For example the above HTML code,
What should be the expectation when users clicks on the hyperlink??
Should redirect the users to 1.html
...
0
votes
0
answers
112
views
Implementing an ePub reader in react native
I am currently developing an application that requires me to implement an ePub reader in react native, I am aware that there are other questions in stack overflow but none of them are what I want...
I ...
1
vote
1
answer
160
views
HTML table: Wrap multiple rows to new line
I am using HTML and CSS to display sentences aligned with word-by-word IPA transcriptions:
<table>
<tr class="eng">
<td>This </td>
<td>is</td>
...
0
votes
0
answers
28
views
Is there a way to edit margin after an auto page-break made by a epub reader?
So im trying to edit this epub i made with indesign. It's reflowable, so even though i set margin-top for text-block, when it automatically generates a page-break, it keeps ignoring my margin setting. ...
0
votes
1
answer
147
views
How to load javascript module in epub xhtml
I have an ebook (ebook1.epub) that loads a javascript file (script1.js) like so:
cat EPUB/xhtml/raw/ch1.xhtml
<!--?xml version='1.0' encoding='UTF-8'?-->
<!DOCTYPE html><html xml:lang=&...
0
votes
0
answers
40
views
Readium library second page word hi-lighter is not working in landscape in ios
i am using readium library for epub and i am trying with javascript to select the word by it's text-id . In landscape it's working fine for 1st page but for second page it's not working. i am using ...
1
vote
0
answers
46
views
r bookdown epub table caption issue
The generation of the epub option for bookdown is not making table captions correctly. Every table has the markdown label also showing in the table caption. This occurs for tables that are basic ...