Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get this to build on windows or linux #26

Open
trevtravtrev opened this issue Oct 4, 2023 · 3 comments
Open

Cannot get this to build on windows or linux #26

trevtravtrev opened this issue Oct 4, 2023 · 3 comments

Comments

@trevtravtrev
Copy link

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?

@A-Abdiukov
Copy link

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
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants