xxks-kkk / sphinxcontrib-pseudocode

A sphinx-doc extension that allows you to write LaTeX algorithm directly inside sphinx-doc
Other
9 stars 3 forks source link

Something is broken at sphinx 7.1.0 (works fine up to 7.0.0) #21

Open igormcoelho opened 9 months ago

igormcoelho commented 9 months ago

Congratulations for this very useful extension. It works fine for me up to sphinx 7.0.0, but after 7.1.0, it gets broken. I tried all versions from 4.x, to 5.x, to 6.x, all working fine, until 7.1.x, then it breaks ;) This is my working setup:

sphinxcontrib-pseudocode
Sphinx~=7.0.0
setuptools~=57.0.0
docutils~=0.18.1

It's working beautifully here: https://optframe.readthedocs.io/en/latest/heuristics_simulated_annealing.html This is source of the algorithms: https://github.com/optframe/optframe/blob/master/docs/source/heuristics_simulated_annealing.rst

If someone could take a look at this... it seems sphinx is already 7.2.0. Thanks a lot!

xxks-kkk commented 9 months ago

Thanks for the kind comments. Nice writeup on simulated annealing! I don't have much time to take a look at the issue as I'm busy with my research. However, I might have a chance to take a look sometime in February next year after wrapping up my current project. I'm still using Sphinx 5.0.1 and based on your comments, that's the reason I don't see any issues on my end. Meanwhile, if you're willing to take a look at the code and identify the possible issue, I'm more than grateful. Sorry about my limited bandwidth right now.

cpeikert commented 7 months ago

I am having the same issue with sphinx 7.2.6. (The latex code of my pseudocode just appears on the page, without being rendered.) Does anybody have any idea what might be the cause, or a fix?