Conversation
Signed-off-by: furqan463 <ahmadfurqanc@gmail.com>
|
I could fix equation rendering in |
|
There are errors in other files too like LU solver and in calculations. Initial idea about the ticket was to find out a way which does not require modifying each equation with such issue. Maybe there is a way we can resolve this at sphinx or myst or mathjax side directly. |
I had the same intention but couldn't find a way. |
figueroa1395
left a comment
There was a problem hiding this comment.
I allowed the workflow run and align* seems to render all the equations correctly. @furqan463 Perhaps you can give it a try at the other instances where this is an issue? There is some documentation (don't forget to install Doxygen) to build the docs locally, so you can see whether this works or not and not depend on the CI.
The only remaining thing on the current edited file is to fix formatting, but otherwise it looks good (please double check that I didn't miss any potentially badly rendered equation).
Side note for @nitbharambe: Because align aligns differently, some consecutive equations "look" differently compared to before this broke. I think that's fine, but perhaps we want to align in a specific fashion?
@figueroa1395 thanks for the review. I already built the docs locally, and docs are built in PR without CI. I'll try in other instances, my only concern in the first place was that we loose live preview without
|
|
Hello @furqan463, The correct approach should be to use both Taking the following as an example (this is from the current state in this PR): can be put in between I quickly tried locally and it seems to work without issue. So basically replacing |
@figueroa1395 I tried locally and also updated 1 equation, line electrical model, here. |
|
Since this is a high-prio issue, maybe it's a good idea to first just use |
|
@furqan463 You are right, my approach was incorrect. My apologies. After doing some experimentation locally, I didn't see a different quick and easy way to fix this, providing good rendering and VS code preview at the same time, that is not using
Furthermore, this is a high priority issue, as mentioned by @mgovers, so I suggest to go with that option in all files. Then we have to make sure all equations are rendered correctly. If we later want/need a fancier fix, we can do it as a follow up PR. In conclusion, let's just use C.C. @nitbharambe |
Signed-off-by: furqan463 <ahmadfurqanc@gmail.com>
Signed-off-by: furqan463 <ahmadfurqanc@gmail.com>
@figueroa1395 multiple |
Fixes issue: #1278
Changes proposed in this PR include:
multi-line equations inside
$$delimiter do not render properly. I've replaced them with multiple$$math blocks.Checks