from sage.all_cmdline import *
_sage_const_2 = Integer(2); _sage_const_1 = Integer(1); _sage_const_0 = Integer(0); _sage_const_7 = Integer(7); _sage_const_5 = Integer(5); _sage_const_9 = Integer(9)
import sagetex
_st_ = sagetex.SageTeXProcessor('sagetex-primjer', version='2015/08/26 v3.0-92d9f7a', version_check=True)
try:
_st_.current_tex_line = _sage_const_5
_st_.inline(_sage_const_0 , latex(_sage_const_1 +_sage_const_2 ))
except:
_st_.goboom(_sage_const_5 )
try:
_st_.current_tex_line = _sage_const_7
_st_.commandline(_sage_const_0 , r"""
sage: 1+2
""", globals(), locals(), True)
except:
_st_.goboom(_sage_const_9 )
_st_.endofdoc()