Who it is forA paper author with a local LaTeX repo who wants a comfortable reading surface and wants feedback kept out of chat windows.
The problemReviewing with a coding agent usually means compiling a PDF and copying quotes and comments back into a chat by hand, so the manuscript and the feedback never sit in the same place.
The outcomeComments, Edit-mode changes, and Review-mode proposals are saved as independent files under .pairtex/feedback/ while the original TeX stays untouched.
What you need first
- Python 3 installed to run pairtex.py (standard library only)
- A local LaTeX project in a Git repository
- A rendered HTML file of the manuscript, produced by the default make4ht renderer or an adapter
- A coding agent of your choice to consume the feedback files
Steps
- Ask your coding agent to render the repo with the PairTeX skill, or run
python3 pairtex.py --project /path/to/paper --html /tmp/pairtex-rendered/main.html --port 8765after rendering the HTML yourself. (inferred, check the README) - Open the URL printed by PairTeX in your browser.
- Add comments, Edit-mode changes, or Review-mode proposals in the HTML page.
- Check that the entries appear under /path/to/paper/.pairtex/feedback/.
Prompt for your agent
Read and follow skills/pairtex-agent/SKILL.md in the PairTeX repo. Render the LaTeX repository at <paper-path> into a disposable HTML projection and start the local PairTeX view. Report the URL, source HEAD commit, dirty state, render command, and HTML output path, and confirm that no canonical source file changed.
Caveat. The HTML view is a disposable projection that you must re-render after each TeX change, and PairTeX does not synchronize projections between users.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for yuema137/PairTeX and "Review a LaTeX paper in an HTML view and record feedback"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer