Adding TeX4ht to Your LaTeX Book Project

Here, we will examine the technical details of converting LaTeX to HTML, and how to add that capability to an existing project that does not use the template. If you are already using the configuration set up by the template, you can safely ignore this chapter.

Polishing for E-book Release

Polishing for an e-book release is significantly easier than for a PDF print release. This is because the reading software or device on which your book is displayed for the reader reformats your book to fit correctly on a particular screen. Also, printed books have individual pages, while e-books do not. Your e-book’s contents are handled like a one-page website where you simply scroll from top to bottom.

woman typing

Polishing a Book for Print

While using LaTeX can save you a lot of time by automatically formatting each page, it has its limits. For example, you might end up finishing a section or chapter with one line that ends up alone on a page. This is ugly but it is not something LaTeX can do anything about. The program’s hands are tied because it cannot rewrite the text for you. It will display every line—even if the final line in a chapter is “orphaned.”

The LaTeX Book Template

In a previous article (and the book), we we have covered the main, front, and the back chapter folders of the LaTeX Book Template. You can find the Overleaf template here as a free download. Now we will discuss those folders again in more detail and go through the remaining folders. This will help you to know where the …

Bibliography and Citations in LaTeX

Books build upon other books, just like scientific experiments build on other scientific experiments. Be it out of scientific accuracy, as a service to the interested reader, or out of gratitude, you should include references to your sources.

LaTeX Basics

This article will cover the basics of LaTeX so that you can make adjustments to your existing texts, understand the commands in the template, and get a head start for when you want to learn more complex commands on your own.

Filling the Template

A simple way of writing books in LaTeX is using Overleaf and our template. In previous articles, we have walked through the whole “build chain” of creating documents. In this article, we go through each file of the template and give you a “to do” list of items you can work on one by one—from the title to the appendix.

Word vs LaTeX

For which books is it better to use a word processor? What are the advantages of writing a complex book in LaTeX vs Word? This is an excerpt from Better Books with LaTeX the Agile Way. Having written seven books on topics including project management and philosophy, I have gained a great deal of respect …