Skip to content

Question : use mathjax to render latex fragments in served org files #153

@deb75

Description

@deb75

This post is related to #151 , I think a better idea would be to render the latex fragments with mathjax. What say you ?

If I am not mistaken, org files are export in html ? Is it the org-html exporter ?

I tried to set org-html-mathjax-options as follows

(setq org-html-mathjax-options
      '((path "http://127.0.0.1:8080/mathjax/es5/tex-chtml.js")
        (scale "100")
        (align "center")
        (font "TeX")
        (linebreaks "false")
        (autonumber "AMS")
        (indent "0em")
        (multlinewidth "85%")
        (tagindent ".8em")
        (tagside "right")))

The key value is the path which points to the org-roam server. I installed mathjax locally at the root of the org-roam
directory, because I cannot access the web, but it does not work.

Where should I put mathjax ?

Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions