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

Equation numbers in manual #2280

Merged
merged 6 commits into from
Apr 13, 2021
Merged

Equation numbers in manual #2280

merged 6 commits into from
Apr 13, 2021

Conversation

johnomotani
Copy link
Contributor

Add labels to equations in coordinates.rst, so that they get numbered.

I haven't checked if there are other equations in the manual that could do with being numbered. If anyone feels like looking for and labelling them, feel free to push to this PR.

Fixes #2279.

Adding labels means the equations get numbered, which is useful for
reference.
@ZedThree
Copy link
Member

Think I've found a fix for the equation numbering placement: https://stackoverflow.com/a/52509369/2043465
Seems to work locally at least

I'm also piggy-backing on this to fix a bunch of other RST issues!

@johnomotani
Copy link
Contributor Author

Thanks @ZedThree, that's awesome! Other updates look good to me too.

@ZedThree
Copy link
Member

I'm half-tempted to try and automatically add labels to all the other equations in the manual too, but they would not be descriptive names.

It's also a pity that Sphinx doesn't understand multiple equations in one :math: block. I've not found a good solution to that.

@ZedThree ZedThree merged commit 9ffca2a into next Apr 13, 2021
@ZedThree ZedThree deleted the equation-labels branch April 13, 2021 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants