Skip to main content

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
1 vote
0 answers
44 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
54 views

How to add IntelliSense to personal packages in a texmf tree in Latex Workshop?

I am using VSCode with the Latex Workshop extension as my new Latex IDE and I am loving it so far. However, I can't figure out how to add IntelliSense to my personal packages. I have a repository for ...
Shai Avr's user avatar
  • 909
0 votes
1 answer
36 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
32 views

longtables is breaking my document

I am trying to embed the following longtable into my document. I am running Tex Live within a docker container, and using Latex Workshop in VS code. The chapter containing the longtable: \chapter{...
Sven D's user avatar
  • 1
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
1 vote
1 answer
179 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
0 votes
0 answers
53 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
51 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
  • 983
0 votes
0 answers
129 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
93 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
33 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
1 answer
241 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
  • 3
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
0 answers
252 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
75 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
202 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
661 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
7 votes
1 answer
299 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
769 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
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
598 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
2k 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
  • 133
0 votes
0 answers
1k 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
519 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
  • 895
0 votes
0 answers
114 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
135 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
715 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
104 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
267 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
196 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
67 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
1k 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 ...
RS.'s user avatar
  • 1
0 votes
0 answers
388 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
0 answers
543 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
263 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
73 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,781
0 votes
1 answer
118 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,781
0 votes
1 answer
61 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
706 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
166 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
200 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
550 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
88 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
3 votes
4 answers
5k 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
3 votes
0 answers
236 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
  • 31
2 votes
2 answers
1k 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
459 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