Skip to content

Unsupported LaTeX does not show clear messages #8263

New issue

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

Open
novoselt opened this issue Apr 11, 2025 · 1 comment
Open

Unsupported LaTeX does not show clear messages #8263

novoselt opened this issue Apr 11, 2025 · 1 comment

Comments

@novoselt
Copy link
Collaborator

This code used to work for many years and still works fine in SageMathCell using SageMath 10.2. In CoCalc with SageMath 10.4 kernel we get:

Image

Obviously, it would be nice to render LaTeX. But if the generated code is not supported, it would be nice to have a clear error message.

Code for testing:

A = ([1, 1], [3, 1])
b = (1000, 1500)
c = (10, 5)
P = InteractiveLPProblem(A, b, c, ["C", "B"], variable_type=">=")
print(P)
show(P)
view(P)
@williamstein
Copy link
Contributor

This code used to work for many years and still works fine in SageMathCell using SageMath 10.2.

CoCalc ONLY renders math using katex whereas sagemathcell etc may use jsmath instead. This means what is supported may be slightly different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants