#latex #html #snippets #convert #error #erroneous

latex_snippet

Convert even erroneous LaTeX snippets into HTML

15 releases

0.3.3 Aug 31, 2020
0.3.2 Aug 7, 2020
0.3.0 Feb 28, 2020
0.2.0 Nov 25, 2019
0.1.13 Aug 21, 2019

#1747 in Text processing

Download history 29/week @ 2024-09-23 60/week @ 2024-12-09

60 downloads per month

GPL-3.0-or-later

91KB
2.5K SLoC

latex_snippet

This is a library for translating snippets of $\LaTeX$ into HTML.


lib.rs:

This crate turns (a subset of) latex into html, with syntax errors reported using span elements. When the console_error_panic_hook feature is enabled, we can call the set_panic_hook function at least once during initialization, and then we will get better error messages if our code ever panics.

For more details see https://github.com/rustwasm/console_error_panic_hook#readme

Dependencies

~3.5–5MB
~82K SLoC