latex-paper-conversion — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited latex-paper-conversion (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
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.
.tex file and a new template directory.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).
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.
Perform generic fixes on the extracted body text before writing the final file, or in subsequent calls:
\begin{theorem} to \begin{Theorem}).[!t] or [h!]) to template-supported options. Avoid forcing [H] unless the float package is explicitly loaded.\includegraphics paths are relative to the new .tex file location.\begin{tabular} to \begin{tabularx}{\textwidth} or use \resizebox if moving to a double-column layout.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.
\``` 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
.tex and target template.tex.[h!] to [H].\```
pdflatex and verify the .log to ensure the final output compiles.\usepackage{amsmath} if missing).Solution: Detect \begin{tabular} and automatically wrap in \resizebox{\columnwidth}{!}{...} or suggest a format change.
Solution: Search the Paper.log and include the missing \usepackage{} in the converted template.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.