dreamstop.openfp.net, the website and user manual of dreamstop, a language for continuous disambiguation
git clone git@nixlab.openfp.net:web/dreamstop.openfp.net.git#import "theme.typ": estate-doc, tokens
#import "style.typ": accent, a, layers
#show: estate-doc.with(brand: "openfp")
#show link: set text(fill: accent.a400)
// Inline code made only of codepoints is printed as an annotation, in the
// colours of its layers.
#let known = layers.map(l => l.codes).flatten() + ("G",)
#show raw.where(block: false): it => {
let tokens = it.text.split(regex("[·\[\] ]+")).filter(t => t != "")
let code = t => t in known or t.match(regex("^/(rel|adv|comp)[0-9]+$")) != none
if tokens.len() > 0 and tokens.all(code) { a(it.text) } else { it }
}
#set table(stroke: 0.6pt + tokens.hairline, inset: 6pt, align: left + horizon)
#show table.cell.where(y: 0): set text(fill: tokens.title)
#set enum(spacing: 0.9em)
#show heading.where(level: 1): it => {
pagebreak(weak: true)
it
}
#align(center)[
#v(5em)
#image("dreamstop.svg", width: 22%, alt: "The dreamstop mark")
#v(1.5em)
#text(font: "Montserrat", weight: 900, size: 30pt, fill: tokens.title, tracking: 0.02em)[DREAMSTOP]
#v(0.4em)
#text(font: "Montserrat", weight: 700, size: 11pt, fill: accent.a400, tracking: 0.05em)[A LANGUAGE FOR DISAMBIGUATING TEXT]
#v(0.6em)
#text(fill: tokens.muted)[The user manual, for dreamstop specification version 2]
]
#pagebreak(weak: true)
#outline(depth: 2)
#include "introduction.typ"
#include "layers.typ"
#include "verdicts.typ"
#include "kinds.typ"
#include "limits.typ"
#include "reference.typ"