Skip to content

Discuss: it is a good idea to render latex generated images in flow page? #203

Description

@dzhuang

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, 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions