As proposed in the documentation for the source-read <http://www.sphinx-doc.org/en/master/extdev/appapi.html#event-source-read> event, I am trying to use a regex to replace $...$ by :math: directives.
This works well, except for interactions with the .. include:: file.rst directive. Included files do seem to trigger source-read events, but the modification to the source is not reflected in the output. What is the correct way of preprocessing included files? -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscr...@googlegroups.com. To post to this group, send email to sphinx-users@googlegroups.com. Visit this group at https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.