I am using latex and Sage (and sagetex) through TeXstudio and the terminal. I would like to have a build sequence that would do all the compilations with one signle button. Something like wha tis described here for TeXmaker, but with an additional improvent: Not all my latex documents have some sagetex inside. So having one single sequence would lead to errors if there is no .sage file, right? Ideally I would need to have two build sequences.
Also, I mus say that was not able to adapt the solution for TeXmaker, the menus look pretty different.




sagetexsince it involves 3 runs: run latex, run Sage, run latex. If nosagetex, process as you normally do. – DJP Apr 29 '20 at 02:03