void-linux / void-linux/void-packages

Beamer slides with texlive can't find font for letters inside math formulas

Open
#34,235 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

System
  • xuname: Void 5.14.16_1 x86_64-musl GenuineIntel notuptodate rDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
  • package:
    • texlive-fontsextra-2020.57042_1
    • texlive-20200406_10
Expected behavior

Running pdflatex test.tex, where test.tex contains the content below, successfully generates a PDF.

\documentclass[pdf]{beamer}

\mode<presentation>{}

\usepackage{amsmath}

\begin{document}

\begin{frame}{Title}
	Some math:
	\[1+y=2a\]
\end{frame}

\end{document}
Actual behavior

It errors out, I believe the relevant part of the error is:

[Loading MPS to PDF converter (version 2006.09.02).]
) (/usr/share/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
(/usr/share/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
(/usr/share/texmf-dist/tex/latex/hyperref/nameref.sty
(/usr/share/texmf-dist/tex/latex/refcount/refcount.sty)
(/usr/share/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty))
(./tf2.out) (./tf2.out)
(/usr/share/texmf-dist/tex/latex/translator/translator-basic-dictionary-English
.dict)
(/usr/share/texmf-dist/tex/latex/translator/translator-bibliography-dictionary-
English.dict)
(/usr/share/texmf-dist/tex/latex/translator/translator-environment-dictionary-E
nglish.dict)
(/usr/share/texmf-dist/tex/latex/translator/translator-months-dictionary-Englis
h.dict)
(/usr/share/texmf-dist/tex/latex/translator/translator-numbers-dictionary-Engli
sh.dict)
(/usr/share/texmf-dist/tex/latex/translator/translator-theorem-dictionary-Engli
sh.dict) (./tf2.nav) (/usr/share/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/share/texmf-dist/tex/latex/amsfonts/umsb.fd)
(/usr/share/texmf-dist/tex/latex/sansmathaccent/ot1mathkerncmss.fd) [1{/usr/sha
re/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./tf2.aux)
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+57/600 --dpi 657 mathkerncmssi10
mktexpk: don't know how to create bitmap font for mathkerncmssi10.
mktexpk: perhaps mathkerncmssi10 is missing from the map file.
kpathsea: Appending font creation commands to missfont.log.
 )
!pdfTeX error: pdflatex (file mathkerncmssi10): Font mathkerncmssi10 at 657 not
 found
 ==> Fatal error occurred, no output PDF file produced!

Running updmap -user --enable Map=sansmathaccent to generate a local font map is enough to fix this; maybe fixing the hooks is enough.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided pdflatex test.tex example and the texlive-fontsextra-2020.57042_1 and texlive-20200406_10 package definitions. Compare the package hooks with the workaround command updmap -user --enable Map=sansmathaccent; done means the Beamer example generates a PDF without the missing mathkerncmssi10 error.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.