jupyter kernel for PostScript (ghostscript)
You must have ghostscript
installed (https://www.ghostscript.com/)
gs
must be in your $PATH
. (on Windows, gswin64c.exe
).
pip install jupyter
git clone https://github.com/kts/IPostScript.git
cd IPostScript
#install package:
pip install .
#install jupyter kernel:
python -m IPostScript.install
Console usage:
$ jupyter console --kernel postscript
Jupyter console 6.6.3
PostScript kernel...
In [1]: 2 3 mul =
6
In [2]:
Browser notebook:
$ jupyter notebook
# then select "New" > "Notebook: PostScript"
- tab-completion for 371 PostScript/GhostScript keywords (built-in commands)
Based on https://github.com/takluyver/bash_kernel
see also,