2 unstable releases
0.2.0 | May 18, 2020 |
---|---|
0.1.0 | May 18, 2020 |
#130 in #converter
97KB
579 lines
dvi2html
A dvi2html converter written in Rust.
About
- Rust crate to convert dvi files to html
- Based on https://github.com/kisonecat/dvi2html
Example
let mut input_owned = Vec::new();
File::open("file.dvi")
.unwrap()
.read_to_end(&mut input_owned)
.unwrap();
println!("{}", dvi2html(&input_owned).unwrap());
Development
Commands
Build
cargo build
Create tfmdata file (if json file changes)
cargo run --bin tfm
Test
cargo test
Dependencies
~2–3MB
~61K SLoC