Is it possible to have PrinceXML display the altimg from MathML?
I was trying to pull it in the CSS in a similar way to poster images, which have worked on videos for me:
content: url(attr(poster, url));
The altimg PNGs I have are also URLs, but I can't get the CSS to pull the image URLs. This is the CSS I am trying to apply:
math {
content: url(attr(altimg, url));
}
and my math looks something like this:
<math altimg="https://altimg_filepath.png" altimg-width="273" altimg-height="19" alttext="tau subscript 21 end subscript plus tau subscript 12 ? end subscript equals r subscript perpendicular F subscript 12 equals r subscript perpendicular left parenthesis F subscript 21 minus F subscript 12 right parenthesis equals 0" >
</math>.
I have not gotten the altimg to display yet, nor have I had any luck trying to change them to poster images in math.
Is the altimg attr supported in PrinceXML? Or am I possibly doing something wrong?
I was trying to pull it in the CSS in a similar way to poster images, which have worked on videos for me:
content: url(attr(poster, url));
The altimg PNGs I have are also URLs, but I can't get the CSS to pull the image URLs. This is the CSS I am trying to apply:
math {
content: url(attr(altimg, url));
}
and my math looks something like this:
<math altimg="https://altimg_filepath.png" altimg-width="273" altimg-height="19" alttext="tau subscript 21 end subscript plus tau subscript 12 ? end subscript equals r subscript perpendicular F subscript 12 equals r subscript perpendicular left parenthesis F subscript 21 minus F subscript 12 right parenthesis equals 0" >
</math>.
I have not gotten the altimg to display yet, nor have I had any luck trying to change them to poster images in math.
Is the altimg attr supported in PrinceXML? Or am I possibly doing something wrong?