Questions tagged [vscode]
The vscode tag has no usage guidance.
150 questions
0
votes
0
answers
624
views
Reinstalling MikTeX
yesterday I was working on a project using latex on VSCode when suddenly the compiling process stopped working, as in the compiling process started but wouldnt end (neither by error or sucess).
So I ...
0
votes
0
answers
25
views
VS Code and Beamer : click on PDF opens vrb file instead of tex file
Every so often, while working on Beamer documents in VS Code, clicking on some page in a PDF output in VS Code takes me to the .vrb file instead of the .tex file.
I am using LaTeX Workshop by James Yu,...
0
votes
0
answers
54
views
PATH undefined in workshop latex
I install texlive (2024) on termux (linux) with pkg install texlive-installer and it's work fine (in the terminal), but I need a tex editor therefore I install visual studio code (code-oss) and ...
0
votes
1
answer
44
views
"Define current document as 'Master Document'." in VSCode
In TexMaker there is an option that is:
"Define current document as 'Master Document'."
Which is very helpful when editing a multiple-files document. However, I recently switched to VSCode ...
0
votes
1
answer
59
views
Latex Workshop send the wrong svg file path to Inkscape [duplicate]
I'm on an Ubuntu 22.04.5 LTS machine, using vscode 1.95.1 and the LatexWorkshop 9.14.1 plugin. I have been writing a document using the acmart document class without problem until now.
But I am having ...
0
votes
0
answers
1k
views
How do I get LaTex to run on VSCode (Windows 10)
I have previously used LaTex in limited extend in Microsoft Word but since I started working on some personal projects using VSCode, I decided to start using Latex to write my papers there too.
Sadly ...
0
votes
1
answer
47
views
Not all auxiliary files are deleted in LaTeX VSCode extension
I am using the VSCode extension for LaTeX for my work. I have several tex files and it makes it very hard to navigate the panel with all the auxiliary files laying around.
I have decided to delete the ...
0
votes
0
answers
21
views
Initial setup of MusiXTex on VSC
MacBookPro 2019 Running Ventura 13.2.1 (22D68) 2.8 GHz Quad-Core Intel Core i7
tlmgr info musixtex
installed: Yes
revision: 70804
sizes: src: 49k, doc: 4489k, run: 653k, bin: 9k
...
0
votes
0
answers
46
views
Configuration of vs code for latex (and arara)
I used to use TEXstudio to compile my tex files with arara and this kind of command:
% !TeX TXS-program:compile = txs:///arara
% arara: lualatex: {shell: yes, synctex: no, interaction: batchmode}
% ...
0
votes
0
answers
80
views
vscode Latex-workshop
I've been going through all docs and wikis...
The problem:
Cannot get to compile .tex on vscosde using the Latex-workshop extension
I am using vscode on ubuntu
I can id the location of the pdflatex ...
0
votes
0
answers
37
views
VS code does not give suggestions when using the cite command
So i am using Latex (with biblatex) in VS Code with the latex workshop plugin. I used to use overleaf. When i put a new literature in my .bib file in overleaf and then writing \cite{} in the .tex file ...
0
votes
0
answers
62
views
Brackets with self-sizing commands (`\left` and `\right` ) not highlighting in VScode
I was trying to change the setting of new version of Latex-Workshop extension on my PC stored with Win11 system. I failed, but I find that my brackets,if added with \left and \right,no longer ...
0
votes
1
answer
349
views
Using LuaLaTeX or XeLaTeX with the LaTeX Workshop VS Code Extension
I'm using TeX Live 2024, and I'm trying to specify a custom font (Adobe Garamond Pro) I've just installed on my Mac OS Sonoma through double-clicking on the OTF files. An MWE of what I'm doing looks ...
1
vote
0
answers
301
views
LaTeX Error: Loading a class or package in a group – Need help resolving
I’m working on a LaTeX project, and I keep encountering the following error:
LaTeX Error: Loading a class or package in a group.
I’ve checked my code, but I’m not able to locate where exactly the ...
0
votes
0
answers
53
views
VsCode LaTeX Workshop not showing any errors in the problems pane
Basically the title. If I put in an unknown environment for example, my file does not compile, but the problem pane is not showing any error and it's really tedious to find the line where I made a ...
0
votes
0
answers
62
views
Copy-Pasting images in VS Code like in TeXstudo
I recently made the switch to VS Code with LaTeX Workshop from TeXstudio. So far I am liking it, but I miss one feature:
In TeXstudio I was able to copy an image, eg with the snipping tool, and paste ...
0
votes
0
answers
81
views
Mac: LaTeX (BasicTex) in VSCode not finding tablefootnote.sty
I've read a number of similar issues on here, which were helpful in giving new things to look for/try, but I'm still having no luck.
What I've done:
downloaded BasicTex for Mac (OS 14.4), used wizard ...
1
vote
0
answers
44
views
How to make LaTeX look into 'cls' subfolder for additional files? (VS Code)
I have this file structure:
C:\Users\name\OneDrive\Documents\Master\Thesis\
├── cls\
│ └── ugent-doc.cls
│ └── eb-en.pdf
│ └── ugent-en.pdf
└── main.tex
│
└──latexmkrc
And I have this line in ...
1
vote
0
answers
420
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 ...
0
votes
0
answers
40
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 ...
-1
votes
1
answer
68
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 ...
0
votes
1
answer
113
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 ...
0
votes
0
answers
52
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: ...
0
votes
0
answers
66
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 ...
2
votes
1
answer
3k
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 ...
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 ...
0
votes
0
answers
68
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 ...
0
votes
0
answers
72
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 ...
0
votes
1
answer
27
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.
...
0
votes
0
answers
123
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 ...
0
votes
0
answers
113
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 ...
0
votes
1
answer
36
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 ...
0
votes
0
answers
71
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] ...
1
vote
1
answer
601
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 ....
1
vote
0
answers
42
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....
0
votes
0
answers
238
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 ...
0
votes
0
answers
86
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). ...
0
votes
1
answer
115
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 ...
1
vote
1
answer
1k
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. ...
0
votes
1
answer
146
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 ...
1
vote
1
answer
112
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 ...
0
votes
0
answers
1k
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 ...
0
votes
0
answers
46
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 ...
0
votes
0
answers
94
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 ...
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 ...
1
vote
1
answer
183
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, ...
0
votes
1
answer
90
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. ...
1
vote
1
answer
88
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] ...
2
votes
0
answers
5k
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'...
0
votes
1
answer
160
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 ...