Equation extraction - Extract LaTeX equations from Word documents (OMML → LaTeX)
Citation validation - Check citations against bibliography
Quick Start
Start from Word Document
# Import existing Word doc → creates section files + rev.yamlrevimport manuscript.docx
# Import to specific directoryrevimport manuscript.docx -o my-paper/
# Preview without creating filesrevimport manuscript.docx --dry-run
New Project from Template
# Create a new paper projectrev new my-paper
# or with a specific templaterev new my-thesis --template thesis
# List available templatesrev new --list
Build Workflow
cd my-paper
# Edit your sections# introduction.md, methods.md, results.md, discussion.md# Build PDF and Wordrev build
# Build specific formatrev build pdf
rev build docx
rev build tex
rev build all # PDF + DOCX + TEX
Review Workflow
# Import reviewer's Word doc to section filesrev sections reviewed.docx
# Review track changes interactivelyrev review methods.md
# See remaining commentsrev comments methods.md
# Rebuildrev build docx
Commands
Build & Create
Command
Description
rev build [formats...]
Build PDF/DOCX/TEX from sections
rev build --toc
Build with table of contents
rev build --show-changes
Export DOCX with visible track changes
rev new <name>
Create new project from template
rev new --list
List available templates
rev install
Check/install dependencies (pandoc-crossref)
Import & Export
Command
Description
rev import <docx>
Bootstrap project from Word (creates sections + rev.yaml)
rev import <docx> <md>
Import changes by diffing Word against your MD
rev sections <docx>
Import Word doc to existing section files
rev extract <docx>
Extract plain text from Word
Review & Edit
Command
Description
rev review <file>
Interactive accept/reject TUI for track changes
rev status <file>
Show annotation counts
rev comments <file>
List all comments with context
rev comments <file> --export comments.csv
Export comments to CSV
rev resolve <file> -n 1
Mark comment #1 as resolved
rev strip <file>
Output clean Markdown (annotations applied)
Cross-References
Command
Description
rev refs [file]
Show figure/table registry and reference status
rev migrate <file>
Convert hardcoded refs (Fig. 1) to dynamic (@fig:label)
Comments & Replies
Command
Description
rev config user "Name"
Set your name for replies
rev reply <file>
Interactive reply to reviewer comments
rev reply <file> -n 1 -m "text"
Reply to specific comment (non-interactive)
Bibliography & DOIs
Command
Description
rev doi check [file.bib]
Validate DOIs in bibliography (Crossref + DataCite)
Use template variables in section files (processed during build):
Last updated: {{date}}
Version: {{version}}
Word count: {{word_count}}
Variable
Description
{{date}}
Current date (YYYY-MM-DD)
{{date:MMMM D, YYYY}}
Custom format (December 29, 2025)
{{year}}
Current year
{{version}}
Version from rev.yaml
{{title}}
Document title
{{author}}
First author name
{{authors}}
All authors (comma-separated)
{{word_count}}
Total word count
Comment Replies
Reply to reviewer comments with your name:
# Set your name (once)rev config user "Gilles Colling"# Interactive: go through each commentrev reply methods.md
# Non-interactive: reply to specific commentrev reply methods.md -n1-m"Done, added clarification"
Creates a conversation thread:
{>>Reviewer: Please clarify this<<} {>>Gilles Colling: Added in next paragraph<<}
Claude can also reply programmatically using the non-interactive mode.
Cross-Reference System
Use dynamic references in your source:
{#fig:heatmap}
See @fig:heatmap for the results.
When importing from Word, hardcoded refs are auto-converted:
Figures 1, 2, and 3 → @fig:one; @fig:two; @fig:three
Fig. 1a-c → @fig:one (expands letter suffixes)
Figs. 1a-3b → all panels from 1a to 3b
Build Outputs
Format
Annotations
Cross-refs
PDF
Stripped (clean)
@fig:label → "Figure 1"
DOCX
Comments kept
@fig:label → "Figure 1"
TEX
Stripped (clean)
LaTeX labels
DOI Management
Check and find DOIs for your bibliography:
# Validate all DOIs in references.bibrev doi check references.bib
# Look up missing DOIs automaticallyrev doi lookup references.bib --confidence medium
# Fetch BibTeX from a DOIrev doi fetch 10.1038/nature12373
# Add a citation by DOIrev doi add10.1038/nature12373
Features:
Validates DOIs via Crossref API (+ DataCite for Zenodo/Figshare)
Smart lookup using title, author, year, and journal matching
Filters out supplement/figure DOIs and F1000 reviews
Confidence levels: high, medium, low (use --confidence low to see all matches)
Skip entries with nodoi = {true} or % no-doi comment