Skip to content

Missing cmed8.pfb #121

@Esben42

Description

@Esben42

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions