Automic VaultAutomic Vault

brew

Install htmldoc with Homebrew, apk, apt, MacPorts, Nix, pacman, zypper

Convert HTML to PDF or PostScript. Version 1.9.23 via Homebrew; verified 2026-05-11.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install htmldoc

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install htmldoc

MacPorts ports tree · textproc/htmldoc/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add htmldoc

Alpine Linux edge package indexes · htmldoc · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install htmldoc

Debian stable package indexes · htmldoc · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#htmldoc

nixpkgs package indexes · pkgs/by-name/ht/htmldoc/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S htmldoc

Arch Linux sync databases · htmldoc · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install htmldoc

openSUSE Tumbleweed package metadata · htmldoc · source: download.opensuse.org

overview

Package summary

Convert HTML to PDF or PostScript

Commands and aliases

  • htmldoc

history

Project history and usage

HTMLDOC is Michael R Sweet's long-lived converter for turning HTML and Markdown source files or web pages into EPUB, PostScript, PDF, or indexed HTML output with an optional table of contents. It matters in package-manager culture because it preserves an older documentation-generator workflow: small static HTML goes in, printable documents come out, and the tool can be used from a GUI, a CLI, CI jobs, or web-server/reporting pipelines.

Project history

The upstream README says HTMLDOC was developed in the 1990s as a documentation generator for Sweet's previous company and later saw substantial use as a report generator embedded in web servers. The project site describes the same core job as converting HTML and Markdown sources or web pages to paged and ebook-oriented output formats.

The source tree carries an older `release-1.8b4` tag dated 1999 and a long 1.8/1.9 tag line, showing a package with pre-GitHub roots that was later preserved in a public Git repository. The release notes and site also document the deliberate limitations that shaped its evolution: useful for documentation, invoices, and reports, but not a general modern browser engine with full CSS, forms, Unicode, or emoji support.

Adoption history

The input package facts record HTMLDOC in Homebrew, Debian, Ubuntu, MacPorts, Nix, Arch, Alpine, and openSUSE-style packaging. That breadth fits a utility that is often installed by documentation build systems or server-side report generators rather than by end users seeking a full browser-to-PDF stack.

How it is used

HTMLDOC is used where relatively simple HTML or Markdown needs deterministic printable output: manuals, internal documentation, invoices, reports, and table-of-contents-based documents. Its appeal is the narrow converter surface: it can be automated from the command line while also offering a GUI for manual jobs.

Why package nerds care

For package nerds, HTMLDOC is interesting because it is an old-school Unix packaging survivor. It predates the headless-Chromium era, keeps a focused paged-output model, and remains small enough to package widely as a standalone converter instead of pulling in a browser runtime.

Timeline

  • 1990s: HTMLDOC was developed as a documentation generator for Michael R Sweet's previous company.
  • 1999: The public Git history includes the `release-1.8b4` tag.
  • 2011-2024: Runtime version text in issue output identifies the 1.9 line as GPL software maintained by Michael R Sweet across that period.
  • 2026: The GitHub repository includes the `v1.9.23` tag for the continuing 1.9 series.
  • Package-manager era: The input package facts record HTMLDOC across Homebrew, Debian, Ubuntu, MacPorts, Nix, Arch, Alpine, and zypper-family packaging.

Related projects

  • HTMLDOC is related to other document converters and paged-output generators, but it occupies a narrower historical lane than browser-based HTML-to-PDF tools. Its closest package-manager neighbors are converters such as wkhtmltopdf, Pandoc, and headless-browser wrappers, while its design lineage is closer to static documentation and report generation.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 2 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
htmldoccliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version1.9.23
manager updated2026-05-11
local dataok
upstreamcurrent
latest detectedv1.9.23

https://github.com/michaelrsweet/htmldoc

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:htmldoc
Version1.9.23
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/htmldoc
Homepagehttps://www.msweet.org/htmldoc/
Repositoryhttps://github.com/michaelrsweet/htmldoc
Upstream docshttps://www.msweet.org/htmldoc
LicenseGPL-2.0-only
Source archivehttps://github.com/michaelrsweet/htmldoc/archive/refs/tags/v1.9.23.tar.gz
Last updated2026-05-11T15:54:11-04:00
Pulseupdated
Dependenciesjpeg-turbo, libpng
Build dependenciespkgconf
Uses from macOScups
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehtmldoc
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

htmldoc 1.9.20-1

HTML processor that generates indexed HTML, PS, and PDF

https://www.msweet.org/htmldoc/

sudo apt install htmldoc
  • Section: web
  • Architecture: amd64
  • 10 dependencies
  • normalized package name match
  • Matched by: Htmldoc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: htmldoc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

htmldoc-common 1.9.20-1

Common arch-independent files for htmldoc

https://www.msweet.org/htmldoc/

sudo apt install htmldoc-common
  • Section: web
  • Architecture: all
  • Source Package: htmldoc
  • normalized package name match
  • Matched by: Htmldoc
Debian stable package indexes · deb.debian.org · Debian stable package indexes: htmldoc-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

htmldoc

nix profile install nixpkgs#htmldoc
  • normalized package name match
  • Matched by: Htmldoc
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ht/htmldoc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

htmldoc 1.9.17-1build3

HTML processor that generates indexed HTML, PS, and PDF

https://www.msweet.org/htmldoc/

sudo apt install htmldoc
  • Section: universe/web
  • Architecture: amd64
  • 10 dependencies
  • normalized package name match
  • Matched by: Htmldoc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: htmldoc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

htmldoc-common 1.9.17-1build3

Common arch-independent files for htmldoc

https://www.msweet.org/htmldoc/

sudo apt install htmldoc-common
  • Section: universe/web
  • Architecture: all
  • Source Package: htmldoc
  • normalized package name match
  • Matched by: Htmldoc
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: htmldoc-common from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

htmldoc 1.9.23-r0

HTML conversion software

https://www.msweet.org/htmldoc/

sudo apk add htmldoc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: htmldoc
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Htmldoc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: htmldoc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

htmldoc-doc 1.9.23-r0

HTML conversion software (documentation)

https://www.msweet.org/htmldoc/

sudo apk add htmldoc-doc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • Source Package: htmldoc
  • normalized package name match
  • Matched by: Htmldoc
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: htmldoc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
pacman95%

htmldoc 1.9.23-2

HTML Conversion Software

https://www.msweet.org/htmldoc/

sudo pacman -S htmldoc
  • License: GPL-2.0-only
  • Architecture: x86_64
  • 10 dependencies
  • normalized package name match
  • Matched by: Htmldoc
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: htmldoc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
zypper95%

htmldoc 1.9.23-1.4

HTML Processor that Generates HTML, PostScript, and PDF Files

https://michaelrsweet.github.io/htmldoc/index.html

sudo zypper install htmldoc
  • License: LGPL-2.1-or-later
  • Category: Productivity/Publishing/HTML/Tools
  • Architecture: x86_64
  • Source Package: htmldoc
  • 9 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Htmldoc
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: htmldoc from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

htmldoc

sudo port install htmldoc
  • normalized package name match
  • Matched by: Htmldoc
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/htmldoc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment