[pdf] Error 2 / Error 43
justinquam opened this issue · 1 comments
I'm having trouble getting the make pdf command to work. I downloaded the Zip file to my computer, replaced the template bibliography and csl files with my own, and tried to run the make pdf command just to see if I had all the components I needed. I encountered a *** [pdf] Error 2. Running the various sudo commands Tom indicated didn't clear the error. Got this output:
Tom suggested I run pandoc in verbose mode, which I did; I also replaced references to --latex-engine with --pdf-engine.
Running the command now yields this in Terminal:
Last login: Mon Dec 4 16:11:32 on ttys000
Justins-MacBook:~ elodin$ cd Dropbox/Citation/proposal
Justins-MacBook:proposal elodin$ make pdf
pandoc "/Users/elodin/Dropbox/Citation/proposal/source"/*.md
-o "/Users/elodin/Dropbox/Citation/proposal/output/thesis.pdf"
-H "/Users/elodin/Dropbox/Citation/proposal/style/preamble.tex"
--template="/Users/elodin/Dropbox/Citation/proposal/style/template.tex"
--bibliography="/Users/elodin/Dropbox/Citation/proposal/source/references.bib" 2>pandoc.log
--csl="/Users/elodin/Dropbox/Citation/proposal/style/ref_format.csl"
--highlight-style pygments
-V fontsize=12pt
-V papersize=a4paper
-V documentclass:report
-N
--pdf-engine=xelatex
make: *** [pdf] Error 43
Justins-MacBook:proposal elodin$
and this in pandoc.log:
pandoc-citeproc: reference Cousteau1963 not found
Error producing PDF.
! Undefined control sequence.
\LaTeX3 error:
Erroneous variable \c__fontspec_shape_n_n_tl used!
l.3806 \emfontdeclare{ \emshape, \eminnershape }
Any advice?
I'm relatively new to this, so entirely possible I'm missing something obvious.
Many thanks,
JQ
Update: This seems to have been resolved by updating the fontspec package in TeX Live Utility.