learnyou / lysa

A fun, easy-to-read, open-source math textbook
http://www.learnyou.org/
Creative Commons Attribution Share Alike 4.0 International
25 stars 4 forks source link

! LaTeX Error: File `FiraSans.sty' not found. #6

Open pqnelson opened 9 years ago

pqnelson commented 9 years ago

Trying to build the English book on commit 2147f77.

~/lysa/en/book/$ ./lysabuild 
...
(/usr/share/texlive/texmf-dist/tex/latex/cleveref/cleveref.sty)

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

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

I tried running git submodule init and git submodule update in the ~/lysa/ directory, but it didn't fetch the desired style file...

pharpend commented 9 years ago

I get this too on some systems. I think it has to do with the inconsistency of fonts included in texlive-fonts-extra. Make sure you have texlive-fonts-extra installed (or whatever the equivalent is on your distro; see the README for a distro-specific list). If that doesn't work, try

tlmgr init-usertree
tlmgr --usermode install newtxmf

In addition, what version of texlive do you have? I haven't been able to build LYSA on texlive < 2014.

Finally, if all of that doesn't work, just comment out lines 46 and 47 in en/book/lysa.ltx:

\usepackage[sfdefault,scaled=.85]{FiraSans}
\usepackage{newtxsf}
pharpend commented 9 years ago

If you're not looking to change the book, you could just grab one of the nighlies: http://nightly.learnyou.org/lysa/.

The server that makes nightly builds is running Debian 8. I don't know what system you are on, but if it's Debian-based, try out the Debian instructions: https://github.com/learnyou/lysa/tree/master/en#installing-the-needed-software

pharpend commented 9 years ago

Is this still an issue?