2 ms·
Tooling To extract source code from latex requires a 170 line C program. It runs in less than a microsecond. A simple Makefile stanza looks like all: pdf
by daly 7y ago
Tooling
To extract source code from latex requires a 170 line C program. It runs in less than a microsecond. A simple Makefile stanza looks like
all:
pdflatex file.tex
tangle file.tex >file.c
gcc -o file file.c
and, by magic, my PDF ivewer updates with the latest file changes, source and/or code. And, by magic, I have a running program.
And all I had to do was type 'make'