Markdown OKF-Schema Studio

Use case StRS-MDOKFSTUDIO-MYST-006

Maths is typeset offline and bad formulas stay readable

As a writer, I want formulas rendered offline and failures left legible so that I can fix them in place.

Use case diagram

How it is split

This use case (StRS) is reached by one path (the coloured line). A path goes from one situation (circle) to the next; each step (pill) is a behaviour (SwRS) with its own tests.

path 1: A formula other outcomeone dot = one scenario checked: nominal boundary refusal
SwRS-MDOKFSTUDIO-MYST-024: Maths is typeset offline by KaTeX and bad formulas stay readableSwRS-MDOKFSTUDIO-MYST-0246 teststhe page typesets it with theKaTeX of the extension bundle,offlineSwRS-MDOKFSTUDIO-MYST-024: Maths is typeset offline by KaTeX and bad formulas stay readableSwRS-MDOKFSTUDIO-MYST-0246 testsan unparsable formula stays readableA document holds `$...$`, `$$...$$` or a `{math}` role or directiveA document holds$...$, $$...$$ or a{math} role ordirectiveThe formula is typesetThe formula is typeset

This map has 13 different ways through it in 8 steps or fewer. Instead of testing each one end to end, the 1 behaviours on the map are tested one by one, with 9 scenarios.

Behaviours of this use case

SwRS-MDOKFSTUDIO-MYST-024Maths is typeset offline by KaTeX and bad formulas stay readable 6 testsSwRS-MDOKFSTUDIO-MYST-102Dollar prices stay text and keep their emphasis not on the map3 tests
SwRS-MDOKFSTUDIO-MYST-025Maths typesets offline without inline styles superseded superseded by SwRS-MDOKFSTUDIO-MYST-024 Markdown file
SwRS-MDOKFSTUDIO-MYST-026Unparsable formulas stay readable superseded superseded by SwRS-MDOKFSTUDIO-MYST-024 Markdown file
SwRS-MDOKFSTUDIO-MYST-027Maths cannot run active content superseded superseded by SwRS-MDOKFSTUDIO-MYST-024 Markdown file
SwRS-MDOKFSTUDIO-MYST-028Sphinx-style math delimiters are typeset superseded superseded by SwRS-MDOKFSTUDIO-MYST-024 Markdown file
SwRS-MDOKFSTUDIO-MYST-029Long display equations scroll inside their box superseded superseded by SwRS-MDOKFSTUDIO-MYST-024 Markdown file