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
0 votes
0 answers
41 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 ...
user avatar
  • 3,261
0 votes
0 answers
32 views

Translate format my book to epub and mobi

I have a book that has already been written. (tex files, styles and pictures) I also have a pdf for this book. How do I quickly translate it all into epub and mobi format? I tried to translate the pdf ...
user avatar
0 votes
0 answers
56 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 ...
user avatar
0 votes
0 answers
28 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 ...
user avatar
  • 223
0 votes
0 answers
55 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 ...
user avatar
0 votes
0 answers
39 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 ...
user avatar
0 votes
0 answers
114 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 ...
user avatar
  • 57
0 votes
0 answers
40 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 ...
user avatar
1 vote
1 answer
97 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 ...
user avatar
2 votes
1 answer
78 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=...
user avatar
  • 139
1 vote
1 answer
67 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/...
user avatar
  • 31
1 vote
1 answer
41 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? &...
user avatar
  • 31
1 vote
1 answer
29 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 ...
user avatar
3 votes
0 answers
133 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\...
user avatar
1 vote
0 answers
92 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 ...
user avatar
0 votes
1 answer
87 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 ...
user avatar
0 votes
2 answers
76 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 ...
user avatar
2 votes
2 answers
87 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 ...
user avatar
2 votes
1 answer
594 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 ...
user avatar
  • 2,832
2 votes
1 answer
490 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, ...
user avatar
  • 149
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 ...
user avatar
  • 275
1 vote
1 answer
126 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 ...
user avatar
  • 349
0 votes
1 answer
116 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 ...
user avatar
  • 2,079
1 vote
1 answer
100 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, ...
user avatar
  • 125
4 votes
1 answer
453 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 ...
user avatar
  • 143
3 votes
1 answer
476 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 ...
user avatar
  • 775
1 vote
1 answer
752 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 ...
user avatar
  • 811
1 vote
2 answers
1k 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 ...
user avatar
  • 1,810
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 ...
user avatar
  • 1,161
3 votes
1 answer
256 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 ...
user avatar
8 votes
1 answer
525 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 ...
user avatar
  • 10.9k
2 votes
1 answer
360 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 ...
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 "...
user avatar
  • 1,657