Skip to content

Math in PDF is not picking up attributes that affect speech #17980

@NSoiffer

Description

@NSoiffer

Steps to reproduce:

  1. Install MathCAT from the addon store
  2. Open attr-ex.pdf in Adobe Reader. The first bit of math looks like:

Image

  1. Arrow to the first equation.The first expression has an "intent" attributes that should cause the speech to say something like " 2 lines line 1 with label 1 ... line 2 with label 2 ..."

Actual behavior:

The speech is:
2 lines line 1 eigh is equal to b c is equal to d line 2 b is equal to 2 d is equal to 3

Expected behavior:

The speech is:
2 lines line 1 with label 1 eigh is equal to b c is equal to d line 2 with label 2 b is equal to 2 d is equal to 3

Note: this assumes the speech style is ClearSpeak. If the speech style is SimpleSpeak, the actual behavior is the same but the expected behavior will use "equation" instead of "line" due to the intent attribute value ":system-of-equations" on mtable.

NVDA logs, crash dumps and other attachments:

None

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

All versions -- tested on a 2025.1 alpha build

Windows version:

Windows 10

Name and version of other software in use when reproducing the issue:

MathCAT addon and Adobe Reader

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

Yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

Same for 2024.4.2 (and every other version because the code lacked the calls to get the attributes)

If NVDA add-ons are disabled, is your problem still occurring?

Yes

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

Yes -- not COM related.

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/adobe/acrobatcomponent/speechfeature/mathp3https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions