From 4d21d5851fddcf086715efae496fb3644015b506 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 6 Nov 2017 21:21:20 +0100 Subject: [PATCH] Better credits for latex2svg. Sorry! --- CREDITS.rst | 3 +-- README.rst | 4 ++-- doc/plugins/math-and-code.rst | 12 +++++++++--- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/CREDITS.rst b/CREDITS.rst index 6b6db402..9c1a59cb 100644 --- a/CREDITS.rst +++ b/CREDITS.rst @@ -3,5 +3,4 @@ Third-party components - The ``m.math`` plugin makes use of the **latex2svg** utility --- https://github.com/tuxu/latex2svg, licensed under - `MIT license `_ diff --git a/README.rst b/README.rst index 492fe564..8deb8986 100644 --- a/README.rst +++ b/README.rst @@ -111,8 +111,8 @@ Feel free to visit the project website or contact the author at: CREDITS ======= -See the `CREDITS.rst `_ file for details. Big thanks to everyone -involved! +See the `CREDITS.rst `_ file for details about contributors and +third-party code involved in this project. Big thanks to everyone involved! LICENSE ======= diff --git a/doc/plugins/math-and-code.rst b/doc/plugins/math-and-code.rst index 01a71f8f..38333e3d 100644 --- a/doc/plugins/math-and-code.rst +++ b/doc/plugins/math-and-code.rst @@ -66,14 +66,20 @@ package manager, for example on Ubuntu: sudo apt-get install texlive-base texlive-latex-extra texlive-fonts-extra +.. note-success:: + + This plugin makes use of the ``latex2svg.py`` utility from :gh:`tuxu/latex2svg`, + © 2017 `Tino Wagner `_, licensed under + :gh:`MIT `. + The plugin overrides the builtin docutils `math directive `_ and `math interpreted text role `_ and: -- Instead of relying on MathML or MathJax, uses :gh:`latex2svg ` - to convert input LaTeX math formula to a SVG file, which is then embedded - directly to the page. All glyphs are converted to paths. +- Instead of relying on MathML or MathJax, converts input LaTeX math formula + to a SVG file, which is then embedded directly to the page. All glyphs are + converted to paths. - Adds a :html:`` and :html:`<desc>` containing the original formula to the generated :html:`<svg>` element for accessibility. -- 2.30.2