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

data-semantic-speech for image alt unexpectedly cut off after semicolon #730

Open
pkra opened this issue Sep 5, 2023 · 1 comment
Open

Comments

@pkra
Copy link
Contributor

pkra commented Sep 5, 2023

E.g., \\img[][115pt][114pt][hello; world]{Images/tikz.svg} (using https://github.com/pkra/mathjax-img/)

Before enrichment, I get src="Images/tikz.svg" alt="hello; world".

After enrichment, src="Images/tikz.svg" alt="hello; world" [...] data-semantic-attributes="ext-speech:hello; world" data-semantic-postfix="image" data-semantic-speech="hello"

@pkra
Copy link
Contributor Author

pkra commented Sep 5, 2023

The original full example was something like

\begin{equation} 
x = 
\vcenter{\img[][115pt][114pt][{\begin{tikzpicture} \draw(-2,0) -- (2,0); \filldraw[gray] (0,0) circle (2pt); \draw(-2,-2) .. controls (0,0) .. (2,-2); \draw(-2,2) .. controls (-1,0) and (1,0) .. (2,2); \end{tikzpicture}}]{Images/tikz.svg}}
 \cssId{tikzPic}{\tag{19}} 
\end{equation}

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

1 participant