diff options
Diffstat (limited to 'dlang/README.md')
| -rw-r--r-- | dlang/README.md | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dlang/README.md b/dlang/README.md index e3a41b6..add15f1 100644 --- a/dlang/README.md +++ b/dlang/README.md @@ -27,7 +27,7 @@ and everything it needs is in the model. ## Build and run ```sh -nix build --override-input ocda-lib path:../../sisudoc-ocda-lib +nix build ./result/bin/ocda-write --text <doc>.ssp ./result/bin/ocda-write --html <doc>.ocda.db de ./result/bin/ocda-write --html <doc>.sisupod @@ -49,19 +49,19 @@ separate product; for five modules a second build step buys nothing. ## The checks `--text` and `--md` are checked against the html writer's objects, word for -word, and against each other language's writer, byte for byte: **36 of 36 on -every count.** Byte identity with `spine --text` was the first oracle and is -no longer the target; see the repository README. +word, and against each other language's writer, byte for byte: **every +document on every count.** Byte identity with `spine --text` was the first +oracle and is no longer the target; see the repository README. -`--html` is checked harder still: it parses, every `href="#x"` -resolves, no id appears twice, no heading falls outside `h1`..`h6`, and the -objects' visible text equals spine's scroll html exactly. **36 of 36 on each, +`--html` is checked harder still: it parses, every `href="#x"` resolves, no +id appears twice, no heading falls outside `h1`..`h6`, and the objects' +visible text equals spine's scroll html exactly. **Every document, on each, and byte identical to the Gleam writer.** See the repository README for what it does differently from spine and why. `--epub` is judged by `epubcheck`, and `--typst` by typst: a link to a label that does not exist is a compile error, so a silent compile means every -internal link in the document resolves. **36 of 36 on each, and byte +internal link in the document resolves. **Every document, on each, and byte identical to the Gleam writer.** ## Where it is faithful rather than sensible |
