Crate unlatex

Source
Expand description

This crate offers Rust bindings to unified-latex. This allows you to parse and format LaTeX documents.

§Usage

Add this to your Cargo.toml:

[dependencies]
unlatex-core = "0.1.0"

§Examples

let formatted = unlatex::format("E = mc^2").unwrap();
let ast = unlatex::parse("E = mc^2").unwrap();

Re-exports§

pub use error::Error;
pub use error::Result;

Modules§

ast
error
Error handling for this crate.
info

Functions§

format
Format LaTeX document using the default engine.
format_with_opts
Format LaTeX document using the default engine.
jparse
Parse LaTeX document using the default engine.
parse
Parse LaTeX document using the default engine.