Skip to main content

Questions tagged [visual-studio-code]

an extensible text/code editor which can be used as a LaTeX editor, especially with the use of various LaTeX extensions.

Filter by
Sorted by
Tagged with
1 vote
1 answer
71 views

Infinite Loop - Adding a recipes in LaTeX recipes in Visual Studio Code to export *.tex to *.docx

I'm a french writer, I'm writing using LaTeX in Visual Studio Code. I need to be able to export my *.tex files to word and *.docx. I've found this terminal comman line that is doing the magic : pandoc ...
dbourrion's user avatar
1 vote
1 answer
71 views

How to use a specific font and font weight combination in a LaTeX document in MacOS

I am using the latest version of MacOS and have installed the latest version of MacTeX. Also, I use Visual Studio Code to write my tex code and have installed the LaTeX Workshop extension to ...
euvagelos kazazis's user avatar
0 votes
0 answers
88 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
  • 939
1 vote
0 answers
82 views

Coloring functions, methods and attributes automatically in lstlisting

I am currently working on some materials for my CS classes and since I work in VSCode my goal would be being able to reproduce the color theme used in VSCode faithfully in LaTeX. For that I have ...
b00n heT's user avatar
  • 166
0 votes
1 answer
66 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
  • 1,005
0 votes
0 answers
112 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
215 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
0 answers
91 views

Zotero citation, Undefined control sequence [closed]

After I installed the Zotero connector, I tried to cite through it, following every single step. I don't think there are issues with my citation procedure. \chapter{Introduction} % Poly- and ...
guokelsey's user avatar
0 votes
0 answers
199 views

Unable to use package ctex using latexworkshop in Visual Studio Code on my mac

I am writing in Chinese so my understanding is pdflatex doesn't work for me. I have to use xelatex with the ctex package. This is my code, which worked perfectly in the TeXShop IDE that I got after ...
jxhyc's user avatar
  • 1,171
0 votes
0 answers
79 views

How can I reduce the long compilation time? [duplicate]

translation by DeepL.com Description of the problem: I use Visual Studio Code on Windows, together with the extension "LaTeX Workshop" and the LaTeX distribution "TeX Live". ...
Luca Wendt's user avatar
0 votes
0 answers
101 views

Install mtpro2 font for TeXLive user

I'm a Window user, and I'm currently using TeXLive on Visual Studio Code for my LaTeX documents. I recently purchased the mtpro2 package for a better math font, but what I receive is a file named ...
Bakkune's user avatar
  • 87
0 votes
0 answers
41 views

How does one mark something in a pdf and jumps to the part in the code?

i think this is something that might be well-known but i could not find it online. So since this depends on the editor i am using visual code right now. I would like to know if there is a way to jump ...
Adronic's user avatar
  • 23
4 votes
2 answers
2k views

VS Code, LaTeX Workshop: Viewer jumps to the first page when saving

I am using VS Code with the LaTeX Workshop extension on Ubuntu 18.04. I enabled the "Build on save" option, with the browser as the PDF viewer. It has always worked fine. However, it ...
Manuel Cañizares's user avatar
1 vote
0 answers
120 views

Visual Studio Code LaTeX date time

I am using visual studio code LaTeX workshop. Here is my code : \documentclass{report} \usepackage[yyyymmdd,hhmmss]{datetime} \title{my title} \author{author} \date{Compiled at: \today-\currenttime} ...
温泽海's user avatar
2 votes
1 answer
2k views

LaTeX table formatter extension in VSCode

Is there any latex extension similar to the Markdown Table extension for VSCode that can automagically format your tex tables in a nice way? For example, \begin{tabular}{lrr} 12 & 21412 & ...
vicky's user avatar
  • 21
0 votes
1 answer
942 views

LaTeX Worshop for VS Code doesn't work: "Latexmk: Wildcards in file names didn't match any files"

I tried to start using Visual Studio Code as a LaTeX editor for Windows following this tutorial. I completed all the steps: installed VS Code with a LaTeX Workshop extension, installed MikTeX and also ...
Andrey Dmitrenko's user avatar
0 votes
0 answers
46 views

error executing latex code on vs

I recently wanted to make a .tex code in vs and I got the following: Sorry, but latexmk was unsuccessful for the following reason: MiKTeX could not find the 'perl' script engine that is required to ...
Wrloord's user avatar
  • 101
2 votes
0 answers
236 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
1 vote
1 answer
491 views

VS Code - LaTeX-Workshop - Recipe with `for` script

Hello There Currently creating compilation recipes for LaTeX-Workshop extension in visual studio code, how to create a tool that rename files using for and mv or some other method? The script using a ...
Felipe9's user avatar
  • 339
1 vote
0 answers
289 views

using pstricks to typeset a LaTeX document in Visual Studio Code

I would like to start using Visual Code Studio LaTeX files. I am a linguist, and my documents contain many phrase marker trees that are written with macros that rely on pstricks. I therefore need to ...
Kyle's user avatar
  • 11
4 votes
1 answer
2k views

Open LaTeX PDF file in Skim from Visual Studio Code

I am trying to open my PDF document with Skim from Visual Studio Code. I would like the View LaTeX PDF file command to open in Skim my PDF document and update it automatically. Unfortunately, when I ...
Daniel Schreurs's user avatar
2 votes
2 answers
3k views

Display latex inline (in vs code)

I remember seeing someone's latex editing setup where the latex was rendered inline, so when you'd type \alpha in your .tex file it'd be replaced with the letter alpha for example. (but only visually, ...
Chrono's user avatar
  • 23
3 votes
1 answer
2k views

Vs-code latex change only pdf Out Dir

I use vs code for writing and compiling tex files. I changed on vs-code settings the Out Dir to the folder: %DIR%/build. With this setting all the auxiliary files and the pdf are saved in ./build but ...
Pablo's user avatar
  • 43
1 vote
0 answers
426 views

When I compile tex in vscode by tex workshop, I lose focus from my editor?

I reinstall my MacOS last week. I can save my tex code and then vscode will show the PDF of tex in the right by vscode tab, and I can just go ahead and change the code without modifying the cursor ...
牟翔宇's user avatar
1 vote
1 answer
514 views

Changing the aux folder for makeglossaries

I am using Visual Studio Code with Latex Workshop and I am changing the directory for the auxiliary and output files to a directory called .aux (I want it to stay hidden if possible). My reciepe looks ...
TheWorker's user avatar
  • 291
2 votes
3 answers
11k views

Setting up LaTeX in VS Code?

I am attempting to set up LaTeX in VS Code. I have installed MiKTeX and I am able to create TeX files and pdfs using TeXworks. I have installed the TeX workshop extension in Visual Studio Code. Yet I ...
DanielHubschauber's user avatar
1 vote
0 answers
404 views

Citation `XXXX' on page YY undefined in VS Code

I've recently started working on my first LaTeX document and I'm doing it in VSCode. I have the LaTeX workshop plugin installed and it's worked flawlessly until now. I have my basic .tex document with ...
Aksel Tahir's user avatar
1 vote
0 answers
2k views

It takes long time to built file

I made this file: \documentclass[uplatex, dvipdfmx]{jsarticle} \begin{document} \LaTeX \begin{equation} x^2 + y^2 = 5 \end{equation} \begin{equation} x^2 + y^2 = 13 \end{equation} \end{...
valcuria's user avatar
0 votes
1 answer
708 views

Gnuplot and VSCode's Latex Workshop

I am trying to create a contour plot with PGFPlots in VSCode. I am using the LaTeX Workshop extension. I have gnuplot installed. Also in case it matters, I am using Windows Subsystem for Linux 1 (WSL1)...
Nukesub's user avatar
  • 647
1 vote
1 answer
875 views

Asymptote Figures Not Rendering in VS Code

I've been using VS code with James Yu's LaTeX Workshop extension for all my TeX needs. I wanted to add a simple Asymptote figure from my days using Overleaf, and saw that it did not load. Looking at ...
Charles Paxson's user avatar
1 vote
1 answer
1k views

Building with VSCode Latex Workshopm recipes on build directory

I'm working with VSCode WSL and the Latex Workshop extension. I did need to use the \makeglossaries so I created a settings.json like the following as it was indicated in a question I've found. { &...
AquilinoGonzález's user avatar
3 votes
2 answers
13k views

Texlive / LatexWorkshop - unable to Build or Preview Latex Files

I have installed TexLive on Ubuntu 20.04.1 LTS using sudo apt-get install texlive After this I created a file "text.tex" in Visual Studio Code. I installed the Plugin "Latex Workshop&...
MrTony's user avatar
  • 133
0 votes
0 answers
329 views

Hebrew Latex - VSCode

I'm using VSCode to write a .tex files. I've downloaded MikTeX to get latex on my computer. I'm trying to add a Hebrew text to the file and got a bunch of errors. I tried to download the culmus-...
עתודה אקדמאית's user avatar
0 votes
0 answers
696 views

VS Code with Latex produces wrong commenting

I'm using Visual Studio Code with Latex Workshop as my editor to create beamer slides. Until now everything works quite well. Today I tripped over a strange behaviour of VS code. I'm using minted ...
LosWochos's user avatar
  • 141
18 votes
4 answers
26k views

How to use visual studio code LaTex Workshop with xelatex

I want to compile a tex document using xelatex in LaTeX Workshop extension in visual studio code. How can I change compiler from default one to xetex? I put my current setting.json file bellow. { &...
parsa2820's user avatar
  • 347
0 votes
0 answers
377 views

Add new document class

I am trying to compile my file on VS Code by the Tex-Workshop extension. However when I try to include a new document class \documentclass{amsart} The error message below always comes out There were ...
kevin's user avatar
  • 1
1 vote
1 answer
3k views

Empty Bibliography using latexmk recipe in vscode

I have read quite a lot of other questinons of this type, and no help at all. I'm using WIN10 PRO as OS text editor: VScode version 1.48.2 LaTeX Distribution: MikTex Recipe used in vscode: latexmk (it ...
Daniel Correa's user avatar
1 vote
0 answers
3k views

What's the VS Code LaTeX-Workshop recipe and tools for the Tufte book class?

Issue I'd like to really understand how to use the recipes and tools function for the LaTeX-Workshop extension for LaTeX in VS Code. I've read the documentation, but I can't quite figure out how to ...
kapple's user avatar
  • 103
5 votes
2 answers
3k views

How to get LaTeX Workshop showing equations previews as I move my cursor into inline math / math environment?

I am using VSCode with a plugin called LaTeX Workshop as my editor for LaTeX. The plugin has a very useful feature that it shows previews of equations as I move my mouse over over inline math, \[, $$, ...
Hoyan Mok's user avatar
1 vote
1 answer
831 views

Citation and Referring doesn't work on VS Studio Code

I am using Visual Studio Code for my Tex editor. Everything works fine except when I try to \ref a paragraph or \cite something from the bibliography. Could you please help? Thanks!
senorita.xi's user avatar
0 votes
0 answers
405 views

Undefined subtype 'subfigure' when using floatrow to create subfigures with subcaptions in VScode latex-workshop

I am try to creat multi rows and columns subfigures each with subcaption. I've run my code in Overleaf, which works fine. However, when I run the same code locally on my windows laptop using VScode ...
Liang Guo's user avatar
3 votes
0 answers
2k views

Syncing pdf with vscode external viewer

Setup: I'm using visual studio code with LaTeX Workshop extension to write latex. I use an external pdf viewer mainly because I want to see the pdf on a different screen. Using Ubuntu 20.04 LTS. ...
Gal's user avatar
  • 131
1 vote
1 answer
694 views

Folding footnotes in VS Code

Folding sections works well in VS Code, but would someone know whether there is an extension that allows folding footnotes? I typically do this in VS Code: Here is some text.\footnote{ reference text ...
Timothy Roes's user avatar
0 votes
1 answer
261 views

Command \url{} not showing up in command palette Visual Studio Code

In Visual Studio Code, using the LaTeX Workshop extension, you can surround selected text with a command or environment. A hotkey brings up Command Palette and there you can choose the command. This ...
Timothy Roes's user avatar
23 votes
3 answers
25k views

"Go to Source" for Latex on VS Code does not seem to work

I am currently trying to migrate to VS Code (on Mac) for creating and editing tex files. Everything has been working just fine except that, when I build and preview, I do not seem to be able to use ...
Gregory Cosac's user avatar
3 votes
0 answers
7k views

Biblatex and biber in VS Code

I've just changed from TexMaker to VS Code and have since been unable to compile .tex documents that use .bib bibliographies and biblatex with biber. I have also tried bibtex, but it doesn't work ...
Pedro G. Mattos's user avatar
2 votes
1 answer
702 views

Output *.pdf file to a different directory using latexmk

I'm using latexmk in Visual Studio Code and I'd like to output the .pdf file to the current directory (same directory as the .tex file), while outputting all auxiliary files to a different directory. ...
zjeffer's user avatar
  • 121
16 votes
4 answers
73k views

PDF Preview in Visual Studio Code

In this question, the setup of LaTeX in VS Code is explained in one of the answers. I followed the instructions, and am indeed able to compile a LaTeX document in VS Code, with the PDF output as ...
Marie. P.'s user avatar
  • 685
8 votes
1 answer
34k views

How can I get VSCode's LaTeX Workshop to find the right installation of TeX?

I've installed TeX Live and Visual Studio Code with the LaTeX Workshop extension. Previously, I'd installed LyX. VSCode is looking at the LyX installation. I know this because I had an error ...
Terri Simon's user avatar
11 votes
4 answers
11k views

Save auxiliary Latex files in another folder in VSC

I have started to configure VSC as my default latex text editor, using the "Latex Workshop" extension. My question is: How can I make the auxiliary files generated when compiling the project be saved ...
Josemanuu01's user avatar