mszep / pandoc_resume

The Markdown Resume
http://mszep.github.io/pandoc_resume/
MIT License
1.65k stars 758 forks source link

/bin/sh: mtxrun: not found (Docker on Ubuntu 20.04) #83

Closed miarn closed 2 years ago

miarn commented 2 years ago

Expected Behavior

On running docker-compose up -d, resume.pdf should be generated.

Actual Behavior

No PDF is generated (.html and .tex are both created, apparently without error). output/context_resume.log shows the following:

cat output/context_resume.log
/bin/sh: mtxrun: not found

On further investigation, it seems that while pandoc is installed fine:

% docker run -it resume-make sh
/data # pandoc --version
pandoc 2.9
Compiled with pandoc-types 1.20, texmath 0.12, skylighting 0.8.3
Default user data directory: /root/.local/share/pandoc or /root/.pandoc

ConTeXt is not:

/data # context --version
sh: context: not found

Steps to reproduce the behavior

git clone https://github.com/mszep/pandoc_resume
docker-compose up -d

Versions

Pandoc and ConTeXt versions as above.

OS is Ubuntu 20.04.3 LTS.

mszep commented 2 years ago

Thanks for the report -- I think this is related to some changes I made while trying to get github actions to work.

I will update here when I have time to revert those changes.

jmpolom commented 2 years ago

It looks like mtxrun is not included in the pandoc/latex container image.

atsaloli commented 2 years ago

I ran into this as well. I was able to build my resume using make pdf, bypassing the Docker tooling.