latex-look

Lets the agent see the compiled page: renders any page to an image, resolves a PDF point or a text anchor to the exact source line through SyncTeX (and says when a rule is drawn by a package rather than by the body, which is where naive locating is wrong), diffs a page against the previous build so an edit is visible, audits every page for holes the edit introduced, and checks that numbered labels still read in order.

Overview

Lets the agent see the compiled page: renders any page to an image, resolves a PDF point or a text anchor to the exact source line through SyncTeX (and says when a rule is drawn by a package rather than by the body, which is where naive locating is wrong), diffs a page against the previous build so an edit is visible, audits every page for holes the edit introduced, and checks that numbered labels still read in order.

Installation

Install from npm

dsh plugin --profile web add @fffangchenghao/dsh-latex-look

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:fangchenghao/latex-look

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands