Hot answers tagged

24 votes
Accepted

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

tex4ebook can be used for LaTeX to ebook formats conversion. It supports epub, epub3 and mobi formats. I've had some presentations about it last year, slides in Czech are online, as well as source ...
user avatar
  • 45.2k
21 votes

Use LaTeX to produce ePub

tex4ebook can be used to produce Epub, Epub 3 and Mobi from LaTeX sources directly. It uses tex4ht as the underlying conversion engine. It supports full LaTeX, including most packages and custom ...
user avatar
  • 45.2k
15 votes
Accepted

What TeXBook version has built-in bookmarks?

That is not CTAN and the pdf copy is illegal. As Knuth says on his webpage The source file texbook.tex for The TeXbook has been available for many years, and it begins with the following lines: ...
user avatar
9 votes
Accepted

Why is the ebook package not good to use?

Your own previous question is already a good example for the side effects. The package doesn't set \normalfont and \normalsize correctly. And so all commands or environments which call this commands ...
user avatar
9 votes

Fixed Layout Epub 3 File Format

As far as I know, fixed layout epub3 is being used mainly for children books, manga comics and educational textbooks with lots of pictures etc. For documents usually produced with LaTeX, ie. text ...
user avatar
  • 45.2k
6 votes
Accepted

Embed TeX as a typesetting system for an eBook reading application

You may be interested in Kaveh's Notre Dame presentation. Here is the abstract. An important advantage of ebook readers is their ability to modify text size and page orientation, for the most ...
user avatar
  • 4,436
6 votes

Effort to make (La)TeX eBook-friendly

The package ebook can actually export a file specialized for phones (font, position, spacing, etc). Reducing the pagesize of templates specialized for wide screens/books isn't much quicker than this: ...
user avatar
  • 1,184
5 votes
Accepted

Why doesn't \mkbibbold work while \textbf does when using the ebook package?

The package ebook does not change fonts in a good way. In particular, the result is a different set of fonts is being used in the bibliography. To work around this you can either compile with ...
user avatar
4 votes

LaTeX options for kindle?

Another option would be to use Pandoc to convert your LaTeX to EPUB. This would be reflowable, and would work on different sized readers without adjustment. Equations are handled quite nicely.
user avatar
  • 2,606
4 votes

LaTeX options for kindle?

Not yet mentioned here: tex4ebook: from the command line: tex4ebook [options] filename You don't have to modify your source files unless you want to use commands defined by tex4ebook in the ...
user avatar
4 votes

Ensuring embedded Fonts are hinted for on-screen PDF viewing

It seems the OTF file I was using lacked hinting information. a search brought me across the (crowed-sourced!) ttfautohint project which automatically adds hinting information to font files using the ...
user avatar
  • 111
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.2k
3 votes
Accepted

Strange page numbers with mobi format and tex4ebook

tex4ebook doesn't produce any page numbers at all. It is even not possible at the moment even if you want to do it. I would like to produce package which could insert page break marks in the ebook at ...
user avatar
  • 45.2k
3 votes
Accepted

Convert to HTML with {arabtext} sections rendered as images

It is quite easy to produce images with content of any environment. Any TeX content can be converted to image with \Picture+ ... \EndPicture commands, so we only need to configure arabtext environment ...
user avatar
  • 45.2k
3 votes

LaTeX options for kindle?

I had the same problem. I use Xelatex compilator. And I upload my .pdf to Amazon KDP. My margins were too big. The result was hardly readable at Kindle format/size. I highly recommand to test the ...
user avatar
3 votes

Use LaTeX to produce ePub

Have a look at http://www.sp4comm.org/multipub/: The multipub package, together with external software and some custom scripts, allows you to generate multiple publication formats from a ...
user avatar
  • 2,076
2 votes

Use LaTeX to produce ePub

I use Plastex with theme:minimal, then Sigil to assemble the ePub. Plastex is open source (Python) so in theory once we understand the code, we could customize it to refine the conversion from LaTeX ...
user avatar
  • 107
2 votes

Is there a PlasTeX custom-renderer which can produce ePub (or nearly ePub)?

In Plastex, one way to control the kind of output is with themes. There is a theme called ePub. You invoke theme:ePub like this: c:\python27\python.exe c:\python27\Scripts\plastex --theme=ePub source....
user avatar
  • 107
2 votes

LaTeX options for kindle?

Main advises: Use a6paper in geometry option list, this may be the designed paper size for 6 inch Kindle. Remove all header/foot utils, they just waste spaces for the 6 inch kindle. Use relative ...
user avatar
  • 515
2 votes

LaTeX options for kindle?

Here's a link to the template that I use. I generate both an A4 sized document and a 'Kindle sized' one when I compile my document. I've got some macros in there for reformatting columns and margin ...
user avatar
  • 1,389
2 votes
Accepted

Equation shown as nonexistent picture with tex4ebook

A package is missing: sudo apt-get install dvipng solves the problem. The package dvipng was missing
user avatar
  • 308
2 votes
Accepted

Multiple source document with htlatex and tex4ebook

OP has following \includeonly command in his project \includeonly{% Miscellaneus/Abstract,% Linux_chapters/Chap1,% Linux_chapters/Chap2,% Linux_chapters/Chap3,% Linux_chapters/Chap4,% Linux_chapters/...
user avatar
  • 45.2k
2 votes

Convert to HTML with {arabtext} sections rendered as images

Another option \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[LFE,LAE,OT1]{fontenc} \usepackage[arabic,english]{babel} %default language is last in list \begin{document} Hello ...
user avatar
  • 18.3k
2 votes
Accepted

Compiling ArXiv source code of articles with images

tl;dr The source files downloaded from the arXiv (via Other formats>Download source) have no file extension and are usually either a gzipped tar archive .tar.gz or a single gzipped file. As a first ...
user avatar
  • 160k
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.2k
1 vote

Automatically resize equations

Scaling elements which contain text is usually a bad idea, see Why not scale elements that contain text I suggest to use a smaller font size or split the equations over multiple lines instead. \...
user avatar
1 vote

Making index in Pandoc generated ebook

You can add index to you Pandoc generated ebook using the two steps: Adding identifier to your heading, for example the following {#foo} syntax added the identifier for to the heading My heading, # ...
user avatar
  • 111
1 vote
Accepted

nested adjust width block - remove whitespace

You can adjust the paragraph shape based on the specific number of lines: \documentclass{article} \usepackage{changepage} % http://tex.stackexchange.com/a/133660/5764 \makeatletter \def\newparshape{...
user avatar
  • 567k

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