Curricula Vitae / RésumésI can not compile this template

ModernCV, Friggeri, Plasmati, Classicthesis-CV, and more
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

I can not compile this template

Post by templateuser »

I have problems compiling this template, whenever I try to compile it states \RequireXeTeX... What can i do?

bmoral90

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: I can not compile this template

Post by Vel »

Hi,

You need to use XeTeX as your compiler for this template. Your LaTeX distribution should have a drop-down menu for selecting which compiler to use and XeTeX/XeLaTeX should be an option, if it's not then just search online for how to compile with XeTeX for your distribution. Good luck!

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

Re: I can not compile this template

Post by templateuser »

Thank you!, I have found it!, but now I have a different problem, when I compile it states: enter file name, what should I do in that case?. Thanks a lot!


Kind regards,
Barb

bmoral90
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: I can not compile this template

Post by Vel »

Hi Barb,

Could you paste a bit more of the log for me? Hard to tell what that means except that you're missing some file.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

I can not compile this template

Post by templateuser »

Ok, this is what states whenever I compile in XeLaTeX:

Code: Select all

! LaTeX Error: File 'unicode-math.sty' not found.

Type X to quite or <RETURN> to proceed, 
or enter new name. (Default extension: sty)  

Enter file name:
bmoral90
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: I can not compile this template

Post by Vel »

Hi Barb,

The output says you're missing unicode-math.sty, all you have to do is download it and put it in the same directory as the template file and your compiler will pick it up. Your LaTeX distribution might come with a package manager and you can just type in the name of the package(s) you want there and it will automatically download and install them. Alternatively, if you want to download it yourself and put it in the same directory as the template, the best place to get it is CTAN here: http://ctan.org/tex-archive/macros/late ... icode-math but you will have to create the .sty file from the .dtx supplied there. Do this by simply typing "latex \path\to\unicode-math.dtx" and the unicode-math.sty file will be created in the same directory. You may have to do this again for any other packages you are missing.

Cheers,
Vel
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

I can not compile this template

Post by templateuser »

Thank you very much for your attention, you are right, now I need 'filehook.sty', but I can not find it in CTAN =(

bmoral90
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: I can not compile this template

Post by Vel »

No problem! :)

You can get filehook.sty here: http://math.sut.ac.th/lab/software/texl ... lehook.sty

Just Google for any style files you are missing and often you can find them ready for download.
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
templateuser
Posts: 679
Joined: Tue Mar 03, 2015 4:01 pm

I can not compile this template

Post by templateuser »

Thanks a lot, I am learning how to use XeLaTeX, this is my first time... I think I have a last problem, the output says: See the unicode-math package documentation for explanation... Again, I have no idea what to do, please help haha

bmoral90
User avatar
Vel
Site Moderator
Posts: 463
Joined: Fri Jun 29, 2012 1:20 am

Re: I can not compile this template

Post by Vel »

Could you paste a bit more of the log before that please? Can't tell what the problem is from that tiny snippet.
Founder and administrator of LaTeXTemplates.com and LaTeXTypesetting.com
Post Reply