Skip to content

Draft: SageMath 9.3 LaTeX printing Fix

Jamal Bouajjaj requested to merge electro/cantor:sage_latex_fix into master

This PR attempts to fix SageMath's lack of LaTeX printing in version 9.3 and above, as %display typeset doesn't effect the output of sage in 9.3 but does in 9.2.

Sage's documentation's only way to have LaTeX printout is to encompass the command with latex(), which is what my current branch current does. Before we merge this tough, a couple of questions should be answered:

  • Is this a bug on Sage's side, and if so then the issue should be on their end.
  • Assuming the above is false, this the best solution, or does Sage implement some other means of LaTeX printing. I couldn't find it thru their documentation.

TODO:

  • Answer the above questions
  • If adding the latex wrapper is the way to go, then fix multiline sage parsing with the latex() wrapper.

Merge request reports