Trait boxworks::tex::TexEngine

source ·
pub trait TexEngine {
    // Required method
    fn run(
        &self,
        tex_source_code: &str,
        auxiliary_files: &HashMap<PathBuf, Vec<u8>>,
    ) -> String;
}
Expand description

Implementations of this trait can run TeX source code and return stdout.

Required Methods§

source

fn run( &self, tex_source_code: &str, auxiliary_files: &HashMap<PathBuf, Vec<u8>>, ) -> String

Run the provided TeX source code and return stdout.

Implementors§