Replies: 6 comments 3 replies
-
Can you elaborate? What happens if it's missing? |
Beta Was this translation helpful? Give feedback.
-
Here's what I'm seeing with latest pandoc:
I assume that the alt is also included when the HTML is embedded in EPUB [confirmed]. So I think we need more details about what you're doing -- what the latex image syntax is, what version of pandoc. |
Beta Was this translation helpful? Give feedback.
-
Thank you in advance. It’s pandoc 3.1.11.1 Syntax is: Tried it with epub3, result/problem is the same. Latex Source:
ePub Result:
Apple iBooks gives an error because of the missing alt="" detail. In a former Pandoc Version (one for MacOS 10.15 ‚Catalina‘ from 2019) the epub code used to look like this:
That used to work everywhere. |
Beta Was this translation helpful? Give feedback.
-
I'm seeing this in the pandoc 3.0 release notes:
This was part of a huge change adding the Figure element (commit 909ced5). @tarleb - should we just add an alt text based on the caption when alt text is missing? |
Beta Was this translation helpful? Give feedback.
-
I think there is a reason, why Apple demands the alt-text. Probably this is due to some standard or definition that has to be met. At least there should be a switch to tell the HTML writer to insert or not-insert an alt-text. Btw: the alt-text was always empty. So the Latex-Caption > Alt-Text has not worked. It sure would be nice to have that working also… |
Beta Was this translation helpful? Give feedback.
-
so now…? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In former Versions every
in an ePub converted from LaTeX got an 'alt=""' parameter…
But in the most recent version of pandoc this is not the case anymore.
How do I tell pandoc to create an 'alt=""' parameter either…
???
(iBooks requires that alt="" parameter for some reason…)
Beta Was this translation helpful? Give feedback.
All reactions