title: Where in the world is my pandoc directory?
body: <p>I am trying to add a custom latex template for pandoc</p>
  
  <p>I know that pandoc templates go in <code>~/.pandoc/templates</code></p>
  
  <p>and I confirmed the pandoc directory location by typing <code>pandoc --v</code> - it says pandoc is in <code>~/.pandoc</code></p>
  
  <p>but when I do <code>cd ~/.pandoc</code>:</p>
  
  <pre><code>-bash: cd: /Users/[Name]/.pandoc: No such file or directory
  </code></pre>
  
  <p>According the pandoc man page I can set a different path for pandoc data files using <code>--data-dir=DIRECTORY</code>, but when I try build a file this way, e.g. </p>
  
  <pre><code>pandoc file.md -o file.pdf --data-dir=~/Library/texmf/tex/latex --template=mytemplate.latex
  </code></pre>
  
  <p>it throws the error</p>
  
  <pre><code>pandoc: Could not find data file templates/mytemplate.latex
  </code></pre>
  
  <p>which I assume means the data directory command is ignored.</p>
  
  <p>Why can't I access my pandoc directory?</p>