Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read Aloud infers date value #2503

Open
dazrand opened this issue Aug 2, 2024 · 1 comment
Open

Read Aloud infers date value #2503

dazrand opened this issue Aug 2, 2024 · 1 comment

Comments

@dazrand
Copy link

dazrand commented Aug 2, 2024

Thorium 3.0.0, Mac OS 14.6

Using read aloud, on the text "Example 3.4.10" we get "Example the fourth of March 2010". Relevant tagged text:

<p class="boxh"><span id="p85" aria-label="85" epub:type="pagebreak" role="doc-pagebreak"/><span class="boxnum">Example 4.3.10.</span> <i>For</i> <math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mi>n</mi><mo>=</mo><mn>1</mn><mo>,</mo><mi>i</mi><mo>=</mo><mn>1</mn><mo>,</mo><mi>j</mi><mo>=</mo><mn>1</mn></math>, <i>there are five lattice paths in the truncated rectangle</i> <math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mi>R</mi><mo stretchy="false">(</mo><mn>1</mn><mo>,</mo><mn>1</mn><mo>,</mo><mn>1</mn><mo stretchy="false">)</mo></math>.</p>

adjusting the tags does not impact the output, even when Example and the number are added to spans with epub:type label and ordinal.

@HadrienGardeur
Copy link
Contributor

This is probably inferred by Apple's TTS engine directly rather than Thorium. epub:type doesn't help much on its own, but SSML could.

While SSML is supported on Apple devices, it's not the case through Chromium unfortunately, which is used by Thorium behind the scene.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants