Skip to main content

Questions tagged [vscode]

The tag has no usage guidance.

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

Curating the Intellisense suggestions in LaTeX Workshop on VS Code

TL;DR I want a comprehensive list of the macros Intellisense suggests for LaTeX Workshop on VS Code. Some of them are contained in JSON files in the data directory of the github repository for this VS ...
A Blumenthal's user avatar
0 votes
0 answers
34 views

Latex installation or workspace configuration breaking \begin{enumerate}

Task Description: I am writing my thesis with latex in vscode. Sometimes I write using my desktop PC and other times using my laptop when I am travelling. I have setup git version control for this ...
Evangelos Vlachos's user avatar
-1 votes
1 answer
51 views

Setting main font, uncontrolled sequence error

I've been a LaTeX user for about 2 hours now and am completely lost on many things, but coming around. I'm using MikTeX on Windows, and writing the document through VSCode. Specifically, I am trying ...
ohshitgorillas's user avatar
0 votes
1 answer
37 views

Issues with VS Code set up

I am trying to set up VS Code to use with LaTeX. I have downloaded MacTeX on my laptop and installed the LaTeX workshop extension on VS Code. These programs are up to date. However, when I try to call ...
schrodingers_cat's user avatar
0 votes
0 answers
42 views

Compilation time >15s for a one-line document on VSCode and TexLive

I always used overleaf but I now need to work offline, so I installed the VSCode extension Latex Workhop and TexLive on my Windows 11 machine. Everything works nice except for the compiling time: ...
Elena's user avatar
  • 1
0 votes
0 answers
28 views

No VSCode auto-completion using .sty file commands

I have created many .sty files that auto-complete in TeXMaker, but recently I switched over to compiling in VSCode. The problem is, even though there's no problem compiling, I have no auto-completion ...
cybsFeyQ's user avatar
1 vote
1 answer
403 views

chktex Warning in VSCode [duplicate]

No matter what document I compile in VSCode, I get the warning chktex: WARNING -- Compilation of regular expression [(?![^][{}]{(?![^][{}]}))[^]]*[ failed with error repetition-operator operand ...
cybsFeyQ's user avatar
1 vote
0 answers
47 views

VS Code chooses wrong Texlive version in second window although PATH is properly defined [duplicate]

I have two installations of Texlive: the newer "native" installation and an outdated "distro" installation. The first window of VS Code uses the "native" Texlive, all ...
babajabba's user avatar
0 votes
0 answers
30 views

XeLateX stopped compiling

I am using xelatex on vscode and i was working on a lab report when i set up some simple figures and now it doesnt generate the pdf anymore and no problems are detected. It worked perfectly before ...
Hiraethy's user avatar
0 votes
0 answers
36 views

VSCode No Warnings shown

When writing a .tex file I normally get warnings in the problems for like "overfull hbox" or "missing } in line 12". Now I just see nothing - any ideas? When using chktex to check ...
Nicolas's user avatar
0 votes
1 answer
17 views

vscode to rename pdf files after compilation according to patterns

In Linux, I created a Makefile to rename my output pdf files according to the patterns required by my projects. Those patterns are filled from variables fetched from the tex source files themselves. ...
22decembre's user avatar
0 votes
0 answers
63 views

PDF Preview of LaTeX does not refresh in VS Code when PDF is used in another program

When I compile a LaTeX file on VS Code, the PDF viewer does not automatically refresh when this file is open in Adobe Acrobat Reader or syncing in Google Drive. This is despite the PDF file being ...
bixiou's user avatar
  • 73
0 votes
0 answers
75 views

How do I add custom Intellisense in VScode latex-workshop?

When I was writing my graduation thesis, I used a template made by my senior that met the school's requirements. There is a \citing{} command in it, which can add a literature citation in the upper ...
Luca's user avatar
  • 1
0 votes
1 answer
23 views

Bibtex Latex-Workshop Missing endcsname inserted

I am pretty new to latex working in linux with textlive and vscode with the extension Latex-Workshop, it cost me a bit of time making it work together but at the end it is working fine except i keep ...
Jesus Urquizo's user avatar
0 votes
0 answers
34 views

Using Github Codespaces and VS Code to write latex document: error when building

I am using the Github Codespaces extension, VS code and Tex Live to work on a Latex file saved in my Github account, yet when I try to build a pdf, I get the following error: [09:28:41.306][Build] ...
Gakusei's user avatar
1 vote
1 answer
180 views

LaTeX Workshop - latexindent.pl not finding indentconfig.yaml on Windows (VS Code)

I'm using LaTeX Workshop on Visual Studio Code on Windows and encountering an issue with the latexindent.pl script. I'm getting the following message: latexindent.pl didn't find indentconfig.yaml or ....
Foad's user avatar
  • 983
1 vote
0 answers
34 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
95 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
55 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
69 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
586 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
91 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
97 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
717 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
34 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
73 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
39 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
138 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
48 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
180 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
84 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
3k 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
77 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
603 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
  • 323
0 votes
0 answers
20 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
78 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
678 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
53 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
177 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
778 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
59 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
119 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
42 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
604 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
217 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.7k
0 votes
0 answers
68 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
88 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
1 vote
0 answers
1k 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
2k 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