I use LaTex
a lot in Ubuntu 14.04. Recently I came to know about the sagetex
package and installed sage-6.8-x86_64-Linux
. Suppose the tex file is example.tex
, then one has to run the following commanda to make it work.
pdflatex example.tex
sage example.sagetex.sage
pdflatex example.tex
Now I want to do run these commands from Texmaker
. So I go to the menu and then Options → Configure → QuickBuild → User
and define there (in User) these three commands. I used the following pipeline
pdflatex -synctex=1 -interaction=nonstopmode %.tex | sage %.sagetex.sage | pdflatex -synctex=1 -interaction=nonstopmode %.tex
After that when I run Quick Build
on the file from texmaker, I get a error message,
Error : could not start the command
I want to know why the Quick Build command does not work ? also if anyone could help me so that I could run those command from Texmaker.