Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sublime-text]

Sublime Text is a sophisticated cross-platform text editor for code, markup and prose. It supports TeX and variants via specialised plugins such as LaTeXTools and LaTeXing.

39
votes
5answers
66k views

LaTeX with Sublime Text 2

I recently (2 days back) started using LaTeX, I use Sublime Text 2 (ST2) for most of the programming. I found that ST2 has LaTeX package. So what I am doing is write the document with ST2 and run it ...
30
votes
3answers
24k views

LaTexing vs LaTexTools (Sublime text plugins)

I want to use sublime as my default IDE for TeX (currently I'm using Latex Studio). I've found two great packages: LaTexTools LaTexing Both has somehow the same list of features but LaTeXing seems ...
25
votes
1answer
10k views

How to set main file in latextools with Sublime Text 3 editor

The point is simple, how to set the "master file" that always will be compiled in Sublime Text 3 editor using standard Ctrl-b command (it could using sublime's projects). Additional feature I'm ...
24
votes
2answers
7k views

Why did my TeX-related GUI program stop working in Mac OS X Yosemite?

For example, TeX Live Utility 1.17 and earlier will not work on Mac OS X 10.10 Yosemite. If a shell task relies on the PATH environment variable to launch a command, rather than a fully-specified path,...
16
votes
3answers
19k views

LaTeXTools: you need to migrate your preferences. See the README file for instructions

I was given the following error in sublime text during the build process: LaTeXTools: you need to migrate your preferences. See the README file for instructions. What do I need to do to fix it?
16
votes
2answers
7k views

Custom Build Settings in Sublime

I'm using LatexTools for Sublime 2. I want to add the parameter -shell-escape to the build command, but struggling. The documentation says not to edit 'LaTeX.sublime-build', but to edit 'LaTeXTools....
13
votes
5answers
19k views

Sublime Text 3 LatexTools

I just installed ST3 and installed the LatexTools package using Package control. Everything seems to have gone fine except when I compile using CMD+b nothing seems to happen. On the terminal I get ...
10
votes
2answers
8k views

How to use the autocompletion of enumerate in latexing (sublime text)

When I write \begin{enumerate} sublime text does not auto complete it to \begin{enumerate} \item \end{enumerate} like I would expect. Is there a way to achieve this?
10
votes
6answers
12k views

Is it possible to use LaTeX tools with pdf preview?

So I want to use LaTeX in sublime text 2, and I came across the plugin LaTeXTools. It works great, but it requires me to install Skim PDF Viewer. Is it possible to set it up so that when I compile the ...
10
votes
2answers
885 views

Sublime 3 with Arara

I would like to use Sublime 3 for my LaTeX work, however I'm having some difficulty getting arara working as part of the build. I have TexLive installed so I have the arara binaries available (used ...
9
votes
2answers
4k views

Where and how to enable '--shell-escape' or '--enable-write18' of pdflatex.exe in LaTeXTools of Sublime Text?

I know how to deal with the problem with the older version of LaTeXTools. But recently LaTeXTools has been updated, which turn out to deprive me of knowing what to do. I use Windows+MikTex, by the ...
8
votes
1answer
6k views

Can't compile XeLaTeX with LaTeXTools for Sublime (OSX)

LaTeXTools works for me when I do regular LaTeX files. But whenever I try building my XeLaTeX file, I get this output: [Compiling /some/path/to/file.tex] SimpleBuilder: pdflatex run 1; done. Errors:...
7
votes
2answers
2k views

pdftex maxing out my CPU on Mac

First, some info on my system: Mac OS X 10.9 (Mavericks) MacTex 2013 Distribution (http://tug.org/mactex/) Using Latexing package in Sublime Text 3 (might be relevant) Skim pdf viewer (as per the ...
6
votes
3answers
5k views

LaTeXTools in ST3 no longer compiling LaTeX after upgrade to El Capitan

I can use LaTeX in the terminal just fine, but after installing El Capitan I receive the following error. TraditionalBuilder: Invoking latexmk... COULD NOT COMPILE! Attempted command:...
6
votes
1answer
1k views

Sublime Text 2 latex tools/New Build

Please excuse me if I've posted this in the wrong area. I've just started using Sublime Text 2 for Latex with the LaTeX tools plugin. It's wonderful. I'm using Mac ox 10.6.8 I'm wondering about ...
5
votes
1answer
1k views

Build Lualatex in Sublime

My subime-text buildsettings now set to pdflatex, I want to build lualatex file. How can I change the setting?
5
votes
2answers
15k views

LaTeX Warning: There were undefined references. - path is correct

I am getting the following warnings when building my document: However, there were warnings in your LaTeX source ./100DayIntro.tex:7: LaTeX Warning: Citation `Cook2009' on page 1 undefined on ...
5
votes
1answer
869 views

Glossaries Package and LaTeXTools

I used the provided answers on TEX.se a lot while writing my Bachelor Thesis but couldn´t find an answer on the following question: How do I use the LaTeXTools build-system with the glossaries ...
5
votes
1answer
576 views

Synctex fails for input files. Related to fancyhdr + graphicx?

I have run into a problem with the synctex option of pdflatex that seems to be related to the fancyhdr and graphicx package. Problem: Forward and inverse search between editor and PDF viewer work ...
4
votes
2answers
2k views

Sublime Text Snippets just for LaTeX

If I want to write a few new Key Bindings for Sublime Text which should only work in LaTeX files (like typing _ or ^ after another character adds the surrounding curly brackets automatically) what do ...
4
votes
1answer
19k views

\subfigure errors with ASME template

I am having some troubles in using \subfigure in LaTeX template for ASME conference papers, version 1.7. Here's my code: Figure % GRAPHICS \RequirePackage{caption} \RequirePackage{subcaption} \...
4
votes
3answers
2k views

LaTeX project together with Sublime Text 2

I am writing a paper divided into several sections. I would like to have one master file and then several file which I will only include. I would like to do it properly, since I am sending it to my ...
4
votes
2answers
3k views

How to add SyncTex support for evince (or Okular) and LaTeXing for forward and backward navigation between source and pdf

I'm currently using LaTeXing in sublime text 3. Unfortunately I couldn't find a proper solution for enabling forward and backward synctex between source and pdf. The LaTeXing uses evince (on Linux). ...
4
votes
1answer
1k views

Latexing: Using `program` option to change tex engine does not work

I'm using LateXing with Sublime Text 2 for my TeX needs. In the LateXing documentation it says I can choose xelatex as the TeX engine by using the following line at the start of my TeX file: % -*- ...
4
votes
1answer
6k views

LaTexTools stops compiling in Sublime Text

I have been using LaTexTools for a while, and it works fine. After installing the public beta of Yosemite, Sublime Text + LatexTools stops working: the build command brings up output window showing NO ...
4
votes
0answers
183 views

Selectively compiling source in LuaLaTeX

I have recently switched from Xe(La)TeX to Lua(La)TeX 1.0.4 (TeX Live 2017) in order to use font expansion feature of microtype package. As a result, my compilation time increased dramatically. I ...
3
votes
2answers
10k views

Sublime Text 3 - Is there a autocompletion / dropdown list feature?

In Texmaker or TexStudio, one can begin to type and the program will display a dropdown menu of suggestions. Is there something similar to this in Sublime Text 3? If so, how do I enable it?
3
votes
1answer
845 views

Reverse / inverse search with Skim and Sublime Text (ST3) not working (creates new empty doc)

Every once in a while I have an issue with Skim's reverse / inverse search and ST3: the usual shift + command + click (Mac) opens a new doc in a new tab that is empty instead of bringing me to the ...
3
votes
3answers
151 views

Sublime thinks my whole text is an equation

I am currently writing in latex in Sublime 3; I am using the LaTeXTools package. In one of the first lines of my file I have redefined the square brackets as follows. \makeatletter \AtBeginDocument{% ...
3
votes
1answer
574 views

LateXTools preview using Okular instead of Evince?

I'm using LateXTools in Sublime 3 running under elementary OS 0.3. After compiling a .tex file, the PDF viewer Evince opens up to see the final PDF. I want to change this to open Okular instead. I'...
3
votes
1answer
425 views

How to use Lilypond with Sublime

It would seem I'm forever a LaTeX novice: I cant get my head around the instructions on how to invoke lilypond-book. According to lilypond's documentation you have to use this: lilypond-book --pdf ...
3
votes
2answers
3k views

Sublime Text with LaTeXTools sets wrong PATH for TeX in OSX Mavericks

I'm having a very bizarre problem with ST2 for Mac OSX. I just installed it today, along with the LaTeXTools plugin. With the standard classes it works just fine. My dissertation, however, uses a ...
3
votes
1answer
10k views

Skim Inverse Search Problem with Sublime Text 2

Skim Inverse Search doesn't work for me(Mac OS 10.9) Everything works fine for Sublime Text 2 with LaTexTools, building etc. Skim pops out, fine. Test PDF looks good. I set up sync in Skim wish to ...
3
votes
3answers
717 views

SublimeText/LaTeXTools: overfull hbox warnings

I have recently started to use Sublime Text (a text editor) and its extension package LaTeXTools (all kinds of macros that make it very convenient to edit LaTeX documents). LaTeXTools offers a number ...
3
votes
1answer
3k views

SublimeText2 LaTeXTools won't produce pdf

I'm using SublimeText2 with LaTeXTools on Ubuntu 14.04LTS and TeXLive 2015. When I press ctrl+b, it generates the .aux and dfb_latexmk file but no pdf. My problem was described in a previous post ...
3
votes
2answers
2k views

Biber with LatexTools on SublimeText 2

My current workflow for latex involves using the LatexTools package with Sublime Text 2. I've gotten to a point where not knowing how to do citations is crippling my productivity, but I am unable to ...
3
votes
2answers
3k views

Indenting style of LaTeX files with Sublime Text

Here is a part of my LaTeX code and what I want it to be: ... \begin{table} \begin{tabularx}{\textwidth}{|l|l|l|X|X|X|X|} ... However, if I re-indent it in Sublime Text 3, it becomes: ... \...
3
votes
1answer
748 views

Using Swedish characters in Sublime Text 3/LaTeXTools/Skim workflow?

I’ve recently moved from TexShop to Sublime Text 3/LaTeXTools/Skim for my Latex work. Occasionally I typeset texts in Swedish including “å”, “ä”, “ö” etc characters. However, when I open such a ...
3
votes
1answer
301 views

Toggle Hide/Show cites, footnotes etc

It annoys a lot, if my written text has lots of footnotes or cites, so a quick reading and writing in same editor ( not in pdf, as you may point out) is a tough matter. I wonder if there is any ...
3
votes
0answers
898 views

LaTeXTools for Sublime Text 3 Invoking wrong builder

I seem to be encountering a strange problem where I have "builder": "simple" in my settings but when I build the document, LaTeXTools invokes the traditional builder. TraditionalBuilder: Engine: ...
3
votes
0answers
112 views

Sublime Text Custom Syntax Higlighting

How can I customize the syntax highlighting for both the arguments and optional arguments? For example: \todo[inline]{some notes here}. I would like to customize the color of text inside square ...
3
votes
0answers
695 views

What is your experience switching from TeXShop to Sublime Text? [closed]

I recently installed Sublime Text 3 on my mac and spent a couple of hours reading the doc and installing LaTeX tools. So far my long-time editor has been TeXShop, I have a number of text-expansion ...
2
votes
1answer
5k views

Jump to the last line of PDF when Compiling text in Sublime Text

I'm using Sublime text to compile my text file using hotkey Ctrl+b, but when I write pages of equations and compile my file, the pop-up pdf always goes to the first line on the first page. So, I have ...
2
votes
2answers
236 views

Sublime math scope confused with tabu

I'm trying to use Sublime Text 3 for writing LaTeX docs. Unfortunately writing a tabu with a math column X[$] confuses the scoping mechanism as one can see in the screenshots. Note that the code in ...
2
votes
1answer
903 views

Nomenclatures not working when using package nomencl

When I try to use a simple nomenclatures example, such as: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{nomencl} \makenomenclature \begin{document} \mbox{} \nomenclature{$c$}{...
2
votes
1answer
1k views

Disable 'PDF preview' or 'jump to PDF' option in LaTeXTools

I'm using LaTexTools in SublimeText and I'd like to disable the feature that automatically opens Evince (Linux user) after a successful compilation of my .tex file. I can see there are options to ...
2
votes
2answers
1k views

xelatex-biber in Sublime Text 3

I am new to LaTeX, using MacTeX 2014, biblatex 2.9/Biber 0.9. In need to create a custom build that includes xelatex-biber-xelatex in Sublime Text 3. Comments below from @cfr and @egreg helped me to ...
2
votes
1answer
1k views

Any Sublime txsprofile for TexStudio?

Has anyone created TexStudio txsprofile based on Sublime 3.0 colour schema? I truly appreciate sharing. I switched from Sublime to TexStudio and need such profile!
2
votes
2answers
1k views

Use latexindent.pl with `BeautifyLatex` in sublime text

I was trying to use latexindent.pl with the package BeautifyLatex in SublimeText 3 on OS X El Capitan . When I tried to save tex file, there was an error: Error: can't specify None for path argument ...
2
votes
1answer
400 views

Lualatex with latexing

What Latexing file I have to modify and I can compile with LuaLatex by default? I only view build arguments but not how to modify from pdflatex to lualatex.