xt editor and paste something like:</p>
<pre><code>all: document_ms.pdf document_ms.doc

document_ms.doc: document_ms.md document_refs.bib
    pandoc -H format.sty -V fontsize=12pt --bibliography document_refs.bib --csl=ecology.csl document_ms.md -o document_ms.doc

document_ms.pdf: document_ms.md document_refs.bib
    pandoc -H format.sty -V fontsize=12pt --bibliography document_refs.bib --csl=ecology.csl document_ms.md -o document_ms.pdf</code></pre>
<p>Then save the file as <code>makefile</code> with no 