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

Conversion to html with MathJax fails from command line #2219

Open
woutersj opened this issue Jan 10, 2025 · 1 comment
Open

Conversion to html with MathJax fails from command line #2219

woutersj opened this issue Jan 10, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@woutersj
Copy link
Contributor

woutersj commented Jan 10, 2025

Mogan Version

1.2.9.8

Operating System Version and Architecture

Fedora Linux 40 (GNOME Wayland)

Describe Bug

When MathJax conversion is turned on in the preferences, the conversion to html fails when performed from the command line by, for example, MoganResearch -c infile.tmu outfile.html -q.

The error is unbound variable texmacs->latex in plugins/html/progs/convert/html/tmhtml.scm, line 1561, position: 62418.

This doesn't happen when conversion is done through the gui or with MathML conversion.

Adding (convert latex tmtex) to (:use ... ) at the start of tmhtml.scm seems to fix this.

Expected Behavior

Conversion to html succeeds.

@woutersj woutersj added the bug Something isn't working label Jan 10, 2025
@woutersj
Copy link
Contributor Author

See Codeberg PR 147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant