Repository navigation
T040: a summation's coloured text in the theme's red; the look decided; T040 ticked - #268
Merged
Merged
Conversation
… decided Release 98 numbers a cycle's steps in red with <font color=red>, in two summations, as its figure numbers them, and the website shows them red; the book printed them black. A coloured font is now a span marked `coloured`, printed in the theme's error colour (SC-009). differences.md records the summations' look as decided on 22 Nov 2026: coloured text red, tables ruled not boxed, a radical's dot a bullet, and single-event PDFs not compared with event-pdf's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every difference recorded with its reason and the comparison exiting 0; single-event PDFs not compared with event-pdf's, by the project owner's decision of 22 Nov 2026. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Spec 001, T040. Closes T040.
Coloured text: release 98 numbers a cycle's steps in red with
<font color=red>, in two Metabolism summations (R-HSA-211897 and R-HSA-217271), matching the numbered steps in their figures. The website shows them red, because Angular's sanitiser keeps<font>. The book printed them black, becausesanitiseSummationdropped<font>. Now:<font>becomes<span class="coloured">;pages.cssprints it in the theme's error colour (--mat-sys-error,#ba1a1a), so SC-009's colour check still passes;Tests:
test/model/rules.test.ts: the markup. Fails on main's sanitiser.test/print/colour.test.ts: printed with Chromium, the PDF paints the theme's red and nothing outside the theme. Fails without the CSS rule, and fails with main's sanitiser.differences.md: the summations' look, as decided by the project's owner on 22 Nov 2026. It's based on a survey of release 98's 18,657 human summations (3,342 with markup, every tag a real HTML tag):<table border="1">(27 summations): pdf-export's ruled style, a thin rule under each row, rather than a box round every cell;Single-event PDFs aren't compared with event-pdf's, also by that decision.
tasks.md: T040 ticked. Release 98's comparison reports 320 differences, all recorded, and exits 0 (#252–#267). None was a fault in what pdf-export prints against the graph.npm run checkpasses.🤖 Generated with Claude Code