How to compile a Scrivener document to Latex?

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:

Thoughts?

Finally, with regard to the reference workaround offered here: [url]Raw LaTeX, Scrivener 3 and compile process - #28 by AmberV]. 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!