Not only is the video great and concise but you also respond to every comment. What a Chad. Your video helped me a lot btw, it is the best guide on how to install latex in vscode that I could find.
I came from your installing texmaker video, and I must say I appreciate your recommendation for vs code as it is much cleaner and more functional than texmaker.
Thank you! Very nice video, I love working with VSC and did not even know about its Latex capabilities. Worked out like a charm, no errors encountered on the way :)
@@eduardo100796 the issue I had was that I tried to "View LaTeX PDF" at first but there was no PDF generated yet. You can see at 10:20 when it start to generate the PDF, pressing "Build LaTeX project" and then wait until it finish the build. If is not that, I also read that your antivirus might prevent external programs to generate documents.
Hey! Thanks for the tutorial. I followed these steps, however I am getting an error message "recipe terminated with error. Source: latex workshop" while building the file/project. Can you suggest what I should do?
I just changed the Device from asio to SPDIF-out (soft blaster z) TNice tutorials improved the soft quality dramatically. I tNice tutorialnk tNice tutorials did the trick!
This won't work for me! I have installed MikTex, Perl, and the Latex Workshop Extension, but I still get an error when trying to compile the PDF. I do think it has something to do with the VSC settings, and which compiler is being used, but I can't seem to find anything that works for me.
I also have this problem. It's saying "Sorry, but pdflatex did not succeed." and refers to read the output in some log files but I don't seem to find a solution.
@@martinnilsson9168 I finally got it working. The problem was more with the document I was trying to build than the system. The document needed to use Xelatex to build it (which it said in one of the magic commands), but the magic command didn't seem to work. Reordering the recipes in the Json settings file of VSC seemed to do the trick. However, this isn't a complete fix, certainly not if I want to build documents with a different recipe, because the magic commands don't seem to work, and I'd have to manually change the recipes each time I want to have it automatically select the right one (I know I can click the desired recipe, but then I'd have to switch tab every time, and I can't use build on save).
I tried for hours to get miktex set up with sublime and I couldn't figure it out at all. Tried with texstudio and texmaker and hated the layout. I am so glad I found out it runs well on VSCode
Muchas gracias por tan buen tutorial, estaba instalando con TEX LIVE y estaba dándome error por cada cosa, peroseguí tus indicaciones al pié de la letra y no hubo complicaciones. Thansk a lot!
thanks, i had a problem because my main file was inside a MAIN folder and could not access the other folders outside this MAIN folder nor the other files inside the MAIN folder, but after putting the main file in the folder that contains all the other folders (i.e., outside the MAIN folder) now it's runnig smothly soo thank you very much
Hi, when i try to compile my first doc i thet this error in vscode. 'Recipe terminated with fatal error: spawn latexmk ENOENT. (source: LateX Workshop). If i open the latex workshop log it seems to me say that latexmk is not recognized as an internal or external command. Next it asks if the executable exists, and lists my system path. I manually added the folder location to the path but it still doesnt work. I also checked if latexmk.exe exists in the folder and it does... I installed in the default folder as in the video: C\Users\'My_name'\AppData\Local\Programs\MikTeX Maybe you (or someone else) encountered this problem. Thanks for the video nonetheless!
I ran the Strawberry Perl installer on VirusTotal, it's saying that is has TrojanMeterpreterSC is this normal? Edit: That's happening only for the latest version. The exact version that you downloaded on the video seems to be fine.
When I try to run the Code, i receive following error: "recipe terminated with fatal error: spawn latexmk ENOENT." I have no Idea how to fix this. Help would be appreciated. Thanks!
Ciao Federico, io ho effettuato tutti i passaggi ma continua a darmi errori sul file della mia tesi. L'ho inizialmente scritta con overleaf, ho scaricato il file sorgente e seguendo tutti i tuoi passaggi l'ho aperta con VSCODE ma mi dà errore sul main. Suppongo perché i capitoli siano suddivisi in singoli file ed il main.tex me li ingloba :(
Ciao, ti consiglio di guardare il mio corso completo su latex ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-CjuYkcA35dw.html in questo video dovresti trovare la soluzione al tuo problema
Quando compilo un file .tex, vengono creati in automatico dei file tipo .aux .log .fls ecc ... È fastidioso avere questi file auto generati di mezzo. Hai qualche soluzione ?
Ti capisco, allo stesso tempo dopo un po’ non li noti più. Con texify in pycharm puoi muovere questi files in un altra cartella. Prova a vedere se riesci a fare la stessa cosa con vs code
Thank you for great tutorial! But there is one thing missing in LaTeX workshop. I am using TeXstudio and I can find source in tex file from PDF. This is not possible in LaTeX workshop? I have document consist of 100pages and more source tex files. It is helpful, when I need to change something. Just right click on pdf preview and there is go to source. There is nothing simmilar in VSCode? despit of this it is great extension, but not very good for big documents, due to mentioned missing feature. But intellisense is far better than in TeXstudio.
I am aware that this is a bit issue. When I recorded the video you could not do back search but maybe things have now changed. On a side note I was able to implement back search inside pycharm. This is my preferred option anyway. I love pycharm and together with texify it allows you to compile LaTeX documents.
Hi Federico. I hit the error when compiling: The environment variable $PATH: undefined I check the system var and there's already had the path for MiKTeX and Perl
Thank you for the very nice video!! It helped me a lot, but after I install all, I say "View LaTex PDF" and it says "Recipe terminated with fatal error: spawn latexmk ENOENT." "Cannot view file PDF file. File not found". What shold I do??
Hello :) I have installed the extensions LaTex Workshop and vscode-pdf. At first everything worked perfectly fine but now if i try to recompile it it says: LaTex Workshop is incompatible with extension "vscode-pdf". Please consider disabling either extension. do you know how to fix this? thank youuu :)
I didn’t experience this issue. I guess it is an issue with the pdf viewer embedded in va code. Try to open the pdf with an external viewer to see if this fixes the issue
Thank you for the tutorial. Out of the 20 odd packages in the document I am trying to compile, LaTeX Workshop complains about the minted package only: \usepackage{minted} Do you know how to fix this?
@@FedericoTartarini Recipe terminated with error. I open the compiler log and extract the following message: Package minted Error: You must invoke LaTeX with the -shell-escape flag.
Im getting undefined references errors even by using the Recipe: pdflatex -> bibtex -> pdflatex x 2. Can you help me pls how to make .bib files work properly?
Yes, of course. You can open the pdf with any pdf viewer. Some readers may however not allow you to update the file while it is open in the application.
Actually, it turned out to be the setting for "controlled folder access" -- had to set that to "off" (apparently it's ransomware protection). Windows was blocking perl's ability to write the pdf to the folder. Not sure how to grant perl access rights.
It seems compiling a file takes a lot of CPU resources on the PC. Is another IDE or Overleaf better for this? Perhaps my LateX project is just too big (42MB total incl files)? I got an i7 8th gen though.
You have a very big project. You can use the approach shown in this video: Include vs input in LaTeX, when to use them and main differences ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-V_eCCNlBuMo.html
PC to an external monitor and I'm watcNice tutorialng tNice tutorials video on one screen and working through exactly what Michael is doing and it is a big