mTeX for VSCodeRead LaTeX beside its source, including changes you have not saved. The VSIX contains the reader, compiler worker, styles and math fonts. No separate server, TeX distribution, Node.js installation or Git installation is needed to use it.
The reader opens in a new tab in the adjacent editor group, keeping existing
source and reader tabs. Opening the same main document again reuses its reader
and reading position. Different documents keep independent live previews and
source navigation. A standalone The Marketplace extension ID is If you installed the earlier
Included files and bibliographies use their current editor buffers. Edits are sent directly through VS Code's message API, without server polling. The extension never saves source files, changes Git history or adds a managed mtex project. Saving remains under your control in VS Code. Choose the main document with Source navigation uses mtex's HTML source maps at rendered block boundaries, including CRLF/Unicode and included files. Pending/stale previews cannot select old offsets in a newly edited buffer. Wait for the preview to update and try again if needed. PDF SyncTeX files are not required. Readers start in Compact view at every window width: the header and status
bar disappear, the outline sits beside the prose in wide groups or above it in
narrow groups, and clicked footnotes,
citations and quick views open in stacked cards at the bottom right. Focus the
reader and press > (Shift+.) to choose Exit compact view from its command
palette. Choose Enter compact view there to enable it at any width. Your
explicit choice survives resizing and webview reloads, and takes precedence over
the default. To start new readers in regular view, turn off mtex: Compact Mode
By Default in VS Code settings, or add The reader palette also offers Compact side outline: On / Off / Auto. Auto is the default and shows the full side outline when there is room. On keeps it beside the prose; Off uses the compact Contents bar at any width. Other compact features stay enabled. This choice survives webview reloads. Vertical guides in the expanded outline and All sections make heading depth easier to follow. The outline, notes, references, reading-width/font controls, themes and Beamer presentations work inside the reader. Source editing stays in VS Code. The regular mtex server app remains available independently; the old Server URL setting is no longer needed. See the complete guide for setup, multi-file behavior and development checks. |