boxes and glue - TeX’s algorithms re-implemented

A presentation at TUG 2022 by speedata

Title slide

Title slide

What is boxes and glue?

What is boxes and glue?

Why boxes and glue?

Why boxes and glue?

How does this work?

How does this work?

Why LuaTeX in the first place?

Why LuaTeX in the first place?

LuaTeXs limitation

LuaTeXs limitation

Idea: re-implementing TeX

Idea: re-implementing TeX

Idea: re-implementing TeX

Idea: re-implementing TeX

Compatibility with TeX

Compatibility with TeX

Algorithm: hyphenation

Algorithm: hyphenation

Algorithm: hyphenation

Algorithm: hyphenation

Algorithm: hyphenation

Algorithm: hyphenation

Algorithm: hyphenation

Algorithm: hyphenation

Algorithm: hyphenation

Algorithm: hyphenation

Algorithm: hyphenation

Algorithm: hyphenation

Algorithm: hyphenation

Algorithm: hyphenation

Algorithm: hyphenation

Algorithm: hyphenation

I have some design goals for boxes and glue

I have some design goals for boxes and glue

Non design goals

Non design goals

Architecture of boxes and glue

Architecture of boxes and glue

Comparing output of LuaTeX and boxes and glue

Comparing output of LuaTeX and boxes and glue

Comparing output of LuaTeX and boxes and glue

Comparing output of LuaTeX and boxes and glue

Todo...

Todo...

... done

... done

Next steps / outlook

Next steps / outlook

TeX is dead, long live TeX

TeX is dead, long live TeX

“Boxes and glue” is a typesetting library written in the Go programming language. The name is based on the model of TeX with the stretchable spaces between the rectangular units.

This presentation is held at the TUG 2022 conference.

Resources

The following resources were mentioned during the presentation or are useful additional information.