• Stars
    star
    2,007
  • Rank 23,074 (Top 0.5 %)
  • Language
    Python
  • Created over 13 years ago
  • Updated 11 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

LaTeX plugin for Sublime Text

LateXTools: A LaTeX Plugin for Sublime Text 2 and 3

by Ian Bacher, Marciano Siniscalchi, and Richard Stein

Marciano's blog: http://tekonomist.wordpress.com

Documentation: https://latextools.readthedocs.io

Latest revision: v3.15.1 (2018-04-23).

Package Control

Headline features:

  • Documentation migrated to ReadTheDocs (https://latextools.readthedocs.io)
  • Support for the import package
  • TOC quickpanel now shows just the current document when using (C-r)
  • Uses analysis for ref / cite commands and better caching
  • Improved fill all completions for large files
  • %!TEX directives now override settings in all circumstances

Prereleases

LaTeXTools uses pre-releases to beta test new features and improve the stability of releases. If you also want to get the newest features and help us testing them. Just open Preferences > Package Settings > Package Control > Settings - User and insert at a reasonable (correct JSON syntax) position:

    "install_prereleases": ["LaTeXTools"],

If you also use prereleases of other packages just add them comma separated into the list.

Overview

This plugin provides several features that simplify working with LaTeX files:

  • The ST build command takes care of compiling your LaTeX source to PDF using texify (Windows/MikTeX) or latexmk (OSX/MacTeX, Windows/TeXlive, Linux/TeXlive). Then, it parses the log file and lists errors and warning. Finally, it launches the PDF viewer and, on supported viewers (Sumatra PDF on Windows, Skim on OSX, and Evince on Linux by default) jumps to the current cursor position.
  • Forward and inverse search with the named PDF previewers is fully supported
  • Fill everything including references, citations, packages, graphics, figures, etc.
  • Plugs into the "Goto anything" facility to make jumping to any section or label in your LaTeX file(s)
  • Smart command completion for a variety of text and math commands
  • Additional snippets and commands are also provided
  • Fully customizable build command
  • Fully customizable PDF viewers
  • Full support for project files and multi-file documents
  • Easily view package documentation
  • Word counts

Requirements and Setup

The easiest way to install LaTeXTools is via Package Control. See the Package Control installation instructions for details on how to set it up (it's very easy.) Once you have Package Control up and running, invoke it (via the Command Palette from the Tools menu, or from Preferences), select the Install Package command, and find LaTeXTools.

If you prefer a more hands-on approach, you can always clone the git repository, or else just grab this plugin's .zip file from GitHub and extract it to your Packages directory (you can open it easily from ST, by clicking on Preferences > Browse Packages). Then, (re)launch ST. Please note that if you do a manual installation, the Package must be named LaTeXTools.

Finally, you'll need to have a working TeX installation and a PDF viewer. LaTeXTools supports MacTeX, MiKTeX and TeXLive as TeX systems and Skim, Sumatra PDF, Evince, Okular, and Zathura as PDF viewers. For detailed instructions on how to set these up, please see our online documentation!

Bugs, issues & feature requests

Please read the installation instructions carefully to ensure you get up and running as quickly as possible. Help for troubleshooting common issues can be found in the Troubleshooting section at the end of this README. For other bugs, issues or to request new features, please get in touch with us via Github.

Please search for existing issues and pull requests before opening a new issue.

Acknowledgements

Additional contributors (thank you thank you thank you): first of all, Wallace Wu and Juerg Rast, who contributed code for multifile support in ref and cite completions, "new-style" ref/cite completion, and project file support. Also, skuroda (Preferences menu), Sam Finn (initial multifile support for the build command); Daniel Fleischhacker (Linux build fixes), Mads Mobaek (universal newline support), Stefan Ollinger (initial Linux support), RoyalTS (aka Tobias Schidt?) (help with bibtex regexes and citation code, various fixes), Juan Falgueras (latexmk option to handle non-ASCII paths), Jeremy Jay (basic biblatex support), Ray Fang (texttt snippet), Ulrich Gabor (tex engine selection and cleaning aux files), Wes Campaigne and 'jlegewie' (ref/cite completion 2.0!). Huge thanks to Daniel Shannon (aka phyllisstein) who first ported LaTeXTools to ST3. Also thanks for Charley Peng, who has been assisting users and generating great pull requests; I'll merge them as soon as possible. Also William Ledoux (various Windows fixes, env support), Sean Zhu (find Skim.app in non-standard locations), Maximilian Berger (new center/table snippet), Lucas Nanni (recursively delete temp files), Sergey Slipchenko ($ auto-pairing with Vintage), btstream (original fill-all command; LaTeX-cwl support), Richard Stein (auto-hide build panel, jump to included tex files, LaTeX-cwl support config, TEX spellcheck support, functions to analyze LaTeX documents, cache functionality, multiple cursor editing), Dan Schrage (nobibliography command), PoByBolek (more biblatex command), Rafael Lerm (support for multiple lines in \bibliography commands), Jeff Spencer (override keep_focus and forward_sync via key-binding), Jonas Malaco Filho (improvements to the Evince scripts), Michael Bar-Sinai (bibtex snippets).

If you have contributed and I haven't acknowledged you, email me!

More Repositories

1

Spacegray

A Hyperminimal UI Theme for Sublime Text
JavaScript
7,188
star
2

Origami

Split the window however you like! Create new panes, delete panes, move and clone views from pane to pane.
Python
1,208
star
3

CTags

CTags support for Sublime Text
Python
987
star
4

TrailingSpaces

Highlight trailing spaces and delete them in a flash.
Python
897
star
5

AdvancedNewFile

File creation plugin for Sublime Text
Python
828
star
6

CoffeeScript

Syntax highlighting and checking, commands, shortcuts, snippets, watched compilation and more.
CoffeeScript
439
star
7

PackageDev

Tools to ease the creation of snippets, syntax definitions, etc. for Sublime Text.
Python
436
star
8

VintageEx

An implementation of Vim's command-line mode for Sublime Text 2
Python
381
star
9

PowerShell

Support for the MS PowerShell programming language.
PowerShell
313
star
10

Helium

Let Sublime Text talk with Jupyter.
Python
236
star
11

ColdFusion

ColdFusion Sublime Text Package
Python
197
star
12

VBScript

VBScript package for Sublime Text
Python
185
star
13

WordHighlight

Highlight all copies of the currently selected word.
Python
180
star
14

PhpDoc

PhpDoc support package.
JavaScript
165
star
15

Terraform

Terraform (HCL) configuration file syntax highlighting for Sublime Text
HCL
163
star
16

RSpec

Sublime Text 2 / 3 plugin for RSpec BDD Framework
Python
124
star
17

InsertNums

Sublime Text plugin for inserting sequences. Supporting alphanumerics and hex, with bitwise operations!
Python
123
star
18

UnitTesting

Testing Sublime Text Packages
Python
111
star
19

IndentGuides

Draw vertical guides to easily visualize indent depth.
Python
106
star
20

Mote

SFTP Remote Editing for Sublime Text 2
Python
105
star
21

Pywin32

Pywin32 support for sublime (win32api etc)
Python
81
star
22

ElasticTabstops

Tab characters automatically adjust to keep adjacent lines aligned.
Python
67
star
23

PhpBeautifier

Pear Php_beautifier plugin for Sublime Text 2
Python
66
star
24

SaneSnippets

Sublime Text snippets optimized for humans, not robots
Python
59
star
25

LegacyColorSchemes

Color schemes that were part of Sublime Text 2 and older builds of Sublime Text 3
52
star
26

sublime_lib

Utility library for frequently used functionality in Sublime Text and convenience functions or classes
Python
52
star
27

Theme-DAneo

A theme for Sublime Text 3.2+ inspired by the popular DA UI
Python
51
star
28

Sass

Sass and SCSS syntax for Sublime Text
SCSS
50
star
29

material-theme

Material Theme, a theme for Sublime Text 3, made by Mattia Astorino
Python
44
star
30

GenerateUUID

Generate UUID for Sublime Text
Python
42
star
31

NSIS

Sublime Text plugin for the Nullsoft Scriptable Install System
Shell
40
star
32

WinMerge

Plugin that enables comparison of the last 2 activated buffers (even in different windows) using WinDiff (Windows only).
Python
37
star
33

InactivePanes

Sublime Text plugin that slightly dims (or grays) inactive panes in your group view
Python
32
star
34

SublimeHg

Use Mercurial from Sublime Text.
Python
30
star
35

QML

QML support for Sublime Text and Sublime Merge
QML
28
star
36

StatusBarFileSize

Show the file size in the Sublime Text status bar
Python
27
star
37

TailwindCSS

Tailswind CSS syntax for Sublime Text
CSS
24
star
38

MouseEventListener

Adds on_pre_click and on_post_click callbacks to Sublime Text's plugin API.
JavaScript
24
star
39

Mojolicious

Mojolicious package for the Perl Web Dev Framework for Sublime Text 2
JavaScript
22
star
40

Modelines

Vim-like modelines for Sublime Text.
Python
21
star
41

NaturalDocs

NaturalDocs package for SublimeText 2
JavaScript
21
star
42

ExtractSublimePackage

Extract .sublime-package files to the Sublime Text Packages folder.
Python
20
star
43

RevertFontSize

Sublime Text plugin to quickly revert to a preferred font size
Python
20
star
44

LegacyTheme

Sublime Text 2's default theme with retina graphics
19
star
45

YamlPipelines

Sublime Syntax Definitions for YAML CI/CD pipelines like GitHub Actions, AzureDevops, Kong API Gateway, Gitlab CICD, Bitbucket, Drone CI etc.
Python
18
star
46

KnowledgeBase

Sublime Text Knowledge Base
Python
18
star
47

ScrollOffset

Python
18
star
48

UberSelection

Commands to extend the functionality of Sublime Text's multiselection.
Python
17
star
49

PythonOpenModule

Open python modules on sys.path and open folders in window
Python
16
star
50

PowershellUtils

Run powershell commands from within Sublime Text.
Python
16
star
51

Rake

Sublime Text 2 plugin for Ruby Rake
Python
15
star
52

JumpTo

Sublime Text plugin to move (multiple) cursors
Python
13
star
53

SwitchWindow

A plugin to quickly switch between Sublime Text windows via Command Palette
Python
12
star
54

ScopeNamingGuidelines

Collection of documents for scope naming guidelines in Sublime Text syntax definitions
12
star
55

AutoSelect

Sticky Selection
Python
12
star
56

SublimeCMD

Simple command processor for Sublime Text.
Python
12
star
57

syntax-test-action

Github Action to run syntax tests
Shell
12
star
58

OpenDefaultApplication

Sublime Text plugin to open files in the system default application
Python
11
star
59

Terminal

Launch terminals from the current file or the root project folder
Python
11
star
60

Sublime-Snipt

Sublime Text 2 plugin that will sync with snipt.net
Python
10
star
61

sublimetext.github.io

GitHub Organization for Open-Source Sublime Text Package Development
9
star
62

AutoProjects

A Sublime Text plugin to open folders as projects
Python
9
star
63

PackageTesting

Minimal testing framework for Sublime Text packages. (beta)
Python
8
star
64

WslBuild

A Sublime Text package to create build systems running in WSL2
Python
7
star
65

Astro

Astro syntax for Sublime Text
Astro
7
star
66

TJ3-syntax-sublimetext2

Taskjuggler 3 syntax and code snippets for Sublime Text 2
7
star
67

Mustache

Mustache syntax and snippets for Sublime Text
Mustache
6
star
68

Less

Less syntax for Sublime Text
Less
6
star
69

LINQPad

Syntax highlighting and build system for LINQPad scripts
5
star
70

AlpineJS

AlpineJS syntax for Sublime Text
PHP
4
star
71

Ceedling

Sublime Text plugin for Ceedling C unit testing framework
Python
4
star
72

Gaelyk

Gaelyk Sublime Text Package
3
star
73

GoToEndOfLineOrScope

Sublime Text plugin to bind a key (for example the end key) to move/extend the cursor/selection(s) to the end of the line, or to before the specified scope (i.e. a comment) at the end of the line
Python
3
star
74

RichTextFormat

Syntax definition for RTF files in Sublime Text 3
2
star
75

wbond-packages

Packages created, and (mostly) managed by Will Bond
1
star
76

OpenFileInCurrentFolder

Allows opening of files in the same folder as the active view
Python
1
star