tomfaulkenberry / JASPbook

Source files for "Learning Statistics with JASP"
32 stars 15 forks source link

How does one actually compile from scratch? #3

Closed evanberkowitz closed 4 years ago

evanberkowitz commented 4 years ago

Is there a makefile hidden somewhere? In the build directory, there is a simple lsj.tex but when I run pdflatex lsj.tex on a clean repo c03797c I get

! Undefined control sequence.
l.4 \abx@aux@sortscheme
                       {nyt}

When I hit [enter] to just push past it I encounter all sorts of additional undefined control sequences.

tomfaulkenberry commented 4 years ago

No makefile...your pdflatex command should work. There is probably some left-over code hanging around in the .aux file. When this happens, deleting everything except the .tex usually does the trick.

I have cleaned up the build directory, so try pulling those changes and recompiling. Let me know what happens!

Note - I've added some rudimentary build instructions to the build directory. Thanks for bringing this up.

evanberkowitz commented 4 years ago

Yes, that succeeded. In #4 I added a build/Makefile and put the LaTeX temporary files into build/.gitignore.

Either way, I consider this issue closed now.