kisonecat / tikzjax

TikZJax is TikZ running under WebAssembly in the browser
LaTeX Project Public License v1.3c
437 stars 36 forks source link

diagrams including \mathbb are not rendered #10

Open kaisugi opened 3 years ago

kaisugi commented 3 years ago

I found \mathbb command is not working in this module, which seems to be natural since mathbb requires extra packages like amsfonts. Is there any possible solution to tackle this problem?

kisonecat commented 3 years ago

Could you try your example on https://tex.rossprogram.org/ and let me know if it works there?

The code running on https://tex.rossprogram.org/ is also clientside, so the plan is to move everything which works there to TikZJax, once I figure out a reasonable way to handle \usepackage, i.e., we figure out "where does the preamble go?"

https://tex.rossprogram.org/ also runs a new TeX engine I put together, which supports things like \directjs so you can put javascript inside your TeX code.

kaisugi commented 3 years ago

Well I confirmed \mathbb works in the site on condition that we include the commands \usepackage{amsmath} ... \usepackage{amsfonts}.

yankaled commented 1 year ago

@kisonecat is the code for https://tex.rossprogram.org/ open source?