RevMan Export
Overview
Generates four types of export from the active review's .revman/ data. Read references/manuscript-assembly.md before assembling manuscripts.
Active review is resolved by the orchestrator. REVIEW_DIR is passed as context.
Commands
revman export
Show export menu:
RevMan Export — Active review: {title}
Available exports:
revman export manuscript Generate full manuscript (Markdown)
revman export data Generate data package (CSV + JSON)
revman export prisma Generate PRISMA 2020 checklist
revman export study-table Generate study characteristics table
revman export archive Generate .tar.gz archive of all data
revman export all Run all of the above
revman export manuscript
Assemble a full systematic review manuscript from sections.
Procedure:
-
Determine the manuscript directory:
{REVIEW_DIR}/manuscripts/. Create if missing. -
Read the review metadata from
review.json. -
Check for existing section files in
.revman/writing/:| Section | File | If missing | |---------|------|------------| | Title/ Authors | — | From review.json | | Abstract |
abstract.md| Generated placeholder | | Introduction |introduction.md| Generated from PICO | | Methods |methods.md| Generated from protocol + phase outputs | | Results |results.md| Generated from screening + studies + analyses | | Discussion |discussion.md| Placeholder | | Conclusions |conclusions.md| Placeholder | -
Assemble the manuscript in this order:
# {Title} {Authors} ## Abstract {abstract} ## Introduction {introduction} ## Methods {methods} ## Results ### Study Selection  ### Study Characteristics {study_characteristics_table} ### Risk of Bias {rob_summary} ### Synthesis Results   ### Certainty of Evidence {sof_table} ## Discussion {discussion} ## Conclusions {conclusions} ## References {references} -
Insert images with relative paths (generated by revman-forest, revman-funnel, revman-prisma).
-
Generate study characteristics table (run
revman export study-tableinline). -
Generate SoF table from
.revman/grade/sof.jsonif it exists. -
Write to
{REVIEW_DIR}/manuscripts/manuscript.md. -
Confirm:
Manuscript saved to reviews/{name}/manuscripts/manuscript.md Sections: {N} | Images referenced: {M}
Important: Do NOT fabricate content. If a section file doesn't exist, write a placeholder:
<!-- Introduction — not yet written. Use revman write to draft this section. -->
revman export data
Generate structured data package (CSV + JSON).
Procedure:
- Run:
echo '{"mode":"data-package","params":{"review_dir":"{REVIEW_DIR}"}}' | python3 scripts/revman-export.py - Report what was generated:
Data package saved to {REVIEW_DIR}/.revman/export/data-package/ studies.csv — {N} studies arms.csv — {N} arms outcomes.csv — {N} outcome entries risk_of_bias.csv — {N} assessments (if RoB data exists) summary_of_findings.json — SoF table (if GRADE data exists) review.json — Review metadata
revman export prisma
Generate PRISMA 2020 compliance checklist.
The checklist has 27 items across TITLE, ABSTRACT, INTRODUCTION, METHODS, RESULTS, DISCUSSION, and OTHER sections.
Procedure:
- Run:
echo '{"mode":"prisma-checklist","params":{"review_dir":"{REVIEW_DIR}"}}' | python3 scripts/revman-export.py - Each item is auto-populated with status based on phase completion:
- ✅ completed = phase is done
- 🔄 in_progress = phase is active
- ⬜ not_started = phase not yet reached
- Output:
{REVIEW_DIR}/.revman/export/prisma_2020_checklist.md - Confirm:
PRISMA 2020 checklist saved. Items completed: {N}/27
revman export study-table
Generate a study characteristics table in Markdown.
Procedure:
- Run:
echo '{"mode":"study-table","params":{"review_dir":"{REVIEW_DIR}"}}' | python3 scripts/revman-export.py - Output:
{REVIEW_DIR}/.revman/export/study_characteristics.md - Confirm:
Study characteristics table saved. {N} studies.
revman export archive
Package the entire review into a .tar.gz archive.
Procedure:
- Run:
echo '{"mode":"archive","params":{"review_dir":"{REVIEW_DIR}"}}' | python3 scripts/revman-export.py - Includes:
.revman/directory (all data)- Generated images (forest, funnel, PRISMA)
- Manuscript files
- Output:
{REVIEW_DIR}/.revman/export/{name}-archive.tar.gz - Confirm:
Archive saved. {size} MB
revman export all
Run all exports in sequence: manuscript → data → prisma → study-table → archive.
Procedure:
- Run each export in order.
- Report a summary of all outputs.
Error Handling
| Situation | Response |
|-----------|----------|
| No active review | "No active review. Use revman new or revman open first." |
| No studies | "No study data found. Use revman studio to add studies before exporting." |
| No manuscript sections | "No manuscript sections found. Use revman write to draft sections." |
| Python script error | "Export script error: {detail}" |
| Missing images | "Warning: {image} not found. Will reference path but image may be missing from manuscript." |
Scan to join WeChat group