Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latexrun fails to compile pdf when pdflatex generates missing fonts #46

Open
aslushnikov opened this issue Mar 30, 2017 · 0 comments · May be fixed by #47
Open

latexrun fails to compile pdf when pdflatex generates missing fonts #46

aslushnikov opened this issue Mar 30, 2017 · 0 comments · May be fixed by #47

Comments

@aslushnikov
Copy link

Reproduction steps:

  1. Take Linux with the following packages installed (or build docker image with this Dockerfile)
apt-get update && apt-get install -y \
    biber \
    cm-super \
    fontconfig \
    latex-xcolor \
    preview-latex-style \
    texlive-bibtex-extra \
    texlive-fonts-extra \
    texlive-generic-extra \
    texlive-lang-all \
    texlive-lang-swedish \
    texlive-latex-base \
    texlive-latex-extra \
    texlive-math-extra \
    texlive-science \
    texlive-xetex
  1. Try to compile this tex file.
$ curl https://github.com/aslushnikov/latex-online/blob/master/sample/sample.tex > main.tex
$ latexrun main.tex
  1. Observe latexrun error (below is truncated version, full error text is here):
failed to open file recorder output: [Errno 36] File name too long: 'larm1200.log.mktextfm: /root/.texmf-var/fonts/tfm/lh/lh-t2a/larm1200.tfm: successfully generated.)(/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty(/usr/share/texlive/texmf-dist/tex/latex/base/

It turns out that function __parse_jobname fails to parse the
output. This happens because output contains a lot of intermediate steps of font generation.

aslushnikov added a commit to aslushnikov/latexrun that referenced this issue Mar 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant