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

--smart/-S has been removed. #33

Open
writerchick4398 opened this issue Apr 18, 2023 · 4 comments
Open

--smart/-S has been removed. #33

writerchick4398 opened this issue Apr 18, 2023 · 4 comments

Comments

@writerchick4398
Copy link

I just got a new laptop (Macbook Pro 13-inch, M2, 2022; macOS Ventura Version 13.2.1 (22D68)), and I’ve been trying to run my code to create a Markdoc (docx file). However, despite downloading Pandoc, I still get the following error message (redacted file pathway). I’ve tried troubleshooting every which way I know how.
JPEG image

I can use the command when I add “mini,” but I want to be able to embed images into the file, and mini doesn’t seem to allow that. I get the error message with and without that added “pandoc” at the end of the command – since I did already specify the global pathway on the “weave setup.”

I was wondering if you had any idea what that error means and/or how to fix it.

I know the code is correct/works fine because it works on my old Macbook Pro that has the Intel chip.

@evenssalies
Copy link

No Idea, I've not been using markdoc for a year, but notice that the mini mode requires at least Stata 15.

@writerchick4398
Copy link
Author

No Idea, I've not been using markdoc for a year, but notice that the mini mode requires at least Stata 15.

I'm using Stata 17. The mini mode works mostly fine, but doesn't allow me to add images, which I need to be able to do.

@haghish
Copy link
Owner

haghish commented Apr 18, 2023

I see. My website is down so the compatible Pandoc binaries that used to be installed with markdowc are no longer available. I will have to update markdoc.ado with commands compatible with the current Pandoc. Sadly, I'm very short on time... Please consider cloning the repository and pushing your updates. I will mark this as a bug. It should be very straight forward to solve this issue (simply needs updating the Pandoc command), but testing the update will require some time...

BTW, mini allows adding pictures, if you export in HTML format. Then you can use your Pandoc to convert the HTML document to Docx, as a temporary fix until markdoc is updates

@writerchick4398
Copy link
Author

writerchick4398 commented Apr 20, 2023

Thanks so much for replying so quickly. I am not super familiar with using git for cloning and pushing updates. Would you please let me know when you post an update for the markdowc package?

I got it to work using html and mini to embed an image, thank you!

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

No branches or pull requests

3 participants