First time here? Check out the FAQ!

Ask Your Question
1

some Latex code no longer works in 9.3 W10

asked 3 years ago

ortollj gravatar image

updated 3 years ago

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)
Preview: (hide)

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 ( 3 years ago )

1 Answer

Sort by » oldest newest most voted
2

answered 3 years ago

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 ;-)

Preview: (hide)
link

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 ( 3 years ago )
1
slelievre gravatar imageslelievre ( 3 years ago )

@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 ( 3 years ago )

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

slelievre gravatar imageslelievre ( 3 years ago )

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

slelievre gravatar imageslelievre ( 3 years ago )

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: 3 years ago

Seen: 431 times

Last updated: Nov 23 '21