latex-paper-conversion
Qué hace
Esta herramienta te ayuda a convertir un artículo científico escrito en LaTeX de un formato a otro. Automatiza la copia del contenido, ajusta el formato y corrige errores para que el artículo funcione con la nueva plantilla.
Cuándo usarla
- ✓Cuando necesitas adaptar un artículo existente a los requisitos de una nueva revista.
- ✓Cuando tienes un archivo .tex y una plantilla de otra revista.
- ✓Cuando quieres pasar de un formato de publicación (como IPOL) a otro (como MDPI).
Link de la skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/latex-paper-conversion/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Necesito convertir mi artículo 'mi_articulo.tex' al formato de la revista XYZ, que está en la carpeta 'plantilla_XYZ'.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Primero la herramienta identifica tu archivo original y la nueva plantilla. Después extrae el texto y las imágenes, los inserta en la nueva plantilla, hace ajustes automáticos de formato e intenta compilar el documento para comprobar que todo está bien.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
LaTeX Paper Conversion
Overview
This skill automates the tedious and recurring process of converting an academic paper written in LaTeX from one publisher's template to another. Different journals (e.g., Springer, MDPI, IEEE) have vastly different structural requirements, document classes, margin settings, and bibliography styles. This skill streamlines these conversions by executing a structured multi-stage workflow, extracting content, mapping it to a new template, and resolving common compilation errors.
When to Use This Skill
- Use when the user requests to port an existing LaTeX paper to a new journal's format.
- Use when the user provides an existing
.texfile and a new template directory. - Use when the user mentions converting from format A (e.g., IPOL/Neural Processing) to format B (e.g., MDPI).
How It Works
Step 1: Pre-requisites & Assessment
Identify the Source LaTeX file and asking the user for the Target Template Directory. Understand the core layout mapping (single-column vs. double-column, bibliography style).
Step 2: Extraction & Injection Script Generation
Create a Python script (e.g., convert_format.py) to parse the source LaTeX file. Use Regular Expressions to extract core text blocks. Merge the new template's preamble, the extracted body, and the backmatter. Write this to a new file in an output directory.
Step 3: Systematic Fixing
Perform generic fixes on the extracted body text before writing the final file, or in subsequent calls:
- Convert math environment cases (e.g.,
\begin{theorem}to\begin{Theorem}). - Adjust aggressive float placements (e.g.,
[!t]or[h!]) to template-supported options. Avoid forcing[H]unless thefloatpackage is explicitly loaded. - Ensure
\includegraphicspaths are relative to the new.texfile location. - Convert
\begin{tabular}to\begin{tabularx}{\textwidth}or use\resizeboxif moving to a double-column layout.
Step 4: Compilation & Debugging
Run a build cycle (pdflatex -> bibtex -> pdflatex). Check the .log file using grep or rg to systematically fix any packages conflicts, undefined commands, or compilation halts.
Examples
Example 1: Converting IPOL to MDPI
``` USER: "I need to convert my paper 'SAHQR_Paper.tex' to the MDPI format located in the 'MDPI_template_ACS' folder." AGENT: Triggers latex-paper-conversion skill
- Analyzes source
.texand targettemplate.tex. - Creates Python script to extract Introduction through Conclusion.
- Injects content into MDPI template.
- Updates image paths and table float parameters
[h!]to[H]. - Compiles via pdflatex and bibtex to confirm zero errors. ```
Best Practices
- ✅ Always write a Python extraction script; DO NOT manually copy-paste thousands of lines of LaTeX.
- ✅ Always run
pdflatexand verify the.logto ensure the final output compiles. - ✅ Explicitly ask the user for the structural mapping if the source and target differ drastically (e.g., merging abstract and keywords).
- ❌ Don't assume all math packages automatically exist in the new template (e.g., add
\usepackage{amsmath}if missing).
Common Pitfalls
- Problem: Overfull hboxes in tables when moving from single to double column.
Solution: Detect
\begin{tabular}and automatically wrap in\resizebox{\columnwidth}{!}{...}or suggest a format change. - Problem: Undefined control sequence errors during compilation.
Solution: Search the
Paper.logand include the missing\usepackage{}in the converted template.
Additional Resources
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Preguntas frecuentes
¿Qué es LaTeX?
LaTeX es un sistema de composición de textos que se usa sobre todo para crear artículos científicos, académicos y tesis. Es distinto de los procesadores de texto habituales, porque das formato al texto mediante comandos.
¿Por qué los formatos de las revistas son distintos?
Cada revista científica tiene sus propias normas sobre cómo debe presentarse un artículo, incluyendo márgenes, tamaños de letra, estilos de citas y organización de las secciones. Estas plantillas garantizan que los artículos publicados tengan un aspecto uniforme.
¿La herramienta corregirá todos los errores?
La herramienta intenta corregir los errores habituales que aparecen en la conversión, como problemas de formato en las tablas o paquetes que faltan. Sin embargo, los errores más complejos o relacionados con el contenido todavía pueden requerir tu atención.
Detalles
Descripción original del autor
This skill should be used when the user asks to convert an academic paper in LaTeX from one format (e.g., Springer, IPOL) to another format (e.g., MDPI, IEEE, Nature). It automates extraction, injection, fixing formatting, and compiling.
Popularidad
- Estrellas en GitHub
- 48 mil
- Posición en el ranking
- #5031
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
00-andruia-consultant
48 milAyuda a tu agente a iniciar o mejorar proyectos de IA. Analiza código, sugiere herramientas y crea planes de acción en español.
007
48 milPermite que tu agente realice auditorías de seguridad y modelado de amenazas. Es útil para proteger proyectos contra ataques y vulnerabilidades.
10-andruia-skill-smith
48 milAyuda a tu agente a crear o mejorar herramientas de IA. Define cómo funcionan, escribe la documentación y valida la estructura.
20-andruia-niche-intelligence
48 milPermite que tu agente cree un resumen de un sector específico. Es útil para entender su contexto, normas, patrones de uso y riesgos, usando fuentes fiables.
Skills parecidas
obsidian-vault-maintainer
394 milAyuda a tu agente a mantener ordenado un almacén de memoria compatible con Obsidian, con enlaces de wiki que funcionan, propiedades coherentes y secciones generadas seguras.
wiki-maintainer
394 milAyuda a tu agente a mantener una wiki de memoria de OpenClaw con páginas repetibles, bloques gestionados seguros y comprobaciones de contradicciones o huecos.
obsidian
394 milPermite que tu agente lea, busque, cree y edite notas, tareas, enlaces y propiedades de Obsidian con la línea de comandos oficial de Obsidian.