TeXpresso VS Code ExtensionVisual Studio Code extension for interacting with TeXpresso, which provides a "live rendering" experience when editing LaTeX documents. TeXpresso needs to be installed separately to use this extension, following its install guide which contains instructions for macOS, Fedora, Arch Linux, Debian, and Ubuntu. The extension can be used simultaneously with other LaTeX extensions such as LaTeX Workshop. After installing the extension, you need to configure the path to the TeXpresso binary in the settings. To use this extension, open the FeaturesTo change pages, use the buttons: Use SyncTeX (forwards - editor to preview): Use SyncTeX (backwards - preview to editor): Use theme colors in preview (if the RequirementsTeXpresso must be installed, and must be callable at the path provided in the Extension SettingsThis extension contributes the following settings:
ArchitectureTeXpresso and the underlying LaTeX compilers are based on a UTF-8 byte representation, and communication between the editor and TeXpresso occurs in terms of byte offsets. However, VS Code only provides access to character positions and not their byte position. Thus, this extension keeps a copy of the current document in a rope data structure (wikipedia), enriched with byte offsets. This allows for efficient conversion between character and byte positions, and also allows for efficient edits to the underlying text string. The code for the rope data structure builds on https://github.com/component/rope. Known IssuesThe extension does not yet react instantaenously to changes to files that are included using commands like Loses connection if the filename of the main document is changed. Release Notes1.4.0Add support for executing TeXpresso on WSL (Windows Subsystem for Linux). 1.3.0Add a button for toggling automatic SyncTeX forward when the selection changes. Turn off the extension when the TeXpresso window is closed. 1.2.0Added support for color themes. 1.1.0Changed settings identifiers. 1.0.0Initial release of the extension. |