Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use the ctl extension with docx to solve the ctl problem and more #6820

Closed
vivian-ji opened this issue Nov 9, 2020 · 1 comment
Closed

Comments

@vivian-ji
Copy link

Hi, I have encountered the same problems as other users with strange conversions from docx due to ctl ("complex text layout") (rif. #6514, but also issues as: #6501, #6452 and #6419).

I tried the latest official version from brew (version 2.10.1):

brew install pandoc
pandoc -f docx+styles-ctl -t html example.docx -o example.html

Result: unknown extension: ctl

I thought that the changes of @lierdakil to #6514 hadn't been published yet, so I tried both via git and via zip.

From repository of @lierdakil (version 2.10):

git clone -b docx-ctl-flag https://github.com/lierdakil/pandoc
cd pandoc
stack setup
stack install
/Users/vivian/.local/bin/pandoc -f docx+styles-ctl -t html example.docx -o example.html

Result: unknown extension: ctl

From zip (version 2.10):

unzip pandoc-docx-ctl-flag.zip
cd pandoc-docx-ctl-flag
stack setup
stack install
/Users/vivian/.local/bin/pandoc -f docx+styles-ctl -t html example.docx -o example.html

Result: unknown extension: ctl

How can I do? Am I wrong something?
When will this extension be included in the official version?

Thanks

@mb21
Copy link
Collaborator

mb21 commented Nov 9, 2020

Sounds like you're referring to this comment? you can try the link in that comment: https://github.com/lierdakil/pandoc/archive/docx-ctl-flag.zip

Or try the newest pandoc version, see https://pandoc.org/installing.html

For future questions, please use the pandoc-discuss mailing list instead of this issue tracker. Thanks!

@mb21 mb21 closed this as completed Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants