Skip to main content

run_build

Function run_build 

Source
pub(crate) fn run_build(
    entry: &Path,
    open: PdfOpen<'_>,
    debug_layout: bool,
) -> ExitCode
Expand description

mos build: read source, parse, lower, lay out, and emit a PDF to build/<entry-stem>.pdf or the project’s [output].pdf. Paper size and margins come from #set page(...); text uses the Base-14 fonts with the bundled Noto Sans embedded and subset for glyphs they lack. Layout warnings print but don’t fail the build.