Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
Fix common MNRAS LaTeX portability issues on Ubuntu/Debian TeX Live installs, compile successfully, and package submission artifacts.
Overview
This skill contains a reusable operational workflow. Follow the existing task-specific steps and examples in the sections below.
Verification
Confirm required inputs and credentials are available.
Run the smallest safe command or example before scaling up.
Check produced files, API responses, or plots before reporting success.
Use this when an MNRAS manuscript fails to compile on a typical Ubuntu/Debian TeX Live environment, especially after adapting a generic article into MNRAS.
When this skill applies
The user has an .tex manuscript intended for MNRAS.
The document compiles poorly or fails due to missing font packages.
The paper was converted from a generic article class into mnras.
The user wants a submission-style package (main.tex, references.bib, helper files) and a compiled PDF.
Key lessons learned
1. Avoid newtxtext,newtxmath for portability unless you know the environment has them
A common failure on Ubuntu/Debian is:
! LaTeX Error: File 'newtxtext.sty' not found.
If the goal is successful compilation rather than exact Times-like typography, remove:
This makes the paper easier to compile, easier to maintain, and closer to a real submission package.
4. After BibTeX conversion, expect multiple latexmk passes
Use:
latexmk -pdf -interaction=nonstopmode main.tex
latexmk may need multiple BibTeX + pdflatex rounds before citations settle. Do not stop after the first pass if the PDF already exists but references are unresolved.
5. Treat warnings differently from fatal errors
Typical non-fatal warnings:
underfull/overfull hboxes
font substitution warnings
duplicate table destination warnings from float movement
Typical fatal blockers that need edits:
missing .sty files
longtable not in 1-column mode
unresolved bibliography due to missing .bbl generation
A PDF can be acceptable for review even with the first category of warnings.