{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "libnyx-lt2md--convert-scanned-pdf-to-traceable-markdown",
 "repo": "libnyx/LT2MD",
 "repo_url": "https://github.com/libnyx/LT2MD",
 "repo_slug": "libnyx-lt2md",
 "title": "Convert a scanned PDF to Markdown with page labels",
 "page_title": "How to convert a scanned PDF to Markdown with page labels with LT2 MD",
 "summary": "Turn a scanned or formula-heavy PDF into Markdown where every block shows its source page.",
 "who": "A graduate student or researcher with an old book, archive, or scanned report that has no text layer, and needs text they can cite by page.",
 "problem": "Ordinary extraction returns nothing from scans, and plain OCR misreads formulas and figure labels without showing where a sentence came from.",
 "outcome": "A Markdown file for the chosen page range, with formulas kept, figures described beside their captions, every block labeled with its PDF page, and transcription notes where the page is unclear.",
 "steps": [
  "Clone the skill into your agent's skills directory, for example `git clone https://github.com/libnyx/LT2MD.git ~/.claude/skills/LT2MD` on macOS or Linux with Claude Code.",
  "Start your agent and send it the conversion request with the PDF path and the page range.",
  "Ask the agent to keep formulas, describe every figure next to its caption, and add transcription notes where text is unclear.",
  "Wait for the batch-by-batch run to finish and the validator to report.",
  "Open the Markdown and check the handled range, the validation result, and every transcription note before using it."
 ],
 "agent_prompt": "Use the LT2MD skill in the libnyx/LT2MD repo to convert pages <page range> of <path to scanned PDF> to Markdown. Keep formulas, write an image description beside every figure, label each block with its PDF page number, add transcription notes where anything is unclear, and run the validator. Expected output: one Markdown file plus a summary of the validator result; verify that the page labels match the source pages.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "LT2 MD does not promise OCR is always right, so check the transcription notes and go back to the source page for any critical detail.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "Python installed on Windows, Linux, or macOS",
  "git installed to clone the repository",
  "A supported AI agent that can load the skill (the README names Claude Code and Codex)",
  "The PDF file to convert, with the page range you want",
  "A host model that can understand images, since transcription quality depends on it"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/libnyx-lt2md/convert-scanned-pdf-to-traceable-markdown/",
 "md": "https://dedupedai.com/use-cases/libnyx-lt2md/convert-scanned-pdf-to-traceable-markdown/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/libnyx-lt2md--convert-scanned-pdf-to-traceable-markdown.json",
 "api_version": "v1"
}
