Re: [sage-support] Using Cadabra2

2021-03-14 Thread Kasper Peeters
:59 UTC dim...@gmail.com wrote: > On Sat, Mar 13, 2021 at 3:34 PM Kasper Peeters > wrote: > > > > I am happy to stand corrected, but shouldn't you in that case set > `CMAKE_INSTALL_PREFIX` to the empty string? Things get installed into > `${DESTDIR}${CMAKE_INSTAL

Re: [sage-support] Using Cadabra2

2021-03-13 Thread Kasper Peeters
3 UTC dim...@gmail.com wrote: > On Fri, Mar 12, 2021 at 10:51 PM Kasper Peeters > wrote: > > > > Cadabra author here. On Unix, the Cadabra build/install process installs > a Jupyter kernel, which works with SageMath installed from the binary > distribution (may need

Re: [sage-support] Using Cadabra2

2021-03-13 Thread Kasper Peeters
> notebook and to display latex at the beginning write only once in a cell > > %display latex > > from cadabra2 import * > > from IPython.display import display, Math, Latex > > For example : > > %display latex > ex=Ex(r"A_{m n} B^{m n}");ex >

Re: [sage-support] Using Cadabra2

2021-03-12 Thread Kasper Peeters
Cadabra author here. On Unix, the Cadabra build/install process installs a Jupyter kernel, which works with SageMath installed from the binary distribution (may need some PYTHONPATH setting, but nothing more). On Windows, the build process using Visual Studio is relatively simple, but getting e