Hot answers tagged

4 votes
Accepted

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

You can use tex4ebook to create the ePub or mobi ebooks. It uses tex4ht for the conversion. tex4ht doesn't support skak package out of the box, but it is easily configurable, so we can add the support ...
user avatar
  • 45.5k
4 votes
Accepted

xelatex to epub3 with pandoc and footnote links?

If you have a file test.tex like this: % !TeX program = XeLaTeX \documentclass{article} \usepackage[style=sbl,backend=biber,autocite=footnote]{biblatex} \addbibresource{works-cited.bib} \begin{...
user avatar
  • 19.7k
4 votes
Accepted

Errors when generating epub and mobi formats with tex4ebook

There are two main sources of problems - first is that chesboard package uses Tikz to draw some stuff to the chess board and it produces broken SVG images, the second issue is that \usestorebox and ...
user avatar
  • 45.5k
4 votes
Accepted

Ligatures generated by tex4ebook inconsistently supported

The ligatures are decomposed to individual letters by default in tex4ebook, because is is better for accessibility and the support on all devices is not universal. It is up to the reading device then ...
user avatar
  • 45.5k
3 votes
Accepted

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

tex4ebook can produce ePub, ePub3 and mobi formats from LaTeX sources. It uses tex4ht (the same system as htlatex uses) for the LaTeX to HTML conversion. The HTML files are then processed and packed ...
user avatar
  • 45.5k
3 votes
Accepted

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

You didn't provide any test file, so I will just use some sample I've found on the Internet: \documentclass{article} \usepackage{fontspec} \setmainfont{Rachana}[Script=Malayalam] \newfontfamily\...
user avatar
  • 45.5k
3 votes
Accepted

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

To solve your first problem, I would define two commands - one for important terms, which should be used when you want the index entry even in the Epub file, the second for all instances you want in ...
user avatar
  • 45.5k
3 votes
Accepted

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

It seems that MikTeX version of TeX4ht is not up-to date. It can happen as TeX4ht is installed directly to TeX Live, the updates are not installed on CTAN, so MikTeX maintainer are not notified of ...
user avatar
  • 45.5k
3 votes
Accepted

why tspan instead of class? italics not rendered using htlatex

tikz configures lot of things in each picture when it is executed with tex4ht. unfortunately, one of these configurations is global and persists even after end of the picture and it is the ...
user avatar
  • 45.5k
3 votes

Using `\widehat` in tex4ebook fails

Some math features are not available in the default HTML output from TeX4ht. You have two basic options for math inEpub 3 output: MathML and images. MathML is in general preferable to images, as the ...
user avatar
  • 45.5k
2 votes
Accepted

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

In theory, you can just change the \chaptername macro in a .cfg file: \Preamble{xhtml} \begin{document} \let\chaptername\relax \EndPreamble This works normally, but not with this example I found: % !...
user avatar
  • 45.5k
2 votes
Accepted

How to wrap paragraphs in XML tags?

I am not sure what you actually want to do. If you want to create an Epub file, you can convert your LaTeX source to Epub using tex4ebook. Run the following command in terminal: tex4ebook filename....
user avatar
  • 45.5k
2 votes

Use ConTeXt to turn EPUB into PDF

ConTeXt is not up to the task of typesetting EPUB. However, there exist third-party solutions to convert an EPUB file to ConTeXt, e.g. pandoc. It is a command line tool written in Haskell which can ...
user avatar
2 votes

Convert XeLaTeX to ePub

Your document compiles without problems with tex4ht, you just need to provide a small configuration file and require the XeTeX support, which is not used by default. As you want an ePub file, you can ...
user avatar
  • 45.5k
2 votes
Accepted

LaTeX to Epub Conversion

As you already use TeX4ht, you can use the tex4ebook command, which is based on TeX4ht, for the conversion. I've only found that there are some issues with your file. First is that you use the \Author ...
user avatar
  • 45.5k
2 votes

How to handle a TeX file to an Epub

I find out an idea for my solution as in the following article (link). By applying the command of that, I solved the questions Q1 and Q3. For the question Q2, there is a way to set a folder and keep ...
user avatar
  • 139
1 vote

tex4ebook - Change encoding of output to latin1

I don't think this issue is caused by UTF-8 encoding, I am pretty sure that it is supported by Kindle. But anyway, it is not hard to change the encoding of the HTML file, using make4ht build file and ...
user avatar
  • 45.5k
1 vote

Tex4ebook - cellspacing and cellpadding

You can try this .cfg file: \Preamble{xhtml} \Configure{halignTB<>}{tabular}{% \HCode{id="TBL-\TableNo" class="tabular"\Hnewline \GROUPS\Hnewline }<>\HAlign} \begin{...
user avatar
  • 45.5k
1 vote
Accepted

How to keep image file extension when exporting LyX to LaTeX

No, I don't think you can configure the export from Lyx this way, because LaTeX usually adds the extensions. But what is the point against using regular expressions and changing "includegraphics{([a-...
user avatar
  • 28.9k
1 vote

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

I don't know of a universal (style-independent) field to indicate whether a book is an ebook or not. Most styles support the note and addendum fields, which you can fill with any text you want. So ...
user avatar
  • 161k

Only top scored, non community-wiki answers of a minimum length are eligible