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 the auxiliary files it generates, there was a .asy file that contained my Asymptote code, with nothing else. I ran it through Asymptote (just by double clicking on it) so it generated the figure in another .pdf file. Building my project in VS Code again, nothing changed. I am quite unfamiliar with all the backend stuff of LaTeX since I started out with Overleaf, but here is what I am using:
- LaTeX Workshop 8.15.0
- Asymptote 2.68
- GhostScript 9.53.3
- Tex Live 2020
I saw an issue on the Github page for LaTeX Workshop about this, but I have no idea what a .latexmkrc file is and when I pasted the code listed there in a file simply called ".latexmkrc" it gave an error.
Edit: I just switched to MiKTeX, and now I am getting "plain.asy: 263.3: reading array of length 4 with out-of-bounds index 4". Still no fix. Any ideas for this?
Thanks in advance for any help.