manuscript-formatting
/manuscript-formatting
Formatuje rękopis do złożenia w czasopiśmie: szablon LaTeX, bibliografię w BibTeX, limity stron i listę kontrolną wytycznych.
- Autor
- raoofaltaher ↗
- Repozytorium
- science-ultrapowers ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 09.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 6
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/semantic_breaks.py
Co robi i kiedy
Formatuje rękopis do złożenia w czasopiśmie: szablon LaTeX, bibliografię w BibTeX, limity stron i listę kontrolną wytycznych.
Wyzwalacze z opisu
Oryginalny opis (EN)
Use this skill for \"format manuscript\", \"prepare for submission\", \"journal formatting\", \"LaTeX template\", \"submission checklist\", \"format references\", \"BibTeX\", \"author guidelines\", \"page limits\", \"format for Nature\", \"format for IEEE\", or when the user wants to format a manuscript for journal submission.
Jak działa
- When to Use
- Common Journal Formats
- LaTeX Essentials
- Submission Checklist
- Format Conversion
- Semantic Line Breaks
- Additional Resources
Podgląd SKILL.md
---
name: manuscript-formatting
description: "Use this skill for \"format manuscript\", \"prepare for submission\", \"journal formatting\", \"LaTeX template\", \"submission checklist\", \"format references\", \"BibTeX\", \"author guidelines\", \"page limits\", \"format for Nature\", \"format for IEEE\", or when the user wants to format a manuscript for journal submission."
version: 0.3.0
---
> **LAB ADDENDUM (binding).** Adopted third-party skill: `neuromechanist/research-skills` @ `f0219bde233a` (BSD-3-Clause). Where anything below conflicts with the lab's rules, the lab's rules win.
>
> 1. **Evidence rule wins.** Facts and citations come only through `science-ultrapowers:verifying-evidence-by-doi` (peer-reviewed, DOI matched through Crossref, full text read, evidence record). Never cite from web search, model memory or preprints.
> 2. **Records.** Numbers and results come only from `science-ultrapowers:recording-findings` (FND-ids, `KEY_RESULTS.md`); work moves through the `science-ultrapowers:running-the-lab` stage approvals.
> 3. **No pre-approved tools.** Any upstream `allowed-tools` grant was removed from this copy, so normal permission prompts apply.
> 4. **Not installed in this lab:** `docx` -> not installed (license conflict); edit .docx with python-docx only if needed; `humanizer` -> not installed (research-integrity policy): authors edit prose themselves and disclose AI assistance.
> 5. **Windows:** where this skill says `python3`, run `python` with `-B`.
> 6. **Tools in Claude Code:** read PDFs with the file reader, edit with the file tools, run bundled scripts with `python -B "${CLAUDE_PLUGIN_ROOT}/skills/manuscript-formatting/scripts/<script>"`; packages the figure and poster skills need live in the project's `.venv-lab-skills` (see `science-ultrapowers:initializing-a-research-lab`).
> 7. **Skill-specific:** The two checklist items that told agents to run `humanizer` were replaced (research-integrity policy). This skill has no row for a journal template such as Springer Nature sn-jnl, so use it for the diff-safe `semantic_breaks.py` and the generic checklist only.
>
> Provenance, license and change log: `PROVENANCE.md`.
# Manuscript Formatting and Submission Preparation
Format manuscripts to meet journal-specific requirements and prepare submission packages.
## When to Use
- Formatting a manuscript for a specific journal
- Preparing a submission package (cover letter, figures, supplementary)
- Converting between formats (Word to LaTeX, markdown to LaTeX)
- Checking compliance with author guidelines
- Managing references and BibTeX
## Common Journal Formats
### IEEE
- **Template:** IEEEtran class
- **Columns:** Two-column
- **References:** Numbered, [1] style
- **Figures:** Fit within column or span both columns
- **Page limit:** Varies (typically 6-8 for conference, 12-14 for journal)
```latex
\documentclass[journal]{IEEEtran}
\usepackage{cite}
\usepackage{amsmath}
\usepackage{graphicx}
```
### Nature/Science
- **Format:** Single column, specific heading hierarchy
- **References:** Superscript numbered
- **Word limit:** ~3000-5000 words (main text)
- **Figures:** Max 6-8, submitted as separate files
- **Methods:** Often separate section with no word limit
### PNAS
- **Template:** pnas-new class
- **Columns:** Two-column in print, single for review
- **Word limit:** ~4500 words
- **References:** Numbered
- **Significance statement:** Required, 120 words max
### PLoS ONE
- **Format:** No specific template required
- **References:** Numbered, Vancouver style
- **No length restriction**
- **Data availability:** Statement required
### Elsevier
- **Template:** elsarticle class
- **Multiple formats:** preprint, review, final
```latex
\documentclass[preprint,12pt]{elsarticle}
```
## LaTeX Essentials
### Document Structure
```latex
\documentclass[options]{class}
\usepackage{packages}
\title{Title}
\author{Authors}
\begin{document}
\maketitle
\begin{abstract}
\end{abstract}
\section{Introduction}
\section{Methods}
\section{Results}
\section{Discussion}
\bibliography{references}
\end{document}
```
### BibTeX Management
```bibtex
@article{smith2024,
author = {Smith, John and Doe, Jane},
title = {Title of the Paper},
journal = {Journal Name},
year = {2024},
volume = {10},
pages = {1--15},
doi = {10.1000/example}
}
```
Common BibTeX styles:
- `plain` - numbered, sorted alphabetically
- `unsrt` - numbered, order of citation
- `ieeetr` - IEEE transactions style
- `apalike` - APA-like author-year
### Cross-references
```latex
\label{fig:results} % Label a figure
\ref{fig:results} % Reference by number
Figure~\ref{fig:results} % Standard format
```
## Submission Checklist
### Before Submission
- [ ] Manuscript formatted per journal template
- [ ] Title page: title, authors, affiliations, corresponding author, ORCID
- [ ] Abstract within word limit
- [ ] Keywords provided (if required)
- [ ] Main text within page/word limit
- [ ] Figures as separate high-resolution files (typically 300+ DPI)
- [ ] Figure captions in a separate list
- [ ] Tables formatted per journal style
- [ ] References complete and consistently formatted
- [ ] Supplementary materials prepared separately
- [ ] Cover letter drafted and edited by the authors (lab overlay: no automated 'humanizing'; disclose any generative-AI assistance as the journal's policy requires)
- [ ] Narrative sections revised for clarity by the authors; generative-AI assistance disclosed per the target journal's AI policy; journal house style (title case, citation format, etc.) applied (lab overlay)
- [ ] Conflict of interest statement
- [ ] Data availability statement
- [ ] Ethics approval statement (if applicable)
- [ ] Author contributions (CRediT format if required)
- [ ] Suggested reviewers (if required)
### Cover Letter Template
```
Dear Editor,
We submit our manuscript titled "{TITLE}" for consideration
in {JOURNAL}.
{1-2 sentences: what the study did and found}
{1-2 sentences: why this matters to the journal's readership}
{1 sentence: confirmation of originality and no concurrent submission}
We suggest the following reviewers:
1. {Name, Affiliation, Email}
2. {Name, Affiliation, Email}
Sincerely,
{Corresponding Author}
```
## Format Conversion
### Markdown to LaTeX
```bash
pandoc manuscript.md -o manuscript.tex --template=journal-template.tex --bibliography=refs.bib --citeproc
```
### Word to LaTeX
```bash
pandoc manuscript.docx -o manuscript.tex --extract-media=figures/
```
### LaTeX to Word (for journals requiring .docx)
```bash
pandoc manuscript.tex -o manuscript.docx --bibliography=refs.bib --citeproc
```
## Semantic Line Breaks
Semantic line breaks put each substantial unit of thought on its own source
line, so a small prose edit produces a small, reviewable diff. The
[SemBr specification](https://sembr.org/) requires that this formatting not
alter the rendered document. The [`sembr` CLI](https://pypi.org/project/sembr/)
supports Markdown, plain text, and LaTeX and can be installed portably with
`uv tool install sembr`.
Raw SemBr output is reasonable for ordinary Markdown after review. Do not
trust raw output on LaTeX: line breaks can change comment scope or corrupt
commands and escape sequences. Use the bundled safety wrapper for LaTeX:
```bash
uv run python plugins/manuscript/skills/manuscript-formatting/scripts/semantic_breaks.py \
manuscript.tex manuscript-semantic.tex \
--compile-command latexmk -pdf -interaction=nonstopmode \
-outdir '{build_dir}' '{source}'
```
The wrapper performs these gates before writing the destination:
1. It replaces `\\begin{verbatim}...\\end{verbatim}` blocks and full-line `%`
comments with atomic placeholders, then restores them after SemBr.
2. It aligns whitespace-delimited tokens with Python's
`difflib.SequenceMatcher`. If any token content diverges, it restores the
original paragraph containing that divergence; whitespace-only changes in
other paragraphs remain available as semantic breaks. A whitespace-collapsed
string comparison alone is unsafe because it misses `%` comment truncation.
3. When `--compile-command` is supplied, it compiles the original and guarded
versions separately, runs `pdftotext` on both PDFs, and refuses to write the
result unless the extracted bytes are identical. The compiler command must
use `{source}` for its input and route generated files into `{build_dir}`;
arguments after `--compile-command` are consumed by the wrapper.
Inspect the resulting diff and keep the compiled-output check in the workflow;
matching extracted text is a safety gate, not a substitute for reviewing the
source and the rendered PDF.
## Additional Resources
- Reference: [references/journal-requirements.md](references/journal-requirements.md) - Detailed requirements for major journals
- Reference: [references/latex-troubleshooting.md](references/latex-troubleshooting.md) - Common LaTeX issues and fixes
Pliki w paczce (6)
- LICENSE 1 KB
- PROVENANCE.md 2 KB
- SKILL.md 9 KB
- references/journal-requirements.md 3 KB
- references/latex-troubleshooting.md 3 KB
- scripts/semantic_breaks.py 12 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · raoofaltaher/science-ultrapowers | 100 | MIT |
| neuromechanist/research-skills | 100 | BSD-3-Clause |
Migawka bazy z 13.11.2026 · wersja paczki d57b3b23880a (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100journal-formatting
Przeformatowuje istniejący manuskrypt do szablonu docelowego czasopisma lub konferencji: klasy LaTeX (elsarticle, IEEEtran, acmart), układ, kolejność sekcji, limity długości i styl bibliografii. - 90journal-selector
Dobiera docelowe czasopismo z dziedziny żywności i żywienia do jego wytycznych dla autorów: limity słów, struktura, styl cytowań i wymagania dla rysunków. - 100latex-writing
Pisze i formatuje dokumenty LaTeX dla czasopism naukowych, takich jak Nature, Science, IEEE i ACM, z równaniami, tabelami i wpisami BibTeX. - 100nature-food
Formatuje i sprawdza rękopis pod wytyczne czasopism Nature Food i npj Science of Food: limity słów, krótkie abstrakty, odnośniki w indeksie górnym, limity elementów graficznych i miejsce sekcji Methods. - 90journal-guideline-check
Sprawdza manuskrypt wymaganie po wymaganiu względem wytycznych czasopisma i pisze raport zgodności, by uniknąć odrzucenia. - 100ieee-paper
Pisze, strukturyzuje i utrzymuje artykuły naukowe w formacie konferencyjnym IEEE w LaTeX, zapisując wyniki w main.tex i references.bib.