VS Code Extension for LaTeX

PureTeX logo

Love your LaTeX workflow again.

PureTeX keeps builds, diagnostics, SyncTeX, and live PDF preview inside VS Code. Local-first by default. Fast enough to stay in flow.

  • Windows x64
  • Linux x64
  • macOS Intel and Apple Silicon
  • Local-first
  • Live PDF preview
  • Editor play button
  • Smart diagnostics
  • Docker and local runtimes
Built for real documents Root detection, bibliography-heavy projects, glossary support, SyncTeX navigation.
workspace
  • main.tex
  • references.bib
  • glossary.tex
  • chapters/methods.tex
main.tex preview.pdf PureTeX
PureTeX preview interface
Runtime Docker full image selected
Root thesis/main.tex
Diagnostics 2 warnings mapped to source
Preview

Start from the editor play button, then search, zoom, fit width, fit page, download, and open externally.

Builds

Automatic runtime selection across Docker, managed local tools, and system tooling.

Navigation

SyncTeX-backed movement between PDF and source without leaving the editor.

Product Demo

PureTeX in motion, from source to preview.

Watch the extension keep the LaTeX loop inside VS Code with builds, diagnostics, and a polished live PDF preview.

Build Loop Open project → build → diagnostics → live preview refresh
Live Preview Use the preview panel with settings open and a PDF visible
Local Demo Served from the repository so the site can ship with the video

Why It Feels Better

Built for people who want LaTeX to feel modern, not fragile.

Live Preview

Stay inside the editor and still see the document clearly.

Search the PDF, jump pages, fit width, fit page, refresh instantly, and move from source to preview with SyncTeX-backed navigation.

Runtime Intelligence

Use Docker when it helps. Stay local when it should be simple.

PureTeX can choose between Docker, managed local toolchains, and system tooling so your project gets a healthier default path.

Smarter Diagnostics

Compiler output that maps back to the source you actually need to fix.

Bibliography, glossary, runtime, and package-recovery issues are surfaced as actionable diagnostics instead of opaque log noise.

Root Detection

Built for thesis-style projects, includes, directives, and messy real-world workspaces.

Open any file in the project and let PureTeX resolve the correct root before building.

Local-First

Your documents stay on your machine.

No cloud compiler dependency, no remote handoff required, and no context switch to another app just to keep writing.

Runtime Modes

Reliable enough for simple notes. Flexible enough for serious projects.

Automatic

Choose the healthiest path without micromanaging the toolchain.

Recommended for most users and the cleanest first-run experience.

Docker

Predictable builds with basic, full, and custom image profiles.

Ideal for heavy package sets, theses, diagrams, glossaries, and reproducible setup.

Local

Use `tectonic`, `latexmk`, or managed local tools when you want zero container overhead.

Great when your machine already has the toolchain you trust.

Setup Map

Follow the branch that matches how you want to build.

Start with the Marketplace install, choose Docker or local tooling, then use the docs that match the depth you need.

  1. 1

    Install PureTeX

    Install from the VS Code Marketplace, then reload VS Code after updates.

    Open Marketplace listing
  2. 2

    Pick a runtime path

    Use Docker for predictable builds, or local tooling when your TeX setup is already healthy.

  3. 3

    Open a LaTeX workspace

    Open a folder with `.tex` files, select any source file, and press the PureTeX play button in the editor title bar or run it from the Command Palette.

    Read the usage guide
  4. 4

    Go deeper when needed

    Use the README for features, the engineering guide for architecture, and GitHub releases for packaged VSIX builds.

PureTeX gives LaTeX the kind of product polish developers now expect from modern tools: fast feedback, clear diagnostics, and a preview that feels like part of the editor instead of a bolt-on.

Designed for researchers, students, technical writers, and teams shipping real documents.

Get Started

Install the extension, open a .tex file, and start building.

PureTeX is built for VS Code `1.95.0+` with packaged targets for Windows x64, Linux x64, macOS Intel, and macOS Apple Silicon. It supports Docker, `tectonic`, `latexmk`, and managed local tooling depending on your setup.

Marketplace ext install huzaifa.puretex
VS Code @id:huzaifa.puretex
Repository git clone git@github.com:HN026/PureTeX.git
Website https://hn026.github.io/PureTeX/