BSD Ports

print/tex-tex4ht 2026 NetBSD

Convert (La)TeX to HTML/XML

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
lppl-1.3c
Categories
print
Package size
1369.2 KiB, 18292.8 KiB installed

Description

A converter from TeX and LaTeX to SGML-based formats such as (X)HTML, MathML, OpenDocument, and Docbook, providing a configurable (La)TeX-based authoring system for hypertext. TeX4ht does not independently parse (La)TeX source (so it avoids the difficulties encountered by many other converters, arising from the irregularity of (La)TeX syntax). Instead, TeX4ht uses (La)TeX itself (with myriad macro modifications) to produce a helper DVI file that it can then process. This technique allows TeX4ht to approach the robustness characteristic of restricted-syntax systems such as gellmu. Full releases of TeX4ht are no longer made, both because it is technically difficult to do so and because their utility is questionable. Nevertheless, TeX4ht is actively maintained. So, current source files are held on CTAN, and updated from the development repository frequently. Creating the myriad derived files from them is nontrivial, and generally done with the Makefile in development, from which the TeX4ht package in TeX Live is updated.

Install

Binary package:

pkgin install tex-tex4ht

From pkgsrc:

cd /usr/pkgsrc/print/tex-tex4ht && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_642026
NetBSD 10.1 aarch642026
SmartOS / illumos x86_642026
macOS 15 arm642026

Dependencies

Run dependencies 2