Questions tagged [epub]

EPUB (short for electronic publication) is a free and open e-book standard by the International Digital Publishing Forum (IDPF). Files have the extension .epub.

Filter by
Sorted by
Tagged with
1 vote
0 answers
39 views

tex4ebook: Issues with sections in ebooks

In an old version of tex4ebook (beginning of 2022), sections worked fine. With the current version, however, I run into issues and cannot compile the file anymore. I use the arguments -a debug -c ...
Jack's user avatar
  • 304
2 votes
1 answer
30 views

tex4ebook: References with cleveref

I use cleveref to create customized references to theorems, e.g. I have to reference to Theorems A1, A3 and A4. When using tex4ebook, the respective links to the theorems work technically fine, but ...
Jack's user avatar
  • 304
1 vote
2 answers
32 views

Errors with epubcheck after tex4ebook, concerning \pageref{somelabel}

I found a MWE which reproduces the error message with epubcheck 2 times when having run tex4ebook (in my source the error appears 20 times identically) with Fragmentbezeichner ist nicht angegeben (...
Thomkrates's user avatar
3 votes
1 answer
63 views

Converting LaTeX doc with extensive math to portable eBook

I posted the following question 10 years ago, and the answers at the time were basically that there wasn't yet any particular good/easy solution, in part because of the immaturity of ePub3. My only ...
Grant Petty's user avatar
  • 1,051
5 votes
1 answer
270 views

Why don't footnotes appear at the bottom of the page?

With this code: \documentclass[11pt]{book} \begin{document} \chapter{I} Suonava la messa dell’alba\footnotemark[1] a San Giovanni; ma il paesetto dormiva ancora della grossa, perché era piovuto da tre ...
Alberto Ardito's user avatar
1 vote
1 answer
54 views

epubcheck with error while using tex4ebook and \nocite bibtexing

While running biblatex with \nocite commands, I got the following error message(s) when running epubcheck after tex4ebook. ERROR(RSC-005): Testfile.epub/OEBPS/Testfileli3.html(19,88): ...
Thomkrates's user avatar
2 votes
1 answer
74 views

epubcheck with error

Now I am trying to validate produced epub files with the programm epubcheck, which I installed correctly and already used successfully to other newly produced epub files with tex4ebook. But now I got ...
Thomkrates's user avatar
0 votes
0 answers
92 views

How to wrap text around images in Bookdown when exporting to epub?

My question is pretty straight-forward. I have read all the threads to find a solution but can still not succeed in wrapping text around images when exporting to epub. When exporting to html and pdf ...
joafr's user avatar
  • 1
0 votes
0 answers
37 views

latex source code to epub

I wrote a book that consists, basically, of images and tables, and the conversion pdf --> epub gives horrible results. The very appealing index in the pdf (with hyperlinks) looks gorgeous, but ...
Antonio Ortiz's user avatar
1 vote
1 answer
176 views

LaTeX to Epub Conversion

I would like to convert epub file from LaTeX or XML. Could you please advise which is best way for that? LaTeX to EPUB Conversion? XML to EPUB Conversion. TeX4HT? Make4HT? Pandoc? Which is the best ...
Balaji's user avatar
  • 2,228
0 votes
0 answers
336 views

What are the best tools to create epub from latex?

I have a math-light memoir book, with tables, figures, etc., and tons of convenience macros, which I would like to convert into a document suitable for kindle redistribution, too --- the key one will ...
ivo Welch's user avatar
  • 3,595
0 votes
0 answers
221 views

PDF with LaTeX formulas to .epub format

I have recently purchased a Kobo e-reader, and apart from standard .epub books I have already imported (which work excellently) I would also like to use it to read some .pdf files that also contain ...
There's Strange Stuff Out Here's user avatar
0 votes
0 answers
39 views

Preserve table formatting in epub?

I have a latex table defined with array and tabularx, see code below. In the PDF, it looks fine: When I convert it to epub, it gets completely mangled: Do I have any hope of fixing that, or should I ...
dfrankow's user avatar
  • 223
0 votes
0 answers
152 views

How to run TeX4ht and or tex4ebook

I have found that I can use tex4ebook to convert my Latex document into Epub3 but I haven't found anywhere where it states what program should be used to run the script (I normally write Latex in ...
Jonathan Schouenborg's user avatar
0 votes
0 answers
149 views

Internal document references Latex \label \ref via pandoc to HTML screw up for Epub generation

Basically Pandoc to HTML works really well pandoc -s ABC.tex -o ABC.html --citeproc --standalone --number-sections The generated (and with Jutoh post processed) Epub works fine on Kindle or Adobe ...
Christian Langkamp's user avatar
0 votes
0 answers
150 views

Calibre "UnicodeDecodeError" when attempting to convert a PDF to EPUB; tex4ebook also failed

When attempting to convert a PDF to EPUB, Calibre halts with UnicodeDecodeError: 'utf8' codec can't decode byte 0xe0 in position 1209: invalid continuation byte. I created the PDF with Debian 10; the ...
russ's user avatar
  • 57
0 votes
0 answers
72 views

How to convert a epub textbook into TeX file?

I just bought a textbook in epub format and my E-reader is having trouble rendering it because of all the equations. So, I converted the epub file to pdf and I am able to use it but the font is too ...
Grappler's user avatar
1 vote
1 answer
123 views

tex4ebook html file too large

This is my first ever question. I use TeXLive: tex4ebook -c config -l filename.tex One of my LaTeX sources contain the text of a whole printed book (several hundred pages) without any parts, chapters ...
Timo Kuronen's user avatar
2 votes
1 answer
148 views

How to handle a TeX file to an Epub [duplicate]

My goal is to create an epub file from tex (namely, an ebook with mathematical symbols). Below is my sample code. \documentclass[12pt,twoside,reqno]{amsart} \linespread{1.05} \usepackage[colorlinks=...
Nuec Tah's user avatar
  • 139
1 vote
1 answer
128 views

tex4ebook - Change encoding of output to latin1

My tex4ebook ebook is formated in utf8. However, in the Kindle preview, characters are not shown correctly. Indeed, Kindle publishing seems to require latin1 encoding ... ( https://kdp.amazon.com/...
Hartmut's user avatar
  • 41
1 vote
1 answer
51 views

Tex4ebook - cellspacing and cellpadding

my ebook created with tex4ebook contains cellspacing and cellpadding in tables. These attributes are not tolerated anymore (according to the ebookcheck). How can I remove them in the build process? &...
Hartmut's user avatar
  • 41
1 vote
1 answer
38 views

Using `\widehat` in tex4ebook fails

In the generated epub file, the hat is invisible. The MWE is: \documentclass{amsbook} \begin{document} $\widehat{t_0}$ \end{document} This compiles under plain LaTeX, without any problems, and ...
Roobie Nuby's user avatar
3 votes
0 answers
161 views

tex4ebook can't change directory because of UNC paths [closed]

I had used tex4ebook to make an epub3 book about two years ago. After updating my MikTeX, and moving to the book directory, I tried to remake the epub file using the command: cd \Users\me\Documents\...
Roobie Nuby's user avatar
1 vote
0 answers
94 views

What's the Simplest Way to Convert a book from XeLaTex to Epub [duplicate]

I have a 508-page book setup in LaTex. The book has 60+ images and uses custom fonts (the reason why I'm using XeLaTex). I use Overleaf and can easily spit out PDFs to create the paperback version of ...
egarbugli's user avatar
0 votes
1 answer
109 views

How to remove the word "Chapter" from the heading in ebook: tex4ebook

I am compiling an ebook in Kannada and I would like to remove the word "Chapter" from the heading in the ebook. The output of ebook as shown in the first image . However, I would want it ...
ShastriD's user avatar
0 votes
2 answers
136 views

How to wrap paragraphs in XML tags?

Closely Related: Changing paragraph begin/end commands Is there a LaTeX "hook" for automatically wrapping paragraphs in boxes, or preferably XML tags? I would like to load the outputted file into an ...
elika kohen's user avatar
2 votes
2 answers
107 views

Creating new functions that allow me to insert or ignore text fragments based on global variables

I am using the tex4ht package to compile EPUB documents with LaTeX. However, I am also using the same base .tex files to compile PDF documents with pdflatex. Since there are some significant ...
Jürgen Hubert's user avatar
2 votes
1 answer
792 views

How does tex4ebook work with images (png, jpg)?

After finish writing a book in LaTeX, I learned the many online books are published in the ePub format. Then I decided to learn a little bit of how to convert .tex (or .pdf) into .epub. The book has ...
FHZ's user avatar
  • 3,799
2 votes
1 answer
639 views

Convert XeLaTeX to ePub

Hi all, I have a XeLaTeX file which once compiled gives that kind of pdf page : What I need is to have from the tex file an ePub format instead of the pdf one. So before posting all this message, ...
gustav.b's user avatar
  • 179
2 votes
1 answer
2k views

What is a reasonable course to convert a novel from latex to epub/azw?

I need to convert a novel (NO math, but lots of citations and direct speech) from current PDF/printed paper to high-quality epub/azw4 to publish as eBook. Current layout is based on memoir and ...
ZioByte's user avatar
  • 285
1 vote
1 answer
137 views

Ligatures generated by tex4ebook inconsistently supported

As a followup to htlatex, garamond fonts, and nulled "ff" and "fi" strings on getting ligatures working correctly with tex4ebook, I've managed to get ligatures to not be replaces ...
Frotz's user avatar
  • 378
0 votes
1 answer
127 views

Can I sabotage attempts to make EPUB from my PDF?

Suppose that I have a tex-based PDF manuscript with math content. I am wondering if it is possible to "sabotage" attempts to convert that PDF to EPUB. Specifically, I am wondering if all math ...
alex.jordan's user avatar
  • 2,139
1 vote
1 answer
101 views

How to convvert Indian language .tex file to epub with a neat output

I am trying to convert a book in Malayalam prepared using XeLaTeX into an epub file. I tried with Calibre, which gave a file that had many problems with the Malayalam text. Then I tried with pandoc, ...
Sasi's user avatar
  • 125
4 votes
1 answer
472 views

Is it possible to use skak package to generate document in epub or mobi format?

I use skak to generate a beautiful chess book in PDF format. Unfortunately, Amazon Kindle does not import the PDF well. So, I have to make a Kindle friendly formatted book such as epub. Is it ...
Sudheer's user avatar
  • 143
3 votes
1 answer
536 views

xelatex to epub3 with pandoc and footnote links?

I am creating an ePub like this: pandoc test.tex --latex-engine=xelatex -o e.epub --bibliography=works-cited.bib -f latex -t epub3+footnotes However, instead of getting footnotes like this in ...
Jay's user avatar
  • 805
1 vote
1 answer
830 views

Errors when generating epub and mobi formats with tex4ebook

This is a follow-up of my questions from here and here. The setup files have been provided by @Michal.h21. I am getting errors when using tex4ebook and generating epub and mobi outputs. The input ...
user41974's user avatar
  • 841
1 vote
2 answers
2k views

How to cite an epub or ebook with biblatex-dw?

Background Reading so-called electronic books is becoming increasingly common, not only as a leisure activity, but also as a serious means to do research. However, there is some reluctance to embrace ...
Ludenticus's user avatar
  • 1,880
5 votes
0 answers
2k views

Pandoc breaks hyperlinks in LaTeX file conversion

I want to convert a (quite complex) LaTeX file to epub using pandoc with: pandoc -S file.tex -o file.epub I have not used markdown in the creation of the tex file, however. When I, now, check the ...
Til Hund's user avatar
  • 1,171
3 votes
1 answer
275 views

why tspan instead of class? italics not rendered using htlatex

When using htlatex with "html,fn-in", the generated html has <tspan font-family="cmti" font-size="10">should be italics </tspan> but this is not rendered in the html (at least not in ...
user1919074's user avatar
8 votes
1 answer
625 views

Use ConTeXt to turn EPUB into PDF

Because ConTeXt is good at manipulating XML, it would seem likely that it is also good at handling EPUB, since this is essentially a zipped collection of HTML and CSS files. I am wondering if there ...
Gaussler's user avatar
  • 12.4k
3 votes
1 answer
373 views

How to keep image file extension when exporting LyX to LaTeX

With the workflow: LyX -> LaTeX -> ePub (via pandoc) And I'm having a problem where an image filename included in LyX (say "image.jpg") will be converted into "image" (no extension) in LaTeX. pandoc ...
Rui Vieira's user avatar
9 votes
1 answer
2k views

Fixed Layout Epub 3 File Format

Epub, like the Amazon Kindle .mobi format, is designed for reflowable text. So LaTeX seems to have made few inroads as the file format philosophies are so different. I came across an article about "...
user26732's user avatar
  • 1,715