Questions tagged [tex4ebook]

TeX4ebook is a collection of lua scripts and LaTeX packages for converting LaTeX files to ebook formats, including epub, epub3, and mobi.

Filter by
Sorted by
Tagged with
1
vote
1answer
314 views

Using xskak and tex4ebook

Does anyone know how to get these packages to work together. Minimal example (test.tex). \documentclass[12pt]{article} \usepackage{xskak} \begin{document} \newchessgame[id=main] \chessboard \end{...
23
votes
1answer
3k views

Can LaTeX be used to create flexible ebook typesize and pagesize, like html?

I've overheard mention of LaTeX being used for the production of eBooks. I'm thinking that it's in reference to producing small pages of a fixed size, say 7", fixed type size, say 8pt, for reading ...
3
votes
1answer
709 views

Book template for tex4ebook

I am trying to set up a book template for tex4ebook using memoir and Texlive. The MWE that has everything I want is: \documentclass[ebook,12pt,oneside,openany]{memoir} \begin{filecontents}{test.bib}...
2
votes
1answer
723 views

The best way for math in epub - font or SVG? (tex4ebook)

with some math as HTML it doesn't display well on some readers. How can I include a specific font to epub for this badly displayed math? Or is there any option to convert all math to picture (SVG)? ...
4
votes
1answer
240 views

Need to avoid duplication of cover image in Kindle book (tex4ebook)

tex4ebook includes the cover as the first page of the book. However, the Kindle automatically includes the cover as the first page, getting the cover from the OPF file. The result is a duplicate ...
1
vote
3answers
295 views

Two navigation issues for Kindle (and other) ebooks

First, the Kindle Publishing Guidelines strongly recommend an HTML table of contents (TOC) which is now possible in tex4ebook. They also say it should be available to users either via a guide item in ...
6
votes
1answer
335 views

Can I get TeX4ebook to include the html table of contents in an epub

For the Kindle book I'm producing, I would like to have the .ncx ebook table of contents and an html table of contents as part of the book. However, TeX4ebook doesn't include the html TOC (in this ...
6
votes
0answers
1k views

tex4ebook for dummies [closed]

I'm not able to make tex4ebook to work with even the simplest document. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document} \section{section 1} this is a ...
2
votes
1answer
155 views

Some further issues with index generation and tex4ebook

This is a follow-up of my previous question here. It uses the files provided by @Michal.h21. I have modified the input file as below: \documentclass[ebook,12pt,oneside,openany]{memoir} \begin{...
1
vote
1answer
62 views

Images disappearing when compiling with tex4ebook

I am trying to convert an existing book from plain PDF output to ebook format for online publishing (and doing some reformatting in the process, but that's another question). I have images in the \...
1
vote
1answer
305 views

After hand-editing tex4ebook epub folder, how to repackage?

TeX4ebook makes an "epub" folder which it automatically zips to make a .epub file. Occasionally (doing my best to be nice here) tex4ht produces code which needs to be hand-corrected. There must be ...
6
votes
1answer
164 views

Using imakeidx in tex4ebook with Polyglossia for Devanagari

I am trying to create a Marathi ebook using the packages Polyglossia an tex4ebook. Following is the MWE I prepared following the instructions from @michal.h21 (which were given to produce the MWE that ...
3
votes
1answer
161 views

Faulty section header with latest Tex4ebook running on Texlive 2018

This is a followup of my question here and uses the same MWE and the config file provided by michal.h21. MWE: \documentclass[ebook,12pt,oneside,openany]{memoir} \usepackage{lipsum} \...
2
votes
1answer
223 views

Using storebox with tex4ebook

Is there any way to get the storebox package to work with tex4ebook? A MWE based on the storebox document is: \documentclass{article} \usepackage{storebox} \newstorebox{\mybox} \begin{document} \...
2
votes
1answer
76 views

Faulty chapter header with latest Tex4ebook running on Texlive 2018

This is a followup of my question here and uses the same MWE and the config file provided by michal.h21. MWE: \documentclass[ebook,12pt,oneside,openany]{memoir} \usepackage{lipsum} \...
2
votes
1answer
72 views

Smallcaps disappearing in tex4ebook compilation

I am using smallcaps to mark certain direct speech (essentially uttered by non-human entities). I use it almost exclusively through the following macro: \usepackage{quotmark} \newcommand{\gqt}[1]{\...
1
vote
0answers
59 views

Error in hyperlink with biblatex in tex4ebook compilation

\documentclass[ebook,12pt,oneside,openany]{memoir} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{xurl} \usepackage{lipsum} \usepackage[backend = biber,url= false,style=numeric,sorting=...
1
vote
1answer
255 views

Section head style with memoir class and tex4ebook

Tex4ebook seems to ignore the \setsecheadstyle command with the memoir class. MWE: \documentclass[ebook,12pt,oneside,openany]{memoir} \usepackage{lipsum} \setsecheadstyle{\normalsize\itshape\...
1
vote
1answer
92 views

Equation shown as nonexistent picture with tex4ebook

I successfully compiled a tex source using tex4ebook, but none of the equations (\begin{equation}) are shown properly: In Calibre Viewer, I get a blue question mark, the one for "file not found". In ...
1
vote
1answer
154 views

Problems with ligatures

I have some problems to make ligatures (not) work in epub. my MWE : \documentclass[10pt,a5paper]{book} \usepackage[french]{babel} \usepackage{libertine} \usepackage[T1]{fontenc} \usepackage[utf8]{...