ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 19 Jan 2017 21:43:45 -0600Sage Os X app and MatPlotLib / LaTex connectionhttp://ask.sagemath.org/question/36332/sage-os-x-app-and-matplotlib-latex-connection/I have installed the Sage OS X app version 7.5.1 and I am having problems with MatPlotLib calls and LaTeX Calls from the Sage Os X. I have also built Sage from the sources and with MacTeX installed I can get the MatPlotLib and LaTeX calls to work properly when run from the sage I built.
How do I connect the Sage Os X app to the TeX files so I can get MatPlotLib graphs with text and properly formatted LaTeX calls to work?
Thank you for your help.
MikeTue, 17 Jan 2017 20:42:45 -0600http://ask.sagemath.org/question/36332/sage-os-x-app-and-matplotlib-latex-connection/Comment by mhfrey for <p>I have installed the Sage OS X app version 7.5.1 and I am having problems with MatPlotLib calls and LaTeX Calls from the Sage Os X. I have also built Sage from the sources and with MacTeX installed I can get the MatPlotLib and LaTeX calls to work properly when run from the sage I built.</p>
<p>How do I connect the Sage Os X app to the TeX files so I can get MatPlotLib graphs with text and properly formatted LaTeX calls to work?</p>
<p>Thank you for your help.</p>
<p>Mike</p>
http://ask.sagemath.org/question/36332/sage-os-x-app-and-matplotlib-latex-connection/?comment=36350#post-id-36350No, I am referring to calling Latex from a Sage Notebook. It appears that the Sage app points to /usr/texbin, not /Library/TeX/texbin.Thu, 19 Jan 2017 21:32:31 -0600http://ask.sagemath.org/question/36332/sage-os-x-app-and-matplotlib-latex-connection/?comment=36350#post-id-36350Comment by kcrisman for <p>I have installed the Sage OS X app version 7.5.1 and I am having problems with MatPlotLib calls and LaTeX Calls from the Sage Os X. I have also built Sage from the sources and with MacTeX installed I can get the MatPlotLib and LaTeX calls to work properly when run from the sage I built.</p>
<p>How do I connect the Sage Os X app to the TeX files so I can get MatPlotLib graphs with text and properly formatted LaTeX calls to work?</p>
<p>Thank you for your help.</p>
<p>Mike</p>
http://ask.sagemath.org/question/36332/sage-os-x-app-and-matplotlib-latex-connection/?comment=36333#post-id-36333Are you referring to SageTeX? There is documentation for this at e.g. http://doc.sagemath.org/html/en/tutorial/sagetex.html - but I may be misunderstanding the question.Tue, 17 Jan 2017 20:47:17 -0600http://ask.sagemath.org/question/36332/sage-os-x-app-and-matplotlib-latex-connection/?comment=36333#post-id-36333Answer by mhfrey for <p>I have installed the Sage OS X app version 7.5.1 and I am having problems with MatPlotLib calls and LaTeX Calls from the Sage Os X. I have also built Sage from the sources and with MacTeX installed I can get the MatPlotLib and LaTeX calls to work properly when run from the sage I built.</p>
<p>How do I connect the Sage Os X app to the TeX files so I can get MatPlotLib graphs with text and properly formatted LaTeX calls to work?</p>
<p>Thank you for your help.</p>
<p>Mike</p>
http://ask.sagemath.org/question/36332/sage-os-x-app-and-matplotlib-latex-connection/?answer=36351#post-id-36351As a workaround I found that adding:
if test -d /Library/TeX/texbin
then
export PATH=$PATH:/Library/TeX/texbin
fi
There is probably a better way, but I could not find where /usr/texbin is set in the sage source.
MikeThu, 19 Jan 2017 21:43:45 -0600http://ask.sagemath.org/question/36332/sage-os-x-app-and-matplotlib-latex-connection/?answer=36351#post-id-36351