Skip to content

Instantly share code, notes, and snippets.

@texdraft
texdraft / texs.diff
Created August 13, 2019 19:21
diff oldtex.web tex.web
This file has been truncated, but you can view the full file.
2,4c2,3
< \def\glob{13} % this should be the section number of "<Globals...>"
< \def\gglob{20, 26} % this should be the next two sections of "<Globals...>"
< This is \TeX, a document compiler intended to produce high-quality typesetting.
---
> This is \TeX, a document compiler intended to produce typesetting of high
> quality.
9c8
< will be obtainable on a great variety of different computers.
---
@texdraft
texdraft / go.tex
Last active August 12, 2019 23:54
Sketching goto in TeX (with a bonus at the end)
% Towards goto in plain TeX.
% This works in LaTeX (after adding \documentclass and
% \begin{documen} too.
% Surely this would have more legitimacy if it were wrapped in a snazzy macro
% that let you say \goto and not manually set the program counter.
% E.g.:
%
% \tagbody{ % (homage to Common Lisp)
% \label\A