// Project variables #import "variables.typ": ravenous, colors // Re exposing internals #let ravenous = ravenous #let colors = colors // // Document setup // #import "./config.typ": conf // Inner modules and functions #let memo_box(title: "À retenir", content) = { block( fill: rgb("#EDE1C8"), stroke: 0.8pt + colors.gold, inset: 12pt, radius: 3pt, )[ #strong[#title] #content ] } // WIP warnings #import "@preview/uniwarn:0.1.1" as uwarn #let ns = "transfer_warnings" #uwarn.register-namespace(ns) // will panic if already registered by another package #let nogls = uwarn.warning.with(namespace: ns, prefix: "[glos] ") #let ravhelp = uwarn.warning.with(namespace: ns, prefix: "[hlpb] ") #let warn = uwarn.warning.with(namespace: ns, prefix: "[warn] ") #let comment = uwarn.warning.with(namespace: ns, prefix: "[info] ") #let disable-warnings = uwarn.disable-warnings.with(ns) #let enable-warnings = uwarn.enable-warnings.with(ns) // Create a main document config for the ravenous project #let config_main(variables: ravenous, document) = { import "./model.typ": model show: model(ravenous, document, colors) }