I'm new with TeX and linux, but I want to learn to use it.
I found an open source TeX file from here and I want to be able to compile from the cv.tex file to cv.pdf. After searching around, I found pdflatex seems to be what I was looking for. However, using the command line, it gives me the error of "XeTeX is required to compile this document". I do have XeTex and when I try to use XeTeX, it gives me the error of "Undefined control sequence".
Since I am new to linux and googling increases my confusion, I decided to use TexWorks which is an IDE I hope will have all the dependencies to compile the tex file to pdf. Upon launching, I believe the "compiler" was set to pdflatex and I click on the "green play button" and it did create a new window with the right content on it. I was ecstatic. I started modifying the tex file, "save" and hit the "green button" again but this time I get the same errors as when I do it through the command line. I get "XeTeX required" when I use pdflatex and "Undefined control sequence" when I use XeTeX.
Can someone please guide me to the right path?
Additional info: If I close texworks and open it again, I can the original output "cv.pdf" on another window however, it does not include my changes to cv.tex. I also tried XeLatex and it does not compile correctly.
The errror I get when use xelatex is: "Latex error file: unicode-math.sty not found"