Closed
Description
Explain the problem.
pandoc How-to-Become-a-Best-Selling-Author.docx -t native -o How-to-Become-a-Best-Selling-Author.ast
This results in (truncated for readability):
[ Para
[ Span
( "" , [ "mark" ] , [] )
[ Str "Beep."
, Space
, Str "Beep."
, Space
, Str "Beep."
, Space
, Str "\8220"
]
, Str "Sweet"
, Space
, Str "Home"
, Space
, Str "Alabama\8221"
, Space
, Span
( "" , [ "mark" ] , [] )
[ Str "blares" , Space , Str "from" , Space , Str "your" ]
, Space
, Str "iPhone"
, Span ( "" , [ "mark" ] , [] ) [ Str "." ]
]
, Para [ Span ( "" , [ "mark" ] , [] ) [] ]
...
The entire first paragraph is lost, together with the title. LibreOffice seems to handle it correctly, so it isn't an obviously incorrect document, and I believe (don't know that for sure though) that it's been generated by actual MS Word. File in question: How-to-Become-a-Best-Selling-Author.docx
Pandoc version?
pandoc --version
pandoc 3.1.12.1
Features: +server +lua
Scripting engine: Lua 5.4
Running on Ubuntu 22.04