rendercv icon indicating copy to clipboard operation
rendercv copied to clipboard

Doesn't it support Chinese?

Open yuanj82 opened this issue 1 month ago • 3 comments

Describe the bug As long as there is Chinese in the yaml file, it cannot run successfully

To Reproduce

    experience:
      - company: 猫四叔
        position: blogger
        location: China
        start_date: 2004-06
        end_date: 2004-08
        highlights:

Screenshots

MINGW64 /d/Home/test $ rendercv render resume_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/ │
└──────────────────┴─────────────────────────────────────────────────────┘
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮│ 2.2 s Reading and validating the input file has finished.                                                                                                                                                                                 ││ 0.0 s Generating the LaTeX file has finished.                                                                                                                                                                                             ││ 0.0 s Generating the Markdown file has finished.                                                                                                                                                                                          ││ 0.4 s Rendering the LaTeX file to a PDF has started.                                                                                                                                                                                      │╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯2.7 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:

C:\Scoop\apps\mambaforge\current\lib\site-packages\rendercv\tinytex-release\TinyTeX\bin\windows\pdflatex.exe D:\Home\test\rendercv_output\JiaoYuan_CV.tex

If you can't solve the problem, please open an issue on GitHub.

yuanj82 avatar May 04 '24 04:05 yuanj82

Hello, thank you for reporting this issue. Unfortunately, RenderCV's built-in TinyTeX distribution cannot compile Chinese.

However, a clean workaround will be available in version 1.9. I will update this issue and provide instructions when the new version is released.

sinaatalay avatar May 04 '24 19:05 sinaatalay

Thank you for your help!RenderCN will provide me a beautiful resume!

yuanj82 avatar May 05 '24 01:05 yuanj82

@sinaatalay It will be a huge deal if rendercv can support CJK character natively. Since I am not quite familiar with TeX, otherwise I would really want to help PR this.

I found this link on Overleaf, hope it helps.

https://www.overleaf.com/learn/latex/Chinese

n1cogrv avatar May 07 '24 17:05 n1cogrv