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 bank #547

Open
lheagy opened this issue Jan 2, 2019 · 0 comments
Open

equation bank #547

lheagy opened this issue Jan 2, 2019 · 0 comments

Comments

@lheagy
Copy link
Member

lheagy commented Jan 2, 2019

In order to upgrade to the latest version of the sphinx (closing issue #428), I removed the use of the equation bank in pr #546. The issue was that sphinx expects that each labeled equation have a unique label. However, when we were including equations from the equation bank, the same equation (and thus label) would appear on multiple pages. In order to both use the equation bank and have unique labels, we need to over-ride the include statement to do something along the lines of

.. include_equation:: ampere_maxwell.rst
    :label: ampere_maxwell_derivation 

so that each time the equation is input, the label is unique

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

No branches or pull requests

1 participant