2

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 wrapping asymptote code in the \begin{asy} \end{asy} environment. Suddenly, instead of displaying the picture in my document the program just skips some space on the page, and I get the file 'file_name-1.tex' not found error. At the same time, file_name-1.asy appears in the folder containing my .tex file.

It seems that VS Code looks for a .tex file instead of a .asy file. I've seen an issue on this topic and this question, where I found that adjusting a .latexmkrc file could help. But what is this file? Where and how should it be created/named/changed?

My OS is Windows 11.

Thank you in advance for any help.

Jamukha
  • 21

0 Answers0