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

Missing custom.docx #19

Closed
luctaesch opened this issue Oct 11, 2018 · 2 comments
Closed

Missing custom.docx #19

luctaesch opened this issue Oct 11, 2018 · 2 comments

Comments

@luctaesch
Copy link

when running by hand
/usr/local/bin/pandocomatic -c pandocomatic.yaml --debug Workflow.md
in the workflow_mmd directory, it seems a custom.docx files seems missing.

havent found on workflow or github either.

01:02 $ /usr/local/bin/pandocomatic -c pandocomatic.yaml --debug Workflow.md
(4) + converting Workflow.md 3 times:
(3) - convert Workflow.md -> Workflow.docx
pandoc --from=markdown
--to=docx
--reference-doc=custom.docx
--filter=simplifyMetadata.rb
--filter=prependAll.rb
--standalone
--bibliography=workflow.bib
--csl=apa-workflow.csl
--output=/Users/luc_taesch/Desktop/workflow_mmd/Workflow.docx
pandoc: custom.docx: openBinaryFile: does not exist (No such file or directory)
Error running pandoc => error while running:

pandoc --from=markdown
--to=docx
--reference-doc=custom.docx
--filter=simplifyMetadata.rb
--filter=prependAll.rb
--standalone
--bibliography=workflow.bib
--csl=apa-workflow.csl
--output=/Users/luc_taesch/Desktop/workflow_mmd/Workflow.docx

Pandoc responded with:

pandoc: custom.docx: openBinaryFile: does not exist (No such file or directory)

✘-243 ~/Desktop/workflow_mmd

@luctaesch
Copy link
Author

this is a non issue, sorry .
I realised the templates files are in the .pandoc dir and have to be copied manually, in the compile dir. that is mentionned in the readme or any other file.

potentially : mention it in the workflow scriv files

@iandol
Copy link
Owner

iandol commented Oct 27, 2018

Hi, actually Pandoc can find templates automagically in .pandoc/templates folder and that is what I use normally. The possible problem is using your own pandocomatic.yaml, where you need to make sure you specify the path properly — why are you specifying pandocomatic.yaml explicitly, by default it will use the one in .pandoc which you can see in my dotpandoc repo

@iandol iandol closed this as completed Nov 8, 2018
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