# How to compile a Scrivener document to Latex?

**URL:** <https://forum.literatureandlatte.com/t/how-to-compile-a-scrivener-document-to-latex/42189>\
**Category:** Markdown & LaTeX\
**Created:** [August 15, 2018, 1:04pm UTC](https://forum.literatureandlatte.com/t/how-to-compile-a-scrivener-document-to-latex/42189 "2018-08-15T13:04:16Z")\
**Posts on this page:** 1\
**Showing post:** 27

<div class="post-metadata">

**Author:** ![jpkell](https://forum.literatureandlatte.com/letter_avatar_proxy/v4/letter/j/919ad9/32.png) [@jpkell](https://forum.literatureandlatte.com/u/jpkell)\
**Post date:** [June 10, 2019, 6:56pm UTC](https://forum.literatureandlatte.com/t/how-to-compile-a-scrivener-document-to-latex/42189/27 "2019-06-10T18:56:22Z")

</div>

> [@AmberV](#):
>
> If you do have LaTeX installed, then try going into the compile settings for this “LaTeX (Memoir Book)” format, and in the Processing pane, enable Post-process on command-line. The rest is all set up to go, so long as you have a typical distribution installed, that should create a PDF when you compile, instead of having to take it into other programs.

Wow, OK, so my issue was Pandoc. Converting the .tex to .pdf with Pandoc was producing no numbers, but when I try with TexWorks I get exactly what you got. Huzzah! Unfortunately, however, my native post-processing isn’t working. This is the error I get:

 ![Screen Shot 2019-06-10 at 1.38.47 PM.png](https://forum.literatureandlatte.com/uploads/default/original/2X/e/ec2006bacfb576f5d869cae25a0c1a10529220b7.png)

Thoughts?

Finally, with regard to the reference workaround offered here: [url][Raw LaTeX, Scrivener 3 and compile process - #28 by AmberV](https://forum.literatureandlatte.com/t/raw-latex-scrivener-3-and-compile-process/39901/28)]. How can I learn the “scrivauto” id for a specific equation so I can use your referencing trick to block out the name of the equation?

And THANK YOU both for creating this template and for your assistance over the last few days. I _really_ appreciate it!

---

_[View the full topic](https://forum.literatureandlatte.com/t/how-to-compile-a-scrivener-document-to-latex/42189)._
