Files
pandoc/test/command/9002.md
T
John MacFarlane d820620ccd Docx reader: properly calculate table column widths.
Previously we assumed that every table took up the full text
width. Now we read the text width from the document's
sectPr.

Closes #9837.
Closes #11147.
2025-09-17 14:24:33 +02:00

307 B

% pandoc command/9002.docx -t html
^D
<table style="width:40%;">
<caption><p>This is my table!</p></caption>
<colgroup>
<col style="width: 20%" />
<col style="width: 20%" />
</colgroup>
<thead>
<tr>
<th>a</th>
<th>b</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<p>See Table 1 This is my table!</p>