-
Notifications
You must be signed in to change notification settings - Fork 15
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
fix \newfontfamily
to work with XeLaTeX
#1
Conversation
XeLaTeX cannot compile \documentclass{article}
\usepackage{academicons}
\begin{document}
\aiOrcid
\end{document} under my environment, frozen TeX Live 2017:
while LuaLaTeX Version 1.0.4 (TeX Live 2017) can. The error messages are
This patch solves the error. |
@e-kwsm the error reads |
Yes. $ tlmgr info --list academicons 2> /dev/null | tail -n9
Included files, by type:
run files:
texmf-dist/fonts/truetype/public/academicons/academicons.ttf
texmf-dist/tex/latex/academicons/academicons.sty
doc files:
texmf-dist/doc/fonts/academicons/README details="Readme"
texmf-dist/doc/fonts/academicons/academicons.pdf details="Package documentation"
texmf-dist/doc/fonts/academicons/academicons.tex
Only LuaLaTeX can find the bundled font, as documented in fontspec:
Or, you mean we have to manually do something like |
The packages requires the font to be installed on the system, as per the documentation, where it is visible to all programs, not just TeX. |
The design is not good. |
Implemented the suggestion in 8fe8286 and uploaded a new version to CTAN, which should be synchronized across repositories during the next day. Thanks. :) |
originally reported in
https://tex.stackexchange.com/questions/296294/missing-font-with-academicons-sty/296300#296300