I have deleted the file 'cadabra2', and reinstalled from the source. After this, the command
cadabra2' work fine in the command line, but when I input something like 'ex:=1+1;` in standalone, the following errors arise:
Generic typesetting error; LaTeX failed. Please report a bug.
! Emergency stop.
No pages of output.
Transcript written on fileadLFBc.log.
. See fileadLFBc.tex to debug this.
TEXINPUTS = /usr/local/share/cadabra2/latex/:
TMPDIR = /tmp/
I don't know what's wrong.