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
There is this filter: https://github.com/jdutant/columns.
I'm using it in the cases the source file is markdown but in my process, the docx editor cannot have access to the markdown file.
Markdown is use as reference file for conversions to other format because it's readable in git history.
I'm open if you have any suggestion even if it needs writing a custom Haskell extension.
The text was updated successfully, but these errors were encountered:
In the node w:cols, w:num="2" means we have two columns. When it's not defined, it means, from my understading the we have a normal document
In src/Text/Pandoc/Writers/Docx.hs I see some references to sectPr.
In src/Text/Pandoc/Readers/Docx.hs or any other readers I don't see references to sectPr.
You could also put in a special keyword in your title, and then write a custom lua-filter to do the transformation to a div..
It could work but if the title can contain one column text and two column text at the same time, it will not.
I will use this for now.
Hello,
Thanks for this tool.
Describe your proposed improvement and the problem it solves.
I would like to know if it's possible to support keeping
columns
Currently, when converting from Docx to native, the information is lost.
In my use case, the docx editor cannot have access to the markdown file. That's why I'm asking here.
Docx example : test-columns.docx
Current output
Native output with command
pandoc --from=docx --to=native --output=test-columns-current.native test-columns.docx
:Markdown output with command
pandoc --from=docx --to=markdown --output=test-columns-current.md test-columns.docx
:Proposal
We could use
fenced_divs
to do this.The blocks in columns will be surrounted by a div with the class "columns"
Native output will be: test-columns-expected.native
Markdown output will be: test-columns-expected.md
Describe alternatives you've considered.
There is this filter: https://github.com/jdutant/columns.
I'm using it in the cases the source file is markdown but in my process, the docx editor cannot have access to the markdown file.
Markdown is use as reference file for conversions to other format because it's readable in git history.
I'm open if you have any suggestion even if it needs writing a custom Haskell extension.
The text was updated successfully, but these errors were encountered: