Jason K. Moore

Results 1406 comments of Jason K. Moore

This is not an issue with Jupyter notebooks and LaTeX printing. It is an issue with pretty printing in the terminal. Try running the script in a terminal.

You need to edit the Dyadic printing code so that fractions are handled correctly. Start by writing a unit test with the desired output.

The result should be the desired output not the incorrect output. Once you have that you can add the test case to the source code and submit a PR.

Yes, you can start the PR with the test but will need to work on the modifications to the dyadic printing code too. It think it is also a problem...

> why can't sympy.physics.vector use the same routine from sympy.printing as done in sympy.vector It could. sympy.vector was written after sympy.physics.vector and has a different, better routine it seems.

Thanks for this possible fix. I tried the original issue and get an error: ``` sympy(pr-28736)$ ipython Python 3.11.14 | packaged by conda-forge | (main, Oct 22 2025, 22:46:25) [GCC...

Please add the tests to existing files instead of adding or deleting files.

I tried again with pandoc 3.1.11.1 and get: ```html First figure: Caption Second figure: Caption ```

And pandoc 3.8.2.1: ```html First figure: Caption Second figure: Caption ```