Skip to main content

read_inline

Function read_inline 

Source
pub fn read_inline(
    interp: &mut Interp<'_>,
    ctx: &Context,
    elems: &[IText],
    env: &Env,
) -> Result<Vec<HorzBox>, EvalError>
Expand description

Convert quoted inline text to boxes under ctx (the core of read-inline): words become measured InnerStrings, whitespace becomes glue, embedded commands are applied to ctx and their arguments.