There are different versions for each system of Tex, such as MikTex for Windows series, MacTeX for Mac series, and TexLive for Linux series.
Pandoc installation Installation in #ubuntu However, it should be noted that both yum and apt-get require root permissions, so you need to add sudo, if you log in as root, you do not need to I use the Centos cloud host, so change it to yum. The official command is apt, which is the installation of the Uban diagram.
It is said that unlocking all the functions of nbconvert requires Pandoc and TeX, which means that we still need the above two components.
To unlock nbconvert’s full capabilities requires Pandoc and TeX (specifically, XeLaTeX). In fact, the latest version of Anaconda I installed does not meet the requirements of nbconvert, or it is not at all (not verified)
Generally speaking, it is recommending Anaconda, and it says that it includes nbconvert.
If you’re new to Python, we recommend installing Anaconda, a Python distribution which includes nbconvert and the other Jupyter components. Since I use anaconda environment, the command is:
We can click in and take a look, and found that it prompts us to install nbconvert.
In fact, this error official gave a solution URL, namely:.
#How to install texlive xetex for mac pdf
But the problem is, if you use the native jupyter nobebook, you can not export pdf format, as shown above.
Jupyter notebook is really easy to use, and it is convenient to write (markdown is very comfortable), but it is well known that the file format of ipynb (notebook file suffix name) is different from html, docx, pdf and other formats, it is not very general, in some There are still inconveniences, so there is a need for conversion.
About the installation of juputer notebook in the cloudYou can refer here.