// Compact multilingual publication notice shown after the glossary. #let license-config = yaml("/data/config/license.yaml") #let translations = license-config.translations #let paragraphs(items) = { for item in items { [#item] parbreak() } } #let notice-section(title, items, theme) = [ #text(size: 10pt, weight: "bold", fill: theme.blood)[#title] #parbreak() #paragraphs(items) ] #let provisional-orc-notice( theme, language: license-config.default_language, printable: false, ) = { assert( language in translations, message: "Unknown license language `" + language + "`. Available languages: " + translations.keys().sorted().join(", "), ) let data = translations.at(language) // Printed editions preserve a blank separator sheet after the glossary. // Online editions only start the notice on a fresh page. pagebreak(weak: false) if printable { pagebreak(weak: false) } set page(numbering: none) set par(first-line-indent: 0pt, justify: true, leading: 0.62em, spacing: 0.55em) set text(size: if language == "en" { 8.2pt } else { 7.8pt }, lang: language) block(width: 100%, height: 100%)[ #align(center + horizon)[ #grid( columns: 1fr, rows: (auto, auto), row-gutter: 2.2em, align(center + top)[ #text(size: 20pt, weight: "bold", fill: theme.blood)[RAVENOUS] #v(0.25em) #text(size: 11pt, weight: "semibold", fill: theme.gold.darken(15%))[ #upper(data.title) ] #v(0.35em) #text(size: 7.5pt, fill: theme.muted)[#data.copyright] #v(1.1em) #block( width: 100%, inset: 8pt, radius: 3pt, fill: theme.parchment, stroke: 0.8pt + theme.gold, )[ #strong[#data.status_title] #data.status ] #if language != "en" { v(0.55em) block( width: 100%, inset: 7pt, radius: 3pt, fill: theme.blood.lighten(92%), stroke: 0.7pt + theme.blood.lighten(35%), )[ #strong[#data.translation_warning_title] #data.translation_warning ] } ], align()[ #grid( columns: (1fr, 1fr), gutter: 1.2em, align: top, notice-section(data.intended_title, data.intended, theme), notice-section(data.artwork_title, data.artwork, theme), notice-section(data.reserved_title, data.reserved, theme), notice-section(data.source_title, data.source, theme), ) #v(0.65em) #line(length: 100%, stroke: 0.6pt + theme.gold) #v(0.4em) #align(center)[ #text(size: 7.2pt, fill: theme.muted)[ #data.footer #link("https://paizo.com/orclicense")[#data.link_label] ] ] ], ) ] ] }