rtex 0.1.2

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 catcodes;
pub mod tokens;
pub mod dimensions;
pub mod glue;
pub mod boxes;
pub mod linebreak;

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