posquit0 / Awesome-CV

:page_facing_up: Awesome CV is LaTeX template for your outstanding job application
LaTeX Project Public License v1.3c
22.93k stars 4.77k forks source link

Robotolight Font Not Working Properly Out of the Box #440

Open DeveloperPaul123 opened 2 years ago

DeveloperPaul123 commented 2 years ago

I'm having issues with the changes in 1a5691e63f0c59bb49dfbcebbf733ae691d42c6f. It seems that the robotolight font is not being found or doesn't exist.

https://github.com/posquit0/Awesome-CV/blob/5b05d935658377c73a3456269d23a276b19804f7/awesome-cv.cls#L165

github-actions[bot] commented 2 years ago

:wave: Welcome! Looks like this is your first issue.

Hey, thanks for your contribution! Please give us a bit of time to review it. 😄

telescopicSum commented 2 years ago

Hi,

I am just a basic user. I am trying to use the docker command to compile my cv. I encounter the similar problem, it gives me below output on Ubuntu prompt. The roboto.sty is the issue.

.. .. (/usr/share/texlive/texmf-dist/tex/latex/fontawesome5/fontawesome5.sty (/usr/share/texlive/texmf-dist/tex/latex/fontawesome5/fontawesome5-utex-helper. sty (/usr/share/texlive/texmf-dist/tex/latex/fontawesome5/tufontawesomefree.fd) (/usr/share/texlive/texmf-dist/tex/latex/fontawesome5/tufontawesomebrands.fd)))

! LaTeX Error: File `roboto.sty' not found.

Type X to quit or to proceed, or enter new name. (Default extension: sty)

Enter file name: ! Emergency stop. <read *>

l.78 \RequirePackage [default,opentype]{sourcesanspro}^^M No pages of output. Transcript written on examples/cv.log. make: *** [Makefile:16: cv.pdf] Error 1 Error: Command 'make' returned '2' when executed with arguments ''. Now exiting container. ...

Please advise.

rauerhans commented 1 year ago

I think it's because the font used to be bundled with this repo, but the latex distribution inside of the container image advertised in the readme does not have the package

rauerhans commented 1 year ago

yup, using this image fixes it (albeit it's quite a bloated image, literally a full latex with gb of layers, but it works). E.g. replace the docker command with this should fix it for you: docker run --rm --user $(id -u):$(id -g) -i -w "/doc" -v "$PWD":/doc thomasweise/docker-texlive-full make

telescopicSum commented 1 year ago

Thank you for your follow-up. Yes, I read i can use the texlive-full but did not figure out the command. I will take note of above.

It was about 2 months ago, I read that it is related to the change of #403 . So at the end after many hours to searching and trying, i was inspired from the Overleaf website, copy the "fonte" folder (my "fix" was just to re-create the pre-403 version, I think)

Screenshot from 2022-11-06 11-20-53

and it was one big step forward for me towards successful compilation, plus some changes on latex script on fontawsome*.tff

It is working now for my need. It is my first experience with Docker.

Moanrisy commented 1 year ago

Reverting commit #403 and add fonts dir solved this issue