You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Development Build (2026-11-10) ships new rules with an old library #993
The MathCATForPython Development Build (MathCAT 0.7.8-alpha.1, built 2026-11-10) seems to ship the new rules with an old library. With NVDA 2026.3.1 the log says:
MathCAT 0.7.6-rc.6 installed. Using rules dir: ...\userConfig\addons\MathCAT\globalPlugins\MathCAT\Rules
and any math with a "1" fails in Spanish:
caused by: in 'OneForUnit(.)' replacing after pattern match
caused by: unknown function "OneForUnit"
For example <math><mn>1</mn><mo>:</mo><mn>30</mn></math> gives "Error al verbalizar el contenido matemático". The rules in the add-on already use OneForUnit (from the unit gender change), but the bundled library doesn't have it. Portuguese uses the same function, so it probably fails there too.
Same problem with today's Development Build (2026-11-12). The log now says the right version:
MathCAT 0.7.8-alpha.1 installed. Using rules dir: ...\userConfig\addons\MathCAT\globalPlugins\MathCAT\Rules
but the library still doesn't have the new unit functions, so any math with a "1" or a unit fails in Spanish (NVDA 2026.3.1):
caused by: unknown function "OneForUnit"
caused by: attempting replacement pattern: "unit" for "unit".
caused by: Failure in conditional test
caused by: unknown function "UnitNumber"
For example <math><mn>1</mn><mi intent=":unit">m</mi></math> gives "Error al verbalizar el contenido matemático", and 10 m is read "10 m" instead of "10 metros". It looks like the version number was updated, but the bundled library was built before the unit gender change.
@NSoiffer Still the same with today's add-on (NVDA 2026.3.1, log says MathCAT 0.7.8-alpha.1): any <mn>1</mn> fails in Spanish with
caused by: test: [ if: '".=1"' then:["OneForUnit(.)"] else:["translate(., $BlockSeparators, '')"]]
caused by: in 'OneForUnit(.)' replacing after pattern match
caused by: unknown function "OneForUnit"
For example $a_1$ gives "Error al verbalizar el contenido matemático". The rules in the add-on are new, but the library is still older than the unit gender change.
The automaticRelease.yaml complexity has gotten beyond, and apparently a bit beyond AI... at least on first try. It was grabbing the current MathCAT from the wrong place. I verified that it is now fixed... at least as far as "1 metre" is concerned. Sorry about the mixup.
Activity
pablgonz commentedon Nov 11, 2026
Same for v0.7.8-alpha.1; 2026-11-11 10:29
NSoiffer commentedon Nov 12, 2026
Should be fixed with daisy/MathCATForPython#124
pablgonz commentedon Nov 13, 2026
Same problem with today's Development Build (2026-11-12). The log now says the right version:
but the library still doesn't have the new unit functions, so any math with a "1" or a unit fails in Spanish (NVDA 2026.3.1):
For example
<math><mn>1</mn><mi intent=":unit">m</mi></math>gives "Error al verbalizar el contenido matemático", and10 mis read "10 m" instead of "10 metros". It looks like the version number was updated, but the bundled library was built before the unit gender change.pablgonz commentedon Nov 15, 2026
@NSoiffer Still the same with today's add-on (NVDA 2026.3.1, log says
MathCAT 0.7.8-alpha.1): any<mn>1</mn>fails in Spanish withFor example
$a_1$gives "Error al verbalizar el contenido matemático". The rules in the add-on are new, but the library is still older than the unit gender change.Test Development Build (MathCAT 0.7.8-alpha.1, built 2026-11-15 00:00 UTC)
NSoiffer commentedon Nov 15, 2026
The
automaticRelease.yamlcomplexity has gotten beyond, and apparently a bit beyond AI... at least on first try. It was grabbing the current MathCAT from the wrong place. I verified that it is now fixed... at least as far as "1 metre" is concerned. Sorry about the mixup.