By zircote
LaTeX language server plugin for Claude Code with texlab integration and automated hooks for building and linting
A Claude Code plugin providing comprehensive LaTeX development support through:
# Run the setup command (after installing the plugin)
/setup
Or manually:
# Install Texlab LSP
cargo install --locked texlab
# Or on macOS with Homebrew
brew install texlab
# Install ChkTeX for linting
brew install chktex # macOS
apt install chktex # Debian/Ubuntu
The plugin configures Texlab for Claude Code via .lsp.json:
{
"latex": {
"command": "texlab",
"args": [],
"extensionToLanguage": {
".tex": "latex",
".bib": "bibtex"
},
"transport": "stdio"
}
}
Capabilities:
All hooks run afterWrite and are configured in hooks/hooks.json.
| Hook | Trigger | Description |
|---|---|---|
latex-chktex-on-edit | **/*.tex | Lint LaTeX files with chktex |
latex-todo-fixme | **/*.tex | Surface TODO/FIXME/XXX comments |
| Hook | Trigger | Description |
|---|---|---|
latex-bib-lint | **/*.bib | Check BibTeX syntax |
| Tool | Installation | Purpose |
|---|---|---|
texlab | cargo install --locked texlab | LSP server for LaTeX |
pdflatex or xelatex | TeX distribution (TeX Live, MiKTeX) | LaTeX compilation |
| Tool | Installation | Purpose |
|---|---|---|
chktex | brew install chktex (macOS) | LaTeX linting |
biber or bibtex | Included with TeX distribution | Bibliography processing |
latexmk | Included with TeX Live | Build automation |
/setupInteractive setup wizard for configuring the LaTeX development environment.
What it does:
.lsp.json is correctUsage:
/setup
latex-lsp/
├── .claude-plugin/
│ └── plugin.json # Plugin metadata
├── .lsp.json # Texlab configuration
├── commands/
│ └── setup.md # /setup command
├── hooks/
│ └── hooks.json # Hook definitions
├── tests/
│ └── sample.tex # Sample LaTeX file
├── CLAUDE.md # Project instructions
└── README.md # This file
.tex files exist in project roottexlab --versioncat .lsp.jsonpdflatex --versiontexlab.toml or .texlabrc configurationcat hooks/hooks.jsoncommand -v chktex)Edit hooks/hooks.json to add filters:
{
"command": "chktex -q -n1 -n2 -n3 \"$FILE\" || true"
}
Where -n1, -n2, -n3 disable specific warnings.
MIT
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub zircote/lsp-marketplace --plugin latex-lspPersistent memory system for AI coding assistants. Captures decisions, learnings, and context from coding sessions and surfaces them when relevant.
Pure filesystem-based memory system for Claude Code with custom ontology support
Rust language server
Comprehensive agent library featuring 115+ specialized Opus 4.5 agents organized by domain
Detect AI-generated writing patterns and build authentic voice profiles through adaptive interviews and computational stylistics
Vision-in-the-loop LaTeX visual typesetting optimization (VTO) — agents, skills, and slash commands for Claude Code
Document and LaTeX formatting skills for publication-quality output
Verify academic paper citations: extract references from LaTeX/PDF, check formatting, verify existence via Crossref/Semantic Scholar, and score thematic/semantic relevance.
Documentation generation - API docs, README, knowledge graphs, LaTeX PDF conversion
Research-team agents for Claude Code: supervisor, analysis-implementer, paper-writer, figure-descriptor, reviewer, literature-curator.
Lua language server