aspect icon indicating copy to clipboard operation
aspect copied to clipboard

Documentation: Unify unit formatting in online documentation

Open anne-glerum opened this issue 2 years ago • 2 comments

@bangerth A randomly selected page in the online manual: some units show the command \si{bla}, some units are italic, some are not.

Screenshot 2022-08-02 at 18 10 32

anne-glerum avatar Aug 09 '22 09:08 anne-glerum

Fix: add substitution in contrib/utilities/jsontomarkown.py

anne-glerum avatar Jul 13 '23 05:07 anne-glerum

As @cedrict just realized, there are dozens or hundreds of places where \si appears in the HTML output now. (There are 342 occurrences of \si in the .cc files.) The only way to address this in a systematic way is to extend the script we use before we give things to .md to rewrite these commands.

I'd love to have a systematic way to find all of the places where we express units without the \si command, but I really don't know how to do that :-(

bangerth avatar Jul 14 '23 00:07 bangerth