yes, I agree this should be updated, according 
to https://www.tug.org/mactex/sierra.html
I cc to the primary developer of sage.app.

On Friday, January 20, 2017 at 4:12:22 AM UTC, Michael Frey wrote:
>
> I found that when trying to access LATeX (MacTeX) calls in a Sage notebook 
> via MatPlotLib or directly Sage would report that it could not find some 
> TeX function.  It appears that the PATH variable being used by the Sage app 
> is pointing to /usr/texbin, not /Library/TeX/texbin.  As a workaround I 
> modified src/mac-app/start-sage.sh and added:
>
> if test -d /Library/TeX/texbin
>
> then
>
> export PATH=$PATH:/Library/TeX/texbin
>
> fi
>
>
> After rebuilding the Sage app dmg, Sage works as expected when accessing 
> TeX calls.
>

strange that you needed to rebuild - are you saying that sage.app does 
hardcore
path, rather than getting it from the environment?
  

>
> There may be a better way, but I could not find one searching through the 
> Sage source.
>
>
> I am not sure how proceed with getting this corrected so users do not have 
> the manually edit the start-sage.sh file.
>
>
> Regards,
>
>
> Mike
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to