Individual skill

ts-paper-latex

Stage 7 (final assemble + compile) of the ts-paper suite. Assemble drafted LaTeX section bodies + refs.bib + blueprint into a compilable paper in the active TEMPLATE and compile it to PDF. Copies the template's .sty/.cls + assets, runs the deterministic template-driven post-processes (caption position, merge adjacent \cite for numeric styles, canonical headings from the spec, keyword formatting), and compiles once per call; the agent drives a bounded error-fix loop around it. Use to build/compile the final PDF.

skills/ts-paper-latex/SKILL.md

Read pinned source

Source commit c17149def034bc777462de612926c8e3b6d01b8c

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
No
Repository scan complete
No
Skill scan complete
No
Observed behavior
Not checked yet
Last checked
Nov 10, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
1,200
Repository last updated
Aug 22, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# ts-paper-latex — assemble & compile the paper PDF (template-driven)

Turn the finished `sections/<id>.tex` + `refs.bib` + `blueprint.json` into a compiled
`main.pdf`. **This stage never authors or alters content** — no renaming methods/datasets, no
filling result numbers (proposal = blank cells stay blank). It is format + assembly + compile only.

**Template-driven:** `assemble_paper.py` reads `template.json` from the workdir and threads it
through everything — section order + headings, table/figure **caption position**, keyword **cap**,
whether to **merge `\cite`** (numeric templates only), and the **preamble** (the template's own
`main.tex.tmpl`, filled by safe `@@token@@` substitution) + which **`.sty`/`.cls` + assets** to copy.
The default template is `ts_iieta` (two-column IIETA); `neurips` (single-column author-year) is also
bundled and compiles through the *same* script — nothing here is hardcoded to TS. If no `template.json`
is in the workdir it falls back to bundled `ts_iieta` (backward-compatible).
Back to top