You are not logged in.
Anyone with Beamer expertise here?
I try to use the Metropolis theme but fail to get the Fira fonts to work. I get a 'not found' error message when 'compiling' my LaTeX files. Searching the net I find this is a known but fixed bug of the Metropolis theme. I have downloaded and use the very latest version in which this should be corrected but for me it does not work.
As far as I can see the package carrying the Fira fonts is installed.
Any leads?
/Martin
"Problems worthy of attack
prove their worth by hitting back."
Piet Hein
Offline
a) I think you will have much better chance for the answer on TeX - LaTeX Stack Exchange
b) Please, post minimal example which should - in your opinion - work, but actually doesn't work (I can try to see what's wrong)
Last edited by iMBeCil (2019-05-13 18:29:07)
Postpone all your duties; if you die, you won't have to do them ..
Offline
Anyone with Beamer expertise here?
I try to use the Metropolis theme but fail to get the Fira fonts to work. I get a 'not found' error message when 'compiling' my LaTeX files. Searching the net I find this is a known but fixed bug of the Metropolis theme. I have downloaded and use the very latest version in which this should be corrected but for me it does not work.
As far as I can see the package carrying the Fira fonts is installed.
Any leads?
/Martin
No, unless you post the part between \documentclass{} and \begin{document}, fellow LaTeX enthusiast. Font selection also depends on which of the TeXs (tex, pdflatex, xelatex, lualatex, …) you're using, to a very large degree, and which font interface/package to load the font.
Edit: Just compiled an old project with Beamer and Fira Sans like this
\documentclass[xetex,serif]{beamer}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage{xltxtra}
\usepackage{calc}
\usepackage{polyglossia}
\usepackage{fontspec}
\setmainfont[Ligatures={Common,Discretionary},Numbers={Proportional,OldStyle}]{Fira Sans}
\newfontfamily\cjkt{Adobe Kaiti Std}
\setdefaultlanguage{french}
\usecolortheme{orchid}
latexmk -xelatex
Edit 2: I would also check if Fira is found by fontconf
fc-match 'Fira Sans'
should return a match on the Fira Sans ttf file.
Offline
OT
If I spent any significant time with documents, I would research this project.
https://www.latex-project.org/about/
/OT
No, he can't sleep on the floor. What do you think I'm yelling for?!!!
Offline
^I'm sure OP has (had) enough experience with LaTeX ... at least wording of his question show he has encountered LaTeX often enough.
And apparently, he has solved the problem?!?
Postpone all your duties; if you die, you won't have to do them ..
Offline
^I feel you shouldn't have do all that, the package manager should take care of all this. At least if one uses TexLive and 'apt'. Or even MiKTeX on MSWin.
But all this is immaterial ... until we see (minimal) (non)working example, we are - as we say here where I live - 'talking to the wind'
Last edited by iMBeCil (2019-05-14 12:14:11)
Postpone all your duties; if you die, you won't have to do them ..
Offline
Sorry for leaving you to your own devices after having started this thread but now I am back.
I have gone Fira-hunting. I find .otf and .tfm versions but no .ttf version. Beamer+Metropolis does not find it. Using nobody's code does not help (in Gummi since the latexmk command is not available and I have not had time to figure out if I want it).
The output of kpsewhich -var-value TEXMFHOME is indeed ~/texmf but what does that mean, or rather, what do I do with that information?
/Martin
"Problems worthy of attack
prove their worth by hitting back."
Piet Hein
Offline
Engines: In Gummi I have the choice of PdfTeX and XeTeX. If I use the former I am told Fira will not work. If I use the latter I am told (in the log file) that Fira can not be found.
If I try your latest example (not using Gummi at all) I am told Fira can not be found.
I already have the OTF version of Fira but thanks for the URL anyway. Fira looks like a good choice for presentations.
The Danish text of the example at the second url is from H.C. Andersen's story about the emperor's new clothes. More important perhaps, the firasans.tex works for me. I get no errors in the build log and as far as I can see the document is rendered with Fira Sans.
Great, now I have something to work with -- tomorrow as it is time for some sleep now.
/Martin
"Problems worthy of attack
prove their worth by hitting back."
Piet Hein
Offline
Problem solved it seems. Beamer + Metropolis with Fira Sans now works for me on three different computers. The 'secret sauce' seems to be adding this line to the .tex file:
\usepackage[sfdefault]{FiraSans}
My take of this is Metropolis somehow still looks in the wrong place for Fira (on my systems) and making Fira Sans the default font like this fixes the problem.
/Martin
"Problems worthy of attack
prove their worth by hitting back."
Piet Hein
Offline