-
Notifications
You must be signed in to change notification settings - Fork 955
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
Source Sans Pro isn't applied as a main font family when using XeLaTeX #8
Comments
I see the same error if I use |
I can't reproduce this. Could you give me the complete command that you used to generate the PDF? You could also check if the package kpsewhich sourcesanspro.sty I recently changed the default language of the template... maybe I already fixed it. |
Hi, I'm currently using TeXLive2017 basic on macOS, and do have sourcesanspro installed (also have it installed as a system font). I get no errors on compile using this (I've redownloaded eisvogel.latex and custom-titlepage.md to the latest versions), still not working: 👉 kpsewhich sourcesanspro.sty
/usr/local/texlive/2017basic/texmf-dist/tex/latex/sourcesanspro/sourcesanspro.sty
👉 pandoc -t latex -o out.tex --template=eisvogel.latex -V lang=en-GB custom-titlepage.md
👉 latexmk -time -f -pv -xelatex out.tex; Here are the LaTeX source file and log: https://gist.github.com/iandol/b6b7667bc6c29abcbfdb7f754f6a012e If you can't figure out why, we can close this as it is probably a LaTeX bug. I will rewrite your template to use \setmainfont \setsansfont etc. using my system installed fonts... |
Okay, I can reproduce this even with pandoc:
When I change the engine to At least I found out that you can load the package |
In my case it did not had anything to do with the latex engine. There were only missing the right texlive extensions: sudo apt-get install texlive-fonts-recommended texlive-fonts-extra That line of code did the job. I am using Ubuntu Gnome 17.04. |
@nextlevelshit Thank you for your suggestion. I hope that will be useful for all Ubuntu users out there. On OS X/macOS I checked the installed packages and the needed packages The current workaround on macOS would be to use
or via command line options
. |
Same issue here with MiKTeX on Win10, pandoc and xelatex. All font packages are installed. Lang is set to
BTW: Very nice template! I'm pretty new to latex so I can only support you with tests/infos, sorry. |
This is an issue in polyglossia (reutenauer/polyglossia#127 and reutenauer/polyglossia#186). I followed the first workaround from jfbz on Tex StackExchange. |
Hi, if I supply a
lang: en-GB
orlang: en-US
metadata field to your custom-titlepage example, the main body text is not source sans pro any more, but the latex default:removing it and all is fine...
The text was updated successfully, but these errors were encountered: