rendercv
rendercv copied to clipboard
Issues with TinyTeX while generating pdf from rendered latex file
Describe the bug I see some issues with TinyTeX while generating pdf from rendered latex file.
To Reproduce
pip install rendercv
root@0f0b25c7ad57:/workspaces/ResuLLMe/src# rendercv new "Full Name"
Your RenderCV input file has been created: Full_Name_CV.yaml!
root@0f0b25c7ad57:/workspaces/ResuLLMe/src# rendercv render Full_Name_CV.yaml
Welcome to RenderCV! Some useful links:
┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Title ┃ Link ┃
┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ Documentation │ https://sinaatalay.github.io/rendercv/ │
│ Source code │ https://github.com/sinaatalay/rendercv/ │
│ Bug reports │ https://github.com/sinaatalay/rendercv/issues/ │
│ Feature requests │ https://github.com/sinaatalay/rendercv/issues/ │
│ Discussions │ https://github.com/sinaatalay/rendercv/discussions/ │
└──────────────────┴─────────────────────────────────────────────────────┘
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ 7.7 s Reading and validating the input file has finished. │
│ 0.1 s Generating the LaTeX file has finished. │
│ 0.0 s Generating the Markdown file has finished. │
│ 0.0 s Rendering the LaTeX file to a PDF has started. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
7.9 s ━━━━━━━━━━━━━━━━━━━━━━━━╺━━━━━━━━━━━━━━━ (3 out of 5 steps finished)
An error occurred:
Running TinyTeX has failed! For debugging, we suggest running the LaTeX file manually in https://overleaf.com.
If you want to run it locally, run the command below in the terminal:
/usr/local/lib/python3.10/dist-packages/rendercv/tinytex-release/TinyTeX/bin/x86_64-linux/pdflatex
/workspaces/ResuLLMe/src/rendercv_output/Full_Name_CV.tex
If you can't solve the problem, please open an issue on GitHub.
Thank you! That's very strange. Are you sure you haven't edited the Full_Name_CV.yaml
file? The default one should work.
No, I have not edited any file. I tired with some other name and it still shows the same error. There is no issue with generating md or tex file. I was able to generate pdf using pdflatex
externally.
Thank you, that's very strange because all of this functionality is tested in workflows in all operating systems. I will test it manually in a Linux environment to see what's going on. For now, you can use this command:
rendercv render --use-local-latex-command pdflatex Full_Name_CV.yaml
@sourabhdattawad Can you share what Linux distro you're using (and other system details)? It looks like you're in a Docker container
@prithajnath Yes, I am executing it in a dev container.
Here are some details:
Base image: Ubuntu 22.04
Python: 3.10
Some tex packages installed:
texlive-latex-base
texlive-latex-recommended
texlive-latex-extra
texlive-xetex
fonts-noto
fonts-freefont-otf
fonts-freefont-ttf
cm-super
texlive-fonts-extra
texlive-fonts-recommended
texlive-fonts-extra-links
I am not sure how to fix or reproduce this issue. Any help would be appreciated. Thank you.
@sourabhdattawad did you manage to solve the issue?