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 pass argument to the command #52

Open
anuragnagardeveloper opened this issue Dec 26, 2019 · 2 comments
Open

how to pass argument to the command #52

anuragnagardeveloper opened this issue Dec 26, 2019 · 2 comments
Labels

Comments

@anuragnagardeveloper
Copy link

I am trying to execute the following command but its throwing error-

d2t.bat c:\somepath\a.docx (this works fine)

d2t.bat -m=ole c:\somepath\a.docx (this is not working)

please help me to pass the parameters

@gimsieke
Copy link
Contributor

Apparently d2t.bat does not process command-line flags. You either need to run d2t (requires Bash; tested with Cygwin; unsure whether it runs on Linux Subsystem for Windows) or to modify d2t.bat locally.
In order to modify it locally, insert MTEFSOURCE=ole after %DIR%/xpl/docx2tex.xpl.

@mkraetke
Copy link
Member

The d2t bash script runs on Linux Subsystem for Windows, Linux and Mac OSX. However, I didn't tested on Catalina.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants