← ClaudeAtlas

latex-vscodelisted

Set up, compile, preview, and troubleshoot LaTeX in VS Code with the LaTeX Workshop extension — an Overleaf-equivalent local/remote workflow (build-on-save, PDF preview, SyncTeX, latexmk, bibtex citations, LTeX grammar, Live Share). Use whenever working with .tex/.bib files, building a PDF, fixing a LaTeX/latexmk compile error, wiring citations/bibliography, or configuring the LaTeX Workshop / LTeX / Live Share setup. Triggers: latex, .tex, latexmk, pdflatex, lualatex, bibtex, \cite, build the pdf, compile my paper, SyncTeX, Overleaf, LaTeX Workshop. NOT for writing prose (use scientific-writing) or generating BibTeX entries (use citation-management).
mehdiforoozandeh/skills · ★ 0 · AI & Automation · score 70
Install: claude install-skill mehdiforoozandeh/skills
# LaTeX in VS Code (Overleaf-equivalent) Turn VS Code into an Overleaf replacement and operate it from the CLI. The body below is the general playbook; machine-specific facts are fenced in the last section. Prefer **checks over assumptions** — verify each tool/path on the host you're actually on. ## Mental model LaTeX Workshop (`james-yu.latex-workshop`) is an **orchestrator, not a compiler**. You need two things: 1. A **TeX distribution** providing `latexmk`, `pdflatex`/`lualatex`, `bibtex` (TeX Live / MacTeX / MiKTeX). Verify: `command -v latexmk pdflatex bibtex`. If absent, install one (`brew install --cask mactex`, `apt install texlive-full`, or an HPC module) — the extension ships none of these. 2. **LaTeX Workshop** + a few companions (LTeX for grammar, Live Share for collaboration, Code Spell Checker for spelling). ## Configuration Settings location depends on context: - **Local VS Code**: `~/.config/Code/User/settings.json` (Linux), `~/Library/Application Support/Code/User/settings.json` (macOS). - **Remote-SSH / WSL / container**: server-side `~/.vscode-server/data/Machine/settings.json` (Machine scope = all folders on that host). There is no `~/.config/Code` on a Remote-SSH host. - **Per-project override**: `.vscode/settings.json` in the workspace. Recommended settings (the Overleaf build loop): ```jsonc { "latex-workshop.latex.autoBuild.run": "onSave", // recompile on save "latex-workshop.latex.recipe.default": "latexmk", // one recipe: