latex-scaffold

Convert Markdown drafts into LaTeX projects with bibliography wiring.

497|38|Updated Jan 7, 2026
One-click install
npx skills add https://github.com/WILLOSCAR/research-units-pipeline-skills --skill latex-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: latex-scaffold
Source: https://github.com/WILLOSCAR/research-units-pipeline-skills/tree/main/.codex/skills/latex-scaffold
Command: npx skills add https://github.com/WILLOSCAR/research-units-pipeline-skills --skill latex-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation of a basic LaTeX project structure, including the main .tex file and bibliography wiring, from an existing Markdown draft.

Core Features & Use Cases

  • Markdown to LaTeX Conversion: Converts Markdown headings, citations, and basic formatting into LaTeX equivalents.
  • Bibliography Setup: Automatically links the LaTeX document to a citations/ref.bib file.
  • Use Case: When you have a research paper draft in Markdown and need to produce a PDF output using LaTeX, this Skill sets up the foundational LaTeX files for you.

Quick Start

Run the latex scaffold command to generate a LaTeX project from your markdown draft.

Frequently Asked Questions about latex-scaffold

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a Markdown document to LaTeX for PDF output?

To convert Markdown to LaTeX, this Skill scaffolds a complete LaTeX project by translating headings, citations, and inline formatting into LaTeX equivalents and wiring the bibliography, which you can then compile for PDF output.

Does Markdown to LaTeX conversion handle CJK content?

Yes, Markdown to LaTeX conversion handles CJK content by automatically switching the document class to ctexart, ensuring Chinese, Japanese, and Korean characters render correctly in the generated PDF.

What is the best way to set up a bibliography from Markdown citations?

The best way to set up a bibliography from Markdown citations is to automatically link the generated LaTeX document to a citations/ref.bib file, matching your Markdown citations to the corresponding BibTeX entries.

How do I generate a LaTeX project structure from an existing draft?

You generate a LaTeX project structure from an existing draft by running a scaffolding command, which creates the main.tex file and bibliography wiring based on your Markdown document and ref.bib file.

What Markdown elements are supported for LaTeX conversion?

Supported Markdown elements for LaTeX conversion include headings, citations, tables, and inline formatting, all of which are mapped to their appropriate LaTeX counterparts during the project scaffolding process.

Do I need a ref.bib file to scaffold a LaTeX project from Markdown?

Yes, you need a ref.bib file placed in the citations directory to properly wire the bibliography, as the scaffolding process links the generated LaTeX document directly to this specific file path.