When exporting an ipython notebook to PDF(in the File/Download as menu on a browser),
the default tex compiler is pdflatex, but it cannot support Chinese-Japanese-Korean characters.
So I would like to change "pdflatex" to "xelatex" or other latex system.
I am wondering how to customize the setting for ipython.
Below is the command that I run on server:
sudo /usr/bin/python3 /usr/local/bin/ipython3 notebook --profile-dir=/etc/ces/ipython/profile_myserver/ --user=XXXX --ipython-dir=/home/XXXX/.config/ipython --notebook-dir=/home/XXXX --logfile=/tmp/notebook.log
I add one option to "/etc/ces/ipython/profile_myserver/ipython_config.py":
c.PDFPostProcessor.latex_command = [u'xelatex', u'{filename}']
But it does not work.
Could anyone give me some advice?
Thanks ahead!
Xuefeng LIU