htmldoc logo

htmldoc

KurtPfeifle

HTMLDOC is a program that reads HTML and Markdown source files or web pages and converts these into corresponding EPUB, HTML, PostScript, or PDF files with optional tables of contents.

HTMLDOC was developed in the 1990's as a documentation generator for my previous company, and has since seen a lot of usage as a report generator embedded in web servers. However, it does not support many things in "the modern web", such as Cascading Style Sheets (CSS), PDF Encryption (other than 128-bit RC4), PDF forms, complex HTML tables (other than HTML-3.2), Unicode with right-to-left text formatting, Emoji.

HTMLDOC can run from the command line (CLI) as well as with a graphical user interface (GUI). It also supports operation as a CGI program for a web server to provide PDF-formatted output from a web page. The GUI starts automatically if you run HTMLDOC without any options. Since support for Markdown input and EPUB output is still under development, both options are not available from the GUI, but only from the CLI.

Githubhttps://github.com/KurtPfeifle/htmldoc

Get htmldoc now!

Usage

htmldoc is available as an AppImage which means "one app = one file", which you can download and run on your Linux system while you don't need a package manager and nothing gets changed in your system. Awesome!

AppImages are single-file applications that run on most Linux distributions. Download an application, make it executable, and run! No need to install. No system libraries or system preferences are altered. Most AppImages run on recent versions of Arch Linux, CentOS, Debian, Fedora, openSUSE, Red Hat, Ubuntu, and other common desktop distributions.

Running htmldoc on Linux without installation

Unlike other applications, AppImages do not need to be installed before they can be used. However, they need to be marked as executable before they can be run. This is a Linux security feature.

Behold! AppImages are usually not verified by others. Follow these instructions only if you trust the developer of the software. Use at your own risk!

Download the htmldoc AppImage and make it executable using your file manager or by entering the following commands in a terminal:

Then double-click the AppImage in the file manager to open it.

chmod +x ./*.AppImage