Skip to content

Commit

Permalink
imagmath: Update render_math docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller authored and AA-Turner committed Jan 5, 2023
1 parent 62a94ae commit 0a34341
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sphinx/ext/imgmath.py
Expand Up @@ -207,10 +207,9 @@ def render_math(
"""Render the LaTeX math expression *math* using latex and dvipng or
dvisvgm.
Return the filename relative to the built document and the "depth",
Return the image absolute filename and the "depth",
that is, the distance of image bottom and baseline in pixels, if the
option to use preview_latex is switched on.
Also return the temporary and destination files.
Error handling may seem strange, but follows a pattern: if LaTeX or dvipng
(dvisvgm) aren't available, only a warning is generated (since that enables
Expand Down

0 comments on commit 0a34341

Please sign in to comment.