Discuss: it is a good idea to render latex generated images in flow page?
- Dominant language
- Python
- Stars
- 435
- Forks
- 124
- Avg merge
- 5h 40m
- Merged PRs (30d)
- 14
Description
I have many material which require latex generated images (not just math equations), like complex tables with math, and some tikz pictures. Now I hope to generate those images by Relate, rather than generate them on my pc and then upload them by course git.
Is that a sound functionality?
I find [this](https://gist.github.com/sobelk/359367), which uses a templatetag named `latex` and uses a subprocess which call latex to generate those images in site media folder, and then render them. For Relate, my current idea is to add an `allowed_attribute` named `latex`, which requires a list of string (those latex code), and add a method `get_latex_png_uri` to do the compilation and conversion work and return a list of uri of those images, so that it can be referred to in the `body` method of PageBase.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.