Ask Your Question
1

some Latex code no longer works in 9.3 W10

asked 2021-11-22 06:47:34 +0100

ortollj gravatar image

updated 2021-11-22 07:03:22 +0100

Hi

this code below display Latex ok in 9.2 W10 but KO in 9.3 W10:

var('z0,z1',domain=CC)
var('n,k,K',domain='integer')

def binNewtonLatex(chooseN,chooseK,k,n0,n1,sumEnd,sumStart,z_0,z_1):

    return r'\sum_{'+str(k)+'='+str(sumStart)+'}^{'+str(sumEnd)+'}'+r'{' + \
        str(chooseN) + r' \choose ' + str(chooseK) + \
    r'}'+str(z_0) + '^{'+str(n0)+'}'+str(z_1)+ '^{'+str(n1)+'}'

commentsL=[]
commentsL.append(
        LatexExpr(r"\text{we can check easily that Newton binomial formula is ok for n=0,n=1,n=2,n=3}\\") + \
        LatexExpr( r"(z0+z1)^0 \,=\,"+binNewtonLatex( 0,k,k,k,0-k,0,0,z0,z1) + r" = 1 \\") + \
        LatexExpr(       r"(z0+z1)^1 \,=\,"+binNewtonLatex( 1,k,k,k,k,1,0,z0,z1) +r"= z0+z1 \\") )

for c in commentsL :
    show(c)
edit retag flag offensive close merge delete

Comments

Until Now I do not know if the problem comes from my installation, or if it is false problem. So before opening a ticket, i need confirmation from someone else .

do you also get this below each time the Kernel is reset:

bash.exe: warning: could not find /tmp, please create!
ortollj gravatar imageortollj ( 2021-11-22 09:19:48 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-11-23 17:59:27 +0100

ortollj gravatar image

The solution is to avoid 9.3 W10 and install 9.4 on W10 in WSL2 with Ubuntu_20.04 see the link below:

install-sage-math-from-source-on-wsl

installing-optional-packages

spkgs-did-not-find-equivalent-system-packages

Jupyter lab installed on W10  in WSL2

Latex is ok ;-)

edit flag offensive delete link more

Comments

The link on Sandy Scott site no longer works this afternoon but was ok this morning !

what is happening ? I don't know.

I choose orange background in Firefox because white background make my eyes cry after a few hours of computer use. and with this orange background I have no problem.

ortollj gravatar imageortollj ( 2021-11-23 18:17:27 +0100 )edit
1
slelievre gravatar imageslelievre ( 2021-11-24 02:03:48 +0100 )edit

@slelievre, but how much time this archive page will be available ?. This page should be on SageMath.org because all the process is carefully described and with a very clear way.

ortollj gravatar imageortollj ( 2021-11-27 10:08:27 +0100 )edit

Sandy Scott added the installation process to the official Sage documentation:

slelievre gravatar imageslelievre ( 2021-11-27 12:12:23 +0100 )edit

The Internet Archive Wayback Machine will exist as long as people donate to keep it alive.

slelievre gravatar imageslelievre ( 2021-11-27 12:15:12 +0100 )edit

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: 2021-11-22 06:47:34 +0100

Seen: 58 times

Last updated: Nov 23