Closed
Description
Discussed in #9390
Originally posted by rgaiacs January 30, 2024
Pandoc has support to Microsoft Word's native table caption. For example, when mwe-table.docx
is converted using pandoc --from docx --to html mwe-table.docx
, it produces
<p>Lorem ipsum.</p>
<table>
<caption><p>Awesome table</p></caption>
<colgroup>
<col style="width: 50%" />
<col style="width: 50%" />
</colgroup>
<thead>
<tr class="header">
<th>A</th>
<th>B</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>1</td>
<td>2</td>
</tr>
</tbody>
</table>
Does Pandoc has support to read Microsoft Word's native figure caption? For example, when mwe-img.docx
is converted using pandoc --from docx --to html mwe-img.docx
, it produces
<p>Lorem ipsum.</p>
<p><img src="media/image1.png"
style="width:1.10263in;height:1.10263in" /></p>
<p>Figure Blue square.</p>
instead of
<p>Lorem ipsum.</p>
<figure>
<img src="media/image1.png"/>
<figcaption>
Blue square.
</figcaption>
</figure>
```</div>
Metadata
Metadata
Assignees
Labels
No labels