Questions tagged [latex-workshop]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
23 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.
0 votes
0 answers
18 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 ...
0 votes
0 answers
16 views

How can I change the typesetting engine in Latex Workshop? (VSCode)

The logs ask me to change it to xelatex or lualatex but I can't find how to do that. I have browsed the extension setting extensively.
0 votes
1 answer
42 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 ...
0 votes
0 answers
14 views

Highlight \iffalse ... \fi as comment in VSCode LaTeX Workshop

I write LaTeX documents in VSCode using the LaTeX Workshop extension and occasionally I use \iffalse ... \fi statements to comment out larger blocks of text. Is there a way to tell LaTeX Workshop to ...
  • 101
0 votes
0 answers
29 views

Is there a way to increase font of sections under VS Code + LaTeX Workshop?

I am using Emacs + AucTeX to edit everything with LaTeX. Recently, I come across to discover VS Code and LaTeX Workshop addon, it looks great especially for large project! What I like in AucTeX is its ...
0 votes
1 answer
55 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 ...
0 votes
2 answers
78 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: ...
  • 3
1 vote
0 answers
41 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 ...
0 votes
1 answer
100 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 ...
  • 15
1 vote
0 answers
78 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 ...
0 votes
0 answers
170 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 ...
3 votes
0 answers
498 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 ...
  • 33
0 votes
1 answer
780 views

How to prevent the LaTex Workshop extension from compiling when I save a file?

Observation When I press Ctrl+S in a sample.tex I get the following error: LaTeX fatal error: spawn latexmk ENOENT, . PID: undefined.. It seems to be a path related error. I assume this occurs ...
  • 197
0 votes
0 answers
777 views

Cannot get LaTeX Workshop in VSCode to use MikTex

I'm trying to set up LaTeX on VSCode with LaTeX Workshop and MikTex. I downloaded MikTex and use the GUI to directly compile a demo.tex into PDF and it worked fine. But when I used LaTeX Workshop on ...
0 votes
0 answers
96 views

Configure VSCode generete dvi to ps to pdf

Configuring latex in VSCode I put the following in my personal configuration. { // Define which recipe is used by `latex-workshop.build`. It also applies to auto build. Recipes are refered to ...
0 votes
1 answer
318 views

How to include SVG documents into LaTeX document in VSCode with LaTeX Workshop plugin?

I try to insert a SVG file into my LaTeX document with this code: In my main file: \documentclass[12pt, twoside]{book} \usepackage{multicol} \usepackage{svg} \svgsetup{ inkscape=pdf, ...
  • 133
0 votes
0 answers
99 views

problem with my settings.json-file

I'm not really familiar with the recipes in latex workshop so I always get an error in my settings.json-file while compiling. This is the content of my settings.json-file: { "latex-workshop....
  • 1
0 votes
2 answers
304 views

Cannot select lualatex or xelatex with magic comment in vscode with latex workshop

The magic comment % !TEX program = lualatex no longer works when using VSCode with latex workshop. I found that Latex Workshop no longer supports magic comments by default for security reasons. What ...
1 vote
0 answers
197 views

Latex-Workshop and Python Script

I am trying to create a recipe to quickly generate a PNG from an equation in LaTeX. I wanted to use the existing pdflatex tool that is defined in the Latex-workshop recipes and then add an additional ...
  • 411
1 vote
0 answers
552 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 ...
0 votes
0 answers
153 views

Customize which file extensions can be built with VSCode/LaTeX Workshop (tikz-files)

My question is related to VS Code - LaTeX Workshop - Typesetting a LaTeX file with extension ".md" instead of ".tex" , which has not received any answers or comments so far (and ...
  • 343