Repository navigation
dsh-tables: a table compiler, and three published tables as its benchmark - #23
Merged
Merged
Conversation
…mark One JSON spec (grouped headers with DERIVED spans, row and column spans, tinted bands, best-value emphasis per column per family, maths) compiles to LaTeX booktabs, Markdown, DOCX and CSV from one resolved grid, plus a PNG of the LaTeX actually setting. The rung ladder is stated every time: t0-spec, t1-grid, t2-data, t3-typeset (pdflatex), t4-drawn (a PNG exists). The reference corpus makes "publication table" testable: three tables from arXiv:2510.14979 rebuilt from their structure, each with a target, a provenance note, an anatomy, an executable rubric and the built artifacts. Host-only: two tools, one skill, no route, no browser half, zero dependencies, and no TeX package installed on demand.
…iler # Conflicts: # ARCHITECTURE.md
The banner carries the counts the tree actually has: the figure compiler and the table compiler are in, with their two skills. The plugin table gains dsh-tables, the dsh-diagrams row names the figure kind, and the capability line names tables.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A fifth plugin: \dsh-tables. One JSON spec compiles to LaTeX (booktabs), Markdown, DOCX and CSV from the same resolved grid, plus a PNG of the LaTeX actually setting.
ow.span\ across,
ow.rowSpan\ down, refused when the covered cells also carry a value.
Corpus
Three tables from arXiv:2510.14979 (vqa-results, dataset-summary, implementation-details), rebuilt from their structure, with provenance, anatomy, executable rubric and built artifacts.
eference/THIRD-PARTY.md\ records the licence and sha256 of each target; deleting one degrades the check to its structural tier.
Checks
ode packages/dsh-tables/checks/check-tables-node.mjs\ — 91 checks: build, determinism, no drift, rubric traced to counts and strings in the real output, DOCX re-read, both tools through a temp workspace, and a real compile to one page.
Also run: \check-node-routes\ (manifest declared), \check-no-secrets, \check-scripts.
Known limits
The LaTeX emitter has no paragraph columns: this host's colortbl breaks \p{}\ with bands, and a band matters more than a wrap. DOCX carries no maths (no OMML) and says so. No tab/route.