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
Pandoc types has support for row head, see https://pandoc.org/lua-filters.html#type-tablebody, and Microsoft Word allows users to apply "special formatting for the first column", see the "Table Style Options" in the screenshot.
DOCX reader could treat the selection of "special formatting for the first column" as "the first column is a header".
pandoc 3.1.11.1
Features: +server +lua
Scripting engine: Lua 5.4
User data directory: /home/raniere/.local/share/pandoc
Copyright (C) 2006-2023 John MacFarlane. Web: https://pandoc.org
This is free software; see the source for copying conditions. There is no
warranty, not even for merchantability or fitness for a particular purpose.
The text was updated successfully, but these errors were encountered:
Pandoc types has support for row head, see https://pandoc.org/lua-filters.html#type-tablebody, and Microsoft Word allows users to apply "special formatting for the first column", see the "Table Style Options" in the screenshot.
DOCX reader could treat the selection of "special formatting for the first column" as "the first column is a header".
Minimal Working Examples
table-2x2-single-header.docx
table-2x2-two-headers.docx
XML structure
table-2x2-single-header.docx
hasand
table-2x2-two-headers.docx
hasDOCX reader need to check the value of
w:firstColumn
in<w:tblLook />
.Current Reading
pandoc --from docx --to native table-2x2-two-headers.docx
producesDesired Reading
pandoc --from docx --to native table-2x2-two-headers.docx
should produceThe value of
RowHeadColumns
is now 1.Environment
pandoc --version
returnsThe text was updated successfully, but these errors were encountered: