rtex 0.1.4

Native TeX to PDF converter written in Rust with zero external LaTeX dependencies
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Professional TeX compatibility primitives.
//!
//! Provides the lexical foundation that a full TeX engine requires:
//! category codes, tokenization, dimension parsing, glue, boxes, and
//! Knuth–Plass line breaking.
pub mod boxes;
pub mod catcodes;
pub mod dimensions;
pub mod glue;
pub mod linebreak;
pub mod tokens;

pub use boxes::{BoxDirection, TeXBox};
pub use catcodes::CatCode;
pub use dimensions::Dimension;
pub use glue::{Glue, InfiniteUnit, Stretch};
pub use linebreak::{BrokenLine, LineBreaker, LineItem, TokenizedParagraph, line_badness};
pub use tokens::{TexLexer, Token};