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.
160
questions
0
votes
0answers
71 views
not a TeX source file: cannot compile
I'm working now on Sublime Text 3 as text editor for LaTeX, and I'm using LaTeXTools. So far so good. However, I've just created a new file [Ctr+N], I've checked that the syntax is written in LaTeX ...
1
vote
1answer
80 views
Why does running LuaLaTeX from the command line not produce the same aux files as building from Sublime Text?
I'm trying to automate a LaTeX build and one step in my workflow is invoking LuaLaTeX from the command line like so:
lualatex example.tex
Although running this command outputs a PDF as required, it ...
0
votes
0answers
34 views
Sublime LaTeXTools warnings + not compile
After being working in TeXworks I decided to use Sublime+LaTeXTools. I did the setup correctly (checking system says so). Now I am trying to compile two simple documents, but sublime returns some ...
0
votes
0answers
40 views
PDF created on LaTeX not opening
I have created a LaTeX document on Sublime Text. It also generates the PDF. However, when I try opening it on Skim, it produces an error stating the PDF cannot be opened. I then try to open it on ...
0
votes
0answers
336 views
TexLive, MikTex, installation issues on Sublime Text 3, Windows 10 platform
Longtime user of LaTeX and Sublime lover here, but having issues getting things up and running on a Windows PC -- am NOT a long time windows user!
I installed Sublime Text 3 and downloaded the ...
0
votes
0answers
61 views
Sumatra PDF : unknown source on some documents (Tex Live 2019, Sublime Text 3)
Up until a few days ago, I had TexLive 2018. Everything was working. Then, I installed TexLive 2019 (at last). I am working with Sublime Text 3 on Windows 10.
Everything is compiling, there is no ...
1
vote
1answer
51 views
Latexindent with Homebrew Perl and Sublime Text
I'm trying to get the package BeautifyLatex working on Sublime Text 3. My initial attempts revealed that certain Perl modules were missing which prevented latexindent from working. Instead of fiddling ...
0
votes
0answers
20 views
Skim's backward search opens new window of an already opened .tex file!
I am using inverse search on Skim-Sublime, and every time a new version of TeX file is opened on top of the one already opened. Interestingly, the cursor on both files goes to the desired location. ...
0
votes
1answer
179 views
Real time updating of LaTeX with sublime text on ubuntu?
Is there any way to get Sublime text to update my pdf viewer (zathura) in real time as I write?
0
votes
0answers
33 views
Where to put .sty file, using Linux Sublime LatexTools
I am using sublime LatexTools on a Linux machine and I Cannot find the correct directory of Tex stuff. Any help is appreciated...
1
vote
1answer
74 views
LaTeXTools + Sublime + Windows + TEXINPUTS
Can't find the way how to fix problem with TEXINPUTS env.
In my docs I use personal .sty templates. Every doc is a new git repository.
Usually I put my template to texlive\texmf-dist\tex\latex\...
1
vote
0answers
84 views
How to disable suggestions when typing \usepackage
I don't want to see the list of suggestions when typing \usepackage in Latex, aka this thing:
For reference, I am using Sublime Text 3 with MacTeX distribution and I have package control installed ...
0
votes
1answer
338 views
How to set up Sublime Text 3 inverse search in OSX?
I am using OSX-10.10.5, Sublime Text 3 and Skim. I cannot figure out how to set up the inverse (or forward) search for my system.
I downloaded the "latexmk" package: I downloaded it using the TeX ...
1
vote
1answer
245 views
Latextools - sublime - does not remove deleted citation from bibliography
I am using Sublime Text 3 with Latextools on Miktex to compile my Latex documents and natbib for my bibliography. I installed the setup on a new laptop and have been running into the following problem:...
0
votes
2answers
663 views
Undefined control sequence \uline
I am using the codes below to set the paragraph be a subsubsubsection in LaTeX. It works before, but today suddenly Sublime Text fails to compile using XeLaTeX. And it says 'undefined control sequence'...
0
votes
1answer
179 views
Use autofill for labels across many files in latextools with Sublime Text 3 with xr pakcage
I have three tex files: File 1. Main paper; File 2. Supplementary file; File 3. A referee report. As you can see there is no "master" file. However, I want to be able refer labels in one file in ...
0
votes
1answer
107 views
Use of regex in sublime text 3, Tex to Html
In a job that I am doing, you must do tasks in a repetitive way by migrating articles in latex to html. I can not make substitutions using regex to replace command like
\textit{text}
to
<i>...
0
votes
1answer
200 views
How to ignore shellcheck when using minted in sublime?
I want to ignore shellcheck when writing a LaTeX document while using minted package. I know, when using shellcheck I can easily ignore warnings or errors globally by placing a line right at the ...
0
votes
1answer
172 views
Autocompletion of new command with zero arguments with LaTeXTools
I use Sublime 3 with the LaTeXTools plugin. Everything is updated.
Here is a minimal example showing what happens when I use autocompletion for commands I defined locally:
As you can see, it ...
1
vote
0answers
476 views
No Bib File Found Sublime Text 3 LatexTools
I'm writing a paper, IEEE style, and I am trying to get the bibliography working. Previously in overleaf when I wanted to use one of the sources in my bibliography, i would do \cite{} and a list of ...
0
votes
1answer
466 views
latexmk full build command from SublimeTex and LatexTools
I have a document that I've been working on for a long time using Sublime Text 3, LatexTools, and TexLive. Both on Windows 10 and Mac.
Everything there works great.
I tried to compile it from the ...
0
votes
1answer
255 views
SublimeText LaTeXTools traditional builder not recognizing XeLaTeX
I have read this question, but I am using the traditional builder in LaTeXTools, and I have
%!TEX program = xelatex
in the beginning of my .tex file, but the builder is still compiling my file with ...
0
votes
1answer
414 views
Sublime Text 3, LaTeXing, and R
I have been using Sublime Text 3 in conjunction with the LaTeXing and R-Box packages to write/compile .Rnw files. Everything was working fine until I updated to a newer version of R (3.4.3). I have ...
0
votes
0answers
235 views
Subime Text 3 + LatexTools + Evince: forward sync not working
I am writing a large document in Latex using ST3 + LatexTools on Ubuntu 16.04.
I never had a problem, except that this morning forward sync was no longer working (by forward sync I mean that Evince ...
1
vote
0answers
192 views
Set COLUMN inverse search for Okular and Sublime Text
I'm using Okular to do the inverse searching.
In the Okular setting, my command is
subl %f:%l:%c
I also installed Sublime Text 3 and the LaTeXTools package.
However, when I do the inverse search in ...
1
vote
1answer
145 views
What should I do with this Latex Error when I use sublime3 to build in Ubuntu?
I want to use LaTeX on Ubuntu 16.04 and I have installed texlive2017, sublimeText3 and the sublime plugin: latexTools. But when I create a new file, use CtrlShiftB to select "Latex-pdfLatex" and then ...
0
votes
1answer
88 views
LaTexTools in Sublime Text shows only the first line of the error
This is an example compilation output I get in Sublime Text:
TraditionalBuilder: Engine: xelatex. Invoking texify... done.
Errors:
C:\Program Files\MiKTeX 2.9\tex\latex\fontspec\fontspec-xetex.sty:...
1
vote
1answer
104 views
PDFLaTeX starts every time I type in math environments [closed]
Every time I want to type in math environments the MikTeX (2.9) pdflatex.exe starts in a separate console window and stands for a while until it closes and some other consoles appear and disappear ...
0
votes
0answers
80 views
GFS Bodoni not working in TeX Live with macOS and Sublime Text
I am desperately trying to get GFS Bodoni working for my thesis. I added the usepackage-commands as described on the LaTeX Font Catalogue to my TeX file:
\documentclass[10pt,a4paper]{book}
...
\...
1
vote
2answers
188 views
Sublime text 3 (Latex): How to organise raw data to be inserted in a table?
I have been working on this idea for some time and I thought of sharing this information. Suppose you have some raw data as so
0.7483 0.5526 0.2311 0.1460
0.8346 0.5804 0.2164 0.1100
0.8430 0.5676 0....
0
votes
1answer
2k views
sublime text 3 Ctrl+B can't compile tex file
My configuration:
Sublime Text 3, 3143;
Installed MacTex;
Installed LatexTools, and set "builder" to "basic".
I press Ctrl+B and get
make: Nothing to be done for `all'.
[Finished in 0.0s]
how to ...
1
vote
1answer
792 views
can't create PDF on Sublime text 3 Windows
my system check told me latexmk is available, but every time I press "Ctrl+B" it told me :
error: The command line tool "latexmk" is not available on your path. Please check your settings.
Please ...
1
vote
0answers
367 views
Problems with nomenclature in Elsiver cls elsarticle, with sublime in Ubuntu [closed]
I've just face with a problem with \usepackage{nomencl} environment.
I am using the Elsiver article cls, elsarticle.cls, and want to insert a nomenclature for all the abbreviations.
I'm following the ...
1
vote
1answer
207 views
latextools .sublime-project texroot does identify a texroot
I am attempting to build a latex project with included files using LatexTools in sublime text 3. I cannot build a pdf from a subfile. Please tell me how to set up a sublime project to enable pdf ...
4
votes
0answers
234 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 ...
0
votes
1answer
225 views
Context Defined Snippets
r-stein explained how you could define a keybinding in terms of a context specific to the document class (e.g. beamer or article). How could you do the same for a snippet?
MWE:
<snippet>
&...
1
vote
1answer
105 views
Different Keymaps for Different Scopes
For the LaTeXTools package, used in Sublime text, how would you define the same shortcut to operate differently for two different LaTeX document classes?
E.g. suppose that you wanted to define "...
2
votes
3answers
193 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{%
...
1
vote
1answer
902 views
Sublime Text syntax highlighting sections titles as bold in the source
Currently the section commands are coloured blue (using the Monokai theme). I would like to add more emphasis to sectioning commands in the source code when open in Sublime Text 3, similar to the ...
0
votes
1answer
522 views
How to disable Skim from changing position on file reload from LaTeXTools?
I use Sublime 3 (on Mac) with the LaTeXTools plugin and when I build the file it will use Skim to show the created pdf. I used more or less the same approach on my windows machine some time ago and ...
1
vote
0answers
761 views
How can I make sublime text autoindent Latex?
In c++ or java I can make sublime reindent the code without any problems. But in latex it doesn't work, it just removes all indentation. How can I fix this?
All I want is for this feature to work. I ...
3
votes
0answers
1k 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: ...
0
votes
0answers
313 views
Sublime Text + Evince problem
I am using Ubuntu 16.04, Sublimetext 3 and I want to use forward and inverse search for latex files. Everything (compilation, forward and inverse search) works perfectly fine, except if I have a tex (...
1
vote
1answer
833 views
Sublime Text: Reference completion across multiple files using LaTeXTools and import
Consider the following project structure
project
| -- part
| | -- fileWithLabels.tex
| | -- fileWithRefs.tex
| -- main.tex
Is it possible using Sublime Text 3 and LaTeXTools to achieve auto ...
1
vote
0answers
832 views
Tab autocomplete in latex using sublime text [closed]
I wrote a snippet for Sublime text that does the following:
\begin{lemma}
\end{lemma}
and puts the cursor between them. Which works fine. However, if I want to use TAB inside the environment - lets ...
3
votes
0answers
147 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
1answer
983 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 ...
1
vote
4answers
4k views
Sublime text 3 Equation preview broken - fix or disable
I'm seeing the following error in Sublime Text 3 (on Windows 7) when my cursor is inside an equation:
When I click on "Show Report", a file is opened that contains 1 line
Failed to convert pdf to ...
1
vote
0answers
33 views
Generating repeated .pdf file when compiling LaTeX files with Sublime
I can successfully compile my .tex file, but sublime always generates a new file.
That means when I generated a .pdf file named “one” after the first time compiling, there would be a file named "one 2"...
0
votes
1answer
216 views
Latex Sublime Text Snippet doesn't working
i'm using Sublime snippet to create a state machine template. However, it does nothing. I don't understand why, as all my other snippet are working fine.
If a remove some lines in the snippet, it ...