You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a simple ODT file using LibreOffice 24.8.4.2 containing a picture with a caption inserted using the "insert caption" option: awake.odt. Using pandoc 3.6.2 I run
pandoc awake.odt
The results were:
<p><imgsrc="Pictures/10000000000001000000010097DDA497.jpg" title="fig:"
style="width:8.996cm;height:8.996cm"
alt="Figure 1: But at what cost" /></p>
There's no "figure" element, just a "p".
The expected behavior
An identical document in Markdown produced "figure" which seems to be the correct behavior. Consider this:
pandoc -t markdown awake.odt
Produced a simple markdown:
![Figure 1: But at what
cost](Pictures/10000000000001000000010097DDA497.jpg"fig:"){width="8.996cm"
height="8.996cm"}
And running
pandoc -t markdown awake.odt | pandoc
Resulted in
<figure><imgsrc="Pictures/10000000000001000000010097DDA497.jpg" title="fig:"
style="width:8.996cm;height:8.996cm" alt="Figure 1: But at what cost" /><figcaptionaria-hidden="true">Figure 1: But at what cost</figcaption></figure>
It contains the "figure" element with "figcaption" which seems to be the correct output.
Pandoc version?
3.6.2 on Linux.
The text was updated successfully, but these errors were encountered:
Explain the problem.
I created a simple ODT file using LibreOffice 24.8.4.2 containing a picture with a caption inserted using the "insert caption" option: awake.odt. Using pandoc 3.6.2 I run
The results were:
There's no "figure" element, just a "p".
The expected behavior
An identical document in Markdown produced "figure" which seems to be the correct behavior. Consider this:
Produced a simple markdown:
And running
Resulted in
It contains the "figure" element with "figcaption" which seems to be the correct output.
Pandoc version?
3.6.2 on Linux.
The text was updated successfully, but these errors were encountered: