# Typesetting

- Page: https://shared.btbytes.com/p/typesetting
- Date: 2022-11-02
- Tags: typesetting

## Typesetting systems

[Polytype – Home](https://polytype.dev/) -- <q>A Rosetta stone for typesetting engines. This project's goal is to provide a chrestomathy for typesetting similar to what [Rosetta Code](https://rosettacode.org/wiki/Rosetta_Code) does for programming languages. The samples here are designed to compare and/or contrast the approaches taken to various typesetting situations by different typesetting engines.</q>

### Classic

- [SILE typesetter](https://sile-typesetter.org/)
- [Mom - Macros for GNU troff](http://www.schaffter.ca/mom/)
- [Lout](http://web.archive.org/web/20220509173208/https://en.wikipedia.org/wiki/Lout_(software)); [github](https://github.com/william8000/lout) - new maintainer.

### New

[Typst: Compose papers faster](https://typst.app/)

* Based off this research work - [Fast Typesetting with Incremental Compilation](http://web.archive.org/web/20221022111033/https://www.user.tu-berlin.de/mhaug/fast-typesetting-incremental-compilation.pdf) PDF
* [github repos](https://github.com/typst)

---

See also: [A Quick How-to on using LuaTeX with ConTeXt](https://www.btbytes.com/code/using-luatex-in-context-a-primer),  [pandoc](https://shared.btbytes.com/p/pandoc), [typesetting](https://shared.btbytes.com/p/typesetting), [groff](https://shared.btbytes.com/p/groff).

## PDF

[pdf.tocgen](https://krasjet.com/voice/pdf.tocgen/) is a set of command-line tools for automatically extracting and generating the table of contents (ToC) of a pdf file. It uses the embedded font attributes and position of headings to deduce the basic outline of a pdf file.
