bazel-latex
bazel-latex copied to clipboard
Missing cmed8.pfb
I get the error error: (type 1): cannot open file for reading 'cmex8.pfb when trying to compile the following simple Latex file:
\documentclass[a4paper, 11pt]{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
x & =& \begin{array}{ll}
\frac{1}{\sum X}
\end{array}
\end{align}
\end{document}
with the BUILD file
load("@bazel_latex//:latex.bzl", "latex_document", "latex_to_svg")
latex_document(
name = "example",
srcs = glob([
"*.tex",
]) + [
"@bazel_latex//packages:amsmath",
],
format = "pdf", # Is the default
main = "example.tex",
)
MODULE.bazel:
bazel_dep(name = "bazel_latex")
git_override(
module_name = "bazel_latex",
remote = "https://github.com/ProdriveTechnologies/bazel-latex.git",
commit = "227b02f346c1dd0098d32b5bcb1ef874dd367e2a",
)
I can "pdflatex example.pdf" outside Bazel in Ubuntu with the texlive and amsmath installed.