rendercv icon indicating copy to clipboard operation
rendercv copied to clipboard

Issues with TinyTeX while generating pdf from rendered latex file

Open sourabhdattawad opened this issue 2 months ago • 3 comments

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.

sourabhdattawad avatar May 06 '24 11:05 sourabhdattawad

Thank you! That's very strange. Are you sure you haven't edited the Full_Name_CV.yaml file? The default one should work.

sinaatalay avatar May 06 '24 11:05 sinaatalay

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.

sourabhdattawad avatar May 06 '24 12:05 sourabhdattawad

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

sinaatalay avatar May 06 '24 12:05 sinaatalay