sudo apt install texlive-lang-chinese texlive-lang-cjk texlive-xetex \
latexmk texlive-latex-extra texlive-latex-recommended python-pip \
texlive-latex-base texlive-plain-extra texlive-fonts-recommended \
texlive-generic-recommended
sudo pip install Sphinx commonmark sphinx-rtd-theme
if download is too slow, try use local mirror
sudo pip Sphinx commonmark sphinx-rtd-theme -i https://mirrors.aliyun.com/pypi/simple/
make latex
make latexpdf
- If occuring XXX file missing
use follow url relace REPLACE-MISSING-FILE-NAME to you want find and install missing package