CoCalc
Sharedlatex-tests / sagetex.sagetex.sage.pyOpen in CoCalc
Authors: harald @schil.ly, Testing CoCalc, John Jeng, Harald Schilly, Harald Schilly, ℏal Snyder, William A. Stein
1
## -*- encoding: utf-8 -*-
2
3
# This file was *autogenerated* from the file sagetex.sagetex.sage
4
from sage.all_cmdline import * # import sage library
5
6
_sage_const_1 = Integer(1); _sage_const_0 = Integer(0); _sage_const_4 = Integer(4); _sage_const_100 = Integer(100); _sage_const_30 = Integer(30); _sage_const_32 = Integer(32)## This file (sagetex.sagetex.sage) was *autogenerated* from sagetex.tex with sagetex.sty version 2019/01/09 v3.2.
7
import sagetex
8
_st_ = sagetex.SageTeXProcessor('sagetex', version='2019/01/09 v3.2', version_check=True)
9
try:
10
_st_.current_tex_line = _sage_const_30
11
_st_.inline(_sage_const_0 , latex(_sage_const_1 +_sage_const_4 ))
12
except:
13
_st_.goboom(_sage_const_30 )
14
try:
15
_st_.current_tex_line = _sage_const_32
16
_st_.inline(_sage_const_1 , "k " * _sage_const_100 )
17
except:
18
_st_.goboom(_sage_const_32 )
19
_st_.endofdoc()
20
21