latex-scaffold

Featured

Convert an existing Markdown manuscript draft into a buildable LaTeX project with canonical structure and build configuration. Use when prose already exists but no LaTeX source tree does. Not for checking template drift in an existing project; use $latex-template.

Data & Documents 144 stars 27 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 93/100

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

Skill Content

# LaTeX Scaffold Convert an approved Markdown draft into a minimal, compilable LaTeX project. This is a **deterministic format conversion** — prose quality should already be addressed in the source draft. ## When to Use - Converting a literature review, survey, or report from Markdown to LaTeX for PDF output - Turning meeting notes or drafts into a formatted document - Bootstrapping a LaTeX project from an existing outline - Any time you need md→tex without rewriting content ## Inputs - A Markdown file (`.md`) — the draft to convert - A `.bib` file (optional) — if the draft contains citations ## Outputs - A `.tex` file ready to compile with `latex` - The fail-closed canonical `.latexmkrc` if one does not already exist. Invoke the `latex` pre-flight to copy the canonical artifact; never synthesize selected directives. --- ## Workflow ### Step 1: Analyse the Draft Read the Markdown file and inventory: - Heading structure (determine `\section` / `\subsection` depth) - Citations (`[@Key]` or `[@Key1; @Key2]` patterns) - Tables (Markdown pipe tables) - Math blocks (`$...$` inline, `$$...$$` display) - Figures (`![caption](path)`) - Code blocks (fenced with language) - Whether an abstract section exists ### Step 2: Create the LaTeX File Apply these conversion rules: | Markdown | LaTeX | |----------|-------| | `# Title` (first H1) | `\title{...}` | | `## Section` | `\section{...}` | | `### Subsection` | `\subsection{...}` | | `#### Subsubsection` | `\subsubsection{...}...

Details

Author
flonat
Repository
flonat/flonat-research
Created
7 months ago
Last Updated
3 days ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category