latex-document

Generate LaTeX source, compile to PDF, and produce PNG previews.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/datamonsterr/mycoai_projects --skill latex-document-datamonsterr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: latex-document
Source: https://github.com/datamonsterr/mycoai_projects/tree/main/.opencode/skills/latex-document
Command: npx skills add https://github.com/datamonsterr/mycoai_projects --skill latex-document-datamonsterr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires matplotlib, numpy, pandas, jinja2, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This skill automates the creation of publication-ready LaTeX documents from plain content, notes, or data, handling templates, formatting, and compilation end-to-end.

Core Features & Use Cases

  • Template-driven document types: resumes, theses, reports, academic papers, presentations, posters, invoices, and more.
  • Automated compilation pipeline: auto-detects engines (pdflatex/xelatex/lualatex), runs BibTeX/biber, and resolves cross-references with multiple passes.
  • Data-to-TeX capabilities: charts, tables, citations, and BibTeX integration; PDF-to-LaTeX conversion for OCR/handwritten notes; PNG previews for quick review.
  • End-to-end workflow: generate source, compile to PDF, produce PNG previews, and provide templated outputs ready for publication.

Quick Start

Describe your document type and content, and the skill will generate a LaTeX source, compile it to PDF, and return PNG previews.

Frequently Asked Questions about latex-document

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

FAQPage Schema
How do I automate converting plain text notes into publication-ready LaTeX documents?

Automating LaTeX document generation involves applying template-driven formatting to plain content and compiling it to PDF. This skill handles resumes, theses, and reports end-to-end, including engine auto-detection and multi-pass compilation for cross-references.

Can I generate LaTeX tables and charts directly from my data?

Yes, generating LaTeX tables and charts directly from data is supported through integrated data-to-TeX capabilities. It leverages dependencies like pandas and matplotlib to process your data and embed visualizations into the final publication-ready document.

Does the LaTeX compilation pipeline handle BibTeX and biber for citations?

The LaTeX compilation pipeline fully handles citations by running BibTeX and biber automatically. It detects the appropriate engine, resolves bibliographies, and ensures cross-references are correctly updated through multiple compilation passes.

What is the best way to convert a PDF or handwritten notes into LaTeX source?

The best way to convert PDFs or handwritten notes into LaTeX source is using the built-in PDF-to-LaTeX conversion feature. This process extracts content via OCR and outputs editable LaTeX source code ready for compilation.

How do I preview my LaTeX document outputs without opening a PDF viewer?

You can preview LaTeX outputs directly through automated PNG generation. After compiling the LaTeX source to PDF, the skill produces PNG images of the document pages for quick visual review within your current environment.

When should I use xelatex versus pdflatex for my document typesetting?

Engine selection for document typesetting is handled automatically by detecting document requirements. The pipeline auto-detects and switches between pdflatex, xelatex, and lualatex to ensure proper font rendering and compilation success.