minim

A collection of low-level utilities for use with plain LuaTeX

Active Pure Nim score 66/100 · last commit 2026-07-04 · 7 stars · tests present · no docs generated

Summary

Latest Version Unknown
License Unknown
CI Status Failing
Stars 7
Forks 4
Open Issues 0
Last Commit 2026-07-04
Downloads 0
Last Indexed 2026-07-22 05:31

Installation

nimble install minim
choosenim install minim
git clone https://gitlab.com/renkema/minim

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
minim - - - - - - -

Source

Repository https://gitlab.com/renkema/minim
Homepage https://gitlab.com/renkema/minim
Registry Source gitlab

README

SUMMARY

This is a collection of utilities written for the Plain format and the LuaTeX engine, adding support for modern PDF and LuaTeX features to Plain TeX. It includes the following:

  • MetaPost integration
  • Unicode mathematics
  • Hyperlinks and bookmarks
  • Embedded files
  • Creating Tagged PDF
  • Complying with PDF/(U)A
  • XMP metadata generation

Keeping with the spirit of Plain TeX, these extensions are designed to be as simple and unobtrusive as possible. Every module can be used on its own.

Special care has been taken to ensure that every module can safely be included in format files. Via the minim-mp and minim-lamp formats, this makes possible the use of luatex as stand-alone metapost processor.

FILES

While these utilities have been developed together, they will be distributed as separate packages:

package directory date version contents

minim base 2026-09-01 1.8 Format file and utility code minim-math math 2026-09-01 1.6 Unicode mathematics minim-mp mp 2026-09-01 1.8 mplib integration minim-pdf pdf 2026-09-01 2.0 Tagged PDF minim-xmp xmp 2026-09-01 1.5 XMP inclusion minim-hatching hatching 2022-03-03 1.1 MetaPost tiling patterns

INSTALLATION

For a local installation, create the $TEXMFHOME/metapost/minim/ and $TEXMFHOME/tex/luatex/minim/ directories; move all metapost (*.mp) files to the first, all other files to the second.

Then, go to the $TEXMFHOME/web2c/luatex directory (create it if needed) and create the included formats:

luatex -ini minim.ini
luatex -ini minim-mp.ini
luatex -ini minim-lamp.ini

For the metapost extensions, vim syntax definitions are available in mp-minim.vim (see the top of that file for installation instructions).

COPYING

(c) 2022 Esger Renkema, Michal Vlasák

These files may be distributed under the terms of the European Union Public Licence (EUPL) version 1.2 or later. A copy can be obtained at:

https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12