[OS X TeX] sagetex use from TeXShop

Murray Eisenberg murrayeisenberg at gmail.com
Sat Jun 13 19:36:45 CEST 2020


Environment: SageMath-9.1.app, TeXShop 4.44, MacTeX/TeXLive 2020, under macOS 10.15.5.

SageMath-9.1.app will NOT work properly as an app if its name is changed to SageMath.app, even if then the alias /Applications/SageMath-9.1.app/sage is changed to have as target the binary /Applications/SageMath-9.1.app/Contents/MacOS/Sage. 

Hence:

	(1) the recommendation in TeXShop's About Sage.pdf to rename the app to SageMath.app and then to edit sage.engine to remove “8.7” from the call /Applications/SageMath-8.7.app... cannot be used; and
 	(2) the recommendation in TeXShop’s  SageAndLatexmk.pd to rename the app to SageMath.app and then create the link in /usr/local/bin to /Applications/SageMath.app/Contents/Resources/sage/sage and the link in /usr/local/texlive/texmf-local/tex/latex sagetex  to /Applications/SageMath.app/Contents/Resources/sage/local/share/texmf/tex/latex/sagetex.sty cannot be used either.

	Instead, the links have to point to the corresponding files in /Applications/SageMath-9.1.app/Contents/Resources/sage.

	Or else, if you are putting local files in or else, as I have done then: copy sagetex.sty — from either the Sage distribution itself or, what gives the same version, from a ctan download —  to ~/Library/texmf/tex/latex/sagetex.

---
Murray Eisenberg			murrayeisenberg at gmail.com
503 King Farm Blvd #101	Home (240)-246-7240
Rockville, MD 20850-6667	Mobile (413)-427-5334


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20200613/663e207c/attachment.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list.