Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make asymptote package work with latexml #430

Open
charlesstaats opened this issue Feb 27, 2024 · 2 comments
Open

Make asymptote package work with latexml #430

charlesstaats opened this issue Feb 27, 2024 · 2 comments

Comments

@charlesstaats
Copy link
Contributor

The LaTeXML project attempts to convert LaTeX code to html documents. If this could be made to work with Asymptote, and in particular with WebGL output, it might offer a nice avenue for distributing 3d (and 2d svg) figures inside a larger document.

@johncbowman
Copy link
Member

The PreTeXt project already does something like this:

https://pretextbook.org/doc/guide/html/latex-asymptote-links.html

so that would be a good place to start. Here's an example of how it looks in practice:

https://opentext.uleth.ca/apex-calculus/sec_disk.html

@charlesstaats
Copy link
Contributor Author

Interesting! Having the ability to author documents in LaTeX certainly has additional value (in particular since arXiv is experimentally rendering papers as html via LaTeXML), but PreTeXt looks like it covers some important use cases, especially if you just want a document with embedded asy images and don't mind writing the document in XML directly.

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

No branches or pull requests

2 participants