Alias colours with colorlet

\colorlet{alias}{source} was unsupported, so a colour alias used by
\textcolor or \color leaked. The page-geometry pass now reads both brace groups,
looks the source up in the custom colours and the standard named colours, and
records the alias with the same RGB value.

A preview test defines an HTML colour, aliases it, colours a word with the
alias, and checks the RGB value reaches the SVG with no warnings.
This commit is contained in:
gloamxun committed 2026-10-27 04:04:14 +08:00
1 parent 7975671882
commit c89f972a25
4 files changed
+34 -6

No files matched your search

+2 -2
View File
@@ -16,12 +16,12 @@ cargo test --workspace --offline
or run `./scripts/verify-route-d.sh`, which executes both.
The workspace currently passes **1056 tests**:
The workspace currently passes **1057 tests**:
| Suite | Tests |
| --- | --- |
| route-D unit (engine) | 439 |
| engine binary unit | 426 |
| engine binary unit | 427 |
| server integration | 63 |
| v1 integration | 71 |
| pdfLaTeX oracle | 42 |