Skip to content
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

HTML for arrays of underscored-parameters is broken #3052

Open
cstjean opened this issue Sep 16, 2024 · 4 comments
Open

HTML for arrays of underscored-parameters is broken #3052

cstjean opened this issue Sep 16, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@cstjean
Copy link

cstjean commented Sep 16, 2024

Describe the bug 🐞

image

Expected behavior

Elegant HTML output.

Minimal Reproducible Example 👇

begin
	using ModelingToolkit
	using ModelingToolkit: t_nounits as t, D_nounits as D
	using SymbolicIndexingInterface
	using DataInterpolations, ReadOnlyArrays
	using Symbolics
end

@parameters P_out[1:5]

P_out[1]

Environment (please complete the following information):

  • Output of using Pkg; Pkg.status()
Status `C:\Users\a1058035\AppData\Local\Temp\jl_tP4Nh4\Project.toml`
  [82cc6244] DataInterpolations v6.4.0
  [961ee093] ModelingToolkit v9.39.1
  [988b38a3] ReadOnlyArrays v0.2.0
  [2efcf032] SymbolicIndexingInterface v0.3.30
  [0c5d862f] Symbolics v6.11.0
  [44cfe95a] Pkg v1.10.0

Julia 1.10.5, Windows, Edge.

This is probably a Symbolics/SymbolicsUtils issue? Please move to the appropriate repository.

@cstjean cstjean added the bug Something isn't working label Sep 16, 2024
@ChrisRackauckas
Copy link
Member

That's a Symbolics issue, though it's odd because that looks like proper latex?

@cstjean
Copy link
Author

cstjean commented Sep 17, 2024

Not sure about proper latex, but FWIW

image

@ChrisRackauckas
Copy link
Member

The wrong underscore?

@SebastianM-C
Copy link
Contributor

Isn't it that you have 2 underscores instead of just one? I think that the { wrapping should cover the entire underscored argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants