Skip to content

Update Spanish navigation rules to match English - #955

Merged
NSoiffer merged 2 commits into
daisy:mainfrom
pablgonz:es-nav
Nov 6, 2026
Merged

NSoiffer merged 2 commits into
daisy:mainfrom
pablgonz:es-nav

Conversation

@pablgonz

@pablgonz pablgonz commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Second part of the Spanish update, after #945.

  • navigate.yaml follows the English file; the old Spanish one used the previous scheme.
  • NavigationParts in definitions.yaml translated (en numerador, fuera de denominador, en límite inferior...), plus the inverse-function intent name.
  • tests/Languages/es/navigate.rs: the English tests plus Spanish-only cases (one-sided limits, lím, babel's arc sen).

Navigating \frac{x+1}{2} (NavVerbosity medium):

command English Spanish
ZoomIn in numerator; x plus 1 en numerador; x más 1
MoveNext in denominator; 2 en denominador; 2
ZoomOut out of denominator; the fraction with numerator; x plus 1; and denominator 2 fuera de denominador; la fracción con numerador; x más 1; y denominador 2
ToggleZoomLockDown simple mode; x plus 1 modo simple; x más 1

cargo test passes. Listened with NVDA 2026.3 and the MathCAT 0.7.8-alpha.1 add-on in Acrobat: limits, fractions, roots, mixed numbers and matrices navigate without errors.

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Linux library size: 0.59 MiB (0.00%)
Revision Release liblibmathcat.so
Base (ec90375) 0.59 MiB (618,920 bytes)
PR (450915f) 0.59 MiB (618,920 bytes)
Change 0 bytes (0.00%)

Built with default features, Rust 1.96.0, and Ubuntu 24.04. Workflow run.

@NSoiffer

NSoiffer commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator

That was quick! Thanks.

@NSoiffer
NSoiffer merged commit 3cfcbb1 into daisy:main Nov 6, 2026
14 checks passed
@github-project-automation github-project-automation Bot moved this from Triage to Done in MathCAT Project Board Nov 6, 2026
@pablgonz

pablgonz commented Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

@NSoiffer To be honest, it’s a bit of a cheat :D ...I’ve been working on this for over a year; ever since I started developing a LaTeX package, I’ve been listening to and navigating through a lot of tagged PDFs. However, I had no way—and it was a real struggle—to compile MathCAT on Windows, so I only had the patches in theory. Once you made the MathCAT add-on available, I was finally able to run tests and hear how things actually sound, which allowed me to make progress... Have you considered providing nightly builds of the add-on? It would make things much simpler for those of us who want to contribute (compiling from source is a real headache).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants