I am glad you found it useful. I made the video, since I could not find a good tutorial online. Thank you for letting me know. Please share the video with friends or colleagues who may find it useful.
Thanks for making this video, I am facing a issue with running, whenever I try to run the the .sty code it says "you don't have extension for debugging TeX" how Do I fix it...
@@FedericoTartarini Ok, I put the command on my computer's terminal and it didn't work but now I put it in VSCode's terminal, the building went well. Thank you!!!
I got the same error, I found that the /Library/TeX/texbin path environment variable was missing, which is weird. Because when i run the command echo $path from the terminal I find it there. So I ran the main.tex file from the terminal of VS code and the pdf got generated.
Thanks for the video! When trying to compile the pdf, I get "Recipe terminated with fatal error: spawn latexmk ENOENT." on VSC. Do you know what could be going on? Cheers from Chile
@@FedericoTartarini cool so can u make a video / series how to create such an automated - customized template? I'm sure it will get super popular as it will be useful for tons of people...
@@FedericoTartarini yes as I've mentioned at the first comment, creating an automated customized user based (user info taken from the db) in order to create an auto completed form, can be for blood test results or anything else u would like to, there are infinite options for db generated pdf.. can't wait for such video / series already.. would be unique on RUclips for sure
This is great, but how can I create a new latex file from scratch? I have downloaded the extensions, but you seem to alreday have a latex file that you imported. If we want to work the other way around do I just need to open a new file and save it as .tex? Can I split screen and see the PDF being gen'd in real time in the editor? Thanks!
You just have to open a new project and the create a file in it with the .tex extension. You can then build it and split the screen, putting the PDF on the right and the .tex file on the left.
Hello, thanks for the video. I have one question/problem. Where do I get or generate a file with the important data (your.tex and sample.bib files)? I haven't found anything helpful on the web, so I'm asking here. thx
This video explains how to get started with latex. LaTeX for Beginners: A Comprehensive Guide to Getting Started ruclips.net/video/g0YdIs4oJm8/видео.html
I was going to download MacTeX but this seems to do the same thing but more conveinent as its in VScode. Am I missing somirthing or should i just go right to VS of MacTeX
I have several other videos in which I explain how to write a full latex document. You can have a look at the video about getting started with latex in ten minutes. This is just a template
Please could you post a video about how to properly install latex on mac. Cause I'm having trouble with running tex files on vscode and texshop as well.
What do you mean? The process shown in the video works well. Which issues are you getting? You could always check the LaTeX workshop official documentation.
Hello! I hope you can help me. I did everything you did but keeps showing me this error: "Recipe terminated with fatal error: spawn latexmk ENOENT". And the program never compiles. I try changing the path by the terminal in VS Code but after pasting the path from the page the terminal requires me to type down my password. The thing is that I cannot type anything after that, is like the keyboard gets disabled or something. Please help me, I really need to get this working on VS Code for MAC.
@@FedericoTartarini thank you for your reply. . I am not able to compile the latex file that includes multiple files or that is called the root file. . Could you please share the solution for that.
I have tried installing perl, made sure its on path and also installed latexmk package from mikTex console manager... What can i do to fix the problem? Thanks!
@@FedericoTartarini the error is clear: I have to change the typesetting engine to "lualatex". I have tried it, but VScode is like a labyrinth, and the information in web forums is quite messy. The printed error is the following: The fontspec package requires either XeTeX or (fontspec) LuaTeX. (fontspec) (fontspec) You must change your typesetting engine to, (fontspec) e.g., "xelatex" or "lualatex" instead of (fontspec) "latex" or "pdflatex".
@@FedericoTartarini turns out i had to fix PATH and source bash_profile in my case. I had stuff installed, but i had to include the directory for miktex in path.
@@benheet6730 put this into your bash_profile: export PATH=~/bin:$PATH export PATH=/Users//Library/Application\ Support/MiKTeX/texmfs/install:$PATH then source bash_profile that's it
What did not work? Please check my other video on how to install another distribution of latex on Mac. That should work without any problems. You can fine the video on my channel
/Users/borisgrunwald/Library/Application Support/MiKTeX/texmfs/install/tex/late x/fontspec/fontspec.sty:45: Fatal Package fontspec Error: The fontspec package requires either XeTeX or (fontspec) LuaTeX. (fontspec) (fontspec) You must change your typesetting engine to, (fontspec) e.g., "xelatex" or "lualatex" instead of (fontspec) "latex" or "pdflatex". Know what this error means?
Great contribution and thank you for all you time and skills you share. I have installed MacTeX in my Mc and then installed TeXMaker. I get an error message on TeXMaker and TexShop when I compile: “LOG FILE : This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded format=pdflatex 2022.1.28) 28 JAN 2022 15:56 entering extended mode restricted \write18 enabled. %&-line parsing enabled.” I have tried to find a solution online, but no luck so far. I would be grateful if you can let me how to solve it. I have re-installed three times, but still get the same message with and empty page that looks like as a PDF. Thank you in advance
Man this was really helpful! Wasted a day with other methods to compile the pdf. This was really straight forward! Thanks much .
I am glad you found it useful. I made the video, since I could not find a good tutorial online. Thank you for letting me know. Please share the video with friends or colleagues who may find it useful.
very clear and good tutorial. Im searching everywhere how to install the tex distribution without root and found this. 👍thank you very much!
I am very happy to hear that my video was helpful. Thank you for leaving a comment
Thanks for making this video, I am facing a issue with running, whenever I try to run the the .sty code it says "you don't have extension for debugging TeX" how Do I fix it...
Great video, very clear and you explained everything that needs to be done.
Glad you enjoyed it!
Thank you bro!! It's very useful.
You are welcome
This really comes handy! I was just searching for that now! Great video, thanks!
Thank you so much. I am glad you found it useful. Thank you for leaving a comment.
@@FedericoTartarini I got a path problem when building though. I'm trying to fix it right now 😥
Just use the command as shown in the video, it should fit it straight away. Please let me know if it works.
@@FedericoTartarini Ok, I put the command on my computer's terminal and it didn't work but now I put it in VSCode's terminal, the building went well. Thank you!!!
Great I am glad it worked.
wish you went more into setting up the path variable but i figured it out on my own. thanks!
Thank you for the feedback
Ehy man, i know it's been quite a while, but could you explain me how you managed to resolve it? Thank you
@@anto8722 i dont remember the exact steps but i remember just digging into the vscode settings and i found what i wanted iirc
Thank you for the tutorial Federico.
You are welcome. Have a nice day
Hi, I get an error saying:Recipe terminated with fatal error: spawn latexmk ENOENT; when trying to compile. What do you think it may be?
Hi, have you followed all the steps as shown in the video to install it on Mac?
I got the same error, I found that the /Library/TeX/texbin path environment variable was missing, which is weird. Because when i run the command echo $path from the terminal I find it there. So I ran the main.tex file from the terminal of VS code and the pdf got generated.
also give vs code some time, or try closing it and reopening it. That eventually made it work for me
Thank you for sharing this with us.
Thank you very much it`s really helpful guide!
Thank you so much.
Thanks for the video! When trying to compile the pdf, I get "Recipe terminated with fatal error: spawn latexmk ENOENT." on VSC. Do you know what could be going on?
Cheers from Chile
Hi, have you followed all the steps as shown in the video? Did you install Perl?
@@FedericoTartarini I already fixed it, thanks! for others who might have the same problem, what worked for me was restarting vscode
@@jac.34 Thanks for mentioning this. It saved me a lot of time.
It works! Thank you.
Great!
you're doing gods work hehe
Great video. Thank you.
Thank you so much.
Amazing and helpful!
Glad it was helpful! Thank you
I got a error, Recipe terminated with fatal error: spawn latexmk ENOENT. Thanks
I got the same error yesterday it most likely because miktex cannot install the missing packages on the fly. Try using another distribution of LaTeX
Is Latex what companies use to generate customized automated pdf files for their clients via the web? E.g. COVID tests results etc etc ?
Yes, I believe that some companies use it for that purpose. It is super convenient to automate those tasks.
@@FedericoTartarini cool so can u make a video / series how to create such an automated - customized template? I'm sure it will get super popular as it will be useful for tons of people...
I'll look into it. Anything in particular you are interested in?
@@FedericoTartarini yes as I've mentioned at the first comment, creating an automated customized user based (user info taken from the db) in order to create an auto completed form, can be for blood test results or anything else u would like to, there are infinite options for db generated pdf.. can't wait for such video / series already.. would be unique on RUclips for sure
This is great, but how can I create a new latex file from scratch? I have downloaded the extensions, but you seem to alreday have a latex file that you imported. If we want to work the other way around do I just need to open a new file and save it as .tex? Can I split screen and see the PDF being gen'd in real time in the editor? Thanks!
You just have to open a new project and the create a file in it with the .tex extension. You can then build it and split the screen, putting the PDF on the right and the .tex file on the left.
Thank you very much .
You are welcome!
Thanks! May I know how did you make the side bar of your finder transparent??
5:12
Hi, I did not change anything. I am using the default settings
Hello, thanks for the video. I have one question/problem. Where do I get or generate a file with the important data (your.tex and sample.bib files)? I haven't found anything helpful on the web, so I'm asking here. thx
This video explains how to get started with latex. LaTeX for Beginners: A Comprehensive Guide to Getting Started
ruclips.net/video/g0YdIs4oJm8/видео.html
I was going to download MacTeX but this seems to do the same thing but more conveinent as its in VScode. Am I missing somirthing or should i just go right to VS of MacTeX
Hi, please just follow the steps as shown in the video
Thank you, very helpful but how did you create the "main tex" code?
I have several other videos in which I explain how to write a full latex document. You can have a look at the video about getting started with latex in ten minutes. This is just a template
This is the video LaTeX for Beginners: A Comprehensive Guide to Getting Started
ruclips.net/video/g0YdIs4oJm8/видео.html
Please could you post a video about how to properly install latex on mac. Cause I'm having trouble with running tex files on vscode and texshop as well.
What do you mean? The process shown in the video works well. Which issues are you getting? You could always check the LaTeX workshop official documentation.
@@FedericoTartarini Thanks for the quick reply. I am getting an error in vscode regarding latex workshop extension.
@@FedericoTartarini I think the latex workshop is not installed properly on my device.
Try to uninstall it and then install it again
@@FedericoTartarini Latex Workshop? i tried it but no use. I even uninstalled vscode but still the same
Hello! I hope you can help me. I did everything you did but keeps showing me this error: "Recipe terminated with fatal error: spawn latexmk ENOENT".
And the program never compiles. I try changing the path by the terminal in VS Code but after pasting the path from the page the terminal requires me to type down my password. The thing is that I cannot type anything after that, is like the keyboard gets disabled or something.
Please help me, I really need to get this working on VS Code for MAC.
Try to type the password and then press enter even if you do not see anything appearing on the screen
i do not understand and i did not see anything how to click to properly instal latex. i got errors in vs.
I have a video in which I explain how to install latex
it is not working properly in multiple file latex file. .do you have any solution for that?
Which issue are you facing?
@@FedericoTartarini thank you for your reply. . I am not able to compile the latex file that includes multiple files or that is called the root file. . Could you please share the solution for that.
is this install guide up to date? because im reading many people is getting the same error but different solutions for it >.
The issue is caused by miktex which is not installing the packages on the fly. Please try with another latex distribution
ERROR:
MiKTeX could not find the script engine 'perl' which is required to execute 'latexmk'.
what should i do?
I have tried installing perl, made sure its on path and also installed latexmk package from mikTex console manager... What can i do to fix the problem? Thanks!
I have compiled it using command line latexmk afer installing missing packages, but I still cannot compile it using VSCode
Have you followed all the instructions step by step as shown in the video?
Which error are you getting?
I do have lualatex installed on my system but it does not compile? What do I need to do? Thanks.
Which error are you getting? Have you followed all the instructions?
@@FedericoTartarini the error is clear: I have to change the typesetting engine to "lualatex". I have tried it, but VScode is like a labyrinth, and the information in web forums is quite messy. The printed error is the following:
The fontspec package requires either XeTeX or
(fontspec) LuaTeX.
(fontspec)
(fontspec) You must change your typesetting engine to,
(fontspec) e.g., "xelatex" or "lualatex" instead of
(fontspec) "latex" or "pdflatex".
Sorry, I raised this issue on the wrong site. I am on a Windows machine ... and this is for Mac's installation.
I have another video for Windows. Please have a look on my channel
I'm getting an error when building
LaTeX fatal error: spawn pdflatex ENOENT, . PID: undefined.
Hi, have you followed all the steps in the video. Another user had your same issue and he solved it by restarting VSCode
@@FedericoTartarini turns out i had to fix PATH and source bash_profile in my case. I had stuff installed, but i had to include the directory for miktex in path.
Thank you for letting me know
@@unlink1649 could you explain a bit more in detail, I get the same error, restarting won‘t work for me ü
@@benheet6730 put this into your bash_profile:
export PATH=~/bin:$PATH
export PATH=/Users//Library/Application\ Support/MiKTeX/texmfs/install:$PATH
then source bash_profile
that's it
Nice
I am glad you liked it.
Can I know this mac spec?
I was using a old Mac book pro. I do. Or remember the specs. May I know why you are interested?
😄
it does not work
What did not work? Please check my other video on how to install another distribution of latex on Mac. That should work without any problems. You can fine the video on my channel
/Users/borisgrunwald/Library/Application Support/MiKTeX/texmfs/install/tex/late
x/fontspec/fontspec.sty:45: Fatal Package fontspec Error: The fontspec package
requires either XeTeX or
(fontspec) LuaTeX.
(fontspec)
(fontspec) You must change your typesetting engine to,
(fontspec) e.g., "xelatex" or "lualatex" instead of
(fontspec) "latex" or "pdflatex".
Know what this error means?
Hi did you follow all the steps as shown in the video. The error generally occurs since you missed one step.
Great contribution and thank you for all you time and skills you share. I have installed MacTeX in my Mc and then installed TeXMaker. I get an error message on TeXMaker and TexShop when I compile: “LOG FILE :
This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2021) (preloaded format=pdflatex 2022.1.28) 28 JAN 2022 15:56
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.”
I have tried to find a solution online, but no luck so far. I would be grateful if you can let me how to solve it. I have re-installed three times, but still get the same message with and empty page that looks like as a PDF.
Thank you in advance
Have you followed all the instructions as shown in the video? Which Tex file are you trying to compile?
Recipe terminated with fatal error: spawn latexmk ENOENT.
i get this error in vscode.
Hi, have you followed all the steps as shown in the video?
@@FedericoTartarini yes all, i am using m1 macbook air
That may be the issue. I never tested it on a new Mac processor. What else the error says?