Now I'm able to connect cadabra2 kernel in my jupyter notebook. However, when I type some code, for example, ex:= A_{a b} B_{b c};
and then run it, no tex form output shows up. What I'm having in output is actually some plaintext ${}A_{a b} B_{b c}$
. I'm not sure what's wrong with this.
Here is log for starting jupyter notebook on server. I've also used tex -v
to make sure that texlive is installed.
ubuntu@VM-16-2-ubuntu:~$ tex -v
TeX 3.141592653 (TeX Live 2022/dev/Debian)
kpathsea version 6.3.4/dev
Copyright 2021 D.E. Knuth.
There is NO warranty. Redistribution of this software is
covered by the terms of both the TeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the TeX source.
Primary author of TeX: D.E. Knuth.
ubuntu@VM-16-2-ubuntu:~$ jupyter notebook
[I 2024-03-23 12:44:42.272 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2024-03-23 12:44:42.276 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2024-03-23 12:44:42.281 ServerApp] jupyterlab | extension was successfully linked.
[W 2024-03-23 12:44:42.282 JupyterNotebookApp] 'ip' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2024-03-23 12:44:42.282 JupyterNotebookApp] 'notebook_dir' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2024-03-23 12:44:42.282 JupyterNotebookApp] 'notebook_dir' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2024-03-23 12:44:42.282 JupyterNotebookApp] 'port' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2024-03-23 12:44:42.282 JupyterNotebookApp] 'quit_button' was found in both NotebookApp and ServerApp. This is likely a recent change. This config will only be set in NotebookApp. Please check if you should also config these traits in ServerApp for your purpose.
[W 2024-03-23 12:44:42.282 JupyterNotebookApp] 'allow_root' has moved from NotebookApp to ServerApp. This config will be passed to ServerApp. Be sure to update your config before our next release.
[W 2024-03-23 12:44:42.285 ServerApp] notebook_dir is deprecated, use root_dir
[I 2024-03-23 12:44:42.285 ServerApp] notebook | extension was successfully linked.
[I 2024-03-23 12:44:42.487 ServerApp] notebook_shim | extension was successfully linked.
[I 2024-03-23 12:44:42.500 ServerApp] notebook_shim | extension was successfully loaded.
[I 2024-03-23 12:44:42.502 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2024-03-23 12:44:42.503 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2024-03-23 12:44:42.504 LabApp] JupyterLab extension loaded from /home/ubuntu/.local/lib/python3.10/site-packages/jupyterlab
[I 2024-03-23 12:44:42.504 LabApp] JupyterLab application directory is /home/ubuntu/.local/share/jupyter/lab
[I 2024-03-23 12:44:42.505 LabApp] Extension Manager is 'pypi'.
[I 2024-03-23 12:44:42.554 ServerApp] jupyterlab | extension was successfully loaded.
[I 2024-03-23 12:44:42.557 ServerApp] notebook | extension was successfully loaded.
[I 2024-03-23 12:44:42.557 ServerApp] Serving notebooks from local directory: /home/ubuntu
[I 2024-03-23 12:44:42.557 ServerApp] Jupyter Server 2.13.0 is running at:
[I 2024-03-23 12:44:42.557 ServerApp] http://VM-16-2-ubuntu:52598/tree?token=1f45dd88be473a49ee67aed69e97a5ceb6bda5dd3b94515a
[I 2024-03-23 12:44:42.557 ServerApp] http://127.0.0.1:52598/tree?token=1f45dd88be473a49ee67aed69e97a5ceb6bda5dd3b94515a
[I 2024-03-23 12:44:42.557 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 2024-03-23 12:44:42.561 ServerApp] No web browser found: Error('could not locate runnable browser').
[C 2024-03-23 12:44:42.561 ServerApp]
To access the server, open this file in a browser:
file:///home/ubuntu/.local/share/jupyter/runtime/jpserver-7271-open.html
Or copy and paste one of these URLs:
http://VM-16-2-ubuntu:52598/tree?token=1f45dd88be473a49ee67aed69e97a5ceb6bda5dd3b94515a
http://127.0.0.1:52598/tree?token=1f45dd88be473a49ee67aed69e97a5ceb6bda5dd3b94515a
[I 2024-03-23 12:44:42.575 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
[I 2024-03-23 12:44:56.846 ServerApp] Kernel started: bf2395a7-b9cf-417b-aba7-0766f0489b34
[I 2024-03-23 12:44:58.219 ServerApp] Connecting to kernel bf2395a7-b9cf-417b-aba7-0766f0489b34.
[IPKernelApp] WARNING | Unknown message type: 'comm_open'
[IPKernelApp] WARNING | Unknown message type: 'comm_msg'