TeX Jump PDF Viewer
Open a PDF next to its TeX source in VS Code. The toolbar stays hidden while you read. Move the pointer to the top edge of the PDF pane to reach the page, zoom, and search controls.
Open and navigate
- Right-click a PDF in VS Code and choose Open With… → TeX Jump PDF Viewer. In an open PDF tab, use Reopen Editor With….
- Compile the TeX document with SyncTeX enabled, for example
pdflatex -synctex=1 main.tex. Keep the matching .synctex.gz or .synctex beside the PDF.
- Double-click the displayed formula or text to open the source line. Ctrl+click (Cmd+click on macOS) is also supported. Both gestures work in single-page and continuous scrolling views. PDF files without SyncTeX retain normal double-click word selection.
SyncTeX chooses the nearest recorded source location, so the destination can be an adjacent line in the same equation. Regular text selection and MuPDF rendering are based on the upstream viewer.
Settings
texJumpPdf.defaultZoom sets the initial zoom factor.
texJumpPdf.renderResolution sets the rendering resolution in DPI.
Source, license and build
This independent fork of MuPDF Viewer by skrtk98 is distributed under the GNU Affero General Public License, version 3. It uses the unmodified Artifex MuPDF engine. The upstream application and engine are credited in NOTICE.md.
The VSIX includes the extension's editable TypeScript in src/, HTML and CSS in media/, tests in test/, and the lockfile and build script in the extension root. Its dependencies/ directory includes the official source archive for the bundled MuPDF engine, its third-party code and build instructions. You can extract the VSIX with a ZIP utility. The extension files are under extension/.
With Node.js 24 and npm, run the following in that directory (or in a checkout):
npm ci
npm run check
npm test
npm run build
npm run package
When rebuilding from an installed extension or extracted VSIX, copy LICENSE.txt to LICENSE if VS Code normalized the license filename during packaging. The build verifies and copies the engine runtime pinned in package-lock.json, then bundles the extension host, webview and worker. For instructions on building the engine itself, see dependencies/MuPDF-SOURCE.md.