gerby-project / plastex

Python package to convert LaTeX markup to DOM
Other
14 stars 12 forks source link

Equation numbering is different #15

Closed pbelmans closed 7 years ago

pbelmans commented 7 years ago

Whilst looking at #8 I discovered that plasTeX currently numbers things differently compared to the Stacks project. We should figure out how to incorporate the (sub)sections into the equation numbering.

This could very well be already in plasTeX, I'm just recording it here.

pbelmans commented 7 years ago

On the other hand, numberwithin does not appear anywhere in the source code. So this might as well be a missing feature.

PatrickMassot commented 7 years ago

This amsmath macro is not implemented currently, but it shouldn't be hard. I could do it at some point if you don't do it before.

pbelmans commented 7 years ago

I won't be near a computer this weekend, so go ahead if you want to. Otherwise I will do it next week.

PatrickMassot commented 7 years ago

I made a pull request upstream.

PatrickMassot commented 7 years ago

Upstream PR was merged, you can pull. You should probably read the code if you never looked at how plasTeX deals with counters.