{"id":23098858,"url":"https://github.com/radionoisee/apltex","last_synced_at":"2026-02-05T23:01:18.780Z","repository":{"id":269244861,"uuid":"903794194","full_name":"RadioNoiseE/apltex","owner":"RadioNoiseE","description":"Tiny TeX distribution built on Web2C and LuaTeX.","archived":false,"fork":false,"pushed_at":"2025-10-01T15:19:59.000Z","size":4831,"stargazers_count":12,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-01T16:37:28.339Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://kekkan.org/article/apltex-dist.xml","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RadioNoiseE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-15T15:25:45.000Z","updated_at":"2025-10-01T15:20:03.000Z","dependencies_parsed_at":"2025-10-01T16:37:12.099Z","dependency_job_id":null,"html_url":"https://github.com/RadioNoiseE/apltex","commit_stats":null,"previous_names":["radionoisee/apltex"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/RadioNoiseE/apltex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadioNoiseE%2Fapltex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadioNoiseE%2Fapltex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadioNoiseE%2Fapltex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadioNoiseE%2Fapltex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RadioNoiseE","download_url":"https://codeload.github.com/RadioNoiseE/apltex/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RadioNoiseE%2Fapltex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29137750,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T22:49:08.052Z","status":"ssl_error","status_checked_at":"2026-02-05T22:45:32.059Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kpathsea","luatex","tex","web2c"],"created_at":"2024-12-16T23:10:04.071Z","updated_at":"2026-02-05T23:01:18.767Z","avatar_url":"https://github.com/RadioNoiseE.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\naplTeX is a minimal TeX distribution built on LuaTeX and Web2C. It includes:\n\n- **Engine**: Statically linked LuaTeX compiled with HarfBuzz and Lua5.3.\n- **Fonts**: TFM and Type1 (Computer Modern, AMSFonts, Manual fonts).\n- **Format**: Unicode aware plain-LuaTeX (original `plain.tex` modified for eTeX, pdfTeX and LuaTeX).\n\nAll packed into just 12.6MB.\n\nBasically this is for TeXnicians who need a small, self-contained modern TeX setup. This has nothing to do with the A Programming Language.\n\n## Installation\n\nTested on Darwin (Sequoia) and Linux (Gentoo), aplTeX has minimal dependencies:\n\n- **Make**: Tested with GNU Make.\n- **Clang**: Other C compilers require slight edits to [`comp.sh`](https://github.com/RadioNoiseE/apltex/blob/main/luatex/comp.sh).\n- **Git**: Required to pull the LuaTeX source tree.\n\n### Procedure\n\n1. **Build**: Run `./make/build.sh` to create the `texmf` directory containing the engine, fonts, and dumped format.\n2. **Install**: Use `./make/install.sh` to move `texmf` to `/usr/local/lib` and install the LuaTeX executable.\n   - NB, you can actually put `texmf` anywhere on your disk, but its name should not be changed, and you are recommended to symlink the `texmf/web2c/luahbtex` executable to your `$PATH`.\n3. **Clean (Optional)**: Run `./make/clean.sh` to remove the built `texmf` directory, locks for compile-time directories, and various logs.\n\nDo not run the scripts as root as you will be prompted during installation to grant access when necessary.\n\n## Post-Installation\n\nLook in the [releases](https://github.com/RadioNoiseE/apltex/releases) page for some useful packaged and ready-to-use macros to support OpenType fonts, diagram drawing with the builtin MetaPost library, etc.\n\nYou can also manually add packages or formats. The directory structure looks like:\n\n```\ntexmf\n├── fonts               % place to drop font-related things\n│   ├── map\n│   ├── tfm\n│   ├── ofm\n│   ├── vf\n│   ├── ovf\n│   ├── type1\n│   ├── truetype\n│   └── opentype\n├── generic             % TeX macros, Lua scripts, etc\n├── metapost            % MetaPost macros, inputs, etc\n└── web2c               % engine executables, TEXMF configuration, dumped formats\n    ├── luahbtex\n    ├── luatex.fmt\n    └── texmf.cnf\n```\n\n## Details\n\n### Kpathsea Configuration\n\naplTeX uses a modified TeX and MetaFont directory tree structure, differing from the standard TDS slightly:\n\n- **Compile-time**: `luatex/texmf.in`.\n- **Run-time**: `web2c/texmf.cnf`.\n\nUnlike typical TeX setups, aplTeX doesn't use `ls-R` databases due to its relatively small file count. This eliminates extra executables and simplifies updates.\n\n### Format \u0026 Font Maps\n\naplTeX uses `luatex.map` for font mapping, which is more intuitive compared to the default `pdftex.map`. The dumped format includes a `\\everyjob` hook to force this behavior.\n\n## Misc\n\nFor questions or inquiries, feel free to open an issue or contact me via email.\n\n## License\n\nThis project is licensed under the Clause-3 BSD License. The current version is `2.0.1`.\n\nSome files under the directory `amsfonts` and `fmtdump` as well as the in distributed `dist.tar.gz` are provided as-is, subject to their respective licenses. Refer to the `readme.txt` files under these directories.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradionoisee%2Fapltex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradionoisee%2Fapltex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradionoisee%2Fapltex/lists"}