kakemono 0.6.0

Convert scientific-paper PDFs (arXiv) into clean, readable HTML in four fidelity modes, or Word documents
Documentation
//! Style flags of a text run ([`Span::style`](super::Span::style)), combined with `|`.
//!
//! The flags are bits of a `u8` rather than an enum set so that a span's
//! style is cheap to copy, compare and serialise (it appears as a plain
//! number in the JSON output).

/// Bold weight (from the font name, weight or descriptor flags).
pub const BOLD: u8 = 1;
/// Italic or oblique shape.
pub const ITALIC: u8 = 2;
/// Monospaced (typewriter) font, rendered as code.
pub const MONO: u8 = 4;
/// Set in a dedicated math font (symbols, math italic, extension glyphs).
pub const MATH: u8 = 8;
/// Raised above the baseline (superscript, footnote marker).
pub const SUP: u8 = 16;
/// Lowered below the baseline (subscript).
pub const SUB: u8 = 32;
/// Sans-serif font.
pub const SANS: u8 = 64;
/// Small-capitals font, whose lower-case letters are drawn as small
/// capitals (the text keeps them lower case).
pub const SMALL_CAPS: u8 = 128;