latex-paper-conversion
Fungsinya
Alat ini membantu mengonversi makalah ilmiah yang ditulis dengan LaTeX dari satu format ke format lain. Alat ini mengotomatiskan penyalinan konten, menyesuaikan format, dan memperbaiki kesalahan agar makalah bisa berfungsi dengan template baru.
Kapan dipakai
- ✓Saat Anda perlu menyesuaikan makalah yang sudah ada dengan persyaratan jurnal baru.
- ✓Saat Anda memiliki file .tex dan template dari jurnal lain.
- ✓Saat Anda ingin beralih dari satu format publikasi (seperti IPOL) ke format lain (seperti MDPI).
Link skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/latex-paper-conversion/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Saya perlu mengonversi makalah saya 'my_paper.tex' ke format jurnal XYZ, yang ada di folder 'XYZ_template'.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Alat ini pertama-tama mengidentifikasi file asli Anda dan template baru. Lalu, alat ini mengekstrak teks dan gambar, memasukkan semuanya ke dalam template baru, melakukan penyesuaian format otomatis, dan mencoba mengompilasi dokumen untuk memastikan semuanya sudah benar.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.
Pertanyaan umum
Apa itu LaTeX?
LaTeX adalah sistem pemformatan teks yang terutama digunakan untuk membuat dokumen ilmiah dan akademik seperti makalah dan tesis. Berbeda dengan pengolah kata biasa, Anda memformat teks menggunakan perintah.
Mengapa format jurnal berbeda-beda?
Setiap jurnal ilmiah punya aturan sendiri tentang cara menyajikan makalah, termasuk margin, ukuran font, gaya sitasi, dan susunan bagian. Template ini memastikan tampilan yang seragam di seluruh makalah yang diterbitkan.
Apakah alat ini akan memperbaiki semua kesalahan?
Alat ini berusaha memperbaiki kesalahan umum yang muncul saat konversi, seperti masalah format tabel atau paket yang hilang. Namun, kesalahan yang lebih kompleks atau yang berkaitan dengan isi tetap mungkin memerlukan perhatian Anda.
Detail
Deskripsi asli dari pembuat
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.
Popularitas
- Bintang GitHub
- 48k
- Peringkat
- #5031
- Lisensi
- MIT
- Diperbarui
- 15/10/2026
Komentar
- …
Skill lain dari repositori ini
00-andruia-consultant
48kMembantu agent Anda memulai atau meningkatkan proyek AI. Agent menganalisis kode, menyarankan tools, dan membuat rencana aksi dalam bahasa Spanyol.
007
48kMemungkinkan agent Anda melakukan audit keamanan dan threat modeling. Berguna untuk melindungi proyek dari serangan dan celah keamanan.
10-andruia-skill-smith
48kMembantu agent Anda membuat atau meningkatkan tools AI. Agent mendefinisikan cara kerja tools, menulis dokumentasi, dan memvalidasi strukturnya.
20-andruia-niche-intelligence
48kMemungkinkan agent Anda membuat ringkasan industri tertentu. Berguna untuk memahami konteks, aturan, pola penggunaan, dan risiko proyek dengan sumber terpercaya.
Skill serupa
obsidian-vault-maintainer
394kMembantu agent Anda merapikan vault memori yang ramah Obsidian, dengan tautan wiki berfungsi, properti konsisten, dan bagian otomatis yang aman.
wiki-maintainer
394kMembantu agent Anda memelihara wiki memori OpenClaw dengan halaman yang dapat diulang, blok terkelola yang aman, dan pemeriksaan kontradiksi atau celah.
obsidian
394kMemungkinkan agent Anda membaca, mencari, membuat, dan mengedit catatan, tugas, tautan, dan properti Obsidian memakai baris perintah resmi Obsidian.