latex-paper-conversion
यह क्या करती है
यह टूल LaTeX में लिखे वैज्ञानिक पेपर को एक फॉर्मेट से दूसरे फॉर्मेट में बदलने में मदद करता है। यह सामग्री को अपने आप कॉपी करता है, formatting ठीक करता है और गलतियां सुधारता है, ताकि पेपर नए टेम्पलेट में सही काम करे।
कब इस्तेमाल करें
- ✓किसी मौजूदा पेपर को नए जर्नल की जरूरतों के हिसाब से ढालने के लिए।
- ✓जब आपके पास .tex फाइल और किसी दूसरे जर्नल का टेम्पलेट हो।
- ✓जब आप एक प्रकाशन फॉर्मेट (जैसे IPOL) से दूसरे (जैसे MDPI) पर जाना चाहते हों।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/latex-paper-conversion/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मुझे अपनी फाइल 'my_paper.tex' को XYZ जर्नल के फॉर्मेट में बदलना है, जो 'XYZ_template' फोल्डर में है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल पहले आपकी मूल फाइल और नए टेम्पलेट को पहचानता है। फिर वह टेक्स्ट और इमेज निकालता है, उन्हें नए टेम्पलेट में डालता है, formatting में अपने आप बदलाव करता है और यह सुनिश्चित करने के लिए दस्तावेज़ को compile करने की कोशिश करता है कि सब सही है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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.
अक्सर पूछे जाने वाले सवाल
LaTeX क्या है?
LaTeX एक टेक्स्ट formatting सिस्टम है, जिसका इस्तेमाल मुख्य रूप से पेपर और थीसिस जैसे वैज्ञानिक व अकादमिक दस्तावेज़ बनाने में होता है। यह आम वर्ड प्रोसेसर से अलग है, क्योंकि इसमें formatting के लिए कमांड लिखे जाते हैं।
जर्नल के फॉर्मेट अलग-अलग क्यों होते हैं?
हर वैज्ञानिक जर्नल का अपना नियम होता है कि पेपर कैसा दिखे, जैसे margins, font size, citation style और सेक्शन का क्रम। ये टेम्पलेट प्रकाशित पेपरों में एक जैसा रूप बनाए रखते हैं।
क्या टूल सारी गलतियां ठीक कर देगा?
टूल बदलाव के दौरान आने वाली आम गलतियां ठीक करने की कोशिश करता है, जैसे table की formatting की समस्या या missing packages। लेकिन ज्यादा जटिल या सामग्री से जुड़ी गलतियों पर आपका ध्यान देना जरूरी हो सकता है।
जानकारी
लेखक का मूल विवरण
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.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #5031
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
obsidian-vault-maintainer
394kयह आपके एजेंट को Obsidian के अनुकूल मेमोरी vault व्यवस्थित रखने देती है, जिसमें काम करने वाले wiki लिंक, एक जैसी properties और सुरक्षित जेनरेटेड सेक्शन हों।
wiki-maintainer
394kयह आपके एजेंट को OpenClaw मेमोरी wiki दोहराए जा सकने वाले पेजों, सुरक्षित मैनेज्ड ब्लॉक्स और विरोधाभास या कमियों की जांच के साथ संभालने देती है।
obsidian
394kयह आपके एजेंट को आधिकारिक Obsidian कमांड-लाइन से Obsidian नोट्स, टास्क, लिंक और properties पढ़ने, खोजने, बनाने और बदलने देती है।