I had followed the instructions given in the answer to a similar question, but it seems that sage never gets launched once pdf is created in that integration. I am attaching screenshot of log and messages which popped up.
Due to my desperation, I tried using Latexmk to do this job. After learning what is .latexmkrc/LatexMk file (hopefully), I tried to build one as as described here, although very naively. I just copied and pasted the code given in a fresh text and placed it in $HOME/.latexmkrc.
I ran the command latexmk myfile.tex and it gave me only PDF again, without running sage. I am sorry but I am unable to find a way to copy/paste huge amount of data my terminal spouted out. I will wait for you to tell me what specifically to post out of it.
Interesting point: Just once and no more, when using latexmk myfie.tex, terminal recongzied the RC file in home directory and said there are errors in it.
I just want a way to click a button and compile my documents, doesn't matter which way. I beg you people to lend me a hand. Will be very grateful.
I am on Linux Mint 18.1, currently a noob. Using TeX for quite some time now, thanks to TeX community. Will try my best to follow your instructions.
