Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9009519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T02:13:08+00:00 2026-06-16T02:13:08+00:00

I’ve been toying with this all day. From my understanding, you can use reference

  • 0

I’ve been toying with this all day.

From my understanding, you can use reference files with desired fonts, headers, etc.
when doing file conversions with Pandoc.

For example:
If I wanted to convert the markdown file ‘filename.md’ to a .docx file of the same name
using a reference file I’d enter into the command line:

pandoc --reference-docx=reference.docx filename.md -o filename.docx

The problem I’m having is when I run through this command, it returns:

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

After reading online about where to keep my reference docs, a few sites mentioned saving under ‘.pandoc/’, which didn’t exist. My first guess was that because I used the OS X installer that it didn’t create it. So I made one, and saved a reference.docx to that directory.

I restarted and tried the command again a few different ways, no dice. My guess is that I was still saving my reference files to the wrong directory, haven’t sourced something correctly, or I’m missing some point completely.

UPDATE

I went with the obvious and tried the commands from within the same directory I had my reference files in. Tabbing through, syntax is good, directory is good, all files in the right place, but now I have a new error:

pandoc: Did not find end of central directory signature. Failed reading at byte position 4

This is apparently a zip file issue now…

If anyone knows a quick fix that’d be helpful, otherwise I’m reinstalling a different version I’ve found of Pandoc with some extra resources, hopefully that’ll solve it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T02:13:09+00:00Added an answer on June 16, 2026 at 2:13 am

    Reinstalling from source and using a different reference doc solved the issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know how can I replace this 2 symbol below from the string
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a jquery bug and I've been looking for hours now, I can't
For some reason, after submitting a string like this Jack’s Spindle from a text
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from
I have a bunch of posts stored in text files formatted in yaml/textile (from
Let's say I'm outputting a post title and in our database, it's Hello Y’all
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.