texshop conda

asked 2020-09-10 12:16:43 -0500

Flips gravatar image

Someone could produce a sage.engine for texshop in order to run the sagetex if it was installed by conda?

I tried to call sage including sage -root in the path and changing sage.engine to

   echo Running Sage, please wait a moment...
   # New versions of Sage cannot be renamed; thus users need to read the
   # documentation in ~/TeXShop/Engines/Inactive/Sage whenever they update Sage;
   # for instance, the line below must contain the current name of Sage
    /opt/anaconda3/envs/sage/bin/sage "$sagename"
    pdflatex --file-line-error --synctex=1 "$filename"

but give the error

Running Sage, please wait a moment... Error: You must set the SAGE_ROOT environment variable or run this script from the SAGE_ROOT or SAGE_ROOT/local/bin/ directory. Error setting environment variables by sourcing '/opt/anaconda3/envs/sage/bin/sage-env'; possibly contact sage-devel (see h t t p ://groups.google.com/group/sage-devel).


edit retag flag offensive close merge delete


slelievre gravatar imageslelievre ( 2020-09-10 12:35:00 -0500 )edit