CoCalc Shared Filessupport / 2016-04-25-152325-sagetex / example.sagetex.sage.pyOpen in CoCalc with one click!
Authors: Harald Schilly, ℏal Snyder, William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.
1
## -*- encoding: utf-8 -*-
2
# This file was *autogenerated* from the file example.sagetex.sage
3
from sage.all_cmdline import * # import sage library
4
_sage_const_2016 = Integer(2016); _sage_const_9 = Integer(9); _sage_const_0 = Integer(0)## This file (example.sagetex.sage) was *autogenerated* from example.tex with sagetex.sty version 2012/01/16 v2.3.3-69dcb0eb93de.
5
import sagetex
6
_st_ = sagetex.SageTeXProcessor('example', version='2012/01/16 v2.3.3-69dcb0eb93de', version_check=True)
7
try:
8
_st_.inline(_sage_const_0 , latex(factor(_sage_const_2016 )))
9
except:
10
_st_.goboom(_sage_const_9 )
11
_st_.endofdoc()
12