Questions tagged [latex-workshop]

LaTeX Workshop is an extension to Visual Studio Code for editing in LaTeX and viewing PDFs.

Filter by
Sorted by
Tagged with
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
35 views

Error Using `latex-workshop.bibalign` Command in VSCode LaTeX Workshop

I am encountering an issue with the LaTeX Workshop extension for Visual Studio Code. I'm attempting to format my .bib files using the latex-workshop.bibalign command, as per the guidelines provided in ...
Foad's user avatar
  • 873
0 votes
0 answers
181 views

Trouble Integrating `latexindent` with LaTeX Workshop in VS Code [closed]

I'm using the LaTeX Workshop extension in Visual Studio Code and am encountering issues when trying to integrate latexindent to beautify my LaTeX documents. Despite following the usual setup steps, ...
Foad's user avatar
  • 873
0 votes
0 answers
51 views

Custom sty files not being detected in vscode using latex-workshop extension

I am trying to compile and generate pdf for my thesis project in latex. Below is the project structure: |-tex |--thesis |---packages |----color.sty |---common |----lang.sty |---thesis.tex |---thesis....
psm211's user avatar
  • 1
0 votes
0 answers
48 views

Visual Studio Code Delete bbl

I am using Visual Studio Code LaTeX workshop. My objective is the same as in Automatically overwrite bbl for biblatex version conflict. Is there any mechanism specific to Visual Studio Code such that, ...
温泽海's user avatar
0 votes
0 answers
28 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
1 vote
1 answer
144 views

!Argument of \MT@gobble@to@nil has an extra }

This is my first ever StackExchange question - please be gentle :) I have experience using Latex online on Overleaf but never locally, so I am completely new to this. I am trying to use my university'...
Andrew's user avatar
  • 13
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
0 answers
85 views

TeX capacity exceeded, sorry [grouping levels=255] latex-studio

I'm currently writing an important paper. I'm trying out LaTeX for the first Time and I keep encountering this issue seemingly random: TeX capacity exceeded, sorry [grouping levels=255] Sometimes, if ...
Raffy1905's user avatar
0 votes
0 answers
40 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
0 answers
72 views

LaTeX Workshop autobuild stops on Tex errors

I began using VSCode for writing LaTeX documents, and the LaTeX Workshop plugin seems promising. However, while using it, I encountered an issue for which I haven't found a solution yet. When I write ...
Padmal's user avatar
  • 111
0 votes
1 answer
192 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
43 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
7 votes
1 answer
217 views

Arara doesn't work anymore after package update to v 7.1.1

I am writing Latex code in VSCode with TexLive installed on Windows 10 and I am using Arara. % arara: pdflatex: { shell: yes } %! arara: biber % arara: pdflatex %! arara: pdflatex Everything worked ...
Giuseppe's user avatar
1 vote
2 answers
235 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
29 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
302 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
3 votes
1 answer
656 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
700 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
1 vote
1 answer
259 views

is it possible to disable the auto compile when using latex workshop plugin in visual studio

I am using the latex workshop plugin in visual studio to write a tex file, everytime I save the document the background task will auto build the document, I have already find the auto compile in latex ...
Dolphin's user avatar
  • 843
0 votes
0 answers
86 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
88 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
0 votes
0 answers
482 views

LaTeX Workshop extension using portable LaTeX environment

I am currently setting up a portable LaTeX environment (TeX Live) with VisualStudio Code and the LaTeX Workshop extension as the editor. How do I specify in the LaTeX Workshop settings the path to the ...
Bling's user avatar
  • 1
0 votes
0 answers
70 views

Triggers and auto-completions with ```glossaries-extra``` + ```bib2gls``` in Latex Workshop and Overleaf

I've recently raised a question about citing and keeping track of long lists of species names (Is it possible to add triggers (like the ones used in snippets) for quickly citing specific terms my text ...
Michele Rossini's user avatar
0 votes
1 answer
186 views

\ref before \label fails to evaluate running lualatex from Latex workshop

I am using Latex Workshop on visual studio code. My lualatex tool is: { "name": "lualatex", "command": "lualatex", "args": [ "-...
Alakanu's user avatar
  • 199
0 votes
0 answers
112 views

VSCode plug LaTeX Workshop generates all my main.tex aux files to my project's root dir

I'm using LaTeX Workshop with VSCode. Currently, the auxillary files (.aux, .bbl, ...) are generated into my top directory. I'd rather generate them to a subdirectory to keep my root dir clean. I see ...
buttonsrtoys's user avatar
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
962 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
257 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:...
AboodJtx's user avatar
  • 101
1 vote
0 answers
369 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
1 vote
0 answers
207 views

Not sure what's wrong with my LATEX workshop settings

I've been using LATEX on VS code now. The .pdf and compile correctly, but everytime I use it, it has this error message. LATEX: macTex distribution and LATEXMK installed VS Code LATEX Workshop ...
Sebastian Williams's user avatar
0 votes
0 answers
70 views

How to configure (if is possible) the Reverse Search with VS Code (with LaTeX Workshop)?, similar to WinEdt ReverseSearch preview [duplicate]

How can I configure (if is possible) the Reverse Search with VS Code (with LaTeX Workshop)? Similar to WinEdt's ReverseSearch preview.
Mika Ike's user avatar
  • 3,741
0 votes
1 answer
93 views

How can you improve/configure que VS Code preview?. WinEdt and TeXstudio preview is much better

Comparing WinEdt vs TeXstudio vs VSCode(with LaTeX Workshop). I love the autocomplete of VS Code, but the preview of VS Code is a little fuzzy/blurr comparing to WinEdt and TeXstudio. How can I ...
Mika Ike's user avatar
  • 3,741
0 votes
1 answer
48 views

LaTeX project extension with double menues in vscode

I use the extension "LaTeX Worshop" in Visual Studio Code. It all works fine, but there are two of all kinds of items (like menues). See picture.
tork73's user avatar
  • 11
0 votes
0 answers
484 views

Adding packages to the VSCode LaTex workshop extension to LaTeX

Avid user of latex workshop on VSCode but I'm unsure of how to add packages. The VSCode tex compiler asks for a .sty file for the packages that I'm trying to import, but I've got no idea of how to ...
Thornside's user avatar
2 votes
1 answer
156 views

What do these compile arguments mean?

I see that many people use these settings: "args": [ "-synctex=1", "--shell-escape", "-interaction=nonstopmode", "%DOCFILE%" Can anyone explain what ...
Firestar-Reimu's user avatar
0 votes
0 answers
146 views

Auto expansion is only possible with scalable fonts

I'm using moderncv package Working inside VSCode's LaTeX Workshop extension At compilation it gives: [1{/home/kein/.texlive2021/texmf-var/fonts/map/pdftex/updmap/pdftex.map} /home/kein/Documents/cv/...
MPEI_stud's user avatar
3 votes
1 answer
390 views

Subfiles not finding `main.tex` reliably

The minimal working example could not be simpler: I have a main.tex file like so: \documentclass{article} \usepackage{subfiles} \begin{document} \subfile{Subfiles/subfile} \end{document} and a ...
Jan Matula's user avatar
0 votes
0 answers
70 views

tcolorbox causes compilation error in VSCode

I started getting compilation errors after I added tcolorbox to my project. I use VSCode and the Latex Workshop extension. What is strange is that the build fails when running normally, but when I ...
km11's user avatar
  • 101
2 votes
2 answers
3k views

How to (quickly) compile LaTeX in Vscode Workshop

How do I quickly compile LaTeX in vscode workshop without having to go to the TeX tab everytime? I know the CTRL + ALT + B hotkey but I can't select the recipe I want.
Fernando Coelho's user avatar
2 votes
0 answers
208 views

Asymptote usage in the LaTeX Workshop extension in VS Code. The '.latexmkrc' file

I'm trying to create a pdf document using the LaTeX Workshop v8.29.0 extension in Visual Studio Code. And I'm using asymptote by writing \usepackage[inline]{asymptote} in my .tex file preamble and ...
Jamukha's user avatar
  • 21
2 votes
2 answers
794 views

markdown in LaTeX causes compiling issue

A generated lua file for embedding markdown cannot be found during build process. Hello I want to integrate a markdown file in my latex file. Firstly, I tried to run an example for it. However, the ...
Reactionic's user avatar
0 votes
1 answer
374 views

Cannot build tex file on vs-code + texlive since upgrading to texlive 2022

I had worked both on windows & mac for the last 2 years. All my tex files are located on a drive, and with no problem at all. But I decided last week to clean my windows computer (fresh windows ...
Valoche's user avatar
0 votes
2 answers
445 views

PythonTex Error : No such file or directory on VSCode

\documentclass{ltjsarticle} \usepackage{pythontex} \begin{pycode} def fizbuz(n): for i in range(1, n+1): if i % 3 == 0: print("fiz", end=' ') else: ...
nekko's user avatar
  • 3
2 votes
0 answers
190 views

How do I implement precompilation in Visual Stdio code?

Recently, I am writing a really long book. It spends almost several minutes to complie this tex file. So I have to find some methods to speed up compilation. I've tried some possible ways to speed up ...
Huanyu Shi's user avatar
0 votes
1 answer
479 views

Different Results from Overleaf and VSCode?

My question is mostly trying to troubleshoot why I get different results in VSCode vs Overleaf. When I paste this code into Overleaf vs VSCode/LaTeX Workshop I get different results. The code comes ...
Drew M.'s user avatar
  • 15
1 vote
1 answer
606 views

run latex-workshop with --halt-on-error instead of --interaction=nonstopmode

I'm using vscode with the latex-workshop extension, and the compilation sometimes hangs when compiling tikz graphics. The FAQ recommends in this case: When builds result in an infinite loop with TikZ ...
user313032's user avatar
0 votes
0 answers
598 views

Want to build tex file but Recipe terminated with error

error message : The command name is D:\texlive\2021\bin\win32\mktexfmt Latexmk: fls file doesn't appear to have been made. Collected error summary (may duplicate other messages): pdflatex: Command ...
yeonsook kwak's user avatar
3 votes
0 answers
2k views

Debug LaTeX in Visual Studio Code (with LaTeX-Workshop)

Visual Studio Code seems to be very useful with LaTeX-Workshop plugin. In comparison to TeXStudio, TeXMaker, etc. it is able to autoformat code. It is very useful when I search for an unmatched ...
Janko's user avatar
  • 33