First time here? Check out the FAQ!

Ask Your Question
0

Sage Os X app and MatPlotLib / LaTex connection

asked 8 years ago

mhfrey gravatar image

updated 8 years ago

FrédéricC gravatar image

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.

Mike

Preview: (hide)

Comments

Are you referring to SageTeX? There is documentation for this at e.g. http://doc.sagemath.org/html/en/tutor... - but I may be misunderstanding the question.

kcrisman gravatar imagekcrisman ( 8 years ago )

No, I am referring to calling Latex from a Sage Notebook. It appears that the Sage app points to /usr/texbin, not /Library/TeX/texbin.

mhfrey gravatar imagemhfrey ( 8 years ago )

1 Answer

Sort by » oldest newest most voted
2

answered 8 years ago

mhfrey gravatar image

updated 8 years ago

kcrisman gravatar image

As 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.

Mike

Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 8 years ago

Seen: 482 times

Last updated: Jan 20 '17