Files
vsun1 27b82c169e
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Add frozen TikZRefinery demo baseline and build pipeline
2026-11-25 22:46:33 -05:00

32 lines
1.4 KiB
Markdown

# Three-box loop demonstration
`loop-boxes.tex` reproduces the loop discussed on October 1, 2026:
```latex
\foreach \x in {0,2,4} {
\draw (\x,0) rectangle ++(1,1);
}
```
With the default TikZ basis, this produces three 1 cm squares whose lower-left
corners are (0,0), (2,0), and (4,0) cm. Each adjacent pair has a 1 cm gap between
its edge centerlines. The same drawing command generates all three instances.
This is a syntax demonstration for later coverage, outside the initial
explicit-coordinate editable subset.
`loop-boxes.dvi` is the requested DVI output from TinyTeX `latex`.
`loop-boxes.png` is its reviewed visual preview, generated through
`dvipdfmx` followed by Poppler rendering. The temporary PDF and compiler
intermediates are reproducible and need not be retained.
The DVI contains PGF specials for the dvipdfmx driver. Use a viewer/converter
that supports those specials; the PNG shows the result of that conversion.
The source also supports normal PDF compilation for inspection in the built-in
LaTeX editor. That separate PDF compilation is not the origin of the PNG.
Rebuild with the shared TinyTeX installation from this directory. Put generated
intermediates under a task-local `work` directory, run `latex`, then convert
its DVI with `dvipdfmx -o <temporary.pdf> <loop-boxes.dvi>`. Review the converted
output before replacing the retained DVI and PNG. There are no bibliography,
glossary, or index passes for this standalone example.