Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: daisy/MathCAT
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: nlbdev/MathCAT
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 2 commits
  • 0 files changed
  • 3 contributors

Commits on Jun 17, 2026

  1. Enhances Norwegian Math Speech and Navigation Rules (#3)

    * Update Norwegian ClearSpeak rules
    
    Changed logic of log function. Will now always speak "ln" if the expression is simple.
    Updated `spell` to `SPELL`.
    
    Added `# audit-ignore` to checked rules.
    Minor formatting improvements to comments.
    
    * Added "hektar" as neuter unit
    
    * Update Norwegian SimpleSpeak rules for verbosity and audit status
    
    - Implement verbosity checks for square roots, using "roten av" for Terse settings.
    - Add "# audit-ignore" to checked rules.
    - Minor formatting improvements to comments.
    
    * Update Norwegian Unicode rules for literal intent and SPELL consistency
    
    - Add support for `:literal:` intent for several symbols (/, |, ·, ×) to provide more literal readings like "skråstrek" and "vertikal strek".
    - Update `spell` to `SPELL` throughout the file for consistency.
    - Changed logic in the rule for the multiplication sign (×).
    
    * Update Norwegian Unicode rules for expanded character support and consistency
    
    - Added unicode characters.
    - Updated `spell` to `SPELL`.
    - Implement `:literal:` intent logic for double exclamation (‼) and fraction slash (⁄).
    - Add verbosity-based logic for the cross product symbol (⨯).
    - Add support for MathJax PUA values used for chemical bonds and arrows.
    
    * Fix two typos
    
    * Update Norwegian Unicode rules for conditional bold and character consistency
    
    - Implement logic to make the "fet" (bold) descriptor conditional based on the `$IgnoreBold` variable across multiple alphanumeric blocks.
    - Consolidate individual digit entries into ranges.
    
    - Added test for ignore-bold.
    
    * Update spell to SPELL
    
    - Update `spell` to `SPELL` in `general.yaml`
    - Update test output because of small changes to the rule for vertical line
    
    * Added the comment audit-ignore
    
    * Added the comment audit-ignore
    
    * Enhance Norwegian speech for currencies, units, and hyperbolic functions
    
    - Added the rule "unit-terse"
    - Added the rule "currency". Added test for neuter currencies.
    - Added sets for currency symbols.
    - Re-introduce verbosity-dependent speech for hyperbolic functions with updated terse forms.
    - Update `spell` to `SPELL`.
    - Add `audit-ignore` tags to various rules.
    
    * Moved placement of the comment "# audit-ignore"
    
    * Changed placement of comment # audit-ignore
    
    Removed # audit-ignore from rules that are similar in Norwegian and English. The comment is only added to rules that differ, but are reviewed.
    
    * Changed placement of comment # audit-ignore
    
    - Removed # audit-ignore for rules that are similar in Norwegian and English. The comment is only added to rules that differ, but are reviewed.
    - Rules for powers might need some changes. Made comments to remember that.
    - The rule for`ClearSpeak-multi-line` might need some changes. Made a comment to remember that.
    
    * Some changes to be up to date with English
    
    - Changed last else statement of the rule "literal, [msup, msubsup]".
    - Added the rule "power-indexed-by".
    - Changed from spell to SPELL
    - Add # audit-ignore to rules that differs from English, but are reviewed.
    
    * Translated to Norwegian
    
    I hadn't reviewed this file before.
    Changed it to be up to date with the English file
    
    * Adjust Norwegian ClearSpeak power rules
    
    Enhances spoken output for mathematical power expressions.
    - Increases the pause after simple exponents (e.g., `simple-integer`, `simple-var`) to 'medium'.
    - Introduces conditional phrasing and pause adjustments for nested and default power rules.
      - In 'Verbose' mode, adds a short pause and "slutt eksponent" (end exponent).
      - For other verbosity levels, applies a medium pause.
    
    * Added "end exponent" for default power rule.
    Updated and added some tests for powers.
    
    Co-authored-by: Copilot <copilot@github.com>
    
    * Updated test after changes to power rules SimpleSpeak
    
    * Changed multiline rule for preference "None".
    
    * Work in progress
    
    * Updated Navigation file
    
    * Added some intent mapping + fix spaces
    
    * Refine Norwegian speech rules
    
    Adjust word usage from 'roten' to 'rot' for mathematical roots and add a short pause before 'gitt' (given).
    
    * Update tests to align with last commit
    
    * Fix pluralization of Norwegian mixed number fractions
    
    Correctly apply pluralization of mixed numbers without an explicit following unit. Introduce `IsPluralNoUnit` to ensure the fraction's numerator dictates the plural form, resolving cases like "2 tredjedeler".
    
    * Fix mixed number pluralization logic - correct the last commit
    
    Mixed fractions without a following unit is now spoken correctly.
    
    * Correct Norwegian spelling of 'sec' to 'sek' for better pronunciation
    
    * Update t to T
    
    * Refine Norwegian navigation command parsing and speech output
    
    * Added folder to document testing
    
    * Changed "markør" to "plassmerker"
    
    The word "markør" is used for other things in screen readers.
    
    * Add pause for "terse" and "medium" for simple fractions
    
    Added a short pause after simple fractions for terse and medium. This shoud make it easier to know when you are out of the fraction.
    
    * Fix formatting in nested simple fractions test cases
    
    * Added audit-ignore
    
    Added audit-ignore to rules I first was unsure about. They are now checked.
    
    * Removed comment with the old navigation rules
    
    * Added test for "augmented matrices". Small change i rule for log.
    
    * Enhance Norwegian speech for Roman numerals and intent handling
    
    Roman numerals are now spelled out consistently for better pronunciation.
    Introduces a new `nofix-intent` rule for specific intent properties.
    Adjusts `function-intent` speech to respect verbosity settings.
    
    * Forgot to change rule for commit #0ce896d
    
    * Added the comment audit-ignore to some symbols
    
    * Fix typo
    
    * Refine Norwegian speech for laplacian operator
    
    Correct pronunciation of "laplace" to "laplas" in Norwegian, as "laplace" is not
    pronounced correctly. Improve phrasing to distinguish between "laplacian" and
    "laplacian of X" based on context.
    
    * Update .gitignore
    
    Added 'docs/nb_of_norway/' to .gitignore
    
    ---------
    
    Co-authored-by: Copilot <copilot@github.com>
    Co-authored-by: Gaute Rønningen <gaute.ronningen@nb.no>
    3 people authored Jun 17, 2026
    Configuration menu
    Copy the full SHA
    35f32e7 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2026

  1. Configuration menu
    Copy the full SHA
    d7d5c2b View commit details
    Browse the repository at this point in the history
Loading