latex-document

Compile LaTeX documents into PDFs using pdflatex, xelatex, or lualatex.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/Tnemo65/template --skill latex-document-tnemo65
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: latex-document
Source: https://github.com/Tnemo65/template/tree/main/.cursor/skills/00-general-skills/latex-document
Command: npx skills add https://github.com/Tnemo65/template --skill latex-document-tnemo65

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the creation, formatting, and conversion of LaTeX documents into ready-to-distribute PDFs, saving researchers and writers hours of manual typesetting.

Core Features & Use Cases

  • Template-driven workflows: Use predefined templates from assets/templates to structure resumes, theses, articles, posters, and reports.
  • Multi-engine compilation: Supports pdflatex, xelatex, and lualatex with automatic engine detection and error handling.
  • Bibliography & references: Built-in BibTeX/biblatex workflows and seamless citation integration.
  • Conversion & export: Convert PDFs to LaTeX, extract figures/tables, and generate PNG previews for quick reviews.
  • Use Case: A graduate student can prepare a thesis by composing in LaTeX, compiling to PDF, and exporting a final manuscript with all references formatted correctly.

Quick Start

Prepare a .tex document and run the compile script to produce a polished PDF.

Frequently Asked Questions about latex-document

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

FAQPage Schema
How do I compile LaTeX to PDF with BibTeX references?▼

To compile LaTeX to PDF with BibTeX references, use the built-in compile pipeline that integrates BibTeX and biblatex workflows, automatically resolving citations to generate a publication-ready PDF.

What is the best way to convert a LaTeX thesis into a publication-grade PDF?▼

The best way to convert a LaTeX thesis into a publication-grade PDF is using a template-driven workflow with predefined structures, which ensures consistent typesetting and automates the formatting process for ready-to-distribute output.

Can I use xelatex and lualatex engines to compile LaTeX documents?▼

Yes, you can use xelatex and lualatex engines to compile LaTeX documents. The skill supports multi-engine compilation with pdflatex, xelatex, and lualatex, featuring automatic engine detection and error handling.

Does this workflow support extracting figures and generating PNG previews from PDFs?▼

Yes, the workflow supports extracting figures and tables from compiled PDFs. It also includes conversion features to generate PNG previews, allowing for quick visual reviews of your LaTeX documents.

Do I need predefined templates to format a LaTeX article or report?▼

You do not strictly need predefined templates to format a LaTeX article or report, but using the provided templates from assets/templates streamlines structuring for theses, resumes, and reports into production-ready output.

Why does LaTeX compilation fail when switching between pdflatex and xelatex?▼

LaTeX compilation can fail when switching engines due to incompatible packages or syntax. The skill handles this by providing automatic engine detection and error handling within its reproducible compile pipeline.