We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When you create a matrix and call latex() on it, its _latex_() method gets called, and these are its first two lines:
latex()
_latex_()
latex = sage.misc.latex.latex matrix_delimiters = latex.matrix_delimiters()
But the matrix_delimiters() method returns,
matrix_delimiters()
_Latex_prefs._option['matrix_delimiters']
and that _option attribute is...
_option
self.__option["engine"] = default_engine()[0] self.__option["engine_name"] = default_engine()[1] return self.__option
Finally, the default_engine() is determined by...
default_engine()
from sage.features.latex import pdflatex, xelatex, lualatex if lualatex().is_present(): return 'lualatex', 'LuaLaTeX' if xelatex().is_present(): return 'xelatex', 'XeLaTeX' if pdflatex().is_present(): return 'pdflatex', 'pdfLaTeX' return 'latex', 'LaTeX'
And those feature tests try to compile some LaTeX, launching a heavy process all just to print \begin{array}\end{array}.
\begin{array}\end{array}
The text was updated successfully, but these errors were encountered:
The way to fix this should be to make def _option returns a lazy dict of some sort. Not sure if the change will break something downstream though.
def _option
Sorry, something went wrong.
No branches or pull requests
When you create a matrix and call
latex()
on it, its_latex_()
method gets called, and these are its first two lines:But the
matrix_delimiters()
method returns,and that
_option
attribute is...Finally, the
default_engine()
is determined by...And those feature tests try to compile some LaTeX, launching a heavy process all just to print
\begin{array}\end{array}
.The text was updated successfully, but these errors were encountered: