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.
25
questions
1
vote
1answer
362 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{...
24
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 ...
4
votes
1answer
988 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
779 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
297 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
327 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
126 views
TeX4ebook handles accented characters incorrectly
I'm trying TeX4ebook on the following minimal LaTeX file:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[spanish]{babel}
\usepackage{csquotes}
\title{Título}
\author{Autor}
\date{...
6
votes
1answer
405 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
194 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
328 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 ...
1
vote
2answers
436 views
Tex4ebook and bibliographies
What is the preferred way of using bibliographies with Tex4ebook? I have tried using bibtex and biblatex but cannot get the bibliography to show on the epub.
I tried the method in In which order ...
1
vote
1answer
109 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 \...
6
votes
1answer
274 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
0answers
110 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\...
3
votes
1answer
178 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
87 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]{\...
2
votes
1answer
218 views
tex4ebook: nodes vanishes for TikZ?
The test code:
\documentclass{amsart}
\usepackage{graphicx}
\usepackage{tikz}
\usetikzlibrary{fadings}
\DeclareMathOperator\Spec{Spec}
\newcommand\Z{\mathbb Z}
\newcommand\OO{\mathcal O}
\begin{...
2
votes
1answer
175 views
tex4ebook: unable to include picture using \includegraphics and package \usepackage
The preamble of the tex file:
%% LyX 2.3.3 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[letterpaper,oneside,...
2
votes
1answer
96 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
246 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}
\...
1
vote
0answers
70 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
198 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]{...
1
vote
1answer
104 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
333 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\...