Ask Your Question
-1

Problem with show()

asked 2022-11-21 16:57:07 +0100

Cyrille gravatar image

This is a weird problem. Some times the command

show(LatexExpr(r"\text{Cette cellule ne génère aucun output}"))

is not worked properly and return \text{Cette cellule ne génère aucun output}. Is there a way to bypass this problem.

edit retag flag offensive close merge delete

Comments

Unless you provide a way to reproduce the problem, there is likely no way to diagnose it.

John Palmieri gravatar imageJohn Palmieri ( 2022-11-21 17:58:41 +0100 )edit

I cannot give you more. Some times it happen sometime not. When I use sagecell I have no problem. Under windows it doesn't. I can send the complete notebook. But I cannot provide a short one.

Cyrille gravatar imageCyrille ( 2022-11-21 20:44:33 +0100 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2022-11-22 10:45:57 +0100

Emmanuel Charpentier gravatar image

updated 2022-11-22 10:48:03 +0100

This depends on the %display setting of Jupyter :

  • if simple, show will display a LatexExpr L as str(L)

  • if latex, it will display whatever Latex (more precisely MathJax, see Sage's documentation, which h&s some serious detail about this...) does with your LaTeX expression.

<Fuming>

BTW, for the $N^{\text{th}}$ time :

  • Learn Python

  • Learn Sage

  • RTFM

  • Peruse prevous answers in this list/forum

  • Aim LaTeX questions to a LaTeX list/forum, Jupyter questions to a Jupyter list/forum

BEFORE questioning this list/forum with trivialities, FAQs or half-cooked non-questions. In the case in point, a very simple Google would have pointed you at this previous answer.

The time you have already spent asking such non-questions exceeds probably by a fat margin the time you would have spent learning yourself how to answer most of your previous questions by yourself... and I do not even account for the time spent arguing "I have no time for this learning".

</Fuming>

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2022-11-21 16:57:07 +0100

Seen: 199 times

Last updated: Nov 22 '22