Skip to content

Create utility scripts for docx2html and docx2markdown #62

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

Merged
merged 11 commits into from
Sep 19, 2013
Merged

Conversation

jlward
Copy link
Contributor

@jlward jlward commented Sep 17, 2013

As a non-python dev I'm not really sure how to use the available parsers simply without creating code. Is there a way to run it via command line? I'd like some user friendlyness, so I could quickly test conversion of docx files. Even documentation how to do this quickly would be welcome.

@jlward
Copy link
Contributor

jlward commented Sep 17, 2013

Hello @titpetric. I have made a few simple entry points to accomplish what you have asked. I may still do a little clean up though. You will be able to call pydocx.docx2html path/to/file.docx path/to/file.html to accomplish what you asked (switch pydocx.docx2html to pydocx.docx2markdown for markdown). I will post here when this is live.

@titpetric
Copy link
Author

A coworker @zobo is looking into it. There's going to be a small push request shortly, but everything works so far! Thanks for a quick response.

@zobo
Copy link
Contributor

zobo commented Sep 18, 2013

There, added a pull request to this branch. I had to add unicode encoding or the util would fail - čšž and other nice letters in our language :)
Also Docx2Markdown seems it's missing a lot of methods that are required by the abstract parent class. But currently we need only the 2html util, so no rush with the other part.

Thaks again!

@jlward
Copy link
Contributor

jlward commented Sep 18, 2013

@zobo @titpetric is this a good explanation of how to use pydocx via the command line? https://github.com/OpenScienceFramework/pydocx/tree/issue_62#command-line-execution

@titpetric
Copy link
Author

Perfect.

jlward added a commit that referenced this pull request Sep 19, 2013
Create utility scripts for docx2html and docx2markdown
@jlward jlward merged commit 1d670be into master Sep 19, 2013
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward added a commit that referenced this pull request Mar 14, 2014
Create utility scripts for docx2html and docx2markdown
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward pushed a commit that referenced this pull request Mar 14, 2014
jlward added a commit that referenced this pull request Mar 14, 2014
Create utility scripts for docx2html and docx2markdown
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

Successfully merging this pull request may close these issues.

3 participants