dnl-blkv / mcdowell-cv

A Nice-looking CV template made into LaTeX
https://www.careercup.com/resume
MIT License
2.21k stars 777 forks source link

Cannot get this to build on windows or linux #26

Open trevtravtrev opened 1 year ago

trevtravtrev commented 1 year ago

I cannot get lualatex to work on linux or windows. I am able to get it installed on linux but then I receive tons of errors regarding fonts when I build it. On windows, I have not been successful in even installing lualatex. There are no guides or instructions and the gitlab repo for lualatex is very unclear on windows installation.

Can anybody help me get this working on windows or linux?

ashtonav commented 1 year ago

Hi @trevtravtrev, I ran into the same issue. I got it working on Windows 11 by installing TeX Live which allowed me to run lualatex command. However, the installation was very slow and took more than 1 hour.

songexile commented 8 months ago

I was having troubles with building it also on Linux. My fix has been to remove the code below from mcdowellcv.cls

\usepackage{fontspec} % \setmainfont[SmallCapsFeatures={Renderer=Basic}, % Ligatures={TeX, NoCommon, NoDiscretionary}]{\mainfontface}

I think this package was breaking it.

This was my error before I removed that code

lualatex McDowell_CV_Template.tex
This is LuaHBTeX, Version 1.14.0 (TeX Live 2022/dev/Debian) 
 restricted system commands enabled.
(./McDowell_CV_Template.tex
LaTeX2e <2021-11-15> patch level 1
[\directlua]:1: module 'luaotfload-main' not found:
        no field package.preload['luaotfload-main']
        [kpse lua searcher] file not found: 'luaotfload-main'
Error in luaotfload: reverting to OT1 L3 programming layer <2022-01-21>
(./mcdowellcv.cls

Hope it helps whoever comes across this.

songexile commented 8 months ago

I've spent more time today on the bug. you can try to tlmgr install fontspec which may fix it, and result in you not having to remove the package above.

My fix was instead to use Overleaf (web app) and set the complier to XeLaTeX, this allowed me to complile and now it works with the font.