CTAN Comprehensive TeX Archive Network

Directory macros/context/base

README.md

Cont Packaging Scripts

This repository hosts the scripts used to package the contents of the Cont Standalone Distribution into  Live and CTAN.

Specifically, this is the source of the CTAN package context, which contains the Live packages context (Cont MkXL/LMTX runtime files), context.ARCH (LuaMeta binaries), context-legacy (Cont MkII runtime files), and mptopdf (mptopdf command-line script), and the TLContrib package context-nonfree (Cont runtime files that are not free software).

Goals

The primary goal of this project is to make an installation of  Live with scheme-context (plus context-nonfree from TLContrib) behave identically to the Cont Standalone Distribution with all modules installed. Note that scheme-full (AKA the default “Full”  Live installation) is a superset of scheme-context, which means that most users will have a complete Cont installation by default.

Known Deviations

  1. The Cont Standalone Distribution always sets the default paper size to A4;  Live allows users to configure this to either A4 or Letter). Regardless, users may (and should) configure this for each individual document with \setuppapersize.
  1. The Cont Standalone Distribution frequently updates its Lua binaries to the latest release;  Live only updates its Lua binaries once per year. Lua is mostly frozen, so this should generally make no difference. Regardless, the distinct LuaMeta engine will be updated multiple times per year in  Live, just like the Cont Standalone Distribution.
  1. The Cont Standalone Distribution permits documents to run arbitrary executables while compiling;  Live attempts to restrict this to a handful of known-safe programs. Note that this is provided as a convenience feature only, and is NOT a security feature. Users must not compile untrusted Cont documents without using external sandboxing mechanisms (Docker, Bubblewrap, systemd-run, etc.).
  1. The Cont Standalone Distribution distributes lexers/themes/plugins for various editors;  Live omits these files since editor support is outside its purview.

Any other differences from the Cont Standalone Distribution are considered bugs, so if you find any deviations in this package, please let me know, and I will fix it for the next release.

Architecture

  1. Every day, my server updates its standalone Cont installation.
  1. Afterwards, the daily-check workflow in this repository runs. It extracts the version number of the current Cont installation, and then attempts to make a corresponding Git tag. If it fails (because the tag already exists), it gracefully exits; if it succeeds, it pushes the tag to this repository.
  1. Whenever a tag is pushed, the make-release workflow in this repository runs. It reorganizes and zips the contents of the Cont standalone distribution into the format expected by  Live. Afterwards, it uploads the .zip files into a new GitHub release.
  1. Whenever a new release is created, GitHub emails me. Then, I will manually download the .zip files from the release and upload them to CTAN.

Note that steps 2 and 3 (where all the important stuff happens) are executed on Woodpecker CI, so the full build logs are publicly available.

Files

A few  Live-specific files for Cont are contained in the files/ directory. Check the comments in each file for more details.

Support and Contributing

If you have a problem with Cont itself, it is best to report it to the official ntg-context@ntg.nl mailing list.

If you notice that Cont is mispackaged in  Live, then please open a new issue on GitHub, email the public ntg-context@ntg.nl or tex-live@tug.org mailing lists, or email me privately at tex@maxchernoff.ca. Pull requests are also gladly accepted.

Installing

Cont is a fairly complex package to install—if at all possible, please use tlmgr ( Live) or mpm (Mik), since manually unpacking and installing the files is error-prone and complicated. But if you insist on installing manually, please refer to INSTALLING.md.

Licence

The vast majority of files in the zip archives originate from Cont itself; please see doc/context/documents/general/manuals/mreadme.pdf for details on their licensing. The files directly contained in this repository are placed in the public domain.

context – The Cont macro package

A full featured, parameter driven macro package, which fully supports advanced interactive documents. See the Cont Wiki for more information.

This content on CTAN is packaged independently of the Cont project, so if you have a problem with Cont itself, it is best to report it to the official ntg-context@ntg.nl mailing list.

If you notice that Cont is mispackaged in  Live or CTAN, then please open a new issue on GitHub, email the public ntg-context@ntg.nl or tex-live@tug.org mailing lists, or email me privately at tex@maxchernoff.ca. Pull requests are also gladly accepted.

Packagecontext
Home pagehttp://www.pragma-ade.nl/
Supporthttps://mailman.ntg.nl/archives/list/ntg-context@ntg.nl/
Repositoryhttps://github.com/contextgarden/context
Version2025-06-12 14:21 A
LicensesFree license not otherwise listed
MaintainerHans Hagen
Contained inTeX Live as context
TopicsFormat
Cont
...
Guest Book Sitemap Contact Contact Author