ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Sun, 05 Jan 2020 18:36:10 +0100Introduction: A shortcut for the compiling of SageTeX-files with ararahttps://ask.sagemath.org/question/49378/introduction-a-shortcut-for-the-compiling-of-sagetex-files-with-arara/*Note: This is a meta-post, so no answers are needed. I will answer it by myself.*
My dearest SageTeXers, Sagers, arara-users and Pythoners as well!
The normal way to compile a file `example.tex` which contains SageTeX is
`pdflatex example.tex` <br>
`sage example.sagetex.sage`<br>
`pdflatex example.tex`
So the initial question is: How to make a shortcut for this?geroyxSun, 05 Jan 2020 18:36:10 +0100https://ask.sagemath.org/question/49378/About Cython and the main Sage commandshttps://ask.sagemath.org/question/10308/about-cython-and-the-main-sage-commands/I read the "How to import some commands?" and "Importing sage functions into cython?" topics, so I know how importing new commands in Sage and also under %cython.
I found that main commands like "factor" or "identity_matrix" which are automatically available in Sage are not under %cython. Then, it's necessary to add the lines:
"from sage.rings.arith import factor"
"from sage.matrix.constructor import identity_matrix"
**Questions**:
- Why the main commands are not automatically available under %cython ?
- Is there a line importing directly all the main commands under %cython ?
- Or, is it a good idea to improve the Sage software so that it works directly ?
I read also that such imported commands are not "cythonised" (and so not 100 times faster).
- Are there cythonised equivalents of all the main commands ?
- If not, is there a project to cythonised all the main commands ?
- Why Sage does not use directly Cython ?
Sébastien PalcouxTue, 02 Jul 2013 08:16:52 +0200https://ask.sagemath.org/question/10308/