Skip to content

Packs / latex-and-papers-public

referee-revision

Answer a referee report: changes-package markup, REF#n comments, marked + clean builds, response letter.

Install

logicpacks pack use latex-and-papers-public/referee-revision
get_pack latex-and-papers-public/referee-revision

The second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.

Keys it needs (names only)

None.

Playbooks included

  • Spec: spec/SPEC.md (goal, steps, edge cases, don’ts)
  • Routes: local
  • Checks: 4 in outcome/checks.yaml
  • Code: compile.shmake_versions.shresponse_to_referee.tex
  • Tools: tectonic, pdftotext

Usage, last 8 weeks

New: no recorded use yet.

Purpose (from spec/SPEC.md)

Goal

A revision where every referee point maps to a marked change and a reply, with marked and clean PDFs from one source.

Steps

  1. Number the referee points (REF#1..n); list them in the response letter skeleton (code/response_to_referee.tex).
  2. Edit with \added[id=R1]{...} / \deleted[id=R1]{...}; put % REF#n why next to each edit.
  3. Markup style per Waleed: additions bold, black; deletions invisible; no colour, no margin notes (see the preamble in the fixture).
  4. Mark prose Waleed must rewrite with % DRAFT - reword; decisions for him with % WALEED:.
  5. sh code/make_versions.sh paper/main.tex build/ -> main-marked.pdf and main-clean.pdf.
  6. Compile the response letter; check every REF#n has a reply.
  7. Before it leaves us: run the journal-submission pack's strip_internal.py.

Edge cases

  • When several agents revise in parallel, give each a branch and pick one; never overwrite main mid-way.
  • Co-authors may prefer minimal prose: put new content in figures/captions/one table and facts in % TODO(text, Ref #n) comments.

Don'ts

  • Don't send anything to co-authors, editors or journals; Waleed sends. Prepare files and open them for him.
  • Don't change numbers in a paper without the script/run that produced them.
  • Don't leave internal comments, server paths or chat quotes in a copy that leaves us.