latex-scaffold

Solid

Scaffold a LaTeX project (`latex/main.tex`, optional bibliography wiring, structure) from an existing Markdown draft. **Trigger**: latex scaffold, md→tex, LaTeX 项目骨架, 生成 main.tex. **Use when**: 需要 LaTeX/PDF 交付(例如 arxiv-survey-latex pipeline),且 draft 已生成/已进入写作阶段。

Data & Documents 498 stars 39 forks Updated today

Install

View on GitHub

Quality Score: 81/100

Stars 20%
90
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
0
Description 5%
100

Skill Content

# LaTeX Scaffold Convert the approved Markdown draft into a minimal, buildable LaTeX project. This is a deterministic conversion step; prose quality should already be addressed in `output/DRAFT.md`. ## Inputs - `output/DRAFT.md` or `output/TUTORIAL.md` - optional: `citations/ref.bib` ## Outputs - `latex/main.tex` (and any required LaTeX support files) ## Layout policy The machine-readable layout contract lives in `assets/layout_profiles.json`. The default profile uses a 1in A4 margin, includes a table of contents, and may split large tables. The bounded `course_paper` profile uses a documented 0.9in A4 margin, omits the table of contents, keeps a compact table whole when possible, and sets only the bibliography in `\small`. Body text remains 11pt. This profile is intended to respect an explicit page range, not to manufacture substantive completeness by shrinking the paper. ## Workflow 1. Create `latex/` directory if missing. 2. Create `latex/main.tex` with sections matching the outline. 3. Wire bibliography to `citations/ref.bib` when that file exists. ## Quality checklist - [ ] `latex/main.tex` exists. - [ ] If `citations/ref.bib` exists, `latex/main.tex` references it. ## Script ### Quick Start - `uv run python .codex/skills/latex-scaffold/scripts/run.py --help` - `uv run python .codex/skills/latex-scaffold/scripts/run.py --workspace <workspace>` ### All Options - See `--help` (inputs/outputs are taken from the unit runner when used via pipeline) ### Examp...

Details

Author
WILLOSCAR
Repository
WILLOSCAR/research-units-pipeline-skills
Created
7 months ago
Last Updated
today
Language
Python
License
None

Similar Skills

Semantically similar based on skill content — not just same category