Zum Inhalt springen
Skillpedia
Schreiben48k · #5031

latex-paper-conversion

Was er macht

Dieses Tool hilft dir, eine wissenschaftliche Arbeit, die in LaTeX geschrieben ist, von einem Format in ein anderes zu überführen. Es übernimmt das Kopieren der Inhalte, passt die Formatierung an und behebt Fehler, damit die Arbeit mit der neuen Vorlage funktioniert.

Wann du ihn nutzt

  • ✓Wenn du eine bestehende Arbeit an die Anforderungen einer neuen Fachzeitschrift anpassen musst.
  • ✓Wenn du eine .tex-Datei und eine Vorlage von einer anderen Zeitschrift hast.
  • ✓Wenn du von einem Publikationsformat (wie IPOL) zu einem anderen (wie MDPI) wechseln willst.

Link zum Skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/latex-paper-conversion/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/latex-paper-conversion/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Ich muss meine Arbeit 'my_paper.tex' in das Format der Zeitschrift XYZ umwandeln. Die Vorlage liegt im Ordner 'XYZ_template'.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Das Tool erkennt zuerst deine Ausgangsdatei und die neue Vorlage. Danach extrahiert es Text und Bilder, fügt alles in die neue Vorlage ein und nimmt automatische Anpassungen an der Formatierung vor. Anschließend versucht es, das Dokument zu kompilieren, um sicherzustellen, dass alles korrekt ist.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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 .tex file 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 the float package is explicitly loaded.
  • Ensure \includegraphics paths are relative to the new .tex file location.
  • Convert \begin{tabular} to \begin{tabularx}{\textwidth} or use \resizebox if 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

  1. Analyzes source .tex and target template.tex.
  2. Creates Python script to extract Introduction through Conclusion.
  3. Injects content into MDPI template.
  4. Updates image paths and table float parameters [h!] to [H].
  5. 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 pdflatex and verify the .log to 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.log and 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.
Häufige Fragen

Was ist LaTeX?

LaTeX ist ein Satzsystem, das vor allem für wissenschaftliche und akademische Dokumente wie Arbeiten und Abschlussarbeiten genutzt wird. Anders als bei üblichen Textverarbeitungsprogrammen formatierst du den Text mit Befehlen.

Warum unterscheiden sich die Formate der Zeitschriften?

Jede wissenschaftliche Zeitschrift hat eigene Regeln, wie eine Arbeit aufgebaut sein soll, etwa Seitenränder, Schriftgrößen, Zitierstile und Gliederung. Diese Vorlagen sorgen dafür, dass veröffentlichte Arbeiten optisch einheitlich aussehen.

Behebt das Tool wirklich alle Fehler?

Das Tool versucht, typische Fehler zu beheben, die bei der Umwandlung entstehen, etwa Probleme mit der Tabellenformatierung oder fehlende Pakete. Komplexere oder inhaltsbezogene Fehler brauchen aber möglicherweise trotzdem deine Aufmerksamkeit.

Details

Originalbeschreibung des Autors

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.

repo: sickn33/agentic-awesome-skills

Beliebtheit

GitHub-Sterne
48k
Platz im Ranking
#5031
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills