SuzanneSoy / scribble-math

Integration of MathJax, KaTeX and Asymptote with scribble, to typeset math in Racket documentation
http://docs.racket-lang.org/scribble-math/
Other
17 stars 5 forks source link

MathJax #9

Open soegaard opened 4 years ago

soegaard commented 4 years ago

Hi,

I attempted to use MathJax in a manual using:

#lang scribble/manual
@(require  scribble-math)
@(use-mathjax)
@${a^2+b^2=c^2}

However it seems the generated HTML refers to KaTeX instead.

/Jens Axel

soegaard commented 4 years ago

Turns out MathJax works if I use with-html5. From the documentation I got the impression that with-html5 was needed only for Katex.

@title[#:style (with-html5 manual-doc-style)]{Some Title}