Questions tagged [vscode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
18 views

List of Symbols and List of Abbreviations

Since all questions I could find to this matter are really old and not really helpful (please correct me if I'm wrong, I just couldn't find anything useful on this matter!) I'm starting a new question....
reneas's user avatar
  • 77
0 votes
0 answers
28 views

VSCode build recipes needing to build multiple times before working

I'm not really sure how to word this, apologies as I am semi-new to LaTeX on VSCode. I have a rather large project with a .bib, a .bst and a .cls (I am using a research journal's specific style file ...
Silver Pages's user avatar
0 votes
0 answers
30 views

LaTeX workshop compiler doesn't terminate after successfully generating output .pdf

When I try to compile my .tex document via LaTeX workshop, the process successfully generates a .pdf document, but fails to stop. The compiler outputs Output written on main.pdf (1 page, 5176 bytes). ...
Spuu's user avatar
  • 13
0 votes
1 answer
44 views

Prettify Symbols extension in VSCode messes with commands

I have started to use VSCode for writing and compiling LaTeX files and so far I am liking it a lot for the highly customizable experience. I am using the extension "Prettify Symbols Mode" to ...
reneas's user avatar
  • 77
1 vote
1 answer
176 views

How to resolve "Please activate LaTeX Workshop sidebar item to render the thumbnail of a PDF file" in VS Code?

I'm currently using the LaTeX Workshop extension in Visual Studio Code for my LaTeX projects. Recently, I've encountered an issue where I'm unable to preview PDF files embedded in my .tex document. ...
Zhen Sun's user avatar
0 votes
1 answer
45 views

Visual Studio Code snippet for converting between a display and inline equation

I use VS Code as my IDE for writing LaTeX documents. Often, I would like to switch an inline equation to a display equation and vice versa. In VS Code, you can define snippets that perform this sort ...
Paul Wintz's user avatar
1 vote
1 answer
77 views

chemnum numbering only working in overleaf

I am new to LaTeX. I want to use the VSCode extension to do my LaTeX project. I need the chemnum package to work. I ran exactly the same code in overleaf and locally. The Labels TMP1 and TMP2 are only ...
Finn's user avatar
  • 21
0 votes
0 answers
225 views

How to live-preview latex on vscode?

I hope to preview LaTeX in real-time on VSCode, input tex code while outputting PDF, just like MS, and I hope there are plugins or methods that can achieve this. I noticed that some tex editors can do ...
ym2333's user avatar
  • 1
0 votes
0 answers
29 views

LuaLatex in VSCode - Recipe terminated with fatal error: spawn latexmk ENOENT [duplicate]

I am using VSCode with LaTeX Workshop installed, and TexLive as engine. I can use pdflatex just fine, however if I want to use any other recipe I get this error. Naturally, I have TexLive added to ...
Robert Rachita's user avatar
0 votes
0 answers
48 views

keep zoom of my pdf

I am using vs code to write LaTex, when I open the pdf viewer, the zoom of the pdf document is 130%, but when I write something and compile, it automatically change to automatic, and I want to keep ...
RataMágica's user avatar
0 votes
0 answers
37 views

Having a file outside of the latex project update whenever I recompile the latex project

So right now I have a bunch folders for all the work I do in Latex organized by subject matter. Each one of these consists of the various latex projects I have for each subject. The folder that holds ...
Chris's user avatar
  • 133
1 vote
1 answer
106 views

Writing a Book and Large Projects in Latex [closed]

I am a physics student and also an avid LaTex user. I'm currently making a book containing my notes in overleaf. I'm planning to do this long term, so I'm planning to type hundreds of pages. However, ...
Jovan Alfian Djaja's user avatar
0 votes
1 answer
35 views

Unicode display error with vscode + latex workshop on macOS

I'm new to using latex in VScode with latex workshop extension. Before writing my thesis with the IEEE template (ieeeconf.zip), I followed this excellent tutorial to configure my related settings. ...
QUIIToT's user avatar
  • 25
0 votes
0 answers
87 views

How could the text color inside the VSCode PDF preview be changed?

I want to make LaTeX Workshop's PDF preview fit my Visual Studio Code's theme, and I managed to change the background color of the previewed file following this guide, however if I make the background ...
Magnivul's user avatar
1 vote
1 answer
80 views

My table don't work. What might be the reason

Original code \begin{table}[H] \begin{center} \begin{tabular}{c|c} \hline 标签 & 含义 \\ \hline [t] & 置顶 \\ [b] ...
Toby's user avatar
  • 23
1 vote
0 answers
1k views

Latex Workshop error: Cannot find LaTeX root file

I recently changed from Windows to Ubuntu because I'm learning to code. I used to write my class assignments in LaTeX using vscode and Latex Workshop. However, I've tried to set it up in Ubuntu and I'...
Alex Moreno's user avatar
0 votes
1 answer
65 views

How to check what I'm using in my environment

I use VS code with the Latex workshop on Mac and it works perfectly fine when writing a paper. But I don't understand "pdflatex", "mactex", "texlive" or something other ...
SpaceTAKA's user avatar
  • 149
1 vote
1 answer
588 views

Overleaf and VS Code table incompatibility

Hi there I'm fairly new to LaTeX; hence, my code might not be the most efficient and effective but it gets the job done. So far, I've been working and experimenting in Overleaft but I'm setting on ...
Matteo's user avatar
  • 29
0 votes
0 answers
16 views

New easylist item with enter in VS Code

I am new to LaTeX and I started using the easylist package because I find it very convenient. However, it is still a bit annoying that I am unable to create a new list entry by pressing the enter key. ...
Leon E.'s user avatar
0 votes
0 answers
42 views

How can I load LuaLaTeX without biber in VSCode extension "LaTeX workshop"?

"latex-workshop.latex.recipes": [ { "name": "lualatex->biber->lualatex", "tools": [ "lualatex", ...
Adrik Ivanov's user avatar
0 votes
1 answer
206 views

Biblatex not working with VSCode

I have been using Overleaf for several years, but I am trying to switch to compiling LaTeX documents locally as I am starting much larger projects now and I would like to be able to insert figures ...
RobinsonWM's user avatar
0 votes
0 answers
44 views

How do you make biber optional when compiling using vs code

So I wanted to compile using lualatex for the compiler and biber for bibliography management. So I decided to have this in my JSON settings file: "latex-workshop.latex.recipes": [ ...
Adrik Ivanov's user avatar
0 votes
1 answer
108 views

LuaLatex with VS Code + Local Lua Debugger: Breakpoints ignored in lua scripts that lie in parent folder

In short: When debugging my lualatex files in VS Code with Local Lua Debugger, breakpoints in lua files are ignored if they lie outside the current working directory; for example, if they lie in the ...
krfl's user avatar
  • 121
1 vote
2 answers
252 views

Change build root directory in VSCode

tldr: how to change build root to different path from main tex file. Using VSCode and the Latex-workshop extension, I want to compile a document. My folder structure is as follows: /workspace_folder/ ...
Vahiel's user avatar
  • 61
0 votes
1 answer
44 views

pdflatex error due to empty *.pfb file in VSCode with LaTex Workshop

I'm working with jupyter notebooks in vscodeto export *.ipynb files to *.pdf. This works very well, but I'm not happy with the generated output. So I decided to make a *.tex file, to format it to my ...
John Goofy's user avatar
0 votes
0 answers
79 views

Priority set for latex manager in VSCode to read sty files

I am kind of new with Visual studio code, the basics that I have understood so far is that path definition, environment setup and installation on host machine is important. Regarding the use of .sty ...
Violet's user avatar
  • 101
0 votes
0 answers
30 views

latex workshop: is there a way that viewer follows editor and the other way round

I use latex workshop on VS code combined with okular, but I would not mind using the internal viewer. I use forward search and backward search. My question is, whether there is a way to make the ...
user2609605's user avatar
0 votes
3 answers
313 views

Setting up Latex Workshop to work with flatpak version of VS Code (Debian)

My question concerns a specific VS Code setup I chose within my Debian 12 distro -- I basically went with the flatpak route in order to avoid installing VS Code from a proprietary/unofficial package ...
dash-dot's user avatar
4 votes
1 answer
165 views

A cleaner way of getting accented math symbols in LuaLateX [duplicate]

Lualatex + unicode-math is awesome, but I'd like to be able to type $Â$ (in vscode) to get the same as if I were to type $\hat A$. So I wrote the clunky code below which does exactly what I want it ...
JPi's user avatar
  • 13.6k
0 votes
0 answers
66 views

When to use \NewDocumentCommand vs. \newcommand [duplicate]

I'm a layperson who is wondering about the difference between \NewDocumentCommand and \newcommand. I don't know when to choose one or the other. I'm asking because The Not So Short Introduction to ...
Adrik Ivanov's user avatar
0 votes
0 answers
29 views

Same source code yields different results in VS Code vs. Overleaf [duplicate]

I'm trying to figure out why I'm getting different results concerning the thickness of the text while running the same source code from VS Code and Overleaf. I'm using the MikTex distribution for VS ...
oodani's user avatar
  • 1
0 votes
0 answers
75 views

VSCode & MacTex: clicking on a problem does not navigate to the source

Recently, I've just shifted from Win to Mac, but I encountered a problem on the setup of Microsoft VSCode with MacTex. After one builds a tex project, there might be warnings and errors shown in the ...
Sway's user avatar
  • 1
0 votes
0 answers
405 views

"please (re)run biber on the file" in VS code?

I've looked over possible methods but the problem is still unsolved. I followed the instruction that overleaf provides (but using VS code), I think key commands are all added: % !TEX program = xelatex ...
106207436's user avatar
1 vote
1 answer
1k views

Write Lecture Notes in VS Code

I would (like many before me) like to take my lecture notes using LaTeX. As writing pure LaTeX-code is very time consuming and not nearly as fast as handwriting, I can only really consider switching ...
DarkDiamond's user avatar
3 votes
1 answer
680 views

VSCode Texlive / LatexWorkshop - unable to Build or Preview Latex Files (Unable to understand the previous responses to the same question)

UPDATE - Solution found With thanks to Alan I was able to resolve the issue. My two problems were. I didn't know how to set the correct paths in LaTeX Workshop on VSCode I hadn't corrrectly run the ...
Lauro235's user avatar
0 votes
0 answers
725 views

Error when using LaTeX in Visual Studio Code: You don't have an extension for debugging LaTeX. Should we find a LaTeX extension in the Marketplace?

When I try to run a tex file in VS Code, I get the error 'You don't have an extension for debugging LaTeX. Should we find a LaTeX extension in the Marketplace?' and cannot run the file. But when I try ...
user402525's user avatar
0 votes
0 answers
337 views

LaTeX VScode on mac - stuck on activating extensions

I've reinstalled VScode and all the libraries several times but I still can't get my latex project to compile. VScode is stuck on activating extensions: Any ideas?
jimbob97's user avatar
0 votes
0 answers
39 views

Why do the letters in the PDF become blurry after compiling when I add \usepackage[T1]{fontenc} to my LaTeX preamble?

Before adding \usepackage[T1]{fontenc} to the preamble I have in the pdf preview After I add \usepackage[T1]{fontenc} I get Why? Can anyone help me please?
RataMágica's user avatar
0 votes
0 answers
326 views

The Latex PDF is not built on vscode - Problem on Latexmk

I was trying to build a Latex PDF file on vscode, and it always gives me an error. But every time trying to seek out the error vscode, it eventually fails to build, giving the following error logs: ...
ToBY's user avatar
  • 113
0 votes
0 answers
102 views

Error in VS-Code: found no \citation commands [duplicate]

I am writing my thesis and run it on LaTex on VS-Code on a macOS and all of sudden from today morning I keep receiving the following error: I found no \citation commands. I found no \bibdata command. ...
azad's user avatar
  • 1
0 votes
0 answers
89 views

Why is VScode not compiling LaTex file when pdflscape is used?

I've been trying to compile the following document in VScode using LaTeX workshop but for some reason it doesn't compile. Furthermore, it seems that the pgfplots package is also hindering compilation. ...
seaphd's user avatar
  • 1
1 vote
0 answers
91 views

First use of \gls from glossaries doesn't produce a long version of acronyms with Latex Workshop

I want to use the glossaries package to generate two glossaries with one acronym glossary. It worked well with TexStudio and MiKTex but if I try it with Latex Workshop in VS Code and Tex Live, the ...
newOne's user avatar
  • 11
2 votes
1 answer
779 views

Switch from Overleaf to VS-Code

I write my documents using Overleaf. Now I want to switch to VS code. My document contains many tables (longtable) with a large number of references. Furthermore the document contains a glossary, many ...
Aaron's user avatar
  • 161
0 votes
0 answers
138 views

latexmk.pl version error

I am trying to use LaTeX with VSCode, but I cannot seem to get the .tex file to build. I have installed the latest Perl 5.8.8, installed and updated (both user and admin) MiKTeX and installed the ...
Ahmed Annas's user avatar
0 votes
0 answers
112 views

Unable to view PDF in VSCode tab

I'm using LaTeX Workshop extension on VSCode to build pdf documents. I can compile my source code successfully and get pdf file, but I can not view pdf in VSCode tab. No error is detected in the ...
Starry's user avatar
  • 1
1 vote
0 answers
58 views

latexmk stops during execution

I am using latexmk directly or calling from VS Code via Latex-workshop. It runs normally from the terminal but seems to be terminated prematurely when running from Latex-workshop. The output stops ...
Wizard of Kneup's user avatar
0 votes
0 answers
990 views

Latex in VSCode, external pdf viewer refreshes twice each time

I'm using MacTex with Latex-Workshop in vscode, and Slkim as my external viewer. If I enable "latex-workshop.latex.autoClean.run": "onBuilt", Skim refreshes twice per build. But if ...
Rui Sun's user avatar
0 votes
0 answers
264 views

File doesn't compile in VS code, But works fine in Overleaf

I've found a template that works fine in Overleaf (using XeLaTeX), and I decided to download all the files and use it in VS code. The issue is that when I tried to compile the file using Recipe:...
RendezvousRama's user avatar
1 vote
1 answer
513 views

TikZ not showing up image in VS Code, latest Mac OS, latest MacTex distribution (Freshly installed 2022 using the .pkg)

I was wondering why thee images are not showing up. For the code From :https://www.overleaf.com/learn/latex/TikZ_package \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \...
Sebastian Williams's user avatar
1 vote
0 answers
374 views

Compiling latex in VS Code: Recipe terminated with error. Source: LATEX Workshop (Extension)

My VS Code was working properly a couple of weeks ago to compile pdf from latex. Suddenly it stopped compiling my docs. The same happened with TexStudio. I updated my TexLive and texstudio worked ...
Dr. S's user avatar
  • 11